Questo contenuto non è disponibile nella lingua selezionata.
Chapter 1. Using the CLI
The Red Hat Enterprise Virtualization suite features a command line interface (CLI). This CLI provides users with a means to connect to Red Hat Enterprise 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.
1.1. Installing the CLI Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
Install the Red Hat Enterprise Virtualization CLI to a client machine:
- Log into the client machine as the
root
user. - Register your system with the Content Delivery Network, entering your Customer Portal user name and password when prompted:
subscription-manager register
# subscription-manager register
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Find the
Red Hat Enterprise Virtualization
subscription pool and note down the pool ID.subscription-manager list --available
# subscription-manager list --available
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Use the pool identifiers located in the previous step to attach the
Red Hat Enterprise Virtualization
entitlement to the system:subscription-manager attach --pool=pool_id
# subscription-manager attach --pool=pool_id
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Enable the required repository:
subscription-manager repos --enable=rhel-6-server-rhevm-3.6-rpms
# subscription-manager repos --enable=rhel-6-server-rhevm-3.6-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Install the CLI package and dependencies:
yum install rhevm-cli
# yum install rhevm-cli
Copy to Clipboard Copied! Toggle word wrap Toggle overflow