その他のサードパーティプロバイダを使用した仮想化

Xen、KVMまたはVMware以外のサードパーティ仮想化プロバイダを使用する場合、JSON設定ファイルをSUSE Multi-Linux Managerにインポートできます。

同様に、APIへの直接アクセスを提供しないVMwareインストール環境の場合、ファイルベースのVHMが基本的な管理機能を提供します。

This option is for importing files that have been created with the virtual-host-gatherer tool. It is not designed for manually created files.

プロシージャ: JSONファイルのエクスポートとインポート
  1. Export the JSON configuration file by running virtual-host-gatherer on the VM network.

  2. 生成されたファイルをSUSE Multi-Linux Managerサーバからアクセスできる場所に保存します。

  3. SUSE Multi-Linux ManagerのWeb UIで、システム  仮想ホストマネージャに移動します。

  4. Click Create and select File-based.

  5. In the Add a file-based Virtual Host Manager section, use these parameters:

    • In the Label field, type a custom name for your VHM.

    • In the Url field, type the path to your exported JSON configuration file.

  6. 作成をクリックして変更を保存し、VHMを作成します。

  7. On the Virtual Host Managers page, select the new VHM.

  8. On the Properties page, click Refresh Data to inventory the new VHM.

Listing 1. 例: エクスポートするJSON設定ファイル
{
    "examplevhost": {
         "10.11.12.13": {
             "cpuArch": "x86_64",
             "cpuDescription": "AMD Opteron(tm) Processor 4386",
             "cpuMhz": 3092.212727,
             "cpuVendor": "amd",
             "hostIdentifier": "'vim.HostSystem:host-182'",
             "name": "11.11.12.13",
             "os": "VMware ESXi",
             "osVersion": "5.5.0",
             "ramMb": 65512,
             "totalCpuCores": 16,
             "totalCpuSockets": 2,
             "totalCpuThreads": 16,
             "type": "vmware",
             "vms": {
                 "vCenter": "564d6d90-459c-2256-8f39-3cb2bd24b7b0"
             }
         },
         "10.11.12.14": {
             "cpuArch": "x86_64",
             "cpuDescription": "AMD Opteron(tm) Processor 4386",
             "cpuMhz": 3092.212639,
             "cpuVendor": "amd",
             "hostIdentifier": "'vim.HostSystem:host-183'",
             "name": "10.11.12.14",
             "os": "VMware ESXi",
             "osVersion": "5.5.0",
             "ramMb": 65512,
             "totalCpuCores": 16,
             "totalCpuSockets": 2,
             "totalCpuThreads": 16,
             "type": "vmware",
             "vms": {
                 "49737e0a-c9e6-4ceb-aef8-6a9452f67cb5":  "4230c60f-3f98-2a65-f7c3-600b26b79c22",
                 "5a2e4e63-a957-426b-bfa8-4169302e4fdb":  "42307b15-1618-0595-01f2-427ffcddd88e",
                 "NSX-gateway": "4230d43e-aafe-38ba-5a9e-3cb67c03a16a",
                 "NSX-l3gateway":  "4230b00f-0b21-0e9d-dfde-6c7b06909d5f",
                 "NSX-service": "4230e924-b714-198b-348b-25de01482fd9"
             }
         }
     }
 }

For more information, see the man page on your SUSE Multi-Linux Manager server for virtual-host-gatherer:

man virtual-host-gatherer

このパッケージの README ファイルには、ハイパーバイザの「種類」などに関する背景情報が記載されています。

/usr/share/doc/packages/virtual-host-gatherer/README.md

この関数リファレンスおよび README ファイルには、設定ファイルのサンプルも含まれています。