VMware vRealize Operations Manager CLI Cheatsheet
#
VMware vRealize Operations Manager CLI provides commands to manage and configure vRealize Operations Manager environments. These commands help administrators perform tasks related to clusters, nodes, monitoring configurations, and more directly from the command line.
General Commands
#
Command/Option | Example | Description |
---|
vracli version | vracli version | Display the vRealize Operations Manager CLI version |
vracli status | vracli status | Display the current status of the vRealize Operations Manager |
Cluster Management
#
Command/Option | Example | Description |
---|
vracli cluster status | vracli cluster status | Display the status of the cluster |
vracli cluster join | vracli cluster join --host <hostname> --username <username> --password <password> | Join a node to the cluster |
vracli cluster leave | vracli cluster leave | Remove a node from the cluster |
vracli cluster start | vracli cluster start | Start the cluster |
vracli cluster stop | vracli cluster stop | Stop the cluster |
Node Management
#
Command/Option | Example | Description |
---|
vracli node status | vracli node status | Display the status of the node |
vracli node start | vracli node start | Start the node |
vracli node stop | vracli node stop | Stop the node |
vracli node restart | vracli node restart | Restart the node |
vracli node remove | vracli node remove --name <node_name> | Remove a node from the cluster |
Monitoring and Configuration
#
Command/Option | Example | Description |
---|
vracli monitor list | vracli monitor list | List all monitoring configurations |
vracli monitor enable | vracli monitor enable --name <monitor_name> | Enable a specific monitor |
vracli monitor disable | vracli monitor disable --name <monitor_name> | Disable a specific monitor |
vracli monitor status | vracli monitor status --name <monitor_name> | Display the status of a specific monitor |
vracli config list | vracli config list | List all configuration settings |
vracli config set | vracli config set --key <key> --value <value> | Set a configuration setting |
vracli config get | vracli config get --key <key> | Get the value of a configuration setting |
User and Role Management
#
Command/Option | Example | Description |
---|
vracli user list | vracli user list | List all users |
vracli user create | vracli user create --username <username> --password <password> | Create a new user |
vracli user delete | vracli user delete --username <username> | Delete a user |
vracli role list | vracli role list | List all roles |
vracli role assign | vracli role assign --username <username> --role <role> | Assign a role to a user |
vracli role revoke | vracli role revoke --username <username> --role <role> | Revoke a role from a user |
Backup and Restore
#
Command/Option | Example | Description |
---|
vracli backup create | vracli backup create --destination <backup_path> | Create a backup of the vRealize Operations Manager |
vracli backup list | vracli backup list | List all available backups |
vracli backup restore | vracli backup restore --source <backup_path> | Restore the vRealize Operations Manager from a backup |
Log Management
#
Command/Option | Example | Description |
---|
vracli log list | vracli log list | List all log files |
vracli log show | vracli log show --file <log_file> | Display the contents of a specific log file |
vracli log download | vracli log download --file <log_file> --output <output_path> | Download a specific log file |
Troubleshooting
#
Command/Option | Example | Description |
---|
vracli support bundle create | vracli support bundle create --output <output_path> | Create a support bundle for troubleshooting |
vracli support diagnose | vracli support diagnose --component <component> | Run diagnostics on a specific component |
vracli support status | vracli support status | Display the status of support services |
This cheatsheet covers the most commonly used VMware vRealize Operations Manager CLI commands and options, helping you to manage clusters, nodes, monitoring configurations, users, roles, backups, logs, and perform troubleshooting effectively.