迷彩 潜伏 隐蔽 伪装
分类: Oracle
2014-05-29 14:07:21
原文地址:9iRAC ip地址变更 作者:hxl
场景:
节点3的公共ip变更了,由原来的192.168.50.148 改成了192.168.50.167,rac修改配置如下:
1. 修改每个节点的hosts文件
修改前
node1-> more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
#Public
192.168.50.93 node1 node1
192.168.50.95 node2 node2
192.168.50.148 node3 node3
#Private
172.16.10.1 node1-priv node1-priv
172.16.10.2 node2-priv node2-priv
172.16.10.3 node3-priv node3-priv
修改后
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
#Public
192.168.50.93 node1 node1
192.168.50.95 node2 node2
192.168.50.167 node3 node3
#Private
172.16.10.1 node1-priv node1-priv
172.16.10.2 node2-priv node2-priv
172.16.10.3 node3-priv node3-priv
2.启动gsd
node3-> cd oracm
node3-> ls
admin bin log
node3-> cd bin
node3-> ls
ocmstart.sh oracm rawio
node3-> ./ocmstart.sh
oracm &1 >/u01/app/oracle/product/9.2.0/db_1/oracm/log/cm.out &
node3-> insmod: iofence-timer: no module by that name found
node3-> gsdctl start
Successfully started GSD on local node
node3->
3.启动数据库
SQL> connect / as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 504435424 bytes
Fixed Size 451296 bytes
Variable Size 268435456 bytes
Database Buffers 234881024 bytes
Redo Buffers 667648 bytes
Database mounted.
Database opened.
发现9i下ip变更,rac修改是比较简单的.
-- The End --