Oracle HA 之 Server Pool 实战
--创建server pool的两种方式:
图形界面:console和dbca 演示-略
命令行工具:srvctl和crsctl
--srvctl和crsctl创建serverpool
[grid@node2 ~]$ srvctl add serverpool -g s_pool -l 1 -u 2 -i 1 -n node1,node2
[grid@node2 ~]$ crsctl add serverpool c_pool -attr "MIN_SIZE=1,MAX_SIZE=2,IMPORTANCE=1"
--查看server pool
[grid@node2 ~]$ 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
[grid@node2 ~]$ 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
[grid@node2 ~]$ 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
[grid@node2 ~]$ 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--
[grid@node2 ~]$ crsctl status serverpool -f
--删除server pool
[grid@node2 ~]$ srvctl remove serverpool -g s_pool
[grid@node2 ~]$ crsctl delete serverpool c_pool
最新文章
- 踩坑所引发出的appendChild方法的介绍
- Bash漏洞批量检测工具与修复方案
- 淘宝(阿里百川)手机客户端开发日记第六篇 Service详解(六)
- 反编译工具reflector破解方法
- 【五】PHP数组操作函数
- java(2014)实现对mysql数据库分页的代码
- Python学习--07迭代器、生成器
- ListView中分割线的设置
- FTP的主动模式和被动模式
- 关于表格动态添加行并处理相关表单元素的一些修改----优化for重用(2)
- javascript笔记整理(window对象)
- JS判断鼠标向上滚动还是向下滚动
- IE浏览器清除缓存没用
- apply,all,bind的区别
- 2018-2019 ICPC, NEERC, Southern Subregional Contest
- Which Queue Pair type to use?
- 20155326《网路对抗》Exp8 WEB基础实践
- 如何查找Power BI本地报表服务器产品密钥
- Win7系统安装Centos7.0双系统(三)
- vue脚手架构
热门文章
- phonegap入门–2 Android phonegap工程建立
- JavaScript之 for...in
- 基于github+hexo搭建个人博客(window)
- NFS exportfs 命令
- 解决“Connection to https://dl-ssl.google.com refused”问题
- Android studio导入eclipse工程时出现中文全部乱码问题
- C++ template —— 模板特化(五)
- 如何将一个项目打成war包?
- ubuntu14.04 LTS Python IDE专用编辑器PyCharm开发环境搭建
- kafka 的quick start(windows平台)