Updated Branches: refs/heads/4.0 f12b328b3 -> 4537d7b1e
CLOUDSTACK-986: tried to fix this section according to comments in this bug. See Jira ticket for more comments. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/4537d7b1 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/4537d7b1 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/4537d7b1 Branch: refs/heads/4.0 Commit: 4537d7b1e422d7101b2b09bea5c5177ee4c7028c Parents: f12b328 Author: Joe Brockmeier <[email protected]> Authored: Thu Apr 11 22:43:37 2013 -0500 Committer: Joe Brockmeier <[email protected]> Committed: Thu Apr 11 22:43:37 2013 -0500 ---------------------------------------------------------------------- docs/en-US/nfs-shares-on-management-server.xml | 24 ++++++++++++++---- 1 files changed, 18 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4537d7b1/docs/en-US/nfs-shares-on-management-server.xml ---------------------------------------------------------------------- diff --git a/docs/en-US/nfs-shares-on-management-server.xml b/docs/en-US/nfs-shares-on-management-server.xml index 909dc8e..155c9af 100644 --- a/docs/en-US/nfs-shares-on-management-server.xml +++ b/docs/en-US/nfs-shares-on-management-server.xml @@ -27,9 +27,9 @@ <para>This section tells how to set up NFS shares for primary and secondary storage on the same node with the Management Server. This is more typical of a trial installation, but is technically possible in a larger deployment. It is assumed that you will have less than 16TB of storage on the host.</para> <para>The exact commands for the following steps may vary depending on your operating system version.</para> <orderedlist> - <listitem><para>On RHEL/CentOS systems, you'll need to install the nfs-util package:</para> - <programlisting> -$ sudo apt-get install nfs-utils + <listitem><para>On Ubuntu systems, you'll need to install the nfs-kernel-server and portmap packages:</para> + <programlisting language="bash"> + <prompt>$</prompt> sudo apt-get install nfs-kernel-server portutils </programlisting> </listitem> <listitem><para>On the Management Server host, create two directories that you will use for primary and secondary storage. For example:</para> @@ -46,7 +46,11 @@ $ sudo apt-get install nfs-utils <listitem><para>Export the /export directory.</para> <programlisting># exportfs -a</programlisting> </listitem> - <listitem><para>Edit the /etc/sysconfig/nfs file.</para> + <listitem> + <note><title>Red Hat Enterprise Linux / CentOS Only</title> + <para>This step is not required on Ubuntu systems. Skip this step on Ubuntu.</para> + </note> + <para>Edit the /etc/sysconfig/nfs file.</para> <programlisting># vi /etc/sysconfig/nfs</programlisting> <para>Uncomment the following lines:</para> <programlisting> @@ -58,7 +62,11 @@ STATD_PORT=662 STATD_OUTGOING_PORT=2020 </programlisting> </listitem> - <listitem><para>Edit the /etc/sysconfig/iptables file.</para> + <listitem> + <note><title>Red Hat Enterprise Linux / CentOS Only</title> + <para>This step is not required on Ubuntu systems. Skip this step on Ubuntu.</para> + </note> + <para>Edit the /etc/sysconfig/iptables file.</para> <programlisting># vi /etc/sysconfig/iptables</programlisting> <para>Add the following lines at the beginning of the INPUT chain where <NETWORK> is the network that you'll be using:</para> <programlisting> @@ -75,7 +83,11 @@ STATD_OUTGOING_PORT=2020 -A INPUT -s <NETWORK> -m state --state NEW -p udp --dport 662 -j ACCEPT </programlisting> </listitem> - <listitem><para>Run the following commands:</para> + <listitem> + <note><title>Red Hat Enterprise Linux / CentOS Only</title> + <para>This step is not required on Ubuntu systems. Skip this step on Ubuntu.</para> + </note> + <para>Run the following commands:</para> <programlisting> # service iptables restart # service iptables save
