Server Pool实战

Posted ChavinKing

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Server Pool实战相关的知识,希望对你有一定的参考价值。

--创建server pool的两种方式:
    图形界面:console和dbca       演示-略
    命令行工具:srvctl和crsctl

--srvctl和crsctl创建serverpool

[[email protected] ~]$ srvctl add serverpool -g s_pool -l 1 -u 2 -i 1 -n node1,node2
[[email protected] ~]$ crsctl add serverpool c_pool -attr "MIN_SIZE=1,MAX_SIZE=2,IMPORTANCE=1"

--查看server pool

[[email protected] ~]$ srvctl config srvpool
Server pool name: Free
Importance: 0, Min: 0, Max: -1
Candidate server names:
Server pool name: Generic
Importance: 0, Min: 0, Max: -1
Candidate server names:
Server pool name: fasppool
Importance: 10, Min: 1, Max: 2
Candidate server names: node2,node1
Server pool name: s_pool
Importance: 1, Min: 1, Max: 2
Candidate server names: node1,node2
[[email protected] ~]$ srvctl config serverpool
Server pool name: Free
Importance: 0, Min: 0, Max: -1
Candidate server names:
Server pool name: Generic
Importance: 0, Min: 0, Max: -1
Candidate server names:
Server pool name: fasppool
Importance: 10, Min: 1, Max: 2
Candidate server names: node2,node1
Server pool name: s_pool
Importance: 1, Min: 1, Max: 2
Candidate server names: node1,node2
[[email protected] ~]$ srvctl status serverpool
Server pool name: Free
Active servers count: 0
Server pool name: Generic
Active servers count: 0
Server pool name: fasppool
Active servers count: 1
Server pool name: s_pool
Active servers count: 1


[[email protected] ~]$ crsctl status serverpool -p
NAME=Free
IMPORTANCE=0
MIN_SIZE=0
MAX_SIZE=-1
SERVER_NAMES=
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r-x

NAME=Generic
IMPORTANCE=0
MIN_SIZE=0
MAX_SIZE=-1
SERVER_NAMES=
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:grid:r-x,pgrp:oinstall:r-x,other::r-x

NAME=c_pool
IMPORTANCE=1
MIN_SIZE=1
MAX_SIZE=2
SERVER_NAMES=
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--

NAME=efmispool
IMPORTANCE=0
MIN_SIZE=0
MAX_SIZE=1
SERVER_NAMES=
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:oracle:rwx,pgrp:oinstall:rwx,other::r--

NAME=ora.fasppool
IMPORTANCE=10
MIN_SIZE=1
MAX_SIZE=2
SERVER_NAMES=node2 node1
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:oracle:rwx,pgrp:oinstall:rwx,other::r--

NAME=ora.s_pool
IMPORTANCE=1
MIN_SIZE=1
MAX_SIZE=2
SERVER_NAMES=node1 node2
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--

[[email protected] ~]$ crsctl status serverpool -f

--删除server pool

[[email protected] ~]$ srvctl remove serverpool -g s_pool
[[email protected] ~]$ crsctl delete serverpool c_pool

以上是关于Server Pool实战的主要内容,如果未能解决你的问题,请参考以下文章

Change the File Store Location for Lync Server 2013 Pool

不良 : There are 0 (Beeswax pool) 64 (Hive Server 2 pool) active client

23Why httpclient is recommended to go with a connection pool in server-to-server request?

python之multiprocessing:multiprocessing.Pool

centos 7 安装NTP服务

xen server 6.2 模拟master 切换过程