Files
openstack-ansible/doc/source/admin/ref-info.rst
Jesse Pretorius 315780f350 March to the beat of the new docs drum
Boss drum, motivating rhythm of life with the
healing, rhythmic synergy.

More seriously, this patch re-arranges the
documentation structure to conform to the
structure outlined in [1].

With it, some changes are made to effectively
transition the links and simplify the sphinx
configuration.

The Mitaka/Liberty documentation links are
removed as they are no longer available.

[1] http://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html
Change-Id: Icc985de3af4de5ea7a5aa01b6e6f6e524c67f11b
2017-07-05 09:13:13 +00:00

62 lines
1.4 KiB
ReStructuredText

=====================
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:
.. code-block:: shell-session
# lxc-ls --fancy
- Show container details including operational state, resource
utilization, and ``veth`` pairs:
.. code-block:: shell-session
# lxc-info --name container_name
- Start a container:
.. code-block:: shell-session
# lxc-start --name container_name
- Attach to a container:
.. code-block:: shell-session
# lxc-attach --name container_name
- Stop a container:
.. code-block:: shell-session
# 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 deployment host.
The repository containing the scripts and playbooks is located at
https://github.com/openstack/openstack-ansible.
To access the scripts and playbooks on your deployment host,
follow these steps.
#. Log into your deployment host.
#. Change to the ``/opt/openstack-ansible`` directory.
#. The ``scripts`` directory contains scripts used in the installation.