Added complete Doc Conventions in Install Guide.

backport: havana

Change-Id: Icd74a1a4db8ec477e48d49475c405d3b09e52c1c
Partial-Bug: #1121866
This commit is contained in:
Chandan kumar
2013-12-04 14:54:58 +05:30
parent 6dbc6094b6
commit 3973d7eecb
14 changed files with 66 additions and 60 deletions

View File

@@ -3,9 +3,9 @@
xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
xml:id="ch_swift"> xml:id="ch_swift">
<title>Add Object Storage</title> <title>Add the Object Storage service</title>
<para>The OpenStack Object Storage services work together to provide object storage and retrieval through a REST API. For this example architecture, it's assumed you have the Identity Service (keystone) installed already.</para> <para>The OpenStack Object Storage services work together to provide object storage and retrieval through a REST API. For this example architecture, you must have already installed the Identity Service, also known as Keystone.</para>
<xi:include href="../common/section_getstart_object-storage.xml" /> <xi:include href="../common/section_getstart_object-storage.xml" />
<xi:include <xi:include
href="object-storage/section_object-storage-sys-requirements.xml"/> href="object-storage/section_object-storage-sys-requirements.xml"/>

View File

@@ -10,8 +10,8 @@
enable account management by configuring it in the enable account management by configuring it in the
<filename>proxy-server.conf</filename> file.</para> <filename>proxy-server.conf</filename> file.</para>
<note> <note>
<para>Swift processes run under a separate user and group, set <para>The Object Storage processes run under a separate user
by configuration options, and referred to as <phrase and group, set by configuration options, and referred to as <phrase
os="ubuntu;debian;rhel;centos;fedora" os="ubuntu;debian;rhel;centos;fedora"
>swift:swift</phrase><phrase os="opensuse;sles" >swift:swift</phrase><phrase os="opensuse;sles"
>openstack-swift:openstack-swift</phrase>. The default >openstack-swift:openstack-swift</phrase>. The default

View File

@@ -3,9 +3,9 @@
xmlns="http://docbook.org/ns/docbook" xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"> xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
<title>Install the Telemetry Service</title> <title>Install the Telemetry service</title>
<procedure> <procedure>
<para>The OpenStack Telemetry Service is an API service that <para>OpenStack Telemetry is an API service that
provides a collector and a range of disparate agents. Before provides a collector and a range of disparate agents. Before
you can install these agents on nodes such as the compute you can install these agents on nodes such as the compute
node, you must use this procedure to install the core node, you must use this procedure to install the core

View File

@@ -6,20 +6,21 @@
<?dbhtml-stop-chunking?> <?dbhtml-stop-chunking?>
<title>Install the Compute agent for the Telemetry service</title> <title>Install the Compute agent for the Telemetry service</title>
<procedure> <procedure>
<para>The Telemetry service consists of an API service, collector <para>OpenStack Telemetry is an API service that provides a
and a range of disparate agents. This procedure details the collector and a range of disparate agents. This procedure
installation of the agent that runs on compute nodes.</para> details how to install the agent that runs on Compute
nodes.</para>
<step> <step>
<para>Install the Telemetry service on the compute node:</para> <para>Install the Telemetry service on the Compute node:</para>
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>apt-get install ceilometer-agent-compute</userinput></screen> <screen os="ubuntu;debian"><prompt>#</prompt> <userinput>apt-get install ceilometer-agent-compute</userinput></screen>
<screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>yum install openstack-ceilometer-compute</userinput></screen> <screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>yum install openstack-ceilometer-compute</userinput></screen>
<screen os="opensuse;sles"><prompt>#</prompt> <userinput>zypper install openstack-ceilometer-agent-compute</userinput></screen> <screen os="opensuse;sles"><prompt>#</prompt> <userinput>zypper install openstack-ceilometer-agent-compute</userinput></screen>
</step> </step>
<step> <step>
<para os="fedora;rhel;centos;opensuse;sles">Set the following options in the <para os="fedora;rhel;centos;opensuse;sles">Set the following
<filename>/etc/nova/nova.conf</filename> file:</para> options in the <filename>/etc/nova/nova.conf</filename>
<screen os="fedora;rhel;centos;opensuse;sles"> file:</para>
<prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT instance_usage_audit True</userinput> <screen os="fedora;rhel;centos;opensuse;sles"><prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT instance_usage_audit True</userinput>
<prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT instance_usage_audit_period hour</userinput> <prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT instance_usage_audit_period hour</userinput>
<prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT notify_on_state_change vm_and_task_state</userinput> <prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT notify_on_state_change vm_and_task_state</userinput>
<prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT notification_driver nova.openstack.common.notifier.rpc_notifier</userinput> <prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT notification_driver nova.openstack.common.notifier.rpc_notifier</userinput>
@@ -53,13 +54,13 @@ notification_driver=ceilometer.compute.nova_notifier</programlisting>
metering_secret = ADMIN_TOKEN metering_secret = ADMIN_TOKEN
...</programlisting> ...</programlisting>
</step> </step>
<step os="ubuntu;debian"> <step os="ubuntu;debian">
<para>Restart the service with its new settings:</para> <para>Restart the service with its new settings:</para>
<screen><prompt>#</prompt> <userinput>service ceilometer-agent-compute restart</userinput></screen> <screen><prompt>#</prompt> <userinput>service ceilometer-agent-compute restart</userinput></screen>
</step> </step>
<step os="rhel;fedora;centos;opensuse;sles"> <step os="rhel;fedora;centos;opensuse;sles">
<para>Start the service and configure it to start when the system boots:</para> <para>Start the service and configure it to start when the
system boots:</para>
<screen os="opensuse;sles"><prompt>#</prompt> <userinput>service openstack-ceilometer-agent-compute start</userinput> <screen os="opensuse;sles"><prompt>#</prompt> <userinput>service openstack-ceilometer-agent-compute start</userinput>
<prompt>#</prompt> <userinput>chkconfig openstack-ceilometer-agent-compute on</userinput></screen> <prompt>#</prompt> <userinput>chkconfig openstack-ceilometer-agent-compute on</userinput></screen>
<screen os="rhel;fedora;centos"><prompt>#</prompt> <userinput>service openstack-ceilometer-compute start</userinput> <screen os="rhel;fedora;centos"><prompt>#</prompt> <userinput>service openstack-ceilometer-compute start</userinput>

