Relocate the service.

$ srvctl status service -d RPTs
Service RPTS1 is running on instance(s) RPTS2
Service RPTS2 is running on instance(s) RPTS2
Service RPTS3 is running on instance(s) RPTS2
Service RPTS0 is running on instance(s) RPTS3, RPTS2
$ srvctl relocate service -h
Usage: srvctl relocate service -d -s -i -t [-f]
-d Unique name for the database
-s Service name
-i Old instance name
-t New instance name
-f Disconnect all sessions during stop or relocate service operations
-h Print usage
$ srvctl relocate service -d RPTS -s RPTS3 -i RPTS2 -t RPTS3
$ srvctl status service -d RPTS
Service RPTS1 is running on instance(s) RPTS2
Service RPTS2 is running on instance(s) RPTS2
Service RPTS3 is running on instance(s) RPTS3
Service RPTS0 is running on instance(s) RPTS3, RPTS2

你可能感兴趣的:(Relocate the service.)