Search the VMware Knowledge Base (KB)
View by Article ID

How to manually change the status of the node or the cluster in vRealize Operations Manager 6.x (2135749)

  • 1 Ratings
Language Editions

Purpose

This article provides steps to safely bring a cluster online or offline in VMware vRealize Operations.

Resolution

Bring a node online

To bring the node online:

Run this command as root from the node you want to bring online:
 
$VMWARE_PYTHON_BIN $VCOPS_BASE/../vmware-vcopssuite/utilities/sliceConfiguration/bin/vcopsConfigureRoles.py --action bringSliceOnline
 

Take a node offline

To bring the node offline:
Run this command as root from the node you want to take offline:
 
$VMWARE_PYTHON_BIN $VCOPS_BASE/../vmware-vcopssuite/utilities/sliceConfiguration/bin/vcopsConfigureRoles.py --action bringSliceOffline


Bring the cluster online

To bring the cluster online:
 
Run this command as root from any node:

$VMWARE_PYTHON_BIN /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin/vcopsClusterManager.py init-cluster


If the issue persists, run this command as root from any node:

curl -ik -u 'admin:PASSWORD' -X POST https://
MASTER_NODE_IP/casa/sysadmin/cluster/online_state -d '{"online_state":"ONLINE", "online_state_reason":null}' -H "Accept: application/json" -H "Content-type: application/json"
 
Where, PASSWORD is the admin user password and MASTER_NODE_IP is the IP of the Master node.


Take the cluster offline

To take the cluster offline:

Run this command as root from any node:

$VMWARE_PYTHON_BIN /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin/vcopsClusterManager.py offline-cluster OfflineReason


Notes: Replace OfflineReason with the reason for taking the cluster offline.

For example:

$VMWARE_PYTHON_BIN /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin/vcopsClusterManager.py offline-cluster Maintenance


If the issue persists, run this command as root from any node:

curl -ik -u 'admin:PASSWORD' -X POST https://MASTER_NODE_IP/casa/sysadmin/cluster/online_state -d '{"online_state":"OFFLINE", "online_state_reason":"Offline"}' -H "Accept: application/json" -H "Content-type: application/json"

Where, PASSWORD is the admin user password and MASTER_NODE_IP is the IP of the Master node.

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 1 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 1 Ratings
Actions
KB: