创建服务
srvctl add service -d rac -s service1_manual -r rac1 -a rac2
启用服务
srvctl start service -d rac -s service1_manual
查看服务配置
[oracle@rac1 bin]$ srvctl config service -d rac -s service1_manual
Service name: service1_manual
Service is enabled
Server pool: rac_service1_manual
Cardinality: 1
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: false
Failover type: NONE
Failover method: NONE
TAF failover retries: 0
TAF failover delay: 0
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: NONE
TAF policy specification: NONE
Edition:
Preferred instances: rac1
Available instances: rac2
关闭实例rac1
srvctl stop instance -d rac -i rac1
检查服务状态--此时的状态没有运行,没有使用备选的rac2
srvctl status service -d rac -s service1_manual
Service service1_manual is not run
oracle11g rac服务切换测试
最新推荐文章于 2024-06-27 09:35:57 发布
本文详细介绍了在Oracle 11g Real Application Clusters (RAC)环境中进行服务切换的测试过程。通过实际操作,展示了如何在集群的不同节点间安全地迁移服务,确保高可用性和数据一致性。测试涵盖了故障转移、手动切换和服务监控等关键环节,为数据库管理员提供了一份实用的操作指南。
摘要由CSDN通过智能技术生成