Relocate a service with SRVCTL in RAC Environment

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
This entry was posted in Oracle on by .
Unknown's avatar

About SandeepSingh

Hi, I am working in IT industry with having more than 15 year of experience, worked as an Oracle DBA with a Company and handling different databases like Oracle, SQL Server , DB2 etc Worked as a Development and Database Administrator.

2 thoughts on “Relocate a service with SRVCTL in RAC Environment

  1. Unknown's avatarAnonymous

    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}

    Reply
  2. Unknown's avatarAnonymous

    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

    Reply

Leave a Reply