View File

@@ -41,15 +41,15 @@
scanning devices used by virtual machines.</para> scanning devices used by virtual machines.</para>
<note> <note>
<para>You must add required physical volumes for LVM on the <para>You must add required physical volumes for LVM on the
Cinder host. Run the <command>pvdisplay</command> command to Block Storage host. Run the <command>pvdisplay</command>
get a list or required volumes.</para> command to get a list or required volumes.</para>
</note> </note>
<para>Each item in the filter array starts with either an <para>Each item in the filter array starts with either an
"<literal>a</literal>" for accept, or an <literal>a</literal> for accept, or an
"<literal>r</literal>" for reject. Physical volumes that are <literal>r</literal> for reject. The physical volumes that
needed on the Cinder host begin with "<literal>a</literal>". are required on the Block Storage host have names that begin
The array must end with "<literal>r/.*/</literal>" to reject with <literal>a</literal>. The array must end with
any device not listed.</para> "<literal>r/.*/</literal>" to reject any device not listed.</para>
<para>In this example, <literal>/dev/sda1</literal> is the <para>In this example, <literal>/dev/sda1</literal> is the
volume where the volumes for the operating system for the node volume where the volumes for the operating system for the node
reside, while <literal>/dev/sdb</literal> is the volume reside, while <literal>/dev/sdb</literal> is the volume
@@ -75,17 +75,17 @@ filter = [ "a/sda1/", "a/sdb/", "r/.*/"]
><literal>[keystone_authtoken]</literal> settings</link>, ><literal>[keystone_authtoken]</literal> settings</link>,
and <link linkend="debconf-rabbitqm">RabbitMQ and <link linkend="debconf-rabbitqm">RabbitMQ
credentials</link>. Make sure to enter the same details as credentials</link>. Make sure to enter the same details as
for your Block Storage Service controller node.</para> your Block Storage Service controller node.</para>
<para>Another screen prompts you for the <systemitem <para>Another screen prompts you for the <systemitem
class="library">volume-group</systemitem> to use. The Debian class="library">volume-group</systemitem> to use. The Debian
package configuration script detects every active volume package configuration script detects every active volume
group, provided that the <systemitem class="library" group, provided that the <systemitem class="library"
>lvm2</systemitem> package is installed before Cinder (this >lvm2</systemitem> package is installed before Block Storage
should be the case if you configured the volume group first, (this should be the case if you configured the volume group first,
as this guide recommends), and tries to use the first one it as this guide recommends), and tries to use the first one it
sees. If you have only one active volume group on your Block sees. If you have only one active volume group on your Block
Storage Service node, you need not manually enter its name in Storage Service node, you do not need to manually enter its
when you install the <systemitem class="service" name in when you install the <systemitem class="service"
>cinder-volume</systemitem> package because it is detected >cinder-volume</systemitem> package because it is detected
automatically. If no <systemitem class="library" automatically. If no <systemitem class="library"
>volume-group</systemitem> is available when you install >volume-group</systemitem> is available when you install

