RAC的has进程

2021/11/20 7:11:54

本文主要是介绍RAC的has进程,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

[root@zytrac1 grid]# crsctl stop has
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'zytrac1'
CRS-2673: Attempting to stop 'ora.crsd' on 'zytrac1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'zytrac1'
CRS-2673: Attempting to stop 'ora.oc4j' on 'zytrac1'
CRS-2673: Attempting to stop 'ora.zytrac.ser_zyt.svc' on 'zytrac1'
CRS-2673: Attempting to stop 'ora.cvu' on 'zytrac1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'zytrac1'
CRS-2677: Stop of 'ora.cvu' on 'zytrac1' succeeded
CRS-2672: Attempting to start 'ora.cvu' on 'zytrac2'
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'zytrac1' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'zytrac1'
CRS-2677: Stop of 'ora.zytrac.ser_zyt.svc' on 'zytrac1' succeeded
CRS-2673: Attempting to stop 'ora.zytrac1.vip' on 'zytrac1'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'zytrac1'
CRS-2673: Attempting to stop 'ora.zytrac.db' on 'zytrac1'
CRS-2676: Start of 'ora.cvu' on 'zytrac2' succeeded
CRS-2677: Stop of 'ora.scan1.vip' on 'zytrac1' succeeded
CRS-2672: Attempting to start 'ora.scan1.vip' on 'zytrac2'
CRS-2677: Stop of 'ora.zytrac1.vip' on 'zytrac1' succeeded
CRS-2672: Attempting to start 'ora.zytrac1.vip' on 'zytrac2'
CRS-2677: Stop of 'ora.zytrac.db' on 'zytrac1' succeeded
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'zytrac1'
CRS-2677: Stop of 'ora.registry.acfs' on 'zytrac1' succeeded
CRS-2676: Start of 'ora.scan1.vip' on 'zytrac2' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'zytrac2'
CRS-2676: Start of 'ora.zytrac1.vip' on 'zytrac2' succeeded
CRS-2672: Attempting to start 'ora.LISTENER.lsnr' on 'zytrac2'
CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'zytrac2' succeeded
CRS-2674: Start of 'ora.LISTENER.lsnr' on 'zytrac2' failed
CRS-2677: Stop of 'ora.DATA.dg' on 'zytrac1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'zytrac1'
CRS-2677: Stop of 'ora.asm' on 'zytrac1' succeeded
CRS-2677: Stop of 'ora.oc4j' on 'zytrac1' succeeded
CRS-2672: Attempting to start 'ora.oc4j' on 'zytrac2'
CRS-2674: Start of 'ora.oc4j' on 'zytrac2' failed
CRS-2679: Attempting to clean 'ora.oc4j' on 'zytrac2'
CRS-2681: Clean of 'ora.oc4j' on 'zytrac2' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'zytrac1'
CRS-2677: Stop of 'ora.ons' on 'zytrac1' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'zytrac1'
CRS-2677: Stop of 'ora.net1.network' on 'zytrac1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'zytrac1' has completed
CRS-2677: Stop of 'ora.crsd' on 'zytrac1' succeeded
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'zytrac1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'zytrac1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'zytrac1'
CRS-2673: Attempting to stop 'ora.evmd' on 'zytrac1'
CRS-2673: Attempting to stop 'ora.asm' on 'zytrac1'
CRS-2677: Stop of 'ora.evmd' on 'zytrac1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'zytrac1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'zytrac1' succeeded
CRS-2677: Stop of 'ora.drivers.acfs' on 'zytrac1' succeeded
CRS-2677: Stop of 'ora.asm' on 'zytrac1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'zytrac1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'zytrac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'zytrac1'
CRS-2677: Stop of 'ora.cssd' on 'zytrac1' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'zytrac1'
CRS-2677: Stop of 'ora.crf' on 'zytrac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'zytrac1'
CRS-2677: Stop of 'ora.gipcd' on 'zytrac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'zytrac1'
CRS-2677: Stop of 'ora.gpnpd' on 'zytrac1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'zytrac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
[root@zytrac1 grid]# crsctl start has
CRS-4123: Oracle High Availability Services has been started.
[root@zytrac1 grid]# crsctl stat res -t      
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS.dg
               ONLINE  OFFLINE      zytrac1                                      
               ONLINE  OFFLINE      zytrac2                                      
ora.DATA.dg
               ONLINE  ONLINE       zytrac1                                      
               ONLINE  ONLINE       zytrac2                                      
ora.LISTENER.lsnr
               ONLINE  OFFLINE      zytrac1                                      
               ONLINE  OFFLINE      zytrac2                                      
ora.asm
               ONLINE  ONLINE       zytrac1                  Started             
               ONLINE  ONLINE       zytrac2                  Started             
ora.gsd
               OFFLINE OFFLINE      zytrac1                                      
               OFFLINE OFFLINE      zytrac2                                      
ora.net1.network
               ONLINE  ONLINE       zytrac1                                      
               ONLINE  ONLINE       zytrac2                                      
ora.ons
               ONLINE  ONLINE       zytrac1                                      
               ONLINE  ONLINE       zytrac2                                      
ora.registry.acfs
               ONLINE  ONLINE       zytrac1                                      
               ONLINE  ONLINE       zytrac2                                      
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       zytrac2                                      
ora.cvu
      1        ONLINE  ONLINE       zytrac2                                      
ora.oc4j
      1        ONLINE  ONLINE       zytrac1                                      
ora.scan1.vip
      1        ONLINE  ONLINE       zytrac2                                      
ora.zytrac.db
      1        ONLINE  ONLINE       zytrac1                  Open                
      2        ONLINE  ONLINE       zytrac2                  Open                
ora.zytrac.ser_zyt.svc
      1        ONLINE  ONLINE       zytrac1                                      
      2        ONLINE  ONLINE       zytrac2                                      
ora.zytrac.ser_zyt2.svc
      1        ONLINE  ONLINE       zytrac2                                      
ora.zytrac1.vip
      1        ONLINE  ONLINE       zytrac1                                      
ora.zytrac2.vip
      1        ONLINE  ONLINE       zytrac2                                      
[root@zytrac1 grid]# 

ohasd无法kill,一旦kill,立马又会被拉起了
      1        ONLINE  ONLINE       zytrac2                                      
[root@zytrac1 grid]# ps -ef | grep has
root       1268      1  0 19:10 ?        00:00:00 /bin/sh /etc/init.d/init.ohasd run
root      10845      1  0 19:36 ?        00:00:11 /picclife/app/11.2.0/grid/bin/ohasd.bin reboot
root      25208   2339  0 20:13 pts/0    00:00:00 grep has
[root@zytrac1 grid]# kill -9 10845
[root@zytrac1 grid]# ps -ef | grep has
root       1268      1  0 19:10 ?        00:00:00 /bin/sh /etc/init.d/init.ohasd run
root      25261   1268  6 20:13 ?        00:00:00 /picclife/app/11.2.0/grid/bin/ohasd.bin restart
root      25485   2339  0 20:13 pts/0    00:00:00 grep has
[root@zytrac1 grid]# date
Thu Jul 14 20:13:40 CST 2022

结:HAS停止,集群的该节点资源关闭。改进程kill后会自动重启

 

 

 

 



这篇关于RAC的has进程的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程