In this article, we will see Relocation of Service from One Instance to another Instance.
I have service called myservice already running at orcl1 instance.
Let us check status of myservice
[oracle@rac1 ~]$ srvctl status service -d orcl -s myservice Service myservice is running on instance(s) orcl1 [oracle@rac1 ~]$
Now relocate service from orcl1 to orcl2
[oracle@rac1 ~]$ srvctl relocate service -d orcl -s myservice -i orcl1 -t orcl2
-i represents an old instance
-t represents a new instance
Now check the status of service.
[oracle@rac1 ~]$ srvctl status service -d orcl -s myservice Service myservice is running on instance(s) orcl2 [oracle@rac1 ~]$
We can see here service is relocated at an orcl2 instance and is running at instance orcl2.
Stay tuned for More articles on Oracle RAC
Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/
Joel Perez’s LinkedIn: Joel Perez’s Profile
Anuradha’s LinkedIn: Anuradha’s Profile
LinkedIn Group: Oracle Cloud DBAAS
Facebook Page: OracleHelp