oracle双击关机,Oracle Exadata X5-2一体机如何关机及注意事项

本文介绍了一套详细的步骤来确保Oracle Grid Infrastructure (GI) 的停机维护能够顺利进行,包括登录到数据库服务器并停止GI堆栈,禁用警报通知,关闭所有单元,并对计算节点进行相应操作。

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

参考官方文档:

ShutDown

Log in to the first database server as root.

Change to the OneCommand directory

cd /opt/oracle.SupportTools/onecommand

Stop the Grid Infrastructure stack on the database servers (compute nodes):

dcli -g dbs_group -l root "/u01/app/12.1.0.2/grid/bin/crsctl stop crs"

Verify that the Grid Infrastructure stack has shutdown successfully on the database servers. The following command should show no output if the GI stack has shutdown:

dcli -g dbs_group -l root "ps -ef | grep diskmo[n]"

[Optional] Disable email/SNMP alerts if applicable. If alerts will be enabled, first note the notification method in use so that it can be restored later. The following command will show the current notification method:

dcli -g cell_group -l root "su - celladmin -c \"cellcli -e list cell attributes name,notificationMethod\""

Now set the notification method to null to disable alerts:

dcli -g cell_group -l root "su - celladmin -c \"cellcli -e alter cell notificationMethod=null\""

Shutdown all the cells:

dcli -g cell_group -l root "su - celladmin -c \"cellcli -e alter cell shutdown services all \""

Power off all cells:

dcli -g cell_group -l root poweroff

Copy the /opt/oracle.SupportTools/onecommand/dbs_group to /opt/oracle.SupportTools/onecommand/dbs_group2:

cp /opt/oracle.SupportTools/onecommand/dbs_group /opt/oracle.SupportTools/onecommand/dbs_group2

Remove the “first compute node name” from the /opt/oracle.SupportTools/onecommand/dbs_group2 file (using any editor, e.g. vi).

Power off all the compute nodes (except compute node 1):

dcli -g dbs_group2 -l root poweroff

Power off the compute node #1:

poweroff

Now, both Cell Servers & Compute nodes are down for maintenance.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值