Oracle 11G 修改scan_ip
1.srvctl config scan 檢視當前 vip 設定
p570a@root# ./srvctl config scan
SCAN name: 192.168.128.100, Network: 1/192.168.128.0/255.255.255.0/en0
SCAN VIP name: scan1, IP: /scan-vip/192.168.128.100
2. 用 root 使用者停止 scan_listener 和 sacn vip
$GRID_HOME/bin/ srvctl stop scan_listener
$GRID_HOME/bin /srvctl stop scan
$GRID_HOME/bin/ srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is not running
$GRID_HOME/bin/ srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is not running
兩個節點修改 /etc/hosts 對應的 scan-ip
3. 用 root 使用者修改 scan vip
$GRID_HOME/bin/srvctl modify scan -n scan-nam(/etc/hosts 定義的 scan ip 的 alias)
e.g. $GRID_HOME/bin /srvctl modify scan –n wstgov-scan
4. 檢查是否修改成功
p570a@root# ./srvctl config scan
SCAN name: 10.76.31.111 , Network: 1/10.76.31.0/255.255.255.0/en0
SCAN VIP name: scan1, IP: /scan-vip/10.76.31.111
5. 啟動 scan 和 scan_listener
$GRID_HOME/bin/ srvctl start scan
$GRID_HOME/bin/ srvctl start scan_listener
[grid@rac2 ~]$ lsnrctl status listener_scan1
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 09-MAR-2018 16:22:04
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
STATUS of the LISTENER
------------------------
Alias LISTENER_SCAN1
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 09-MAR-2018 16:14:50
Uptime 0 days 0 hr. 7 min. 13 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/grid/crs_1/network/admin/listener.ora
Listener Log File /oracle/grid/crs_1/log/diag/tnslsnr/rac2/listener_scan1/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST= 192.168.56.56 )(PORT=1521)))
The listener supports no services
The command completed successfully
6. 登入資料庫
show parameter remote;
Alter system set REMOTE_LISTENER='rac-scan:1521' scope=both sid='*';
alter system register;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31547506/viewspace-2926350/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 11g 修改監聽埠Oracle
- Oracle 11g修改RAC SCAN IPOracle
- 11g asm Oracle 系統核心修改ASMOracle
- oracle 11g rac 修改字符集Oracle
- Oracle 11g RAC修改靜態引數Oracle
- Windows下Oracle 11G記憶體修改WindowsOracle記憶體
- oracle 11G 密碼過期後修改方法Oracle密碼
- oracle 11g 修改預設監聽埠1521Oracle
- Oracle 11G DBMS_REDEFINITION修改表資料型別Oracle資料型別
- ORACLE 11G R2 修改"使用者名稱"Oracle
- Oracle 11g修改資料庫使用者名稱Oracle資料庫
- oracle 11g 修改資料庫名字和例項名字Oracle資料庫
- oracle 11g windows視窗執行時間的修改OracleWindows
- oracle 11g rac 修改VIP、scan VIP、priv IP操作文件Oracle
- Oracle 11g支援修改資料庫使用者名稱Oracle資料庫
- Oracle 11g 修改字符集 為 ZHS16GBKOracle
- oracle 11g開啟歸檔模式及修改歸檔目錄Oracle模式
- Oracle 11g 修改表級別的自動收集統計資訊比率Oracle
- Oracle 11g RAC的啟動、關閉及修改歸檔總結Oracle
- Oracle 11g RAC環境下Private IP修改方法及異常處理Oracle
- oracle 11G 自動記憶體管理設定修改為手功管理Oracle記憶體
- oracle 11gOracle
- oracle 修改ORACLE例項Oracle
- 修改11g RAC 為歸檔模式模式
- [20180427]SCAN_IP DNS 反向解析2.txtDNS
- 【Oracle】修改oracle監聽埠Oracle
- oracle 11g acfsOracle
- oracle 11g dataguardOracle
- WebServices in Oracle 11gWebOracle
- RAC 11G ASM下修改spfile檔案ASM
- Oracle修改時區Oracle
- oracle中修改processOracle
- oracle em 修改埠Oracle
- Oracle之11g DataGuardOracle
- Oracle 11G EM建立Oracle
- Oracle 11G Virtual ColumnsOracle
- Oracle 11G Duplicate DatabaseOracleDatabase
- oracle 11G dataguard配置Oracle