Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • VMware vSphere API Python Bindings

    Code Block
    languagebash
    $ pip3 install pyVmomi

VMware vCLI 설치

  • vCLI 설치 전 필수 소프트웨어 설치합니다.

    Code Block
    $ yum install e2fsprogs-devel libuuid-devel openssl-devel perl-devel
    $ yum install glibc.i686 zlib.i686
    $ yum install perl-XML-LibXML libncurses.so.5 perl-Crypt-SSLeay
    $ yum -y install perl-Socket6
    $ yum -y install cpan
    $ yum -y install gcc-c++
    $ PERL_MM_USE_DEFAULT=1 cpan install BINGOS/ExtUtils-MakeMaker-6.96.tar.gz LEONT/Module-Build-0.4205.tar.gz JRM/UUID-0.28.tar.gz ESAYM/Time-Piece-1.3401.tar.gz  PERIGRIN/XML-NamespaceSupport-1.12.tar.gz  SHLOMIF/IO-Socket-INET6-2.72.tar.gz
  • vCLI Package 설치

1 단계 : vCLI 설치 Package 다운로드합니다.

...

  • VMware를 운영 중인 Host에서 작업합니다.

    Code Block
    languagebash
    $ vim /usr/lib/systemd/system/salt-minion.service
    # [Service]에 Python3.6 환경변수 추가
    #
    Environment="PYTHONPATH=/usr/local/lib/python3.6/site-packages:/usr/lib/python3.6/site-packages"
    $ systemctl daemon-reload

CloudHub addon argument 추가

  • VMware Tab on/off optionable 처리합니다.

  • CloudHub service 실행시 server argument에 Add-on 옵션 추가합니다.

    • -u=vsphere:on

    Code Block
    languagebash
    # CloudHub server option
    #
    $ 

...

  • vim /etc/default

...

  • /cloudhub
    CLOUDHUB_OPTS="-l=debug \
    .......
    -u=vsphere:on \
    ......."

...

  • CloudHub service 재시작

    Code Block
    languagebash
    $ systemctl daemon-reload
    $ systemctl restart cloudhub
Note

VMware 탭이 안보이는 경우

  • Infrastructure 메뉴의 Host Application에 vSphere 가

...

  • 존재해야 표시됩니다.

  • 관리 가능한 User Role : admin 이상