VMware vRealize Operations Manager CLI

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/OptionExampleDescription
vracli versionvracli versionDisplay the vRealize Operations Manager CLI version
vracli statusvracli statusDisplay the current status of the vRealize Operations Manager

Cluster Management #

Command/OptionExampleDescription
vracli cluster statusvracli cluster statusDisplay the status of the cluster
vracli cluster joinvracli cluster join --host <hostname> --username <username> --password <password>Join a node to the cluster
vracli cluster leavevracli cluster leaveRemove a node from the cluster
vracli cluster startvracli cluster startStart the cluster
vracli cluster stopvracli cluster stopStop the cluster

Node Management #

Command/OptionExampleDescription
vracli node statusvracli node statusDisplay the status of the node
vracli node startvracli node startStart the node
vracli node stopvracli node stopStop the node
vracli node restartvracli node restartRestart the node
vracli node removevracli node remove --name <node_name>Remove a node from the cluster

Monitoring and Configuration #

Command/OptionExampleDescription
vracli monitor listvracli monitor listList all monitoring configurations
vracli monitor enablevracli monitor enable --name <monitor_name>Enable a specific monitor
vracli monitor disablevracli monitor disable --name <monitor_name>Disable a specific monitor
vracli monitor statusvracli monitor status --name <monitor_name>Display the status of a specific monitor
vracli config listvracli config listList all configuration settings
vracli config setvracli config set --key <key> --value <value>Set a configuration setting
vracli config getvracli config get --key <key>Get the value of a configuration setting

User and Role Management #

Command/OptionExampleDescription
vracli user listvracli user listList all users
vracli user createvracli user create --username <username> --password <password>Create a new user
vracli user deletevracli user delete --username <username>Delete a user
vracli role listvracli role listList all roles
vracli role assignvracli role assign --username <username> --role <role>Assign a role to a user
vracli role revokevracli role revoke --username <username> --role <role>Revoke a role from a user

Backup and Restore #

Command/OptionExampleDescription
vracli backup createvracli backup create --destination <backup_path>Create a backup of the vRealize Operations Manager
vracli backup listvracli backup listList all available backups
vracli backup restorevracli backup restore --source <backup_path>Restore the vRealize Operations Manager from a backup

Log Management #

Command/OptionExampleDescription
vracli log listvracli log listList all log files
vracli log showvracli log show --file <log_file>Display the contents of a specific log file
vracli log downloadvracli log download --file <log_file> --output <output_path>Download a specific log file

Troubleshooting #

Command/OptionExampleDescription
vracli support bundle createvracli support bundle create --output <output_path>Create a support bundle for troubleshooting
vracli support diagnosevracli support diagnose --component <component>Run diagnostics on a specific component
vracli support statusvracli support statusDisplay 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.

VMware vRealize Operations Manager CLI

Explore our comprehensive cheatsheets to enhance your knowledge and efficiency. Each cheatsheet provides detailed command options, examples, and descriptions to help you master various tools and technologies.