[oracle@oratest1 bin]$ ./crsctl status serverpool
NAME=Free
ACTIVE_SERVERS=
NAME=Generic
ACTIVE_SERVERS=oratest1 oratest2
NAME=ora.crm
ACTIVE_SERVERS=
NAME=ora.crm_noc
ACTIVE_SERVERS=oratest2
NAME=ora.crmnoc
ACTIVE_SERVERS=oratest2
NAME=ora.emrep
ACTIVE_SERVERS=oratest1
NAME=ora.ess
ACTIVE_SERVERS=
NAME=ora.essnoc
ACTIVE_SERVERS=oratest2
[oracle@oratest1 bin]$ ./crsctl status serverpool Generic -p
NAME=Generic
IMPORTANCE=0
MIN_SIZE=0
MAX_SIZE=-1
SERVER_NAMES=oratest1 oratest2
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:grid:r-x,pgrp:oinstall:r-x,other::r-x
SERVER_CATEGORY=
[oracle@oratest1 bin]$ ./crsctl status serverpool ora.crm -p
NAME=ora.crm
IMPORTANCE=3
MIN_SIZE=2
MAX_SIZE=7
SERVER_NAMES=
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--
SERVER_CATEGORY=ora.hub.category
[oracle@oratest1 bin]$ ./crsctl status serverpool ora.crm -p
NAME=ora.crm
IMPORTANCE=3
MIN_SIZE=2
MAX_SIZE=7
SERVER_NAMES=
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--
SERVER_CATEGORY=ora.hub.category
[oracle@oratest1 bin]$ ./crsctl status serverpool ora.ess -p
NAME=ora.ess
IMPORTANCE=3
MIN_SIZE=2
MAX_SIZE=7
SERVER_NAMES=
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--
SERVER_CATEGORY=ora.hub.category
[oracle@oratest1 bin]$ ./srvctl modify srvpool -serverpool ora.crm -category ""
[oracle@oratest1 bin]$
[oracle@oratest1 bin]$ ./srvctl modify srvpool -serverpool ora.crm -servers "oratest1"
[oracle@oratest1 bin]$ ./srvctl modify srvpool -serverpool ora.crm -servers "oratest1" "oratest2"
PRKO-2002 : Invalid command line option: oratest2
[oracle@oratest1 bin]$ ./crsctl status serverpool ora.crm -p
NAME=ora.crm
IMPORTANCE=3
MIN_SIZE=2
MAX_SIZE=7
SERVER_NAMES=oratest1
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--
SERVER_CATEGORY=
[oracle@oratest1 bin]$ ./srvctl modify srvpool -serverpool ora.crm -servers "oratest2"
[oracle@oratest1 bin]$ ./crsctl status serverpool ora.crm -p
NAME=ora.crm
IMPORTANCE=3
MIN_SIZE=2
MAX_SIZE=7
SERVER_NAMES=oratest2
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--
SERVER_CATEGORY=
[oracle@oratest1 bin]$ ./srvctl modify srvpool -serverpool ora.crm -servers "oratest1"
[oracle@oratest1 bin]$
[oracle@oratest1 bin]$ ./srvctl modify srvpool -serverpool ora.ess -servers "oratest2"
PRCS-1097 : The serverpool ess already contains the server category
[oracle@oratest1 bin]$ ./srvctl modify srvpool -serverpool ora.ess -category ""
[oracle@oratest1 bin]$ ./srvctl modify srvpool -serverpool ora.ess -servers "oratest2"
[oracle@oratest1 bin]$
[oracle@oratest1 bin]$
[oracle@oratest1 bin]$ ./crsctl status serverpool ora.ess -p
NAME=ora.ess
IMPORTANCE=3
MIN_SIZE=2
MAX_SIZE=7
SERVER_NAMES=oratest2
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--
SERVER_CATEGORY=
[oracle@oratest1 bin]$ ./srvctl modify srvpool -serverpool ora.ess -servers "oratest1"
[oracle@oratest1 bin]$ ./crsctl status serverpool ora.ess -p
NAME=ora.ess
IMPORTANCE=3
MIN_SIZE=2
MAX_SIZE=7
SERVER_NAMES=oratest1
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--
SERVER_CATEGORY=
[oracle@oratest1 bin]$ srvctl status oc4j
OC4J is enabled
OC4J is running on node oratest1
[oracle@oratest1 bin]$
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/13750068/viewspace-1063700/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/13750068/viewspace-1063700/