Adds a server pool to the Oracle Clusterware.
Usage: srvctl add srvpool -g <pool_name> [-l <min>] [-u <max>] [-i <importance>] [-n "<server_list>"] [-f]
-g <pool_name> Server pool name
-l <min> Minimum size of the server pool (Default value is 0)
-u <max> Maximum size of the server pool (Default value is -1 for unlimited maximum size)
-i <importance> Importance of the server pool (Default value is 0)
-n "<server_list>" Comma separated list of candidate server names
-f Force the operation even though some resource(s) will be stopped
-h Print usage
crsctl add serverpool -h
Usage:
crsctl add serverpool <spName> [[-file <filePath>] | [-attr "<attrName>=<value>[,...]"]] [-i]
where
spName Add named server pool
filePath Attribute file
attrName Attribute name
value Attribute value
-i Fail if request cannot be processed immediately
-f Force option
srvctl add srvpool -g ashley_sp -l 2 -u 5 -i 3 -n "ljtcax101, ljtbab102"
crsctl status serverpool -p
NAME=ora.ashley_sp
IMPORTANCE=3
MIN_SIZE=2
MAX_SIZE=5
SERVER_NAMES=ljtcax101, ljtbab102
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:oracle:rwx,pgrp:oinstall:rwx,other::r--
To modify server pool
srvctl modify serverpool ashley_sp -attr "MIN_SIZE=1,MAX_SIZE=3, IMPORTANCE=7"
To delete remove server pool
srvctl remove srvpool -g SP1
To check permission
crsctl getperm serverpool ora.ashley_spName: ora.ashley_sp
owner:oracle:rwx,pgrp:oinstall:rwx,other::r--
No comments:
Post a Comment