Oracle11g RAC环境下多个Scan IP的修改方法
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Oracle11g RAC环境下多个Scan IP的修改方法1.环境
操作系统版本:AIX 6.1
Oracle版本:11.2.0.3
旧的Scan IP:
192.168.101.65
新的Scan IP:
192.168.101.66
192.168.101.67
192.168.101.68
2.查看Scan IP配置
srvctlconfig scan
SCAN name: host-scan, Network: 1/192.168.101.0/255.255.255.0/en0
SCAN VIP name: scan1, IP: /host-scan/192.168.101.65
3.停止Scan相关资源
srvctl stop scan_listener //停止Scan_listener资源
srvctl status scan_listener //查看Scan_listener状态
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is not running
srvctl stop scan //停止Scan资源
srvctl status scan //查看Scan状态
SCAN VIP scan1 is enabled
SCAN VIP scan1 is not running
4.修改/etc/hosts文件
修改前:
192.168.101.65 host-scan
修改后:
192.168.101.66 host-scan
192.168.101.67 host-scan
192.168.101.68 host-scan
5.修改Scan资源配置
srvctl modify scan -n host-scan
6.查看Scan的资源配置
srvctlconfig scan
SCAN name: host-scan, Network: 1/192.168.101.0/255.255.255.0/en0
SCAN VIP name: scan1, IP: /host-scan/192.168.101.66
SCAN VIP name: scan2, IP: /host-scan/192.168.101.67
SCAN VIP name: scan3, IP: /host-scan/192.168.101.68
7.启动Scan相关资源
srvctl start scan_listener
srvctl start scan