You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ra...@apache.org on 2013/10/29 07:27:40 UTC
git commit: CLOUDSTACK-3243 fixed the mount point errors
Updated Branches:
refs/heads/master 95e01991e -> b74319385
CLOUDSTACK-3243 fixed the mount point errors
Project: http://git-wip-us.apache.org/repos/asf/cloudstack-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-docs/commit/b7431938
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-docs/tree/b7431938
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-docs/diff/b7431938
Branch: refs/heads/master
Commit: b74319385fc1f18faf0a733ba230738dfe81eb1b
Parents: 95e0199
Author: radhikap <ra...@citrix.com>
Authored: Tue Oct 29 11:57:20 2013 +0530
Committer: radhikap <ra...@citrix.com>
Committed: Tue Oct 29 11:57:20 2013 +0530
----------------------------------------------------------------------
en-US/nfs-shares-on-management-server.xml | 34 ++++++++++++--------------
1 file changed, 15 insertions(+), 19 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack-docs/blob/b7431938/en-US/nfs-shares-on-management-server.xml
----------------------------------------------------------------------
diff --git a/en-US/nfs-shares-on-management-server.xml b/en-US/nfs-shares-on-management-server.xml
index 0ce058a..7ed4b74 100644
--- a/en-US/nfs-shares-on-management-server.xml
+++ b/en-US/nfs-shares-on-management-server.xml
@@ -29,14 +29,12 @@
<orderedlist>
<listitem><para>On RHEL/CentOS systems, you'll need to install the nfs-utils package:</para>
<programlisting>
-$ sudo yum install nfs-utils
- </programlisting>
+$ sudo yum install nfs-utils</programlisting>
</listitem>
<listitem><para>On the Management Server host, create two directories that you will use for primary and secondary storage. For example:</para>
<programlisting>
# mkdir -p /export/primary
-# mkdir -p /export/secondary
- </programlisting>
+# mkdir -p /export/secondary</programlisting>
</listitem>
<listitem><para>To configure the new directories as NFS exports, edit /etc/exports. Export the NFS share(s) with rw,async,no_root_squash,no_subtree_check. For example:</para>
<programlisting># vi /etc/exports</programlisting>
@@ -55,12 +53,12 @@ LOCKD_UDPPORT=32769
MOUNTD_PORT=892
RQUOTAD_PORT=875
STATD_PORT=662
-STATD_OUTGOING_PORT=2020
- </programlisting>
+STATD_OUTGOING_PORT=2020</programlisting>
</listitem>
<listitem><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>
+ <para>Add the following lines at the beginning of the INPUT chain, where <<emphasis
+ role="italic">NETWORK</emphasis>> is the network that you'll be using:</para>
<programlisting>
-A INPUT -s <NETWORK> -m state --state NEW -p udp --dport 111 -j ACCEPT
-A INPUT -s <NETWORK> -m state --state NEW -p tcp --dport 111 -j ACCEPT
@@ -78,8 +76,7 @@ STATD_OUTGOING_PORT=2020
<listitem><para>Run the following commands:</para>
<programlisting>
# service iptables restart
-# service iptables save
- </programlisting>
+# service iptables save</programlisting>
</listitem>
<listitem><para>If NFS v4 communication is used between client and server, add your domain to /etc/idmapd.conf on both the hypervisor host and Management Server.</para>
<programlisting># vi /etc/idmapd.conf</programlisting>
@@ -98,18 +95,17 @@ STATD_OUTGOING_PORT=2020
# service nfs start
# chkconfig nfs on
# chkconfig rpcbind on
-# reboot
- </programlisting>
+# reboot</programlisting>
</listitem>
- <listitem><para>Log back in to the hypervisor host and try to mount the /export directories. For example (substitute your own management server name):</para>
+ <listitem><para>Log back in to the hypervisor host and try to mount the /export directories. For example,
+ substitute your own management server name:</para>
<programlisting>
-# mkdir /primarymount
-# mount -t nfs <management-server-name>:/export/primary /primarymount
-# umount /primarymount
-# mkdir /secondarymount
-# mount -t nfs <management-server-name>:/export/secondary /secondarymount
-# umount /secondarymount
- </programlisting>
+# mkdir /primary
+# mount -t nfs <management-server-name>:/export/primary
+# umount /primary
+# mkdir /secondary
+# mount -t nfs <management-server-name>:/export/secondary
+# umount /secondary</programlisting>
</listitem>
</orderedlist>
</listitem>