$ 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 <name> -s <service_name> -i <old_inst_name> -t <new_inst_name> [-f]
-d <name> Unique name for the database
-s <service> Service name
-i <old_inst> Old instance name
-t <new_inst> 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.
最新推荐文章于 2025-05-12 09:31:30 发布
本文介绍了使用 SRVCTL 命令进行服务状态查询及服务迁移的方法。通过实例展示了如何将 RPTS3 服务从 RPTS2 实例迁移到 RPTS3 实例,并验证了迁移后的服务状态。
6452

被折叠的 条评论
为什么被折叠?



