Show Table of Contents
Chapter 1. Using the CLI
The Red Hat Virtualization suite features a command line interface (CLI). This CLI provides users with a means to connect to Red Hat Virtualization Manager outside of the standard web interface. The CLI also contains a scripting system, which helps system administrators perform periodic maintenance or repetitive tasks on their virtualization environment via client machines.
Important
Version 4 of the Red Hat Virtualization Manager includes a build of version 3.6 of the CLI for Red Hat Enterprise Linux 7. This version of the CLI uses version 3.6 of the Python SDK, and the version 3 compatibility mode of the REST API.
1.1. Installing the CLI
Install the Red Hat Virtualization CLI to a client machine:
- Log into the client machine as the
rootuser. - Register your system with the Content Delivery Network, entering your Customer Portal user name and password when prompted:
# subscription-manager register
- Find the
Red Hat Virtualizationsubscription pool and note down the pool ID.# subscription-manager list --available
- Use the pool identifiers located in the previous step to attach the
Red Hat Virtualizationentitlement to the system:# subscription-manager attach --pool=pool_id
- Enable the required repository:
# subscription-manager repos --enable=rhel-7-server-rhv-4.0-rpms
- Install the CLI package and dependencies:
# yum install ovirt-engine-cli

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.