Impact loosing a cluster member used by a Server Pool

Loosing a node when minimum server pool count is already reached
Checkout the current configuration:
$ srvctl config srvpool -g SrvPool1 
Server pool name: SrvPool1
Importance: 0, Min: 2, Max: 2

Candidate server names: 
$  srvctl status srvpool -a
Server pool name: Free
Active servers count: 1
Active server names: grac1
NAME=grac1 STATE=ONLINE
Server pool name: Generic
Active servers count: 0
Active server names: 
Server pool name: SrvPool1
Active servers count: 2
Active server names: grac2,grac3
NAME=grac2 STATE=ONLINE
NAME=grac3 STATE=ONLINE

-> grac1 is in the Free pool, grac2 and grac3 are active servers in SrvPool1 server pool
Drop server grac2 from the cluster
# $GRID_HOME/bin/crsctl stop cluster -n grac2

Monitor server pool
$ srvctl status srvpool -a
Server pool name: Free
Active servers count: 1
Active server names: grac1
NAME=grac1 STATE=ONLINE
Server pool name: Generic
Active servers count: 0
Active server names: 
Server pool name: SrvPool1
Active servers count: 2
Active server names: grac2,grac3
NAME=grac2 STATE=LEAVING
NAME=grac3 STATE=ONLINE
-> Server grac2 is leaving ....

After a while grac1 is available in our server pool:  SrvPool1
$  srvctl status srvpool -a
Server pool name: Free
Active servers count: 0
Active server names: 
Server pool name: Generic
Active servers count: 0
Active server names: 
Server pool name: SrvPool1
Active servers count: 2
Active server names: grac1,grac3
NAME=grac1 STATE=ONLINE
NAME=grac3 STATE=ONLINE

Restart grac2 - should be added to the Free Pool after a while
# $GRID_HOME/bin/crsctl start cluster -n grac2
Monitor our server pools
$  srvctl status srvpool -a
Server pool name: Free
Active servers count: 1
Active server names: grac2
NAME=grac2 STATE=ONLINE
Server pool name: Generic
Active servers count: 0
Active server names: 
Server pool name: SrvPool1
Active servers count: 2
Active server names: grac1,grac3
NAME=grac1 STATE=ONLINE
NAME=grac3 STATE=ONLINE

Leave a Reply

Your email address will not be published. Required fields are marked *