rhev_ovirt_shell_cli

문서의 이전 판입니다!


RHV / oVirt Shell CLI

[root@rhevm ~]# rhevm-shell -l "https://192.168.0.180:443/ovirt-engine/api" -u "admin@internal" -K "/etc/pki/ovirt-engine/private/ca.pem" -C "/etc/pki/ovirt-engine/certs/engine.cer" -A "/etc/pki/ovirt-engine/ca.pem" -I -D -c
Password: 

  ====================================================================================================================================
                                                  >>> connected to RHEVM manager 3.6.12.0 <<<
  ====================================================================================================================================

  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

                                                         Welcome to RHEVM shell

  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[RHEVM shell (connected)]#

또는

[root@rhevm ~]# rhevm-shell 
URL: [ENTER]
Username: [ENTER]
Password: [ENTER]

  ================================================================ ERROR =============================================================
                                                  missing configuration variable: url.
  ====================================================================================================================================

  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

                                                         Welcome to RHEVM shell

  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


[RHEVM shell (disconnected)]# 

[RHEVM shell (disconnected)]# connect --key-file /etc/pki/ovirt-engine/private/ca.pem --cert-file /etc/pki/ovirt-engine/certs/engine.cer --ca-file /etc/pki/ovirt-engine/ca.pem --url "https://rhevm.local.domain:443/ovirt-engine/api" --user "admin@internal" --password 'redhat'

  ====================================================================================================================================
                                                  >>> connected to RHEVM manager 3.6.12.0 <<<
  ====================================================================================================================================

[RHEVM shell (connected)]# 

[RHEVM shell (connected)]# action vm test migrate --host-name hyp2

host-name   : hyp2
job-id      : 5261cd99-93e9-4d29-9ac4-b6f9ba06c50a
status-state: complete
vm-id       : fa75ece3-088c-4f18-9e5b-2799ab3a05f5

로그인하면 댓글을 남길 수 있습니다.
  • rhev_ovirt_shell_cli.1588816283.txt.gz
  • 마지막으로 수정됨: 2020/05/07 01:51
  • 저자 admin