下載文檔可以訪問我的豆丁: http://www.docin.com/p-596379823.html
以下主要介紹實現這個目的的關鍵步驟,給大家提供一個參考:
1.cd /dev/global/rdsk下,可以看到所有的did設備
2.newfs /dev/global/rdsk/d3s2(didadm –L查看共享設備的did ID)
3.vi /etc/vfstab(兩邊都要寫入),輸入以下入口項目:
/dev/global/dsk/d3s2 /dev/global/rdsk/d3s2 /testglobal ufs 1 no –
4.註冊storageplus資源
clrs create -g test-rg -t SUNW.HAStoragePlus -p FilesystemMountPoints=/testglobal -p AffinityOn=True testglobal-devices
查看資源狀態:
scstat –g
root@cluster1 # scstat -g
-- Resource Groups and Resources --
Group Name Resources
---------- ---------
Resources: test-rg cluster-ldm testglobal-devices
-- Resource Groups --
Group Name Node Name State Suspended
---------- --------- ----- ---------
Group: test-rg cluster1 Online No
Group: test-rg cluster2 Offline No
-- Resources --
Resource Name Node Name State Status Message
------------- --------- ----- --------------
Resource: cluster-ldm cluster1 Online Online - LogicalHostname online.
Resource: cluster-ldm cluster2 Offline Offline
Resource: testglobal-devices cluster1 Online Online
Resource: testglobal-devices cluster2 Offline Offline