Connect to RHEV/oVIrt Using CLI

Assalamualaikum,

To connect to your RHEV/oVirt using CLI (rhevm-shell/ovirt-shell)

# ovirt-shell -l https://skrinhitam.wordpress.com/ovirt-engine/api -u admin@internal --ca-file /etc/pki/ovirt-engine/ca.pem

Below is the location of the related certs.
To connect ‘securely’ to the rhevm-shell, the following files are required to be passed:
[key-file] – The client PEM key file to use : /etc/pki/ovirt-engine/private/ca.pem
[cert-file] – The client PEM certificate file to use : /etc/pki/ovirt-engine/certs/engine.cer
[ca-file] – The server CA certificate file to use : /etc/pki/ovirt-engine/ca.pem

Ref: https://ovirt.org/develop/release-management/features/infra/cli/

wassalam,

Advertisements
This entry was posted in Linux, oVirt, RHEV, RHV and tagged , , . Bookmark the permalink.