oracle11gR2 RAC更换网卡实施方案

  环境:
  数据库版本:甲骨文11.2.0.4 
  是否RAC:两个节点的RAC
  
  ——准备工作
  更换前:
  10.100.10.62,en1
  10.100.10.200,en1
  
  
  更换后:
  10.100.10.62,en8
  10.100.10.200,en8
  
  
  1. 查看修改前的公共IP配置
  testdb1:/home/oracle (testdb1)美元oifcfg getif,,,
  en1, 10.100.10.0,全球,公共
  en3, 192.168.110.0,全球,cluster_interconnect
  
  
  2. 查看节点1修改前的VIP配置
  testdb1:/home/oracle (testdb1)美元srvctl配置vip - n testdb1
  VIP存在:/testdb1-vip/10.100.10.156/10.100.10.0/255.255.255.0/en1,托管节点testdb1
  ,
  3.查看节点2修改前的VIP配置
  testdb2:/home/oracle (testdb2)美元srvctl配置vip - n testdb2
  VIP存在:/testdb2-vip/10.100.10.157/10.100.10.0/255.255.255.0/en1,托管节点testdb2
  
  
  4. 检查当前扫描IP配置
  testdb1:/home/oracle (testdb1)美元srvctl配置扫描,,,,
  扫描的名字:testdb-scan、网络:1/10.100.10.0/255.255.255.0/en1
  扫描贵宾的名字:scan1 IP:/testdb-scan 10.100.10.158
  
  
  5. 检查OCR备份
  testdb1:/home/oracle (testdb1)美元ocrconfig -showbackup
  
  
  testdb1,,2016/09/18 09:18:48,,/oracle/app/11.2.0/网格/cdata/testdb-cluster/backup00。ocr
  
  
  testdb1,,2016/09/18 05:18:47,,/oracle/app/11.2.0/网格/cdata/testdb-cluster/backup01。ocr
  
  
  testdb1,,2016/09/18 01:18:46,,/oracle/app/11.2.0/网格/cdata/testdb-cluster/backup02。ocr
  
  
  testdb1,,2016/09/16 13:18:38,,/oracle/app/11.2.0/网格/cdata/testdb-cluster/天。ocr
  
  
  testdb1,,2016/09/07 04:11:26,,/oracle/app/11.2.0/网格/cdata/testdb-cluster/周。ocr
  PROT-25:为Oracle集群手动备份注册表不可用
  
  
  #手工备份OCR
  苏-根
/oracle/app/11.2.0/网格/bin/ocrconfig出口/home/oracle/ocr_bak20160918
  
  
  # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  一. 停止业务
  主机名查看主机
  身份证,,,查看id 
  
  
  查看每个节点crs状态
  crsctl stat res -t 
  
  
  二. 停止CRS相关资源的自启动,
  1. 停止监听资源
  苏-甲骨文
  srvctl禁用侦听器,,,
  srvctl停止侦听器,,,,,
  crsctl stat res -t 
  
  
  2. 停止数据库资源(每个节点)
  苏-甲骨文
  ps ef | grep当地=NO | awk的{打印$ 2}| xargs kill - 9
  select * from v $ FAST_START_TRANSACTIONS UNDOBLOCKSDONE & lt;比;UNDOBLOCKSTOTAL;,——查看是否有大事物回滚,如存在需等待回滚完毕
  从v $选择undoblocksdone undoblockstotal fast_start_transactions state<在“恢复”;,
  
  
  sqlplus/sysdba
  改变系统切换日志文件;
  改变系统切换日志文件;
  改变系统切换日志文件;
  改变系统切换日志文件;
  改变系统切换日志文件;
  改变系统切换日志文件;
  改变系统切换日志文件;
  改变系统检查点;
  ,,,,,
  srvctl禁用数据库testdb - d,,,,,,(只需在一个节点操作)
  srvctl停止数据库testdb - d - o立即,(只需在一个节点操作)
  crsctl stat res -t 
  
  
  新开窗口奥拉查日志看日志
  尾巴-300 f/oraclelog/诊断接头/rdbms/testdb/testdb1/跟踪/警报*。日志
  尾巴-300 f/oraclelog/诊断接头/rdbms/testdb/testdb2/跟踪/警报*。日志
  
  
  3.停止VIP资源(每个节点)
  停节点1:
  苏-根
/oracle/app/11.2.0/网格/bin/srvctl禁用vip - testdb1-vip
/oracle/app/11.2.0/网格/bin/srvctl停止vip - n testdb1
  停节点2:
  苏-根
/oracle/app/11.2.0/网格/bin/srvctl禁用vip - testdb2-vip
/oracle/app/11.2.0/网格/bin/srvctl停止vip - n testdb2
  
  
  4. 停止scan_listener资源
  苏-根
/oracle/app/11.2.0/网格/bin/srvctl禁用scan_listener,(只需在一个节点操作)
/oracle/app/11.2.0/网格/bin/srvctl停止scan_listener,,(只需在一个节点操作)

oracle11gR2 RAC更换网卡实施方案