Let’s see how to start and stop the services. First, check status of currently running services
[code] [grid@asmstand ~]$ crsctl status res -t -------------------------------------------------------------------------------- Name Target State Server State details -------------------------------------------------------------------------------- Local Resources -------------------------------------------------------------------------------- ora.DATAC1.dg ONLINE ONLINE asmstand STABLE ora.DATAC2.dg ONLINE ONLINE asmstand STABLE ora.LISTENER.lsnr ONLINE ONLINE asmstand STABLE ora.LISTENER5.lsnr ONLINE ONLINE asmstand STABLE ora.asm ONLINE ONLINE asmstand Started,STABLE ora.ons OFFLINE OFFLINE asmstand STABLE -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.cssd 1 ONLINE ONLINE asmstand STABLE ora.diskmon 1 OFFLINE OFFLINE STABLE ora.evmd 1 ONLINE ONLINE asmstand STABLE ora.orcl.db 1 ONLINE ONLINE asmstand Open,HOME=/u01/app/o racle/product/19.0.0 /db_1,STABLE -------------------------------------------------------------------------------- [/code]
Stopping Grid Infrastructure and HAS (High Availability Service)
First stop all resources and then stop HAS.
Check the resource status after all resource stop and after HAS stop.
[code] After Stopped all resources =========================== [grid@asmstand ~]$ crsctl status res -t -------------------------------------------------------------------------------- Name Target State Server State details -------------------------------------------------------------------------------- Local Resources -------------------------------------------------------------------------------- ora.DATAC1.dg OFFLINE OFFLINE asmstand STABLE ora.DATAC2.dg OFFLINE OFFLINE asmstand STABLE ora.LISTENER.lsnr OFFLINE OFFLINE asmstand STABLE ora.LISTENER5.lsnr OFFLINE OFFLINE asmstand STABLE ora.asm OFFLINE OFFLINE asmstand Instance Shutdown,ST ABLE ora.ons OFFLINE OFFLINE asmstand STABLE -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.cssd 1 OFFLINE OFFLINE STABLE ora.diskmon 1 OFFLINE OFFLINE STABLE ora.evmd 1 OFFLINE OFFLINE STABLE ora.orcl.db 1 OFFLINE OFFLINE Instance Shutdown,ST ABLE -------------------------------------------------------------------------------- After stopped HAS ================= [grid@asmstand ~]$ crsctl status res -t CRS-4639: Could not contact Oracle High Availability Services CRS-4000: Command Status failed, or completed with errors. [/code]
Starting Grid Infrastructure and HAS (High Availability Service)
First we need to start HAS and then GI.[code] [grid@asmstand ~]$ crsctl start has CRS-4123: Oracle High Availability Services has been started. [grid@asmstand ~]$ [grid@asmstand ~]$ [grid@asmstand ~]$ crsctl start res -all CRS-5702: Resource 'ora.evmd' is already running on 'asmstand' CRS-2501: Resource 'ora.ons' is disabled CRS-2672: Attempting to start 'ora.diskmon' on 'asmstand' CRS-2672: Attempting to start 'ora.cssd' on 'asmstand' CRS-2672: Attempting to start 'ora.LISTENER5.lsnr' on 'asmstand' CRS-5010: Update of configuration file "/u01/app/oracle/product/19.0.0/db_1/network/admin/listener.ora" failed: details at "(:CLSN00015:)" in "/u01/app/grid/diag/crs/asmstand/crs/trace/ohasd_oraagent_grid.trc" CRS-2676: Start of 'ora.diskmon' on 'asmstand' succeeded CRS-2676: Start of 'ora.LISTENER5.lsnr' on 'asmstand' succeeded CRS-2676: Start of 'ora.cssd' on 'asmstand' succeeded CRS-2672: Attempting to start 'ora.LISTENER.lsnr' on 'asmstand' CRS-2676: Start of 'ora.LISTENER.lsnr' on 'asmstand' succeeded CRS-2672: Attempting to start 'ora.asm' on 'asmstand' CRS-2676: Start of 'ora.asm' on 'asmstand' succeeded CRS-2672: Attempting to start 'ora.DATAC1.dg' on 'asmstand' CRS-2672: Attempting to start 'ora.DATAC2.dg' on 'asmstand' CRS-2676: Start of 'ora.DATAC1.dg' on 'asmstand' succeeded CRS-2672: Attempting to start 'ora.orcl.db' on 'asmstand' CRS-2676: Start of 'ora.DATAC2.dg' on 'asmstand' succeeded CRS-2676: Start of 'ora.orcl.db' on 'asmstand' succeeded CRS-4000: Command Start failed, or completed with errors. [/code]
I got one warning about LISTENER5 but it got started afterwards and status looks good.
[code] [grid@asmstand ~]$ crsctl status resource ora.LISTENER5.lsnr NAME=ora.LISTENER5.lsnr TYPE=ora.listener.type TARGET=ONLINE STATE=ONLINE on asmstand [/code]
So I am not worrying much on that one.
Now check the resources status.
[code] [grid@asmstand ~]$ crsctl status res -t -------------------------------------------------------------------------------- Name Target State Server State details -------------------------------------------------------------------------------- Local Resources -------------------------------------------------------------------------------- ora.DATAC1.dg ONLINE ONLINE asmstand STABLE ora.DATAC2.dg ONLINE ONLINE asmstand STABLE ora.LISTENER.lsnr ONLINE ONLINE asmstand STABLE ora.LISTENER5.lsnr ONLINE ONLINE asmstand STABLE ora.asm ONLINE ONLINE asmstand Started,STABLE ora.ons OFFLINE OFFLINE asmstand STABLE -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.cssd 1 ONLINE ONLINE asmstand STABLE ora.diskmon 1 OFFLINE OFFLINE STABLE ora.evmd 1 ONLINE ONLINE asmstand STABLE ora.orcl.db 1 ONLINE ONLINE asmstand Open,HOME=/u01/app/o racle/product/19.0.0 /db_1,STABLE -------------------------------------------------------------------------------- [/code]




No comments:
Post a Comment