rac中解除安裝監聽lsnr和asm
我安裝的步驟為:
1、clusterware的安裝
2、Oracle 軟體安裝
3、透過dbca建立asm 在這個步驟才出現lsnr程式,
因為第一次配置ASM時找不到磁碟原因,按網上的asm解除安裝方法對asm進行了解除安裝,但是沒有對cluster和oracle軟體進行解除安裝。解除安裝過程中lsnr程式未清乾淨,第二次安裝配置asm中問題出現,即lsnr程式狀態不正常。
crs_stat -t 命令中顯示ora....V1.lsnr監聽的target為ONLINE但是state為OFFLIN。重啟多次也是沒有用。採取如下方法進行了解除安裝:[@more@]
[root@dbserv2 bin]# ./srvctl stop asm -n dbserv2
[root@dbserv2 bin]# ./srvctl stop nodeapps -n dbserv2
[root@dbserv2 bin]# ./crs_unregister ora.dbserv2.LISTENER_DBSERV2.lsnr
[root@dbserv1 bin]# ./srvctl stop asm -n dbserv1
[root@dbserv1 bin]# ./srvctl stop nodeapps -n dbserv1
[root@dbserv1 bin]# ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....SM1.asm application OFFLINE OFFLINE
ora....V1.lsnr application OFFLINE OFFLINE
ora....rv1.gsd application OFFLINE OFFLINE
ora....rv1.ons application OFFLINE OFFLINE
ora....rv1.vip application OFFLINE OFFLINE
ora....SM2.asm application OFFLINE OFFLINE
ora....V2.lsnr application OFFLINE OFFLINE
ora....rv2.gsd application OFFLINE OFFLINE
ora....rv2.ons application OFFLINE OFFLINE
ora....rv2.vip application OFFLINE OFFLINE
[root@dbserv1 bin]# ./crs_unregister ora.dbserv1.LISTENER_DBSERV1.lsnr
[root@dbserv1 bin]# ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....SM1.asm application OFFLINE OFFLINE
ora....rv1.gsd application OFFLINE OFFLINE
ora....rv1.ons application OFFLINE OFFLINE
ora....rv1.vip application OFFLINE OFFLINE
ora....SM2.asm application OFFLINE OFFLINE
ora....rv2.gsd application OFFLINE OFFLINE
ora....rv2.ons application OFFLINE OFFLINE
ora....rv2.vip application OFFLINE OFFLINE
[root@dbserv1 bin]# ./srvctl remove asm -n dbserv1
[root@dbserv1 bin]# ./srvctl remove asm -n dbserv2
[root@dbserv1 bin]# ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....rv1.gsd application OFFLINE OFFLINE
ora....rv1.ons application OFFLINE OFFLINE
ora....rv1.vip application OFFLINE OFFLINE
ora....rv2.gsd application OFFLINE OFFLINE
ora....rv2.ons application OFFLINE OFFLINE
ora....rv2.vip application OFFLINE OFFLINE
[root@dbserv1 bin]# dd if=/dev/zero of=/dev/sdd1 bs=1024k count=1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.0658201 seconds, 15.9 MB/s
[root@dbserv1 bin]# dd if=/dev/zero of=/dev/sde1 bs=1024k count=1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.0127996 seconds, 81.9 MB/s
[root@dbserv1 bin]# dd if=/dev/zero of=/dev/sdf1 bs=1024k count=1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.0130402 seconds, 80.4 MB/s
[root@dbserv1 bin]#
[root@dbserv1 bin]# ./srvctl start nodeapps -n dbserv1
CRS-0210: Could not find resource ora.dbserv1.LISTENER_DBSERV1.lsnr.
[root@dbserv1 bin]# ./srvctl start nodeapps -n dbserv1
CRS-0210: Could not find resource ora.dbserv1.LISTENER_DBSERV1.lsnr.
[root@dbserv1 bin]# ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....rv1.gsd application ONLINE ONLINE dbserv1
ora....rv1.ons application ONLINE ONLINE dbserv1
ora....rv1.vip application ONLINE ONLINE dbserv1
ora....rv2.gsd application OFFLINE OFFLINE
ora....rv2.ons application OFFLINE OFFLINE
ora....rv2.vip application OFFLINE OFFLINE
[root@dbserv1 bin]# ./srvctl start nodeapps -n dbserv2
CRS-0210: Could not find resource ora.dbserv2.LISTENER_DBSERV2.lsnr.
[root@dbserv1 bin]# ./srvctl start nodeapps -n dbserv2
CRS-0210: Could not find resource ora.dbserv2.LISTENER_DBSERV2.lsnr.
[root@dbserv1 bin]# ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....rv1.gsd application ONLINE ONLINE dbserv1
ora....rv1.ons application ONLINE ONLINE dbserv1
ora....rv1.vip application ONLINE ONLINE dbserv1
ora....rv2.gsd application ONLINE ONLINE dbserv2
ora....rv2.ons application ONLINE ONLINE dbserv2
ora....rv2.vip application ONLINE ONLINE dbserv2
[root@dbserv1 bin]#
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/18841027/viewspace-1059999/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE11GR2 RAC解除安裝ASM例項步驟OracleASM
- RAC安裝【AIX 7 + 11.2.0.4 + ASM】AIASM
- ASM入網小助手解除安裝ASM
- Oracle RAC叢集解除安裝步驟Oracle
- 如何在rac環境中增加監聽
- Ubuntu解除安裝和安裝Ubuntu
- linux 解除安裝jdk和安裝LinuxJDK
- vs2015解除安裝和安裝
- goldengate + asm + racGoASM
- 11g rac監聽配置解析
- rac監聽不能動態註冊
- oracle rac scan監聽更改埠號Oracle
- 12C RAC 修改監聽埠
- Ubuntu解除安裝及安裝node和npmUbuntuNPM
- RAC和ASM環境下打patchASM
- 通過ORACLE VM virtualbox環境安裝oracle 11G RAC(ASM)OracleASM
- RAC+ASM+DATAGUARDASM
- Oracle 11g RAC 監聽日常管理Oracle
- ORACLE11.2.0.4 RAC+ ASM安裝方法 (作業系統CENTOS7.6)OracleASM作業系統CentOS
- Oracle 19c rac安裝,只能啟動一個節點的ASMOracleASM
- RAC之grid叢集安裝及ASM磁碟組配置ASM
- webpack全域性和區域性安裝、解除安裝和執行Web
- Linux安裝解除安裝MySQLLinuxMySql
- cocoapods安裝/解除安裝/使用
- JDK安裝和解除安裝JDK
- docker安裝及解除安裝Docker
- python中的pip的安裝以及通過pip命令對selenium進行解除安裝和安裝Python
- oracle rac的scan監聽狀態Not All Endpoints RegisteredOracle
- 安裝npm 解除安裝npm 安裝apidocNPMAPI
- docker 解除安裝Docker
- 解除安裝 PythonPython
- WSL解除安裝
- centos7 解除安裝和重新安裝yumCentOS
- debian軟體解除安裝|deb包解除安裝|dpkg命令
- 【RAC】asm_diskgroups 引數ASM
- ASM有自己的引數、密碼、alert、監聽檔案ASM密碼
- Mac Redis安裝與解除安裝MacRedis
- Linux 解除安裝openjdk 安裝oraclejdkLinuxJDKOracle
- debian安裝和解除安裝vmware