Alexandra Settle c6c06c5c9b [ops-guide] Removes remaining instances of rpc
Also makes the repo public for contributor access

Change-Id: I1db347d8a521577d22d0afed65384ee3bd19a494
Implements: blueprint create-ops-guide
2016-12-22 16:25:10 +00:00

1.5 KiB

Reference information

This is a draft reference information page for the proposed OpenStack-Ansible operations guide.

Linux Container commands

The following are some useful commands to manage LXC:

  • List containers and summary information such as operational state and network configuration:

    # lxc-ls --fancy
  • Show container details including operational state, resource utilization, and veth pairs:

    # lxc-info --name container_name
  • Start a container:

    # lxc-start --name container_name
  • Attach to a container:

    # lxc-attach --name container_name
  • Stop a container:

    # lxc-stop --name container_name

Finding Ansible scripts after installation

All scripts used to install OpenStack with Ansible can be viewed from the repository on GitHub, and on the local infrastructure server.

The repository containing the scripts and playbooks is located at https://github.com/openstack/openstack-ansible.

To access the scripts and playbooks on the local infra01 server, follow these steps.

  1. Log into the infra01 server.
  2. Change to the /opt/openstack-ansible directory.
  3. The scripts directory contains scripts used in the installation.