000027457 - APP 3.0: how to setup an nfs export and nfs mount between appliances (for the purpose of transferring a replica package or exporting logs)

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000027457
IssueAPP 3.0: how to setup an nfs export and nfs mount between appliances (for the purpose of transferring a replica package or for exporting logs)
There is no documented way to transfer a replica package between a primary and a replica server via nfs.
ResolutionFor the purposes of this example, assume:
"primary.mydomain.com" is the hostname of the Primary server (and the nfs server), the directory to export is called /share
"replica.mydomain.com" is the hostname of the Replica server (and the nfs client), the directory to mount against is called /primary

On the Primary (nfs server)
1) Log into the server via ssh as emcsrv, then sudo to the root user using sudo su -
2) cd /etc and vi (or create if one does not exist) a file called "exports"
3) add the following entry to the exports directory:
                /share replica.mydomain.com(rw,root_squash)
   where: /share is the directory where you have saved the replica package
              replica.mydomain.com is the only site that is allowed to access the mount (alternately, you can use an ip address or * for global access)
              (rw,root_squash) is read/write and "squashing" root rights to the mount point (for security purposes).
   this mount can be scaled down or up, depending on how much or little security you want associated.  The mount should only be used temporarily.
4) stop ip tables (temporarily): service iptables stop
5) start the nfs server: service nfs start

On the Replica:
1) mkdir /primary
2) chmod 777 /primary
3) mkdir /package
4) chmod 777 /package
5) mount the nfs export on from the primary to the replica:
    mount -t nfs primary.mydomain.com:/share /primary
6) cd /primary (the replica package should be viewable with ls)
7) cp /primary/(replica package name) /package

When the copy is finished, you can umount the drive on the client
On Replica
1) cd /
2) umount primary.mydomain.com:/share

On Primary

1) turn iptables back on: service iptables start
2) turn nfs off: service nfs stop


        
Legacy Article IDa48752

Attachments

    Outcomes