VMwareによる仮想化
SUSE Multi-Linux Managerでは、ESXiやvCenterなどのVMware vSphere仮想マシンを使用できます。そのためには、仮想ホストマネージャ(VHM)を設定します。
まず、SUSE Multi-Linux ManagerサーバでVHMを設定し、使用できるVMホストを評価する必要があります。 次に、Taskomaticは、VMのAPIを使用してデータ収集を開始できます。
1. VHMの設定
仮想ホストマネージャ(VHM)はSUSE Multi-Linux Managerサーバ上で動作します。
VHMを実行するには、SUSE Multi-Linux Managerサーバでポート443がオープンになっていて、VMware APIにアクセスする必要があります。
VMware hosts use access roles and permissions to control access to hosts and guests. Ensure that any VMware objects or resources that you want to be inventoried by the VHM have at least read-only permissions. If you want to exclude any objects or resources, mark them with no-access.
新しいホストをSUSE Multi-Linux Managerに追加している場合、ユーザおよびオブジェクトに割り当てられているロールおよびパーミッションをSUSE Multi-Linux Managerで評価する必要があるかどうかを検討する必要があります。
ユーザ、ロール、およびパーミッションの詳細については、VMware vSphereのドキュメント(https://techdocs.broadcom.com/us/en/vmware-cis/vsphere.html)を参照してください
-
SUSE Multi-Linux ManagerのWeb UIで、に移動します。
-
Click Create and select
VMware-based. -
In the
Add a VMware-based Virtual Host Managersection, use these parameters:-
In the
Labelfield, type a custom name for your VHM. -
In the
Hostnamefield, type the fully qualified domain name (FQDN) or host IP address. -
In the
Portfield, type the ESXi API port to use (for example,443). -
In the
Usernamefield, type the username associated with the VM host. -
In the
Passwordfield, type the password associated with the VM host user.
-
-
作成をクリックして変更を保存し、VHMを作成します。
-
On the
Virtual Host Managerspage select the new VHM. -
On the
Propertiespage, click Refresh Data to inventory the new VHM.
評価されたオブジェクトおよびリソースを表示するには、に移動します。
|
Connecting to the ESXi server from a browser using HTTPS can sometimes log an |
VHMが作成されて設定されると、Taskomaticは、データ収集を自動的に実行します。 データ収集を手動で実行する場合、に移動し、適切なVHMを選択してデータの更新をクリックします。
SUSE Multi-Linux Manager ships with a tool called virtual-host-gatherer that can connect to VHMs using their API, and request information about virtual hosts. virtual-host-gatherer maintains the concept of optional modules, where each module enables a specific VHM. This tool is automatically invoked nightly by Taskomatic. Log files for the virtual-host-gatherer tool are located at /var/log/rhn/gatherer.log.
2. VMwareでのSSLエラーのトラブルシューティング
VMwareのインストール環境を設定中にSSLエラーが発生した場合、VMwareからCA証明書をダウンロードし、SUSE Multi-Linux Managerで信頼する必要があります。
-
VMwareインストール環境からCA証明書をダウンロードします。 そのためには、vCenterのWeb UIにログインし、Download trusted root CA certificates(信頼できるルートCA証明書のダウンロード)をクリックします。
-
If the downloaded CA certificates file is in
.zipformat, extract the archive. The certificate files have a number as an extension. For example,certificate.0. -
Copy the certificate files to your SUSE Multi-Linux Manager Server, and save them to the
/etc/pki/trust/anchors/directory. -
Change the filename suffix on the copied certificate to either
.crtor.pem. -
SUSE Multi-Linux Managerサーバのコマンドプロンプトで、CA証明書のレコードを更新します。
update-ca-certificates