12C-How to modify srvpool server usering srvctl
[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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 用srvctl modify nodeapps命令更改vip地址APP
- Restore db usering NBU7.5REST
- 12c-How To Recover Root ContainerAI
- usering mongotemplate bases on spring-Data-mongoGoSpring
- ABAP SQL 中的 Modify 使用SQL
- How to modify multiple items in the SAP menu
- Oracle:srvctl 簡介Oracle
- SRVCTL命令介紹
- SRVCTL 命令參考
- 12C-How to Create Oracle Database QoS Management Administrator AccountsOracleDatabase
- 4.5.1.1 srvctl add asmASM
- 4.5.1.2 srvctl add databaseDatabase
- Oracle: srvctl 命令小結Oracle
- Oracle srvctl的小bugOracle
- rac 命令 srvctl 報錯
- How to modify analog output range of Arduino DueUI
- 4.2.2 準備執行SRVCTL
- 執行srvctl命令報錯
- CRSCTL和SRVCTL的命令用法
- oracle rac srvctl 幫助大全Oracle
- ulimit: core file size: cannot modify limit: Operation not permittedMIT
- -bash: ulimit: open files: cannot modify limit: Operation not permittedMIT
- 【srvctl】 LD_ASSUME_KERNEL環境變數作祟導致srvctl命令無法使用變數
- 資料庫中modify和change的區別資料庫
- How to modify Public ip and vip In 11gr2 Rac
- How To modify listener port in oracle 11g GridOracle
- 4.5 通過SRVCTL 呼叫Oracle RestartOracleREST
- 使用srvctl管理RAC資料庫資料庫
- RAC中的srvctl和crs命令
- oracle11gRAC之srvctl命令:Oracle
- CentOS 7.5 modify the sshd port with SElinux and Firewalld Service runningCentOSLinux
- alter table modify constraint_disable_enable_novalidateAI
- Modify the CoDe_InSiDe's 1st ReverseMeIDE
- 3.1.1.4 使用 SRVCTL 啟動資料庫資料庫
- 10G RAC: srvctl 命令總結
- SRVCTL 命令詳細說明文件(譯)
- srvctl新增資料庫資訊報錯資料庫
- Metlink:How to Modify Public Network Information including VIP in CrsORM