cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
556
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: James Maudlin on 27-01-2012 12:38:21 PM
Straight forward NFS v4 setup for WebEx Social


<h1 id="1Simple_NFS_setup_for_single_and_multiple_WebEx Social_instance_deployments" style="text-align: center;">
Simple NFS setup for single and multiple WebEx Social instance deployments</h1>

Earlier in the life of Cisco WebEx Social, I sent out a note that described
some details around the NFS server and NFS client setup for Cisco WebEx Social.
Reading over this note again makes me think that it was too difficult to
comprehend, let alone actually implement. Therefore, I wanted to POST
this note about the same topic, but highly condensed and simplified.

Preparing an NFS server requires that you think a bit about what you
may encounter in the future as the deployment grows. I'd like to account
for this in the setup contained in this note. Also, I'd also like to
create a distinction between WebEx Social nodes and WebEx Social instances. A WebEx Social node
is a single VM that runs Apache HTTPD, Apache Tomcat, Liferay Portal,
and a bit of the Cisco WebEx Social software. Many times one will create more
than one of these in a single WebEx Social deployment, or instance. A WebEx Social
instance is the collection of all the various nodes required to execute
the entire Cisco WebEx Social product. Therefore, a WebEx Social instance includes one
or more WebEx Social nodes, Openfire, RDF, CEPM, Search, Cache, etc. Most Cisco
WebEx Social customers have multiple WebEx Social nodes, however, very few Cisco WebEx Social
customers have multiple WebEx Social instances.
<h2 id="1_1NFS_Server">
NFS Server</h2>

Setting up an NFS server requires that you contain the exported NFS
file area and prepare for multiple uses of the NFS server. Therefore, we
will contain the area of the file system that is exposed to the outside
world through NFS to the "/export" top-level directory and all of its
subdirectories. Underneath the "/export" directory, we will create a
"WebEx Social" directory to contain all of the data for all Cisco WebEx Social instances.
Finally, we will create a directory underneath "/export/WebEx Social" for each
Cisco WebEx Social instance that we are serving NFS to, for example
"production_01". Later, we may have to serve files to a second Cisco
WebEx Social instance (maybe the customer's development instance versus the
production instance), and we may call that instance "development_01".

Therefore, we will need to create the NFS area for all Cisco WebEx Social instances using:

mkdir -p /export/WebEx Social



Then, we create a subdirectory for each WebEx Social instance using:

mkdir -p /export/WebEx Social/production_01



mkdir -p /export/WebEx Social/development_01



Then, we create the NFS server configuration file for the NFS server as the "/etc/exports" file. Here will be its contents:

/export/WebEx Social *(rw,no_root_squash,fsid=0)



Note that there is only one line in the file "/etc/exports". You should
not have to add any extra lines in this NFS configuration file for the
purposes of Cisco WebEx Social. However, this setup will serve many Cisco WebEx Social
instances. For each Cisco WebEx Social instance, simply create a new
subdirectory underneath "/export/WebEx Social" that identifies that new Cisco
WebEx Social instance.

After you have finished writing the /etc/exports file, then remember to restart the NFS service using the command "service nfs restart".

When provisioning the Cisco WebEx Social instance (using the CPS GUI), under
"Common Settings ->", you are required to enter the name of the NFS
server and the NFS source. For the "NFS Host", enter the DNS hostname or
IP address of the NFS server. For the "NFS Source", only enter "slash
<Cisco WebEx Social Instance Name", for example "/production_01". The next
Cisco WebEx Social instance will use the same NFS Host name, but will use
"/development_01" as the "NFS Source".



Finally, please remember to create the users, groups,
and subdirectories required by each instance of Cisco WebEx Social underneath
each instance's directory. For example:
<pre>
cd /export/WebEx Social/production_01
/bin/mkdir cms jms diagnostics backup
/usr/sbin/groupadd -g 300 WebEx Social
/usr/sbin/groupadd -g 201 xmpdba
/usr/sbin/useradd -u 303 -g 300 WebEx Social
/usr/sbin/useradd -u 301 -g 300 activemq
/usr/sbin/useradd -u 440 -g 300 oracle
/usr/sbin/chown -vR 301.300 jms
/usr/sbin/chown -vR 303.300 cms
/usr/sbin/chown -vR 303.300 diagnostics
/usr/sbin/chown -vR 440.201 backup
/usr/sbin/chmod -cR g+w $(find . -type d)

</pre>

Subject: RE: Easy NFS Setup
Replied by: ROD TAGUCHI on 17-02-2012 12:02:13 PM
Fantastic, James.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links