您好,登錄后才能下訂單哦!
[TOC]
Hostname | 當前IP | 修改后IP | |
---|---|---|---|
Public IP | node1 | 192.168.56.20 | 192.168.100.20 |
Public IP | node2 | 192.168.56.21 | 192.168.100.21 |
VIP | node1-vip | 192.168.56.98 | 192.168.100.98 |
VIP | node2-vip | 192.168.56.99 | 192.168.100.99 |
Private IP | node1-priv | 10.1.1.1 | 10.10.10.1 |
Private IP | node1-priv | 10.1.1.2 | 10.10.10.2 |
關閉所有crs資源,保留crs進程
備份OCR
修改 Public IP
修改 VIP
修改 tnsnames.ora 和 listener.ora
修改 /etc/hosts
修改操作系統IP
重啟crs及crs資源
修改 local_listener
因為修改Public IP和vip的命令均依賴于crs,所以修改修改Public IP和vip前需要關閉所有的crs資源,保留crs進程。
首先查看集群狀態
[root@node1 ~]# crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora.iesdb.db application ONLINE ONLINE node1 ora....b1.inst application ONLINE ONLINE node1 ora....b2.inst application ONLINE ONLINE node2 ora....srac.cs application ONLINE ONLINE node2 ora....db1.srv application ONLINE ONLINE node1 ora....db2.srv application ONLINE ONLINE node2 ora....SM1.asm application ONLINE ONLINE node1 ora....E1.lsnr application ONLINE ONLINE node1 ora.node1.gsd application ONLINE ONLINE node1 ora.node1.ons application ONLINE ONLINE node1 ora.node1.vip application ONLINE ONLINE node1 ora....SM2.asm application ONLINE ONLINE node2 ora....E2.lsnr application ONLINE ONLINE node2 ora.node2.gsd application ONLINE ONLINE node2 ora.node2.ons application ONLINE ONLINE node2 ora.node2.vip application ONLINE ONLINE node2
關閉所有的crs資源
oracle 用戶登錄節點1,依次執行以下命令:
[oracle@node1 ~]$ srvctl stop database -d iesdb [oracle@node1 ~]$ srvctl stop asm -n node1 [oracle@node1 ~]$ srvctl stop asm -n node2 [oracle@node1 ~]$ srvctl stop nodeapps -n node1 [oracle@node1 ~]$ srvctl stop nodeapps -n node2
現在查看crs資源已經全部關閉:
[oracle@node1 ~]$ crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora.iesdb.db application OFFLINE OFFLINE ora....b1.inst application OFFLINE OFFLINE ora....b2.inst application OFFLINE OFFLINE ora....srac.cs application OFFLINE OFFLINE ora....db1.srv application OFFLINE OFFLINE ora....db2.srv application OFFLINE OFFLINE ora....SM1.asm application OFFLINE OFFLINE ora....E1.lsnr application OFFLINE OFFLINE ora.node1.gsd application OFFLINE OFFLINE ora.node1.ons application OFFLINE OFFLINE ora.node1.vip application OFFLINE OFFLINE ora....SM2.asm application OFFLINE OFFLINE ora....E2.lsnr application OFFLINE OFFLINE ora.node2.gsd application OFFLINE OFFLINE ora.node2.ons application OFFLINE OFFLINE ora.node2.vip application OFFLINE OFFLINE
OCR相當于Windows的注冊表。對于Windows而言,所有的軟件信息,用戶,配置,安全等等統統都放到注冊表里邊。而集群呢,同樣如此,所有和集群相關的資源,配置,節點,RAC數據庫統統都放在這個倉庫里。如果OCR被破壞則導致集群服務啟動異常,需要修復OCR。因此OCR的管理與維護對于整個集群而言,是相當重要的。
OCR中通常包含下列內容
節點成員信息
數據庫實例,節點,以及其他的映射關系
ASM
資源配置信息(vip,services等等)
服務特性(Service characteristics)
Oracle集群中相關進程的信息
CRS控制的第三方應用程序信息
這里進行OCR備份,主要是為了在oracle集群配置出錯時能夠通過OCR備份進行恢復。
root用戶登錄,只需在一個節點進行OCR備份即可:
# 首先創建備份文件夾 [root@node1 ~]# mkdir /ocr_backup # ocr備份,備份文件任意后綴名均可 [root@node1 ~]# ocrconfig -export /ocr_backup/ocr201706.bak
如果將要修改的 Public IP 和原來的網段相同,則略過此步驟。
oracle用戶登錄:
# 查看當前狀態 [oracle@node1 ~]$ oifcfg getif eth0 192.168.56.0 global public eth2 10.1.1.0 global cluster_interconnect # 刪除Public IP配置信息 [oracle@node1 ~]$ oifcfg delif -global eth0 [oracle@node1 ~]$ oifcfg getif eth2 10.1.1.0 global cluster_interconnect # 配置新的Public IP網段 [oracle@node1 ~]$ oifcfg setif -global eth0/192.168.100.0:public [oracle@node1 ~]$ oifcfg getif eth0 192.168.100.0 global public eth2 10.1.1.0 global cluster_interconnect # Public IP配置成功
root用戶登錄:
# 首先根據oracle用戶的配置設置ORACLE_HOME變量 [root@node1 ~]# export ORACLE_HOME="/oracle/product/10.2.0/db" #查看當前的VIP信息 [root@node1 ~]# srvctl config nodeapps -n node1 -a VIP 已存在。: /node1-vip/192.168.56.98/255.255.255.0/eth0 [root@node1 ~]# srvctl config nodeapps -n node2 -a VIP 已存在。: /node2-vip/192.168.56.99/255.255.255.0/eth0 #修改VIP [root@node1 ~]# srvctl modify nodeapps -h 用法: srvctl modify nodeapps -n <node_name> [-o <oracle_home>] [-A <new_vip_address>] -n <node> 節點名 -A <addr_str> 節點級虛擬 IP 地址 -o <oracle_home> ORACLE_HOME 路徑 -h 打印用法 [root@node1 ~]# srvctl modify nodeapps -n node1 -A 192.168.100.98/255.255.255.0/eth0 [root@node1 ~]# srvctl modify nodeapps -n node2 -A 192.168.100.99/255.255.255.0/eth0 #查看修改后的VIP [root@node1 ~]# srvctl config nodeapps -n node1 -a VIP 已存在。: /192.168.100.98/192.168.100.98/255.255.255.0/eth0 [root@node1 ~]# srvctl config nodeapps -n node2 -a VIP 已存在。: /192.168.100.99/192.168.100.99/255.255.255.0/eth0 # VIP 修改成功
oracle用戶登錄,所有節點均進行修改:
[oracle@node1 db]$ cd $ORACLE_HOME/network/admin # 修改前先進行文件備份 [oracle@node1 admin]$ cp -a tnsnames.ora tnsnames.ora.bak [oracle@node1 admin]$ cp -a listener.ora listener.ora.bak
然后檢查者兩個文件,文件中Public IP和VIP為hostname的不做修改,文件中Public IP和VIP為IP地址的修改為新的Public IP和VIP。
示例:
# 將文件中的192.168.56.20修改為新的Public IP:192.168.100.20, # 文件中的node1-vip保持不變 [oracle@node1 admin]$ cat listener.ora # listener.ora.node1 Network Configuration File: /oracle/product/10.2.0/db/network/admin/listener.ora.node1 # Generated by Oracle configuration tools. SID_LIST_LISTENER_NODE1 = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = /oracle/product/10.2.0/db) (PROGRAM = extproc) ) ) LISTENER_NODE1 = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = node1-vip)(PORT = 1521)(IP = FIRST)) (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.20)(PORT = 1521)(IP = FIRST)) ) )
root用戶登錄,所有節點均修改:
# 首先備份hosts文件 [root@node1 admin]# cp -a /etc/hosts /etc/hosts.bak #查看當前hosts配置文件 [root@node1 admin]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 192.168.56.20 node1 192.168.56.21 node2 192.168.56.98 node1-vip 192.168.56.99 node2-vip 10.1.1.1 node1-priv 10.1.1.2 node2-priv
將其中的Public IP和VIP均修改為新的IP地址:
# 修改后的hosts文件 [root@node1 admin]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 192.168.100.20 node1 192.168.100.21 node2 192.168.100.98 node1-vip 192.168.100.99 node2-vip 10.1.1.1 node1-priv 10.1.1.2 node2-priv
root用戶登錄,將所有節點的Public IP修改為新地址,然后重啟網絡服務:
[root@node1 ~]# cd /etc/sysconfig/network-scripts/ [root@node1 network-scripts]# vim ifcfg-eth0 # Intel Corporation 82540EM Gigabit Ethernet Controller DEVICE=eth0 BOOTPROTO=none ONBOOT=yes HWADDR=08:00:27:b2:d1:1b NETMASK=255.255.255.0 IPADDR=192.168.100.20 TYPE=Ethernet USERCTL=no IPV6INIT=no PEERDNS=yes # 重啟網絡服務 [root@node1 network-scripts]# service network restart
修改成功后,root用戶登錄,確保所有節點的Public IP和Private IP可以相互ping通。
root用戶登錄,所有節點均執行以下操作:
# 首先關閉CRS,(所有節點執行完該命令再繼續下一步) [root@node1 ~]# crsctl stop crs Stopping resources. This could take several minutes. Successfully stopped CRS resources. Stopping CSSD. Shutting down CSS daemon. Shutdown request successfully issued. # 開啟CRS(所有節點) [root@node1 ~]# crsctl start crs Attempting to start CRS stack The CRS stack will be started shortly
稍等片刻,所有節點的crs資源均會正常啟動:
[root@node1 ~]# crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora.iesdb.db application ONLINE ONLINE node1 ora....b1.inst application ONLINE ONLINE node1 ora....b2.inst application ONLINE ONLINE node2 ora....srac.cs application ONLINE ONLINE node2 ora....db1.srv application ONLINE ONLINE node1 ora....db2.srv application ONLINE ONLINE node2 ora....SM1.asm application ONLINE ONLINE node1 ora....E1.lsnr application ONLINE ONLINE node1 ora.node1.gsd application ONLINE ONLINE node1 ora.node1.ons application ONLINE ONLINE node1 ora.node1.vip application ONLINE ONLINE node1 ora....SM2.asm application ONLINE ONLINE node2 ora....E2.lsnr application ONLINE ONLINE node2 ora.node2.gsd application ONLINE ONLINE node2 ora.node2.ons application ONLINE ONLINE node2 ora.node2.vip application ONLINE ONLINE node2
網絡信息如下:
[root@node1 ~]# ifconfig eth0 Link encap:Ethernet HWaddr 08:00:27:B2:D1:1B inet addr:192.168.100.20 Bcast:192.168.100.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8697 errors:0 dropped:0 overruns:0 frame:0 TX packets:28955 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:788771 (770.2 KiB) TX bytes:35854996 (34.1 MiB) eth0:1 Link encap:Ethernet HWaddr 08:00:27:B2:D1:1B inet addr:192.168.100.98 Bcast:192.168.100.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 eth2 Link encap:Ethernet HWaddr 08:00:27:CB:6A:BB inet addr:10.1.1.1 Bcast:10.1.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:322721 errors:0 dropped:0 overruns:0 frame:0 TX packets:283490 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:198377998 (189.1 MiB) TX bytes:145057008 (138.3 MiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:110006 errors:0 dropped:0 overruns:0 frame:0 TX packets:110006 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:55092250 (52.5 MiB) TX bytes:55092250 (52.5 MiB)
最后,還需要修改oracle的local_listener。
oracle 用戶登錄,只在一個節點操作即可:
注意:sql語句中的IP地址為新的VIP,如下:
ALTER SYSTEM SET LOCAL_LISTENER = '(ADDRESS = (PROTOCOL = TCP)(HOST =192.168.100.98)(PORT = 1521))' scope=both SID = 'iesdb1';
[root@node1 ~]# su - oracle [oracle@node1 ~]$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.5.0 - Production on Fri Jun 16 18:31:50 2017 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production With the Partitioning, Real Application Clusters, OLAP, Data Mining and Real Application Testing options SQL> show parameter local_listener; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ local_listener string (ADDRESS = (PROTOCOL = TCP)(HO ST = 192.168.56.98)(PORT = 152 1)) SQL> ALTER SYSTEM SET LOCAL_LISTENER = '(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.98)(PORT = 1521))' scope=both SID = 'iesdb1'; System altered. SQL> ALTER SYSTEM SET LOCAL_LISTENER = '(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.99)(PORT = 1521))' scope=both SID = 'iesdb2'; System altered. SQL> show parameter local_listener; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ local_listener string (ADDRESS = (PROTOCOL = TCP)(HO ST = 192.168.100.98)(PORT = 15 21)) SQL> SQL> conn system/inspur@iesdb2 Connected. SQL> show parameter local_listener; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ local_listener string (ADDRESS = (PROTOCOL = TCP)(HO ST = 192.168.100.99)(PORT = 15 21)) SQL>
至此,oracle rac的Public IP 和 VIP修改完畢。
如果我們中間修改出錯,導致集群無法啟動等,可以利用OCR回退至初始狀態。
首先在所有節點關閉crs
root用戶登錄,在所有節點執行:
[root@node1 ~]# crsctl stop crs Stopping resources. This could take several minutes. Successfully stopped CRS resources. Stopping CSSD. Shutting down CSS daemon. Shutdown request successfully issued.
還原所有節點的配置文件
[root@node2 etc]# cp -a /etc/hosts.bak /etc/hosts cp:是否覆蓋“/etc/hosts”? y # 2. 還原tnsnames.ora和listener.ora [root@node2 admin]# cp -a tnsnames.ora.bak tnsnames.ora cp:是否覆蓋“tnsnames.ora”? y [root@node2 admin]# cp -a listener.ora.bak listener.ora cp:是否覆蓋“listener.ora”? y # 注意文件權限是否正確 [root@node2 admin]# ll tnsnames.ora -rw-r--r-- 1 oracle oinstall 1878 06-16 10:21 tnsnames.ora [root@node2 admin]# ll listener.ora -rw-r--r-- 1 oracle oinstall 552 06-19 14:35 listener.or
還原OCR
root用戶登錄,只需在一個節點還原即可:
# 最初備份的OCR文件為: [root@node1 /]# ll /ocr_backup/ocr201706.bak -rw-r--r-- 1 root root 107241 06-16 16:53 /ocr_backup/ocr201706.bak # 還原OCR [root@node1 /]# ocrconfig -import /ocr_backup/ocr201706.bak # OCR還原成功后沒有任何輸出
還原操作系統IP
編輯/etc/sysconfig/network-scripts/目錄下的網卡文件,將之前修改的網卡IP地址還原,然后重啟網絡服務。
啟動CRS,查看集群狀態
root用戶登錄,所有節點執行:
[root@node1 ~]# crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora.iesdb.db application ONLINE ONLINE node1 ora....b1.inst application ONLINE ONLINE node1 ora....b2.inst application ONLINE ONLINE node2 ora....srac.cs application ONLINE ONLINE node2 ora....db1.srv application ONLINE ONLINE node1 ora....db2.srv application ONLINE ONLINE node2 ora....SM1.asm application ONLINE ONLINE node1 ora....E1.lsnr application ONLINE ONLINE node1 ora.node1.gsd application ONLINE ONLINE node1 ora.node1.ons application ONLINE ONLINE node1 ora.node1.vip application ONLINE ONLINE node1 ora....SM2.asm application ONLINE ONLINE node2 ora....E2.lsnr application ONLINE ONLINE node2 ora.node2.gsd application ONLINE ONLINE node2 ora.node2.ons application ONLINE ONLINE node2 ora.node2.vip application ONLINE ONLINE node2
此時可以看到CRS各資源都從處于ONLINE狀態,最后,重新修改local_listener的IP為oracle VIP即可。
修改local_listener
orale用戶,只在一個節點操作即可:
[oracle@node1 ~]$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.5.0 - Production on Mon Jul 3 15:17:25 2017 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production With the Partitioning, Real Application Clusters, OLAP, Data Mining and Real Application Testing options SQL> alter system set local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.98) (PORT = 1521))' sid='iesdb1'; System altered. SQL> alter system set local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.99) (PORT = 1521))' sid='iesdb2'; System altered. SQL> 修改完后,
查看local_listener的IP地址為:
[oracle@node2 ~]$ sqlplus /nolog SQL*Plus: Release 10.2.0.5.0 - Production on Mon Jul 3 15:19:10 2017 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. SQL> conn sys@iesdb1 as sysdba Enter password: Connected. SQL> show parameter local_listener; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ local_listener string (ADDRESS = (PROTOCOL = TCP)(HO ST = 192.168.56.98) (PORT = 15 21)) SQL> conn sys/inspur@iesdb2 as sysdba Connected. SQL> show parameter local_listener; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ local_listener string (ADDRESS = (PROTOCOL = TCP)(HO ST = 192.168.56.99) (PORT = 15 21))
至此,oracle集群恢復完畢。
這里補充下修改private ip的方法。
可以使用oracle用戶來修改private ip,操作方法如下:
修改心跳網段為10.10.10.0
oracle用戶登錄,只在一個節點操作即可:
# 查看當前的IP信息 [oracle@node1 ~]$ oifcfg getif eth0 192.168.56.0 global public eth2 10.1.1.0 global cluster_interconnect # 增加10.10.10.0網段為心跳網段 [oracle@node1 ~]$ oifcfg setif -global eth2/10.10.10.0:cluster_interconnect [oracle@node1 ~]$ oifcfg getif eth0 192.168.56.0 global public eth2 10.1.1.0 global cluster_interconnect eth2 10.10.10.0 global cluster_interconnect # 刪除原來的心跳網段 [oracle@node1 ~]$ oifcfg delif -global eth2/10.1.1.0 [oracle@node1 ~]$ oifcfg getif eth0 192.168.56.0 global public eth2 10.10.10.0 global cluster_interconnect # oifcfg幫助信息 [oracle@node1 ~]$ oifcfg -help Name: oifcfg - Oracle Interface Configuration Tool. Usage: oifcfg iflist [-p [-n]] oifcfg setif {-node <nodename> | -global} {<if_name>/<subnet>:<if_type>}... oifcfg getif [-node <nodename> | -global] [ -if <if_name>[/<subnet>] [-type <if_type>] ] oifcfg delif [-node <nodename> | -global] [<if_name>[/<subnet>]] oifcfg [-help] <nodename> - name of the host, as known to a communications network <if_name> - name by which the interface is configured in the system <subnet> - subnet address of the interface <if_type> - type of the interface { cluster_interconnect | public | storage }
關閉CRS
root用戶,所有節點均進行操作:
[root@node1 ~]# crsctl stop crs Stopping resources. This could take several minutes. Successfully stopped CRS resources. Stopping CSSD. Shutting down CSS daemon. Shutdown request successfully issued.
修改/etc/hosts文件中的private ip內容
root用戶,所有節點均進行操作:
# 修改前hosts文件 [root@node1 ~]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 192.168.56.20 node1 192.168.56.21 node2 192.168.56.98 node1-vip 192.168.56.99 node2-vip 10.1.1.1 node1-priv 10.1.1.2 node2-priv # 修改后hosts文件 [root@node1 ~]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 192.168.56.20 node1 192.168.56.21 node2 192.168.56.98 node1-vip 192.168.56.99 node2-vip 10.10.10.1 node1-priv 10.10.10.2 node2-priv
修改操作系統IP
root用戶,所有節點均操作:
[root@node1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth2 # Intel Corporation 82540EM Gigabit Ethernet Controller DEVICE=eth2 BOOTPROTO=none ONBOOT=yes HWADDR=08:00:27:cb:6a:bb TYPE=Ethernet NETMASK=255.255.255.0 IPADDR=10.10.10.1 USERCTL=no IPV6INIT=no PEERDNS=yes #重啟網絡服務 [root@node1 ~]# service network restart [root@node1 ~]# ifconfig eth2 eth2 Link encap:Ethernet HWaddr 08:00:27:CB:6A:BB inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:135852 errors:0 dropped:0 overruns:0 frame:0 TX packets:112129 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:84007109 (80.1 MiB) TX bytes:52783613 (50.3 MiB) [root@node2 network-scripts]# ifconfig eth2 eth2 Link encap:Ethernet HWaddr 08:00:27:F6:DB:67 inet addr:10.10.10.2 Bcast:10.10.10.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:112136 errors:0 dropped:0 overruns:0 frame:0 TX packets:135677 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:52778410 (50.3 MiB) TX bytes:83970669 (80.0 MiB) # 保證所有節點的心跳可以相互ping通 [root@node1 ~]# ping 10.10.10.2 PING 10.10.10.2 (10.10.10.2) 56(84) bytes of data. 64 bytes from 10.10.10.2: icmp_seq=1 ttl=64 time=0.884 ms 64 bytes from 10.10.10.2: icmp_seq=2 ttl=64 time=0.206 ms
啟動CRS
root用戶,所有節點均操作:
[root@node1 ~]# crsctl start crs Attempting to start CRS stack The CRS stack will be started shortly [root@node1 ~]# crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora.iesdb.db application ONLINE ONLINE node2 ora....b1.inst application ONLINE ONLINE node1 ora....b2.inst application ONLINE ONLINE node2 ora....srac.cs application ONLINE ONLINE node2 ora....db1.srv application ONLINE ONLINE node1 ora....db2.srv application ONLINE ONLINE node2 ora....SM1.asm application ONLINE ONLINE node1 ora....E1.lsnr application ONLINE ONLINE node1 ora.node1.gsd application ONLINE ONLINE node1 ora.node1.ons application ONLINE ONLINE node1 ora.node1.vip application ONLINE ONLINE node1 ora....SM2.asm application ONLINE ONLINE node2 ora....E2.lsnr application ONLINE ONLINE node2 ora.node2.gsd application ONLINE ONLINE node2 ora.node2.ons application ONLINE ONLINE node2 ora.node2.vip application ONLINE ONLINE node2 [oracle@node1 ~]$ oifcfg getif eth0 192.168.56.0 global public eth2 10.10.10.0 global cluster_interconnect
至此,private ip修改完成,如果要進行回退工作,請參考“4.回退流程”。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。