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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- usering mongotemplate bases on spring-Data-mongoGoSpring
- 4.5.1.2 srvctl add databaseDatabase
- 4.5.1.3 srvctl add listener
- 4.5.1.4 srvctl add ons
- 4.5.1.1 srvctl add asmASM
- Oracle:srvctl 簡介Oracle
- 4.5.1.5 srvctl 新增服務
- 4.2.2 準備執行SRVCTL
- mysql alter modify 和 change的區別MySql
- RAC 管理(crs_stat、crsctl、srvctl)
- 4.5 通過SRVCTL 呼叫Oracle RestartOracleREST
- 4.2.3 獲取SRVCTL 的幫助
- CentOS 7.5 modify the sshd port with SElinux and Firewalld Service runningCentOSLinux
- ulimit: core file size: cannot modify limit: Operation not permittedMIT
- 3.1.1.4 使用 SRVCTL 啟動資料庫資料庫
- 資料庫中modify和change的區別資料庫
- 4.2.11 使用 SRVCTL 建立資料庫服務資料庫
- SRVCTL 刪除和新增資料庫服務資料庫
- Angular的scope. apply和CRM WebClient UI的modify方法AngularAPPWebclientUI
- YYKit原始碼探究(五十四) —— NSDate分類之Date modify(二)原始碼
- Warning: Cannot modify header information - headers already sent by (output started at file_path:line)HeaderORM
- 【故障處理】ORA-65500: could not modify DB_UNIQUE_NAME, resource exists
- Oracle 12.2之後ALTER TABLE .. MODIFY轉換非分割槽表為分割槽表Oracle
- [20220623]grid使用者執行srvctl status service -d xxx報PRCD-1229.txt
- 【RAC】Oracle RAC12c+ srvctl操作命令變化(引數更嚴謹了)Oracle
- 3.1.2.3 通過 SRVCTL 使用非預設初始化引數啟動資料庫資料庫
- sql serverSQLServer
- Windows server 2012 R2配置NTP ServerWindowsServer
- 在webpack-dev-server內新增mock serverWebdevServerMock
- Server Tomcat v9.0 Server at localhost failed to start.ServerTomcatlocalhostAI
- Moebius for SQL ServerSQLServer
- 2788647047_serverServer
- sql server 使用SQLServer
- bun mini serverServer
- rust ntex serverRustServer
- SQL Server教程SQLServer
- http包serverHTTPServer
- UDP server CodeUDPServer
- realvnc server,realvnc server的9個安裝步驟VNCServer