Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Installation

  • CloudHub Portal을 운영중인 Host에 아래와 같이 솔루션을 설치합니다.

PYVMOMI

...

Pyvmomi 설치

  • 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

...

Code Block
languagebash
$ /usr/lib/vmware-vcli/apps/general/credstore_admin.pl add --server <host-location> --thumbprint <thumbprint>

Salt minion 서비스 Python 환경변수 추가

  • 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 server 실행시 argument에 Add-on 옵션 추가한다.

...