暂无图片
Oracle Exadata X5-2一体机如何关机及注意事项
我来答
分享
手机用户9887
2019-11-20
Oracle Exadata X5-2一体机如何关机及注意事项

**~~++::: hljs-left

粗体

:::

:::
++~~**

我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
章芋文

参考官方文档:
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.

暂无图片 评论
暂无图片 有用 1
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