oracle11g rac服务切换测试

本文详细介绍了在Oracle 11g Real Application Clusters (RAC)环境中进行服务切换的测试过程。通过实际操作,展示了如何在集群的不同节点间安全地迁移服务,确保高可用性和数据一致性。测试涵盖了故障转移、手动切换和服务监控等关键环节,为数据库管理员提供了一份实用的操作指南。
摘要由CSDN通过智能技术生成
创建服务
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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值