Sunday, October 4, 2020

RAC How to apply database patch on both nodes

 Ceck Oracle service status


[root@rac1pub108 Patch]# crs_stat -t


2: Stop database instance one by one


Stop database instance one by one

[oracle@rac-node1 ~]$ srvctl stop instance -i prod1 -d prod

[oracle@rac-node1 ~]$ srvctl stop instance -i prod2 -d prod



3: Stop ASM instance on each node one by one


[oracle@rac-node1 ~]$ srvctl stop asm -n rac-node1

[oracle@rac-node1 ~]$ srvctl stop asm -n rac-node2


4: Stop nodapplications one by one on each node


[oracle@rac-node1 ~]$ srvctl stop nodeapps -n rac-node1

[oracle@rac-node1 ~]$ srvctl stop nodeapps -n rac-node2




5: Check status again


[oracle@rac-node1 ~]$ crs_stat -t



[oracle@rac1pub108 17811429]$ opatch apply -all_nodes


No comments:

Post a Comment

Featured post

Migrate OCR & vote from external to normal or High redundancy in ASM

How to Move OCR & Vote from external to Normal or high. 1)  Create New diskgroup(CRS) with suitable redundancy for OCR and Voting files....

Popular Posts