ORACLE RAC環境下某節點的+ASM註冊到CRS資源中
環境配置:
OS版本:Enterprise Linux Enterprise Linux Server release 5.4 (Carthage)
DB版本:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
出現節點rac2的ASM不能註冊到CRS資源中,啟動RAC庫的時候就無法自動啟動+ASM2,導致例項2就不能啟動,只能通過手動先啟動+ASM2,然後手動啟動例項2解決。現在將+ASM2註冊到CRS中,如下
1.檢視CRS資源註冊資訊
[oracle@rac1 ~]$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
----------------------------------------------------------------------
ora....11.inst application 0/5 0/0 ONLINE ONLINE rac1
ora....12.inst application 0/5 0/0 ONLINE ONLINE rac2
ora....N11.srv application 0/0 0/0 ONLINE ONLINE rac1
ora...._TAF.cs application 0/0 0/1 ONLINE ONLINE rac1
ora.HHPEN1.db application 0/0 0/1 ONLINE ONLINE rac2
ora....SM1.asm application 0/5 0/0 ONLINE ONLINE rac1
ora....C1.lsnr application 0/5 0/0 ONLINE ONLINE rac1
ora.rac1.gsd application 0/5 0/0 ONLINE ONLINE rac1
ora.rac1.ons application 0/3 0/0 ONLINE ONLINE rac1
ora.rac1.vip application 0/0 0/0 ONLINE ONLINE rac1
ora....C2.lsnr application 0/5 0/0 ONLINE ONLINE rac2
ora.rac2.gsd application 0/5 0/0 ONLINE ONLINE rac2
ora.rac2.ons application 0/3 0/0 ONLINE ONLINE rac2
ora.rac2.vip application 0/0 0/0 ONLINE ONLINE rac2
CRS-0181: Cannot access the resource profile '/u01/app/oracle/crs/crs/public/ora.rac2.ASM2.asm.cap'.
OS版本:Enterprise Linux Enterprise Linux Server release 5.4 (Carthage)
DB版本:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
出現節點rac2的ASM不能註冊到CRS資源中,啟動RAC庫的時候就無法自動啟動+ASM2,導致例項2就不能啟動,只能通過手動先啟動+ASM2,然後手動啟動例項2解決。現在將+ASM2註冊到CRS中,如下
1.檢視CRS資源註冊資訊
[oracle@rac1 ~]$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
----------------------------------------------------------------------
ora....11.inst application 0/5 0/0 ONLINE ONLINE rac1
ora....12.inst application 0/5 0/0 ONLINE ONLINE rac2
ora....N11.srv application 0/0 0/0 ONLINE ONLINE rac1
ora...._TAF.cs application 0/0 0/1 ONLINE ONLINE rac1
ora.HHPEN1.db application 0/0 0/1 ONLINE ONLINE rac2
ora....SM1.asm application 0/5 0/0 ONLINE ONLINE rac1
ora....C1.lsnr application 0/5 0/0 ONLINE ONLINE rac1
ora.rac1.gsd application 0/5 0/0 ONLINE ONLINE rac1
ora.rac1.ons application 0/3 0/0 ONLINE ONLINE rac1
ora.rac1.vip application 0/0 0/0 ONLINE ONLINE rac1
ora....C2.lsnr application 0/5 0/0 ONLINE ONLINE rac2
ora.rac2.gsd application 0/5 0/0 ONLINE ONLINE rac2
ora.rac2.ons application 0/3 0/0 ONLINE ONLINE rac2
ora.rac2.vip application 0/0 0/0 ONLINE ONLINE rac2
2.使用crs_register進行註冊
[oracle@rac1 ~]$ crs_register ora.rac2.ASM2.asmCRS-0181: Cannot access the resource profile '/u01/app/oracle/crs/crs/public/ora.rac2.ASM2.asm.cap'.
[oracle@rac1 ~]$ cd /u01/app/oracle/crs/crs/public
[oracle@rac1 public]$ ls
action_scr.scr ora.bak ora.rac1.ASM1.asm.cap
[oracle@rac1 public]$ cp ora.rac1.ASM1.asm.cap ora.rac2.ASM2.asm.cap
[oracle@rac1 public]$ ls
action_scr.scr ora.bak ora.rac1.ASM1.asm.cap ora.rac2.ASM2.asm.cap
[oracle@rac1 public]$ ls
action_scr.scr ora.bak ora.rac1.ASM1.asm.cap
[oracle@rac1 public]$ cp ora.rac1.ASM1.asm.cap ora.rac2.ASM2.asm.cap
[oracle@rac1 public]$ ls
action_scr.scr ora.bak ora.rac1.ASM1.asm.cap ora.rac2.ASM2.asm.cap
[oracle@rac1 public]$ cat ora.rac2.ASM2.asm.cap --修改其中的配置如下
NAME=ora.rac2.ASM2.asm
TYPE=application
ACTION_SCRIPT=/u01/app/oracle/db_1/bin/racgwrap
ACTIVE_PLACEMENT=0
AUTO_START=1
CHECK_INTERVAL=600
DESCRIPTION=CRS application for ASM instance
FAILOVER_DELAY=0
FAILURE_INTERVAL=0
FAILURE_THRESHOLD=0
HOSTING_MEMBERS=rac2
OPTIONAL_RESOURCES=
PLACEMENT=restricted
REQUIRED_RESOURCES=ora.rac2.vip
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
START_TIMEOUT=0
STOP_TIMEOUT=0
UPTIME_THRESHOLD=7d
USR_ORA_ALERT_NAME=
USR_ORA_CHECK_TIMEOUT=0
USR_ORA_CONNECT_STR=/ as sysdba
USR_ORA_DEBUG=0
USR_ORA_DISCONNECT=false
USR_ORA_FLAGS=
USR_ORA_IF=
USR_ORA_INST_NOT_SHUTDOWN=
USR_ORA_LANG=
USR_ORA_NETMASK=
USR_ORA_OPEN_MODE=mount
USR_ORA_OPI=false
USR_ORA_PFILE=
USR_ORA_PRECONNECT=none
USR_ORA_SRV=
USR_ORA_START_TIMEOUT=0
USR_ORA_STOP_MODE=immediate
USR_ORA_STOP_TIMEOUT=0
USR_ORA_VIP=
NAME=ora.rac2.ASM2.asm
TYPE=application
ACTION_SCRIPT=/u01/app/oracle/db_1/bin/racgwrap
ACTIVE_PLACEMENT=0
AUTO_START=1
CHECK_INTERVAL=600
DESCRIPTION=CRS application for ASM instance
FAILOVER_DELAY=0
FAILURE_INTERVAL=0
FAILURE_THRESHOLD=0
HOSTING_MEMBERS=rac2
OPTIONAL_RESOURCES=
PLACEMENT=restricted
REQUIRED_RESOURCES=ora.rac2.vip
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
START_TIMEOUT=0
STOP_TIMEOUT=0
UPTIME_THRESHOLD=7d
USR_ORA_ALERT_NAME=
USR_ORA_CHECK_TIMEOUT=0
USR_ORA_CONNECT_STR=/ as sysdba
USR_ORA_DEBUG=0
USR_ORA_DISCONNECT=false
USR_ORA_FLAGS=
USR_ORA_IF=
USR_ORA_INST_NOT_SHUTDOWN=
USR_ORA_LANG=
USR_ORA_NETMASK=
USR_ORA_OPEN_MODE=mount
USR_ORA_OPI=false
USR_ORA_PFILE=
USR_ORA_PRECONNECT=none
USR_ORA_SRV=
USR_ORA_START_TIMEOUT=0
USR_ORA_STOP_MODE=immediate
USR_ORA_STOP_TIMEOUT=0
USR_ORA_VIP=
[oracle@rac1 public]$ crs_register ora.rac2.ASM2.asm --重新註冊
批註:也許每個人的RAC環境不一樣,我的這種情況是之前一個節點的磁碟壞了,然後將其剔除叢集環境,新增加了一個節點放入叢集環境,但是後來新
新增的節點+ASM2並沒有註冊到CRS資源中,以至於crs_stat -t -v不顯示+ASM2的資訊,本篇文章是基於這種情況下的解決辦法。
基於我之前總結的重建ASM的後續問題解決:http://blog.itpub.net/29634949/viewspace-1280908/
-- END --
3.檢視是否註冊資源成功
批註:也許每個人的RAC環境不一樣,我的這種情況是之前一個節點的磁碟壞了,然後將其剔除叢集環境,新增加了一個節點放入叢集環境,但是後來新
新增的節點+ASM2並沒有註冊到CRS資源中,以至於crs_stat -t -v不顯示+ASM2的資訊,本篇文章是基於這種情況下的解決辦法。
基於我之前總結的重建ASM的後續問題解決:http://blog.itpub.net/29634949/viewspace-1280908/
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29634949/viewspace-1298048/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle RAC環境下ASM磁碟組擴容OracleASM
- oracle兩節點RAC,由於gipc導致某節點crs無法啟動問題分析Oracle
- RAC和ASM環境下打patchASM
- Oracle RAC 環境下的連線管理Oracle
- 通過ORACLE VM virtualbox環境安裝oracle 11G RAC(ASM)OracleASM
- Oracle 11.2.0.4 rac for aix acfs異常環境的克隆環境ASM磁碟組掛載緩慢OracleAIASM
- DM8 配置DMDSC主備環境(rac到單節點 )
- Oracle 19c rac安裝,只能啟動一個節點的ASMOracleASM
- Oracle RAC新增節點Oracle
- Oracle Linux 6.7中 Oracle 11.2.0.4 RAC叢集CRS異常處理OracleLinux
- oracle 11g rac新增節點前之清除節點資訊Oracle
- 11.2.0.4 RAC生產環境刪除故障節點與增加新服務節點
- RAC節點啟動失敗--ASM無法連線ASM
- oracle11g RAC新增節點Oracle
- Oracle 叢集軟體資源的手工註冊(zt)Oracle
- grid軟體複製到另外的節點啟動crs
- CRS Resource Introduction In Oracle 19c RAC-20220125Oracle
- 超大記憶體環境下的Oracle RAC引數設定建議記憶體Oracle
- RAC環境下建立物理DATAGUARD(1)
- RAC環境下建立物理DATAGUARD(2)
- CRS-5014 CLSN00009 CRS-5017 RAC環境監聽異常,無法正常啟動和關閉
- oracle 11G RAC的建立(VM虛擬環境)Oracle
- Overview of Oracle Flex ASM In Oracle 19c RAC-20220111ViewOracleFlexASM
- oracle11g_RAC新增刪除節點Oracle
- Oracle 11g RAC重新新增節點Oracle
- 【RAC】Oracle10g rac新增刪除節點命令參考Oracle
- rac新增節點前之清除節點資訊
- Oracle RAC日常運維-ASM磁碟擴容Oracle運維ASM
- Oracle RAC 環境 引數檔案的啟動順序Oracle
- Oracle RAC環境新增新的network和listener(未完成)Oracle
- Oracle RAC Cache Fusion 系列九:Oracle RAC 分散式資源管理(二)Oracle分散式
- Oracle RAC Cache Fusion 系列八:Oracle RAC 分散式資源管理(一)Oracle分散式
- RAC環境下的SEQUENCE對應用的影響
- ElasticSearch(單節點)環境配置Elasticsearch
- Oracle優化案例-新增RAC節點(二十九)Oracle優化
- CRS-2101:The OLR was formatted using version 3 ORACLE單機ASM報錯ORMOracleASM
- 如何將SAP雲平臺Neo環境的Subaccount註冊到IAS服務裡
- Oracle RAC ASM磁碟組擴容時遇到的VIP漂移OracleASM
- Oracle RAC一鍵部署001(主機環境校驗)Oracle