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:
  1. Log into the client machine as the root user.
  2. Register your system with the Content Delivery Network, entering your Customer Portal user name and password when prompted:
    # subscription-manager register
    Copy to Clipboard Toggle word wrap
  3. Find the Red Hat Virtualization subscription pool and note down the pool ID.
    # subscription-manager list --available
    Copy to Clipboard Toggle word wrap
  4. Use the pool identifiers located in the previous step to attach the Red Hat Virtualization entitlement to the system:
    # subscription-manager attach --pool=pool_id
    Copy to Clipboard Toggle word wrap
  5. Enable the required repository:
    # subscription-manager repos --enable=rhel-7-server-rhv-4.1-rpms
    
    Copy to Clipboard Toggle word wrap
  6. Install the CLI package and dependencies:
    # yum install ovirt-engine-cli
    
    Copy to Clipboard Toggle word wrap
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat