NFS HA Service Group in VCS 5.x on Solaris 10
Remember to delete the service maps for NFS using svccfg command
With Solaris 10 and VCS 5.x, nfsd HAS TO run under VCS control. In order to achieve that, the following needs ton happen (on every node that will host the NFS share) —
Disable/Delete the NFS services from SMF
# svccfg delete -f svc:/network/nfs/server:default# svccfg delete -f svc:/network/nfs/status:default# svccfg delete -f svc:/network/nfs/nlockmgr:default
Manually restart lockd, statd and automountd
# /usr/lib/nfs/lockd# /usr/lib/nfs/statd# /usr/lib/fs/autofs/automount# /usr/lib/autofs/automountd
NOTE: In this example (see below), the NFSgrp is configured only for one node. To add another node, add the node name and number to SystemList and AutoStartList
group NFSgrp ( SystemList = { hostA = 0 } AutoStartList = { hostA } ) DiskGroup nfsDG ( Critical = 0 DiskGroup = testdg ) Volume nfsVOL ( Critical = 0 Volume = testnfshome DiskGroup = testdg ) IP IPres ( Device = bge0 Address = "10.10.10.22" NetMask = "255.255.255.0" ) Mount Mountres ( MountPoint = "/nfs/testnfs" BlockDevice = "/dev/vx/dsk/testdg/testnfshome" FSType = vxfs MountOpt = rw FsckOpt = "-y" ) NFS NFSres ( Nservers = 16 ) NFSLock NFSLockres ( PathName = "/nfs/testnfs" ) NIC NICres ( Device = bge0 ) Share Shareres ( PathName = "/nfs/testnfs" Options = "-o rw -d \"test home dirs\"" ) // IPres requires Shareres IPres requires NICres nfsVOL requires nfsDG Mountres requires nfsVOL NFSLockres requires Mountres Shareres requires NFSLockres Shareres requires NFSres // resource dependency tree // // group NFSgrp // { // IP IPres // { // NIC NICres // Share Shareres // { // NFSLock NFSLockres // { // Mount Mountres // { // Volume nfsVOL // { // DG nfsDG // } // } // } // NFS NFSres // } // } // }
July 17th, 2012 at 7:05 pm
…
Buy Quality Drugs Now!…
September 5th, 2012 at 3:39 pm
payday lenders no faxing…
realsysadmin.com » Blog Archive » NFS HA Service Group in VCS 5.x on Solaris 10…
April 18th, 2013 at 2:56 pm
best online casino…
realsysadmin.com » Blog Archive » NFS HA Service Group in VCS 5.x on Solaris 10…