--创建server pool的两种方式:
图形界面:console和dbca 演示-略 命令行工具:srvctl和crsctl--srvctl和crsctl创建serverpool
[grid@node2 ~]$ srvctl add serverpool -g s_pool -l 1 -u 2 -i 1 -n node1,node2
[grid@node2 ~]$ crsctl add serverpool c_pool -attr "MIN_SIZE=1,MAX_SIZE=2,IMPORTANCE=1"--查看server pool
[grid@node2 ~]$ srvctl config srvpool
Server pool name: FreeImportance: 0, Min: 0, Max: -1Candidate server names: Server pool name: GenericImportance: 0, Min: 0, Max: -1Candidate server names: Server pool name: fasppoolImportance: 10, Min: 1, Max: 2Candidate server names: node2,node1Server pool name: s_poolImportance: 1, Min: 1, Max: 2Candidate server names: node1,node2[grid@node2 ~]$ srvctl config serverpool Server pool name: FreeImportance: 0, Min: 0, Max: -1Candidate server names: Server pool name: GenericImportance: 0, Min: 0, Max: -1Candidate server names: Server pool name: fasppoolImportance: 10, Min: 1, Max: 2Candidate server names: node2,node1Server pool name: s_poolImportance: 1, Min: 1, Max: 2Candidate server names: node1,node2[grid@node2 ~]$ srvctl status serverpoolServer pool name: FreeActive servers count: 0Server pool name: GenericActive servers count: 0Server pool name: fasppoolActive servers count: 1Server pool name: s_poolActive servers count: 1 [grid@node2 ~]$ crsctl status serverpool -pNAME=FreeIMPORTANCE=0MIN_SIZE=0MAX_SIZE=-1SERVER_NAMES=PARENT_POOLS=EXCLUSIVE_POOLS=ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r-xNAME=Generic
IMPORTANCE=0MIN_SIZE=0MAX_SIZE=-1SERVER_NAMES=PARENT_POOLS=EXCLUSIVE_POOLS=ACL=owner:grid:r-x,pgrp:oinstall:r-x,other::r-xNAME=c_pool
IMPORTANCE=1MIN_SIZE=1MAX_SIZE=2SERVER_NAMES=PARENT_POOLS=EXCLUSIVE_POOLS=ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--NAME=efmispool
IMPORTANCE=0MIN_SIZE=0MAX_SIZE=1SERVER_NAMES=PARENT_POOLS=EXCLUSIVE_POOLS=ACL=owner:oracle:rwx,pgrp:oinstall:rwx,other::r--NAME=ora.fasppool
IMPORTANCE=10MIN_SIZE=1MAX_SIZE=2SERVER_NAMES=node2 node1PARENT_POOLS=EXCLUSIVE_POOLS=ACL=owner:oracle:rwx,pgrp:oinstall:rwx,other::r--NAME=ora.s_pool
IMPORTANCE=1MIN_SIZE=1MAX_SIZE=2SERVER_NAMES=node1 node2PARENT_POOLS=EXCLUSIVE_POOLS=ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--[grid@node2 ~]$ crsctl status serverpool -f
--删除server pool
[grid@node2 ~]$ srvctl remove serverpool -g s_pool
[grid@node2 ~]$ crsctl delete serverpool c_pool