RAC维护命令----

本文详细介绍了Oracle数据库中服务和资源的管理方法,包括如何使用srvctl命令添加、修改和迁移服务,以及如何通过crsctl命令管理集群资源属性。深入探讨了Oracle数据库在企业级应用中的操作技巧。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  • oracle文件属性问题

<gi_home>/bin/setasmgidwrap -o <rdbms_home>/bin/oracle

 

  • service管理

srvctl add service -d handtask -s prod_normal -r handtask2 -a handtask1 -P BASIC

srvctl  modify  service  -s prod_normal -d handtask -a handtask2  -i handtask1 -n

srvctl  relocate service -s prod_normal -i handtask2 -t handtask1 -d handtask –f

srvctl  modify  service -s prod_normal -d handtask -P BASIC -m BASIC -e select  -j long

  • scan管理

  • srvctl status scan
  • srvctl status scan_listener -i 1

 

  • 添加资源

  • 修改资源属性

./crsctl modify res ora.cluster_interconnect.haip -attr "ENABLED=0" -init

./crsctl status res ora.cluster_interconnect.haip -p -init

./crsctl start res ora.cluster_interconnect.haip  -init

./crsctl stop res ora.cluster_interconnect.haip  -init

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值