Relocate a service with SRVCTL command
SYNTAX for Relocate a Service
srvctl relocate service -d {database_name} -s {service_name} -i {old_inst_name} -t {new_inst_name}
Example:
Example of relocating service PRODB_SRV from PRODB2 to PRODB1
srvctl relocate service -d PRODB -s PRODB_SRV -i PRODB2 -t PRODB1
Check the Status of the Service
srvctl status service -d PRODB -s PRODB_SRV
Please change the “-r” tot “-t” please
in following text
srvctl relocate service -d {database_name} -s {service_name} -i {old_inst_name} -r {new_inst_name}
Below is the correct command.. Please update in the blog.. Thanks alot .
srvctl relocate service -d {database_name} -s {service_name} -i {old_inst_name} -t {new_inst_name}
srvctl relocate service -d PRODB -s PRODB_SRV -i PRODB2 -t PRODB1