Thursday, March 6, 2014

Creating Server Pools with srvctl and crsctl

Use the crsctl utility or the srvctl utility to create additional server pools.

• Specifying attributes on the command line:

$ crsctl add serverpool SP1 –attr "MIN_SIZE=2, MAX_SIZE=5, IMPORTANCE=3"

$ srvctl add srvpool –g SP1 –l 2 –u 5 –i 3 -n "server1,server2"


• Specifying attributes using a text file to supply them:

$ crsctl add serverpool SP1 –file /usr/local/bin/SP1_attributes.txt



MIN_SIZE (-l), MAX_SIZE (-u), IMPORTANCE (-i), and SERVER_NAMES (-n)
 

Note: New pools can be created only after the Generic pool has been deleted.



Managing Server Pools with srvctl and crsctl

To delete server pools:

$ crsctl delete serverpool SP1

$ srvctl remove srvpool –g SP1



To modify server pools:

$ crsctl modify serverpool SP2 –attr "MIN_SIZE=4, MAX_SIZE=8, IMPORTANCE=7"

$ srvctl modify srvpool -g SP2 –l 4 –u 8 –i 7





No comments:

Post a Comment