NFS_mount_clusterware_logfiles

NFS mount remote clusterware logfiles on OEL 6.3 

NFS server configuration: OEL 6.3

Add  following line to  /etc/exports:
/u01/app/11203/grid/log/hrac2  hrac1.de.oracle.com(rw,sync,no_root_squash,no_all_squash)

Start NFS: 
# /etc/init.d/nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
Stopping RPC idmapd:                                       [  OK  ]
Starting RPC idmapd:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
# chkconfig nfs on

# showmount -e
Export list for hrac2.de.oracle.com:
/u01/app/11203/grid/log/hrac2 hrac1.de.oracle.com

NFS client configuration: OEL 6.3

Test remote NFS server export list:
# showmount -e  hrac2.de.oracle.com
Export list for hrac2.de.oracle.com:
/u01/app/11203/grid/log/hrac2 hrac1.de.oracle.c

Test the NFS mount 
# mount -t nfs hrac2.de.oracle.com:/u01/app/11203/grid/log/hrac2 /u01/app/11203/grid/log/hrac2
# umount /u01/app/11203/grid/log/hrac2

Add following line to /etc/fstab to make mount permanent 
hrac2.de.oracle.com:/u01/app/11203/grid/log/hrac2 /u01/app/11203/grid/log/hrac2 nfs rw,sync,hard,intr 0 0

Reread /etc/fstab and check mount status
# mount -a
[root@hrac1 Desktop]# mount
hrac2.de.oracle.com:/u01/app/11203/grid/log/hrac2 on /u01/app/11203/grid/log/hrac2 ype nfs (rw,sync,hard,intr,vers=4,addr=10.165.112.213,clientaddr=10.165.112.210)

References:

http://ostechnix.wordpress.com/2013/02/28/setup-nfs-server-in-centos-rhel-scientific-linux-6-3-step-by-step/

One thought on “NFS_mount_clusterware_logfiles

Leave a Reply to lista de emails Cancel reply

Your email address will not be published. Required fields are marked *