- Create failover resource groups :
scrgadm -a -g nfs-rg1 -h node1,node2 -y PathPrefix=/global/nfs1 -y Failback=true
- Add logical hostname resources to the resource groups :
scrgadm -a -j nfs-lh-rs1 -L -g nfs-rg1 -l log-name1
- Configure device groups :
scconf -c -D name=nfs1,nodelist=node1:node2,failback=enabled
- Create HAStoragePlus resources :
scrgadm -a -j nfs-hastp-rs1 -g nfs-rg1 -t SUNW.HAStoragePlus -x FilesystemMountPoints=/global/nfs1 -x AffinityOn=True
- Bring the groups online :
scswitch -Z -g nfs-rg1
- Enable NFS resources :
scswitch -e -j share1
scrgadm -pvv -g lpdb-ms -j resource-name | grep FilesystemMountPoints
scrgadm -c -j lp-db-hasp-res2 -x FilesystemMountPoints=”/oracle/lpprod/data01,/oracle/lpprod/data02,/oracle/lpprod/index01,/oracle/lpprod/archive,/oracle/lpprod/redologa,/oracle/lpprod/redologb,/oracle/lpprod/redologc,/oracle/lpprod/redologd,/oracle/lpprod/data03,/oracle/lpprod/data04″
Create dependencies
- scrgadm -c -j resource2 -y Resource_dependencies=myresource1
http://www.datadisk.co.uk/html_docs/sun/sun_cluster_31_tasks.htm
No comments:
Post a Comment