View File

@@ -22,7 +22,7 @@
<para>For more information about how to deploy the dashboard, see <para>For more information about how to deploy the dashboard, see
<link <link
xlink:href="http://docs.openstack.org/developer/horizon/topics/deployment.html" xlink:href="http://docs.openstack.org/developer/horizon/topics/deployment.html"
>Deploying Horizon</link>.</para> >Deploying the Horizon dashboard</link>.</para>
<procedure> <procedure>
<step> <step>
<para>Install the dashboard on the node that can contact <para>Install the dashboard on the node that can contact

View File

@@ -5,8 +5,8 @@
xmlns:svg="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"
xmlns:html="http://www.w3.org/1999/xhtml" version="5.0"> xmlns:html="http://www.w3.org/1999/xhtml" version="5.0">
<title>Install the Image Service</title> <title>Install the Image Service</title>
<para>The Image Service acts as a registry for virtual disk images. <para>The OpenStack Image Service acts as a registry for virtual disk
Users can add new images or take a snapshot of an image from an images. Users can add new images or take a snapshot of an image from an
existing server for immediate storage. Use snapshots for back up existing server for immediate storage. Use snapshots for back up
and as templates to launch new servers. You can store registered and as templates to launch new servers. You can store registered
images in Object Storage or in other locations. For example, you images in Object Storage or in other locations. For example, you

View File

@@ -5,7 +5,7 @@
<title>Install the Orchestration service</title> <title>Install the Orchestration service</title>
<procedure os="debian"> <procedure os="debian">
<step> <step>
<para>Install the Orchestration service on the controller <para>Install the OpenStack Orchestration service on the controller
node:</para> node:</para>
<screen os="debian"><prompt>#</prompt> <userinput>apt-get install heat-api heat-api-cfn heat-engine</userinput></screen> <screen os="debian"><prompt>#</prompt> <userinput>apt-get install heat-api heat-api-cfn heat-engine</userinput></screen>
</step> </step>
@@ -21,7 +21,7 @@
</procedure> </procedure>
<procedure> <procedure>
<step> <step>
<para>Install the Orchestration service on the controller <para>Install the OpenStack Orchestration service on the controller
node:</para> node:</para>
<screen os="ubuntu"><prompt>#</prompt> <userinput>apt-get install heat-api heat-api-cfn heat-engine</userinput></screen> <screen os="ubuntu"><prompt>#</prompt> <userinput>apt-get install heat-api heat-api-cfn heat-engine</userinput></screen>
<screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>yum install openstack-heat-api openstack-heat-engine openstack-heat-api-cfn</userinput></screen> <screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>yum install openstack-heat-api openstack-heat-engine openstack-heat-api-cfn</userinput></screen>

View File

@@ -5,10 +5,9 @@
<title>Verify the Orchestration service installation</title> <title>Verify the Orchestration service installation</title>
<para>To verify that the Orchestration service is installed and <para>To verify that the Orchestration service is installed and configured
configured correctly, first ensure you have your credentials set correctly, make sure that your credentials are set up correctly in the
up correctly in an <filename>openrc</filename> file. Then, source <filename>openrc</filename> file. Source the file, as follows:</para>
it so your environment has the user name and password.</para>
<screen><prompt>#</prompt> <userinput>source openrc</userinput></screen> <screen><prompt>#</prompt> <userinput>source openrc</userinput></screen>

View File

@@ -6,8 +6,8 @@
<title>Install the Identity Service</title> <title>Install the Identity Service</title>
<procedure> <procedure>
<step> <step>
<para>Install the Identity Service on the controller node, <para>Install the OpenStack Identity Service on the controller node,
together with python-keystoneclient (which is a together with <application>python-keystoneclient</application> (which is a
dependency):</para> dependency):</para>
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>apt-get install keystone</userinput></screen> <screen os="ubuntu;debian"><prompt>#</prompt> <userinput>apt-get install keystone</userinput></screen>
<screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>yum install openstack-keystone python-keystoneclient</userinput></screen> <screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>yum install openstack-keystone python-keystoneclient</userinput></screen>
@@ -94,7 +94,7 @@ IDENTIFIED BY '<replaceable>KEYSTONE_DBPASS</replaceable>';</userinput></screen>
contains the password you have set using contains the password you have set using
<package>debconf</package>: <package>debconf</package>:
<programlisting language="ini">[DEFAULT] <programlisting language="ini">[DEFAULT]
# A "shared secret" between keystone and other openstack services # A "shared secret" between OpenStack Identity Service and other OpenStack services
admin_token = ADMIN_TOKEN admin_token = ADMIN_TOKEN
...</programlisting></para> ...</programlisting></para>
</step> </step>
@@ -179,7 +179,7 @@ admin_token = ADMIN_TOKEN
the <literal>[DEFAULT]</literal> section, replacing the <literal>[DEFAULT]</literal> section, replacing
ADMIN_TOKEN with the results of the command.</para> ADMIN_TOKEN with the results of the command.</para>
<programlisting os="ubuntu" language="ini">[DEFAULT] <programlisting os="ubuntu" language="ini">[DEFAULT]
# A "shared secret" between keystone and other openstack services # A "shared secret" between OpenStack Identity Service and other OpenStack services
admin_token = ADMIN_TOKEN admin_token = ADMIN_TOKEN
...</programlisting> ...</programlisting>
</step> </step>

