- 论坛徽章:
- 7
|
Today I found one question about disable sun cluster resources, I'm glad to share with you:
I have collected cluster resource group status and resource name:
# scstat -g
-- Resource Groups and Resources --
Group Name Resources
---------- ---------
Resources: ora-rg virtual-ip ora-stor ora-lsnr ora-db
-- Resource Groups --
Group Name Node Name State
---------- --------- -----
Group: ora-rg cluster-test1 Offline
Group: ora-rg cluster-test2 Offline
-- Resources --
Resource Name Node Name State Status Message
------------- --------- ----- --------------
Resource: virtual-ip cluster-test1 Offline Offline - LogicalHostname Offline.
Resource: virtual-ip cluster-test2 Offline Offline - LogicalHostname offline.
Resource: ora-stor cluster-test1 Offline Offline
Resource: ora-stor cluster-test2 Offline Offline
Resource: ora-lsnr cluster-test1 Offline Offline
Resource: ora-lsnr cluster-test2 Offline Offline
Resource: ora-db cluster-test1 Offline Offline
Resource: ora-db cluster-test2 Offline Offline
No matter whether you enabled or disabled resource ora-db, after ran scswitch -Zg ora-rg, all resources including ora-db will be brought online one the default first node!! But if you implement scswitch -zg ora-rg -h cluster-test1, ora-db will remain itself offline state!
At the end, I should renewal my solaris environment: solaris 10 update 2 & Sun Cluster 3.1 update 4
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/43/showart_276799.html |
|