View File

@@ -3,12 +3,19 @@
xml:id="keystone-services" xml:id="keystone-services"
os="rhel;centos;fedora;opensuse;sles;ubuntu"> os="rhel;centos;fedora;opensuse;sles;ubuntu">
<title>Define services and API endpoints</title> <title>Define services and API endpoints</title>
<para>The Identity Service also tracks what OpenStack services are <para>The Identity Service also tracks what OpenStack services are installed
installed and where to locate them on the network. For each and where to locate them on the network. Run these commands for each
service on your OpenStack installation, you must call service in your OpenStack installation:</para>
<command>keystone service-create</command> to describe the <itemizedlist>
service and <command>keystone endpoint-create</command> to specify <listitem>
the API endpoints associated with the service.</para> <para><command>keystone service-create</command>. Describes the
service.</para>
</listitem>
<listitem>
<para><command>keystone endpoint-create</command>. Associates
API endpoints with the service.</para>
</listitem>
</itemizedlist>
<para>For now, create a service for the Identity Service itself that <para>For now, create a service for the Identity Service itself that
uses normal authentication instead of the authorization token when uses normal authentication instead of the authorization token when
you run the <command>keystone</command> command in the you run the <command>keystone</command> command in the

View File

@@ -4,12 +4,12 @@
xml:id="keystone-users" os="rhel;centos;fedora;opensuse;sles;ubuntu"> xml:id="keystone-users" os="rhel;centos;fedora;opensuse;sles;ubuntu">
<title>Define users, tenants, and roles</title> <title>Define users, tenants, and roles</title>
<para>Once Keystone is installed and running, you set up users, tenants, <para>After you install the Identity Service, set up users,
and roles to authenticate against. These are used to allow access to tenants, and roles to authenticate against. These are used to allow access to
services and endpoints, described in the next section.</para> services and endpoints, described in the next section.</para>
<para>Typically, you would use a username and password to authenticate <para>Typically, you would use a user name and password to authenticate
with the Identity service. At this point, however, we have not created with the Identity Service. At this point, however, we have not created
any users, so we have to use the authorization token created in the any users, so we have to use the authorization token created in the
previous section. You can pass this with the <option>--os-token</option> previous section. You can pass this with the <option>--os-token</option>
option to the <command>keystone</command> command or set the option to the <command>keystone</command> command or set the

View File

@@ -4,9 +4,9 @@
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
xml:id="section_networking-routers-with-private-networks"> xml:id="section_networking-routers-with-private-networks">
<title>Per-tenant routers with private networks</title> <title>Per-tenant routers with private networks</title>
<para>This section describes how to install the Networking service <para>This section describes how to install the OpenStack Networking
and its components for a per-tenant routers with private service and its components for a use case that has per-tenant
networks use case.</para> routers with private networks.</para>
<informalfigure> <informalfigure>
<mediaobject> <mediaobject>
<imageobject> <imageobject>

View File

@@ -2,12 +2,11 @@
xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
xml:id="nova-network"> xml:id="nova-network">
<title>Enable networking</title> <title>Enable Networking</title>
<para>Configuring networking can be a bewildering experience. The <para>The example in this section shows how to set up OpenStack
following example shows the simplest production-ready Compute networking to use a flat network and DHCP. This set up
configuration that is available: the legacy networking in is the simplest production-ready configuration that
OpenStack Compute, with a flat network, that takes care of is available.</para>
DHCP.</para>
<para>This set up uses multi-host functionality. Networking is <para>This set up uses multi-host functionality. Networking is
configured to be highly available by distributing networking configured to be highly available by distributing networking
functionality across multiple hosts. As a result, no single functionality across multiple hosts. As a result, no single