2020年の5月連休は、仮想化で遊ぶ。
[kanda@localhost ~]$ uname -a
Linux localhost.localdomain 4.18.0-147.5.1.el8_1.x86_64 #1 SMP Wed Feb 5 02:00:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[kanda@localhost ~]$ libvirtd --version
libvirtd (libvirt) 4.5.0
[kanda@localhost ~]$ /usr/libexec/qemu-kvm --version
QEMU emulator version 2.12.0 (qemu-kvm-2.12.0-88.module_el8.1.0+297+df420408.3)
kvm の設定を、ネストあり、にする。
[root@localhost ~]# cat /etc/modprobe.d/kvm.conf
options kvm_intel nested=1
libvirt の、ドメイン xml で、 cpu モードを、パススルーにする必要があるかもしれない。後述。
VMware-VMvisor-Installer-7.0.0-15843807.x86_64.iso
できた。
[root@localhost:~] lspci
0000:00:00.0 Host bridge: Intel Corporation Qemu virtual machine
0000:00:01.0 ISA bridge: Intel Corporation Qemu virtual machine
0000:00:01.1 IDE interface: Intel Corporation PIIX3 for 430HX IDE Controller [vmhba0]
0000:00:01.3 Bridge: Intel Corporation Qemu virtual machine
0000:00:02.0 VGA compatible controller: Red Hat, Inc. QEMU Virtual Machine
0000:00:03.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection [vmnic0]
0000:00:04.0 Audio device: Intel Corporation QEMU Virtual Machine
0000:00:05.0 USB controller: Intel Corporation QEMU Virtual Machine
0000:00:05.1 USB controller: Intel Corporation QEMU Virtual Machine
0000:00:05.2 USB controller: Intel Corporation QEMU Virtual Machine
0000:00:05.7 USB controller: Intel Corporation QEMU Virtual Machine
0000:00:06.0 Communication controller: Red Hat, Inc. Virtio console
0000:00:07.0 Unclassified device: Red Hat, Inc. Virtio memory balloon
[root@localhost kanda]# virsh dumpxml esxi7
<domain type='kvm' id='14'>
<name>esxi7</name>
<uuid>8234b49d-b83a-4821-a31f-f27fbc5a1a35</uuid>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>4</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os>
<type arch='x86_64' machine='pc-i440fx-rhel7.6.0'>hvm</type>
</os>
<features>
<acpi/>
<apic/>
<vmport state='off'/>
</features>
<cpu mode='custom' match='exact' check='full'>
<model fallback='forbid'>Skylake-Client-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='clflushopt'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaves'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='rdctl-no'/>
<feature policy='require' name='ibrs-all'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='mds-no'/>
<feature policy='require' name='tsx-ctrl'/>
</cpu>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/home/kanda/images/esxi7.qcow2'/>
<backingStore/>
<target dev='hda' bus='ide'/>
<boot order='2'/>
<alias name='ide0-0-0'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<backingStore/>
<target dev='hdb' bus='ide' tray='open'/>
<readonly/>
<boot order='1'/>
<alias name='ide0-0-1'/>
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
</disk>
<controller type='usb' index='0' model='ich9-ehci1'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci1'>
<alias name='usb'/>
<master startport='0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci2'>
<alias name='usb'/>
<master startport='2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci3'>
<alias name='usb'/>
<master startport='4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'>
<alias name='pci.0'/>
</controller>
<controller type='ide' index='0'>
<alias name='ide'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='virtio-serial' index='0'>
<alias name='virtio-serial0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:0f:7b:6e'/>
<source network='default' bridge='virbr0'/>
<target dev='vnet1'/>
<model type='e1000e'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/3'/>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
<alias name='serial0'/>
</serial>
<console type='pty' tty='/dev/pts/3'>
<source path='/dev/pts/3'/>
<target type='serial' port='0'/>
<alias name='serial0'/>
</console>
<channel type='spicevmc'>
<target type='virtio' name='com.redhat.spice.0' state='disconnected'/>
<alias name='channel0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='tablet' bus='usb'>
<alias name='input0'/>
<address type='usb' bus='0' port='1'/>
</input>
<input type='mouse' bus='ps2'>
<alias name='input1'/>
</input>
<input type='keyboard' bus='ps2'>
<alias name='input2'/>
</input>
<graphics type='spice' port='5901' autoport='yes' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/>
<image compression='off'/>
</graphics>
<sound model='ich6'>
<alias name='sound0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</sound>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
<redirdev bus='usb' type='spicevmc'>
<alias name='redir0'/>
<address type='usb' bus='0' port='2'/>
</redirdev>
<redirdev bus='usb' type='spicevmc'>
<alias name='redir1'/>
<address type='usb' bus='0' port='3'/>
</redirdev>
<memballoon model='virtio'>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</memballoon>
</devices>
<seclabel type='dynamic' model='dac' relabel='yes'>
<label>+107:+107</label>
<imagelabel>+107:+107</imagelabel>
</seclabel>
</domain>
NIC のモデルが、e1000 の時、インストーラで、
No Network Adapters
といって、失敗した。
<model type='e1000e'/>
にしたらインストールできた。
VMware-VCSA-all-6.7.0-15976714.iso
バージョン7は、ダウンロードできない。6.7 にする。
vcsa-ui-installer/lin64/installer を動かしたら、
Select deployment size の画面で、止まる。選択肢が何も出てこない。
ホストの CPU, メモリ、ディスクが少なすぎるのかと思って、これより大きく増やしたが、変わらない。
[kanda@localhost lin64]$ ./vcsa-deploy --supported-deployment-sizes
Information about deployment sizes:
Options vCPUs Memory(GB) Storage(GB) Hosts(up to) VMs(up to)
--------------------------------------------------------------------------------
tiny 2 10 300 10 100
cli でやると、こう言って、失敗する。
[kanda@localhost lin64]$ ./vcsa-deploy install ~/embedded_vCSA_on_ESXi.json --accept-eula --no-ssl-certificate-verification
Run the installer with "-v" or "--verbose" to log detailed information
Updating log file location, copying '/tmp/vcsaCliInstaller-2020-04-28-07-11-w9oj0jvu/vcsa-cli-installer.log' to desired location as a backup: '/tmp/vcsaCliInstaller-2020-04-28-07-11-w9oj0jvu/workflow_1588057909190/vcsa-cli-installer.log.bak'
Workflow log-dir
/tmp/vcsaCliInstaller-2020-04-28-07-11-w9oj0jvu/workflow_1588057909190
====== [START] Start executing Task: To validate CLI options at 07:11:49 ======
Command line arguments verfied.
[SUCCEEDED] Successfully executed Task 'CLIOptionsValidationTask: Executing CLI
optionsValidation task' in TaskFlow 'template_validation' at 07:11:49
[START] Start executing Task: To validate the syntax of the template. at
07:11:49
Template syntax validation for template '/home/kanda/embedded_vCSA_on_ESXi.json'
succeeded.
Syntax validation for all templates succeeded.
[SUCCEEDED] Successfully executed Task 'SyntaxValidationTask: Executing
Template Syntax Validation task' in TaskFlow 'template_validation' at 07:11:49
[START] Start executing Task: To check the version of each template, and for
each older template that supports CEIP, convert it to the latest template
format, and save it to the Template Blackboard at 07:11:49
CEIP is not enabled because the template key 'ceip_enabled' in section 'ceip',
subsection 'settings' in template '/home/kanda/embedded_vCSA_on_ESXi.json' was
set to 'false'.
CEIP is not enabled because the template key 'ceip_enabled' in section 'ceip',
subsection 'settings' in template '/home/kanda/embedded_vCSA_on_ESXi.json' was
set to 'false'.
CEIP is not enabled because the template key 'ceip_enabled' in section 'ceip',
subsection 'settings' in template '/home/kanda/embedded_vCSA_on_ESXi.json' was
set to 'false'.
Template version processing for template
'/home/kanda/embedded_vCSA_on_ESXi.json' succeeded.
Version processing for all templates succeeded.
[SUCCEEDED] Successfully executed Task 'VersionProcessingTask: Executing
Template Version Processing task' in TaskFlow 'template_validation' at 07:11:49
[START] Start executing Task: To validate the template structure against the
rules specified by a corresponding template schema. at 07:11:49
Template structure validation for template
'/home/kanda/embedded_vCSA_on_ESXi.json' succeeded.
Structure validation for all templates succeeded.
[SUCCEEDED] Successfully executed Task 'StructureValidationTask: Executing
Template Structure Validation task' in TaskFlow 'template_validation' at
07:11:49
[START] Start executing Task: To create a dependency graph for the provided
templates, with an edge pairing two templates that are dependent on each other.
Such graph relationships will affect whether certain templates can be deployed
in parallel, or must be deployed sequentially. at 07:11:49
Dependency processing for all templates succeeded.
[SUCCEEDED] Successfully executed Task 'DependencyProcessingTask: Executing
Template Dependency Processing task' in TaskFlow 'template_validation' at
07:11:49
[START] Start executing Task: Validate that requirements are met in the source
VCSA. at 07:11:50
InstallRequirementCollector: Reached gathering requirement
[SUCCEEDED] Successfully executed Task 'SrcRequirementTask: Running
SrcRequirementTask' in TaskFlow 'embedded_vCSA_on_ESXi' at 07:11:50
====== [START] Start executing Task: Perform precheck tasks. at 07:11:50 ======
[START] Start executing Task: Verify that the provided credentials for the
target ESXi/VC are valid at 07:11:51
The certificate of server '192.168.122.23' will not be verified because you have
provided either the '--no-ssl-certificate-verification' or '--no-esx-ssl-verify'
command parameter, which disables verification for all certificates. Remove this
parameter from the command line if you want server certificates to be verified.
[SUCCEEDED] Successfully executed Task 'Running precheck: TargetCredentials' in
TaskFlow 'install' at 07:11:51
[START] Start executing Task: Precheck CPU, memory and datastore size
requirements for a host. at 07:11:51
Could not find the hardware virtualization key from the ESXi host
'localhost.localdomain'.
[SUCCEEDED] Successfully executed Task 'Running precheck: HostConfigs' in
TaskFlow 'install' at 07:11:52
[START] Start executing Task: Verify the target host type matches the one given
in the template at 07:11:52
[SUCCEEDED] Successfully executed Task 'Running precheck: TargetHostType' in
TaskFlow 'install' at 07:11:52
[START] Start executing Task: Verify that the target ESXi or VC version meets
the minimum requirements at 07:11:52
[SUCCEEDED] Successfully executed Task 'Running precheck: TargetVersion' in
TaskFlow 'install' at 07:11:52
[START] Start executing Task: Validate that the OVA image has the required OVA
properties. at 07:11:52
The provided OVA image '/run/media/kanda/VMware
VCSA/vcsa-cli-installer/lin64/../../vcsa/VMware-vCenter-Server-Appliance-6.7.0.43000-15976714_OVF10.ova'
does not have the following required properties: 'guestinfo.cis.ceip_enabled'. A
new OVA image may be needed.
[SUCCEEDED] Successfully executed Task 'Running precheck: OVAProperties.' in
TaskFlow 'install' at 07:11:52
[START] Start executing Task: Validate the provided ip/fqdn is available to use
at 07:11:52
[SUCCEEDED] Successfully executed Task 'Running precheck: IpFqdnInUse' in
TaskFlow 'install' at 07:11:52
[START] Start executing Task: Check and warn about vCenter server with external
Platform services controller topology deprecation in future vCenter releases. at
07:11:52
[SUCCEEDED] Successfully executed Task 'Running task: DeprecationWarningTask'
in TaskFlow 'install' at 07:11:52
[START] Start executing Task: Validate the target ESXi management status at
07:11:53
[SUCCEEDED] Successfully executed Task 'Running precheck: ESXManagementStatus'
in TaskFlow 'install' at 07:11:53
[START] Start executing Task: Validate the provided target appliance name is
available to use at 07:11:53
[SUCCEEDED] Successfully executed Task 'Running precheck: ApplianceName' in
TaskFlow 'install' at 07:11:53
[START] Start executing Task: Check whether the datastore's free space
accommodate the VCSA's deployment option at 07:11:53
[SUCCEEDED] Successfully executed Task 'Running precheck: TargetDsFreespace' in
TaskFlow 'install' at 07:11:53
[START] Start executing Task: Verify the provided SSO info is valid by
connecting to the STS service. at 07:11:53
[SUCCEEDED] Successfully executed Task 'Running precheck: SSOCredentials' in
TaskFlow 'install' at 07:11:53
[START] Start executing Task: Verify that the provided external SSO
(PSC)/Embedded info is valid at 07:11:53
[SUCCEEDED] Successfully executed Task 'Running precheck: SSOExternal' in
TaskFlow 'install' at 07:11:53
[SUCCEEDED] Successfully executed Task 'PrecheckTask: Running prechecks.' in
TaskFlow 'embedded_vCSA_on_ESXi' at 07:11:53
[START] Start executing Task: Invoke OVF Tool to deploy VCSA for installation,
upgrade, and migration at 07:11:54
Deployment failed. OVF Tool return error code: 127
Failed to collect support bundle from the deployed appliance
'Embedded-vCenter-Server-Appliance'. Exception: Cannot collect the support
bundle because Cannot find the appliance 'Embedded-vCenter-Server-Appliance' on
the ESXi host '192.168.122.23'. Exception: Failed to find VM
Embedded-vCenter-Server-Appliance
================ [FAILED] Task: Deploying vCenter Server Appliance execution
failed at 07:11:54 ================
================================================================================
Error message: ApplianceDeploymentTask: Caught an exception Deployment failed.
OVF Tool return error code: 127
=================================== 07:11:54 ===================================
Result and Log File Information...
WorkFlow log directory:
/tmp/vcsaCliInstaller-2020-04-28-07-11-w9oj0jvu/workflow_1588057909190
こう言われているのがあやしい。
The provided OVA image '/run/media/kanda/VMware
VCSA/vcsa-cli-installer/lin64/../../vcsa/VMware-vCenter-Server-Appliance-6.7.0.43000-15976714_OVF10.ova'
does not have the following required properties: 'guestinfo.cis.ceip_enabled'. A
new OVA image may be needed.
Failed to collect support bundle from the deployed appliance
'Embedded-vCenter-Server-Appliance'. Exception: Cannot collect the support
bundle because Cannot find the appliance 'Embedded-vCenter-Server-Appliance' on
the ESXi host '192.168.122.23'. Exception: Failed to find VM
Embedded-vCenter-Server-Appliance
では、アプライアンスを、あらかじめ作っておく必要があるのか。
VMware-vCenter-Server-Appliance-6.7.0.43000-15976714_OVF10.ova
を、インポートしたが、電源オンに失敗する。
仮想マシン
Embedded-vCenter-Server-Appliance
状態
失敗 - このホストは Intel VT-x に対応していますが、Intel VT-x の実装に VMware ESX との互換性がありません。
エラー
このホストは Intel VT-x に対応していますが、Intel VT-x の実装に VMware ESX との互換性がありません。
このホストは、「Intel EPT」ハードウェア アシスト MMU 仮想化をサポートしていません。
モジュール「CPUIDEarly」のパワーオンに失敗しました。
仮想マシンの起動に失敗しました。
ドメイン xml で、
<cpu mode='host-passthrough' check='none'/>
したら、ゲストがブートした。
あら、すでにある、というエラーになった。やはり、アプライアンスは、このコマンド内で作るのだ。
[FAILED] Task: Running precheck: ApplianceName execution failed
at 08:07:19 ================
================================================================================
================ [FAILED] Task: PrecheckTask: Running prechecks. execution
failed at 08:07:20 ================
================================================================================
Error message: ApplianceName: A virtual machine with the name
'Embedded-vCenter-Server-Appliance' already exists on the target ESXi host or
cluster. Choose a different name for the vCenter Server Appliance
(case-insensitive).
guestinfo.cis.ceip_enabled が無い、というのだが、 ova を展開して、見るとある。
[kanda@localhost ~]$ grep guestinfo.cis.ceip_enabled VMware-vCenter-Server-Appliance-6.7.0.43000-15976714_OVF10.ovf
<Property ovf:key="guestinfo.cis.ceip_enabled" ovf:type="boolean" ovf:userConfigurable="true" ovf:value="False">
Linux でやっているときは、この画面が、真っ白で、右下のボタンだけが見えていた。GUI のバグだったのかも。
ssh で入れた。
VMware vCenter Server Appliance 6.7.0.43000
Type: vCenter Server with an embedded Platform Services Controller
Connected to service
* List APIs: "help api list"
* List Plugins: "help pi list"
* Launch BASH: "shell"
Command> help api list
Supported API calls by this server:
com.vmware.appliance.health.applmgmt.get
com.vmware.appliance.health.databasestorage.get
Command> help pi list
Available plugin API calls:
com.vmware.clear
com.vmware.cmsso-util
Command> uname -a
Unknown command: `uname'
Command> ls
Unknown command: `ls'
Command> shell
Shell access is granted to root
root@photon-machine [ ~ ]# uname -a
Linux photon-machine 4.4.191-1.ph1 #1-photon SMP Sat Sep 21 04:13:44 UTC 2019 x86_64 GNU/Linux
ブラウザで入ると、こう言われて、ログインできない。
このクライアントに接続されたすべての vCenter Server システムに対して権限がないため、ログインできません。
ログイン画面に戻る
https://kb.vmware.com/s/article/1003872?lang=ja
原文
unable to login because you do not have permission on any vCenter server systems connected to this client
ユーザを追加する。
Command> com.vmware.appliance.version1.localaccounts.user.add --role admin --password --username admin
Enter password:
このユーザでブラウザから入っても同じだった。
ESXi で、ホストや、仮想マシンの、アクション、権限を管理します、ユーザーの追加、というメニューがあった。これでブラウザで使うユーザを追加しても同じエラーだった。
PS /home/kanda> Install-Module -Name VMware.PowerCLI
PS /home/kanda> Connect-VIServer -server photon-machine -user admin -password xxx -force
Connect-VIServer: 2020/04/29 9:49:09 Connect-VIServer Permission to perform this operation was denied. Required privilege 'System.View' on managed object with id 'Folder-group-d1'.
VCSA のインストール時に、正しいユーザ登録と権限の付与がされてないのか。
administrator@vsphere.local でやったら、入れた。そういえば、インストール時に、 vCenter のユーザ名って、指定しなかったのかも。
vCenter の初期ユーザは、 Administrator@vsphere.local だ。
vcenter 6.7, esxi 7.0 の組み合わせが悪いのかと思って、 esxi 6.7 を入れ直したが、 vcenter インストールに gui, cli ともに失敗するのは同じ。
VMware-VMvisor-Installer-201912001-15160138.x86_64.iso
なお、NIC を e1000e にしたら、インストールの途中で、カーネルパニックした。
できた。
[root@localhost:~] lspci
0000:00:00.0 Host bridge: Intel Corporation Qemu virtual machine
0000:00:01.0 ISA bridge: Intel Corporation Qemu virtual machine
0000:00:01.1 IDE interface: Intel Corporation PIIX3 for 430HX IDE Controller [vmhba0]
0000:00:01.3 Bridge: Intel Corporation Qemu virtual machine
0000:00:02.0 VGA compatible controller: Red Hat, Inc. QEMU Virtual Machine
0000:00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller [vmnic0]
0000:00:05.0 Audio device: Intel Corporation QEMU Virtual Machine
0000:00:06.0 USB controller: Intel Corporation QEMU Virtual Machine
0000:00:06.1 USB controller: Intel Corporation QEMU Virtual Machine
0000:00:06.2 USB controller: Intel Corporation QEMU Virtual Machine
0000:00:06.7 USB controller: Intel Corporation QEMU Virtual Machine
0000:00:07.0 Communication controller: Red Hat, Inc. Virtio console
0000:00:08.0 Unclassified device: Red Hat, Inc. Virtio memory balloon
[root@localhost kanda]# virsh dumpxml esxi
<domain type='kvm'>
<name>esxi</name>
<uuid>1fea76ab-af71-4e19-87e6-d719857559d3</uuid>
<memory unit='KiB'>20480000</memory>
<currentMemory unit='KiB'>20480000</currentMemory>
<vcpu placement='static'>4</vcpu>
<os>
<type arch='x86_64' machine='pc-i440fx-rhel7.6.0'>hvm</type>
</os>
<features>
<acpi/>
<apic/>
<vmport state='off'/>
</features>
<cpu mode='host-passthrough' check='none'/>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/home/kanda/images/esxi.qcow2'/>
<target dev='hda' bus='ide'/>
<boot order='1'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<target dev='hdb' bus='ide'/>
<readonly/>
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
</disk>
<controller type='usb' index='0' model='ich9-ehci1'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci1'>
<master startport='0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci2'>
<master startport='2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci3'>
<master startport='4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'/>
<controller type='ide' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:21:ee:67'/>
<source network='default'/>
<model type='e1000'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='spicevmc'>
<target type='virtio' name='com.redhat.spice.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='tablet' bus='usb'>
<address type='usb' bus='0' port='1'/>
</input>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='spice' autoport='yes'>
<listen type='address'/>
<image compression='off'/>
</graphics>
<sound model='ich6'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</sound>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='2'/>
</redirdev>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='3'/>
</redirdev>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
</memballoon>
</devices>
</domain>
CentOS-7-x86_64-Minimal-2003.iso
できた。
[kanda@centos7 ~]$ lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10)
00:0f.0 VGA compatible controller: VMware SVGA II Adapter
00:11.0 PCI bridge: VMware PCI bridge (rev 02)
。。
02:01.0 SATA controller: VMware SATA AHCI controller
03:00.0 Serial Attached SCSI controller: VMware PVSCSI SCSI Controller (rev 02)
0b:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01)
scsi, eth は、vmware 準仮想ドライバ。
[kanda@centos7 ~]$ lspci -s 03:00.0 -v
03:00.0 Serial Attached SCSI controller: VMware PVSCSI SCSI Controller (rev 02)
Subsystem: VMware PVSCSI SCSI Controller
Physical Slot: 160
Flags: bus master, fast devsel, latency 0, IRQ 18
I/O ports at 4000 [size=8]
Memory at fd4f8000 (64-bit, non-prefetchable) [size=32K]
[virtual] Expansion ROM at fd400000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: vmw_pvscsi
Kernel modules: vmw_pvscsi
[kanda@centos7 ~]$ lspci -s 0b:00.0 -v
0b:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01)
Subsystem: VMware VMXNET3 Ethernet Controller
Physical Slot: 192
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at fd3fc000 (32-bit, non-prefetchable) [size=4K]
Memory at fd3fd000 (32-bit, non-prefetchable) [size=4K]
Memory at fd3fe000 (32-bit, non-prefetchable) [size=8K]
I/O ports at 5000 [size=16]
[virtual] Expansion ROM at fd300000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: vmxnet3
Kernel modules: vmxnet3
[kanda@centos7 ~]$ lsmod
Module Size Used by
ip6t_rpfilter 12595 1
ip6t_REJECT 12625 2
nf_reject_ipv6 13717 1 ip6t_REJECT
ipt_REJECT 12541 2
nf_reject_ipv4 13373 1 ipt_REJECT
xt_conntrack 12760 11
ebtable_nat 12807 1
ebtable_broute 12731 1
bridge 151336 1 ebtable_broute
stp 12976 1 bridge
llc 14552 2 stp,bridge
ip6table_nat 12864 1
nf_conntrack_ipv6 18935 7
nf_defrag_ipv6 35104 1 nf_conntrack_ipv6
nf_nat_ipv6 14131 1 ip6table_nat
ip6table_mangle 12700 1
ip6table_security 12710 1
ip6table_raw 12683 1
iptable_nat 12875 1
nf_conntrack_ipv4 15053 6
nf_defrag_ipv4 12729 1 nf_conntrack_ipv4
nf_nat_ipv4 14115 1 iptable_nat
nf_nat 26583 2 nf_nat_ipv4,nf_nat_ipv6
iptable_mangle 12695 1
iptable_security 12705 1
iptable_raw 12678 1
nf_conntrack 139264 6 nf_nat,nf_nat_ipv4,nf_nat_ipv6,xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
ip_set 45799 0
nfnetlink 14519 1 ip_set
ebtable_filter 12827 1
ebtables 35009 3 ebtable_broute,ebtable_nat,ebtable_filter
ip6table_filter 12815 1
ip6_tables 26912 5 ip6table_filter,ip6table_mangle,ip6table_security,ip6table_nat,ip6table_raw
iptable_filter 12810 1
iosf_mbi 15582 0
crc32_pclmul 13133 0
ghash_clmulni_intel 13273 0
aesni_intel 189456 0
ppdev 17671 0
lrw 13286 1 aesni_intel
gf128mul 15139 1 lrw
glue_helper 13990 1 aesni_intel
ablk_helper 13597 1 aesni_intel
sg 40719 0
vmw_balloon 18094 0
joydev 17389 0
cryptd 21190 3 ghash_clmulni_intel,aesni_intel,ablk_helper
pcspkr 12718 0
vmw_vmci 67168 0
i2c_piix4 22401 0
parport_pc 28205 0
parport 46395 2 ppdev,parport_pc
ip_tables 27126 5 iptable_security,iptable_filter,iptable_mangle,iptable_nat,iptable_raw
xfs 997681 2
libcrc32c 12644 3 xfs,nf_nat,nf_conntrack
sr_mod 22416 0
cdrom 42600 1 sr_mod
vmwgfx 291993 1
drm_kms_helper 186531 1 vmwgfx
syscopyarea 12529 1 drm_kms_helper
sysfillrect 12701 1 drm_kms_helper
sysimgblt 12640 1 drm_kms_helper
fb_sys_fops 12703 1 drm_kms_helper
ttm 96673 1 vmwgfx
sd_mod 46281 3
crc_t10dif 12912 1 sd_mod
crct10dif_generic 12647 0
ata_generic 12923 0
pata_acpi 13053 0
drm 456166 4 ttm,drm_kms_helper,vmwgfx
ahci 34056 0
nfit 55639 0
ata_piix 35052 0
libahci 31992 1 ahci
crct10dif_pclmul 14307 1
crct10dif_common 12595 3 crct10dif_pclmul,crct10dif_generic,crc_t10dif
crc32c_intel 22094 1
libata 243094 5 ahci,pata_acpi,libahci,ata_generic,ata_piix
serio_raw 13434 0
libnvdimm 159680 1 nfit
vmxnet3 58059 0
vmw_pvscsi 23130 2
drm_panel_orientation_quirks 17180 1 drm
dm_mirror 22289 0
dm_region_hash 20813 1 dm_mirror
dm_log 18411 2 dm_region_hash,dm_mirror
dm_mod 124501 8 dm_log,dm_mirror
[kanda@centos7 ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 8G 0 disk
├─sda1 8:1 0 1G 0 part /boot
└─sda2 8:2 0 7G 0 part
├─centos_centos7-root 253:0 0 6.2G 0 lvm /
└─centos_centos7-swap 253:1 0 820M 0 lvm [SWAP]
sr0 11:0 1 1G 0 rom
https://libvirt.org/drvesx.html
https SOAP を使うそうな。
[kanda@centos8 ~]$ virsh -c esx://root@esxi/?no_verify=1
root の esxi のユーザー名を入力してください:
virsh # list --all
Id 名前 状態
----------------------------------------------------
- centos7 シャットオフ
- VMware vCenter Server Appliance シャットオフ
esxi 上のゲスト定義を、ドメイン xml に翻訳して表示する。
virsh # dumpxml centos7
<domain type='vmware' xmlns:vmware='http://libvirt.org/schemas/domain/vmware/1.0'>
<name>centos7</name>
<uuid>564d6571-baae-a52c-2202-5720acb286e5</uuid>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>1</vcpu>
<cputune>
<shares>1000</shares>
</cputune>
<os>
<type arch='x86_64'>hvm</type>
</os>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<disk type='file' device='disk'>
<source file='[datastore1] centos7/centos7.vmdk'/>
<target dev='sda' bus='scsi'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='scsi' index='0' model='vmpvscsi'/>
<interface type='bridge'>
<mac address='00:0c:29:b2:86:e5'/>
<source bridge='VM Network'/>
<model type='vmxnet3'/>
</interface>
<video>
<model type='vmvga' vram='4096' primary='yes'/>
</video>
</devices>
<vmware:datacenterpath>ha-datacenter</vmware:datacenterpath>
<vmware:moref>1</vmware:moref>
</domain>
virsh #
gui からもできる。
ルートをマウントするための準仮想ドライバを、全部、入れればいい。
[root@centos7 kanda]# mkinitrd -v --with vmw_pvscsi --with xen-blkfront --with virtio_pci --with virtio_blk initramfs 3.10.0-1127.el7.x86_64
[root@centos7 kanda]# /usr/lib/dracut/skipcpio initramfs | gunzip | cpio --list
依存するものは、自動的に入るらしい。
usr/lib/modules/3.10.0-1127.el7.x86_64/kernel/drivers/scsi/sd_mod.ko.xz
usr/lib/modules/3.10.0-1127.el7.x86_64/kernel/drivers/scsi/sr_mod.ko.xz
usr/lib/modules/3.10.0-1127.el7.x86_64/kernel/drivers/block
usr/lib/modules/3.10.0-1127.el7.x86_64/kernel/drivers/block/xen-blkfront.ko.xz
usr/lib/modules/3.10.0-1127.el7.x86_64/kernel/drivers/block/virtio_blk.ko.xz
usr/lib/modules/3.10.0-1127.el7.x86_64/kernel/drivers/virtio
usr/lib/modules/3.10.0-1127.el7.x86_64/kernel/drivers/virtio/virtio.ko.xz
usr/lib/modules/3.10.0-1127.el7.x86_64/kernel/drivers/virtio/virtio_ring.ko.xz
usr/lib/modules/3.10.0-1127.el7.x86_64/kernel/drivers/virtio/virtio_pci.ko.xz
は、 vcenter gui にした操作を、 power cli コードにする。
https://flings.vmware.com/vsphere-html5-web-client
ova から仮想マシンゲストを作る時に、こう言われた。もう一度やったら、できた。
仮想マシンのデプロイに失敗しました: postNFCData failed:
ゲストを上げると、ネットワーク設定をしてない、と言われる。
ログインして、 DHCP にする。
ブラウザから、 configure すると失敗する。
Connecting to SSO server, you will be prompted for user's credentials
Creating /etc/vmware/vsphere-ui/config directory
Generating keystore file and property files.
Generating store.jks file...
Extract the vsphere-webclient certificate from VECS
bash: line 51: /usr/lib/vmware-vmafd/bin/vecs-cli: No such file or directory
Extract the vsphere-webclient private key from VECS
Extract the certificate from the TRUSTED_ROOTS VECS store
bash: line 54: /usr/lib/vmware-vmafd/bin/vecs-cli: No such file or directory
bash: line 57: /usr/lib/vmware-vmafd/bin/vecs-cli: No such file or directory
Group the vsphere-webclient private key and certificate into a .p12 file
unable to load private key
140470379535104:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:697:Expecting: ANY PRIVATE KEY
keytool error: java.lang.Exception: Source keystore file exists, but is empty: store.p12
version is not 6.5 or 6.0 use get-ldu
Using the default reverseproxyport=443 since no custom port was found.
Generating webclient.properties file...
Using photon-machine for generating URLs in webclient.properties
Copy ds.properties file
prepared files: store.jks, webclient.properties, ds.properties, vmware-endpoint-certificate-store.jar
Downloading keystore file and property files.
head: cannot open '/etc/vmware/install-defaults/sca.hostid' for reading: No such file or directory
bash: line 73: /usr/lib/vmware-vmafd/bin/vmafd-cli: No such file or directory
grep: /etc/applmgmt/appliance/update.conf: No such file or directory
bash: line 86: /usr/lib/vmware-vmafd/bin/vmafd-cli: No such file or directory
bash: line 89: /usr/lib/vmware-vmafd/bin/vmafd-cli: No such file or directory
cp: cannot stat '/etc/vmware/vsphere-client/config/ds.properties': No such file or directory
cp: cannot stat '/usr/java/jre-vmware/lib/ext/vmware-endpoint-certificate-store.jar': No such file or directory
mv: cannot stat '/etc/vmware/vsphere-ui/ds.properties': No such file or directory
Configuration process was not successful
Configuration unsuccessful: could not connect to SSO
H5 Client Deployment Instructions and Helpful Tips 文書に従って、コマンドでやる。
なに?
root@photon-machine [ ~ ]# /etc/init.d/configui configure --start yes --user root --vc 192.168.122.116
-bash: /etc/init.d/configui: No such file or directory
Known issues:
に従う。
root@photon-machine [ / ]# /usr/local/bin/vsphere-client-config-ui configure --vc 192.168.122.116 --user root --start
Connecting to SSO server, you will be prompted for user's credentials
root@192.168.122.116's password:
Creating /etc/vmware/vsphere-ui/config directory
Generating keystore file and property files.
Generating store.jks file...
Extract the vsphere-webclient certificate from VECS
Extract the vsphere-webclient private key from VECS
Extract the certificate from the TRUSTED_ROOTS VECS store
Picked up JAVA_TOOL_OPTIONS: -Xms32M -Xmx128M
Certificate was added to keystore
Group the vsphere-webclient private key and certificate into a .p12 file
Picked up JAVA_TOOL_OPTIONS: -Xms32M -Xmx128M
Importing keystore store.p12 to store.jks...
Entry for alias vsphere-webclient successfully imported.
Import command completed: 1 entries successfully imported, 0 entries failed or cancelled
Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore store.jks -destkeystore store.jks -deststoretype pkcs12".
version is not 6.5 or 6.0 use get-ldu
Generating webclient.properties file...
Using 192.168.122.116 for generating URLs in webclient.properties
Copy ds.properties file
prepared files: store.jks, webclient.properties, ds.properties, vmware-endpoint-certificate-store.jar
Downloading keystore file and property files.
Configuration process completed!
root@photon-machine [ / ]#
root@photon-machine [ / ]# /usr/lib/vmware-client-configui/scripts/configui.sh configure --start yes --user root --vc 192.168.122.116
Connecting to SSO server, you will be prompted for user's credentials
root@192.168.122.116's password:
Creating /etc/vmware/vsphere-ui/config directory
Generating keystore file and property files.
Generating store.jks file...
Extract the vsphere-webclient certificate from VECS
Extract the vsphere-webclient private key from VECS
Extract the certificate from the TRUSTED_ROOTS VECS store
Picked up JAVA_TOOL_OPTIONS: -Xms32M -Xmx128M
Certificate was added to keystore
Group the vsphere-webclient private key and certificate into a .p12 file
Picked up JAVA_TOOL_OPTIONS: -Xms32M -Xmx128M
Importing keystore store.p12 to store.jks...
Entry for alias vsphere-webclient successfully imported.
Import command completed: 1 entries successfully imported, 0 entries failed or cancelled
Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore store.jks -destkeystore store.jks -deststoretype pkcs12".
version is not 6.5 or 6.0 use get-ldu
Generating webclient.properties file...
Using 192.168.122.116 for generating URLs in webclient.properties
Copy ds.properties file
prepared files: store.jks, webclient.properties, ds.properties, vmware-endpoint-certificate-store.jar
Downloading keystore file and property files.
Configuration process completed!
root@photon-machine [ / ]#
お、うまくいった。
だめだ。
[400] vCenter Single Sign-On サーバへの認証要求の送信中にエラーが発生しました - vCenter Single Sign-On の設定時、メタデータの処理中にエラーが発生しました - Failed to connect to VMware Lookup Service - https://photon-machine:443/lookupservice/sdk。
lookup ってのは、 dns のこと?
ホスト名が、 photon-machine で、 vCenter と、今、入れている fling とで同じだから変える必要がある? single sign on ってことは、 kerberos とかなの?
/var/log/vmware/vpxd/vpxd.log
ログにも、証明書のエラーは出てない。
証明書って、これ?
root@photon-machine [ ~ ]# uname -a
Linux photon-machine 4.4.191-1.ph1 #1-photon SMP Sat Sep 21 04:13:44 UTC 2019 x86_64 GNU/Linux
root@photon-machine [ ~ ]# rpm -qa
sysstat-12.2.0-1.ph1.x86_64
libgcc-5.3.0-6.ph1.x86_64
tcpdump-4.9.3-1.ph1.x86_64
ncurses-6.0-9.ph1.x86_64
strace-4.11-3.ph1.x86_64
bash-4.3.48-4.ph1.x86_64
rsync-3.1.3-2.ph1.x86_64
pkg-config-0.28-3.ph1.x86_64
sendmail-8.15.2-13.ph1.x86_64
cracklib-2.9.6-3.ph1.x86_64
traceroute-2.0.22-2.ph1.x86_64
cracklib-dicts-2.9.6-3.ph1.x86_64
netcat-0.7.1-3.ph1.x86_64
procps-ng-3.3.15-1.ph1.x86_64
cloud-init-0.7.9-6.ph1.noarch
libstdc++-5.3.0-6.ph1.x86_64
ddclient-3.8.3-2.ph1.x86_64
coreutils-8.25-2.ph1.x86_64
libtool-2.4.6-2.ph1.x86_64
libopenssl1_0_1-1.0.2s-1.vmw.photon.14484043.x86_64
ca-certificates-20190521-1.ph1.x86_64
vmware-jre-1.8.0_221-fcs_b31.x86_64
libgcrypt-1.7.6-5.ph1.x86_64
vmware-studio-init-3.0.0.4-200305103628.noarch
libcap-2.25-2.ph1.x86_64
autogen-libopts-5.18.7-2.ph1.x86_64
gnutls-3.5.15-4.ph1.x86_64
VMware-visl-integration-6.7.0-15976714.x86_64
net-tools-1.60-7.ph1.x86_64
applmgmt-6.7.0-15976714.x86_64
xz-5.2.2-2.ph1.x86_64
VMware-TlsReconfigurator-6.7.0-15976714.x86_64
util-linux-2.27.1-4.ph1.x86_64
VMware-jmemtool-6.7.0-15976714.x86_64
linux-4.4.191-1.ph1.x86_64
vmware-pyvmomi-6.7.0-0.0.15976671.noarch
libssh2-1.9.0-1.ph1.x86_64
rvc-1.6.0-13591431.x86_64
pcre-8.41-2.ph1.x86_64
vmware-lwis-6.2.0-14689263.x86_64
glib-2.58.3-1.ph1.x86_64
vmware-directory-client-6.7.0.5062-15974938.x86_64
iptables-1.6.0-7.ph1.x86_64
vmware-ic-deploy-6.7.0.3965-15974939.x86_64
dbus-1.13.6-1.ph1.x86_64
vmware-certificate-server-6.7.0.5919-15974944.x86_64
lsscsi-0.28-2.ph1.x86_64
VMware-pod-6.7.0-15976714.x86_64
nspr-4.21-1.ph1.x86_64
vmware-dns-server-1.0.0-15974940.x86_64
nss-3.44-2.ph1.x86_64
VMware-vmon-6.7.0-15976714.x86_64
lua-5.3.2-2.ph1.x86_64
VMware-analytics-6.7.0-14821404.x86_64
rpm-4.13.0.2-2.ph1.x86_64
VMware-cis-license-6.7.0-14811745.x86_64
openssh-7.4p1-11.ph1.x86_64
vmware-sca-6.7.0.1285-15976692.noarch
python3-libs-3.5.6-9.ph1.x86_64
VMware-applmon-cloudvm-6.7.0-15976714.x86_64
python3-devel-3.5.6-9.ph1.x86_64
VMware-Postgres-osslibs-9.6.15.0-14437548.x86_64
photon-repos-1.0-4.ph1.noarch
VMware-Postgres-libs-9.6.15.0-14437548.x86_64
grep-2.21-2.ph1.x86_64
VMware-Postgres-server-9.6.15.0-14437548.x86_64
lsof-4.89-2.ph1.x86_64
VMware-Postgres-extras-9.6.15.0-14437548.x86_64
gzip-1.6-2.ph1.x86_64
VMware-Postgres-pg_top-9.6.15.0-14437548.x86_64
vim-7.4-12.ph1.x86_64
VMware-Postgres-contrib-9.6.15.0-14437548.x86_64
libassuan-2.5.1-1.ph1.x86_64
VMware-dbconfig-6.7.0-15976714.x86_64
librepo-1.7.17-3.ph1.x86_64
VMware-vpxd-svcs-6.7.0-15976714.x86_64
hawkey-2014.1-6.ph1.x86_64
VMware-topologysvc-6.7.0-15976714.x86_64
librelp-1.2.17-1.ph1.x86_64
VMware-vpxd-agents-eesx-6.7.0-15976714.x86_64
liblogging-1.0.5-2.ph1.x86_64
VMware-cloudvm-vimtop-6.7.0-15976714.x86_64
json-c-0.12-2.ph1.x86_64
vmware-eam-6.7.0-15976714.x86_64
mpfr-3.1.3-2.ph1.x86_64
VMware-mbcs-6.7.0-15976714.x86_64
cyrus-sasl-2.1.26-10.ph1.x86_64
ipxe-1.0.0-1.5578189.vmw.i686
libcap-ng-0.7.7-4.ph1.x86_64
VMware-UpdateManager-6.7.0-15124069.x86_64
audit-2.5-7.ph1.x86_64
vmware-cam-6.7.0.1253-15974932.x86_64
xerces-c-3.2.2-1.ph1.x86_64
VMware-vsan-health-6.7.0-14776677.x86_64
xmlsec1-1.2.26-2.ph1.x86_64
vmware-vsm-6.7.0-15976714.x86_64
libdnet-1.11-2.ph1.x86_64
VMware-perfcharts-6.7.0-15976714.x86_64
fuse-2.9.5-3.ph1.x86_64
bridge-utils-1.5-3.ph1.x86_64
libgomp-5.3.0-6.ph1.x86_64
slang-2.3.0-2.ph1.x86_64
libsepol-2.5-2.ph1.x86_64
chkconfig-1.5-7.ph1.x86_64
bindutils-9.10.6-2.ph1.x86_64
irqbalance-1.1.0-4.ph1.x86_64
device-mapper-event-libs-2.02.141-6.ph1.x86_64
device-mapper-event-2.02.141-6.ph1.x86_64
lvm2-2.02.141-6.ph1.x86_64
c-ares-1.12.0-2.ph1.x86_64
initramfs-1.0-11.113128961.ph1.x86_64
libacl-2.2.52-2.ph1.x86_64
procmail-3.22-4.ph1.x86_64
libxml2-devel-2.9.10-2.ph1.x86_64
libaio-0.3.110-2.ph1.x86_64
patch-2.7.5-6.ph1.x86_64
psmisc-22.21-5.ph1.x86_64
eventlog-0.2.12-2.ph1.x86_64
unzip-6.0-11.ph1.x86_64
nfs-utils-1.3.3-8.ph1.x86_64
rubygem-backports-3.7.0-2.ph1.x86_64
rubygem-highline-1.7.8-4.ph1.x86_64
rubygem-mini_portile2-2.1.0-2.ph1.x86_64
rubygem-unicode-display_width-1.1.3-2.ph1.x86_64
rubygem-trollop-2.1.2-4.ph1.x86_64
dhcp-libs-4.3.5-5.ph1.x86_64
atftp-0.7.1-8.ph1.x86_64
perl-5.24.1-4.ph1.x86_64
perl-Object-Accessor-0.48-3.ph1.noarch
perl-DBD-SQLite-1.50-6.ph1.x86_64
apr-util-1.5.4-8.ph1.x86_64
openssl-c_rehash-1.0.2s-1.ph1.x86_64
gdb-7.8.2-9.ph1.x86_64
perl-Net-SSLeay-1.72-3.ph1.x86_64
ntp-4.2.8p13-1.ph1.x86_64
xinetd-2.3.15-7.ph1.x86_64
tzdata-2019b-1.ph1.noarch
kaigen-gothic-cjk-1.002-2.ph1.noarch
grub2-2.02-5.ph1.x86_64
ncurses-compat-6.0-9.ph1.x86_64
runc-1.0.0.rc4-4.ph1.x86_64
python3-cgroup-utils-0.6-4.ph1.x86_64
python3-configobj-5.0.6-3.ph1.noarch
python3-markupsafe-0.23-2.ph1.x86_64
python3-jsonpointer-1.10-3.ph1.noarch
python3-oauthlib-2.0.2-1.ph1.noarch
python3-atomicwrites-1.1.5-1.ph1.noarch
python3-mistune-0.7.4-1.ph1.noarch
python3-m2r-0.1.5-1.ph1.noarch
python3-automat-0.5.0-1.ph1.noarch
python3-msgpack-0.4.8-1.ph1.x86_64
python3-pycparser-2.17-1.ph1.x86_64
python3-constantly-15.1.0-1.ph1.noarch
python3-pyasn1-0.2.3-1.ph1.noarch
python3-defusedxml-0.5.0-2.ph1.noarch
python3-ecdsa-0.13-3.ph1.noarch
python3-pytz-2017.2-1.ph1.noarch
python3-pyjsparser-2.5.2-1.ph1.noarch
python3-libxml2-2.9.10-2.ph1.x86_64
python3-lxml-3.5.0b1-4.ph1.x86_64
python3-M2Crypto-0.26.0-1.ph1.x86_64
python3-ntplib-0.3.3-1.ph1.noarch
python3-pycrypto-2.6.1-6.ph1.x86_64
python3-ptyprocess-0.5.2-1.ph1.noarch
python3-ply-3.10-1.ph1.noarch
python3-psutil-5.2.2-1.ph1.x86_64
postgresql-9.6.14-1.ph1.x86_64
libyaml-0.1.6-3.ph1.x86_64
python3-pywbem-0.10.0-1.ph1.noarch
python3-Pygments-2.3.1-1.ph1.noarch
python3-pyparsing-2.1.10-1.ph1.noarch
python3-service_identity-16.0.0-1.ph1.noarch
python3-zope.interface-4.3.3-2.ph1.x86_64
python3-urllib3-1.20-1.ph1.noarch
python3-webob-1.7.1-1.ph1.noarch
kbd-2.0.3-2.ph1.x86_64
filesystem-1.1-4.ph1.x86_64
libpcap-1.7.4-2.ph1.x86_64
glibc-2.22-26.ph1.x86_64
less-481-2.ph1.x86_64
readline-6.3-5.ph1.x86_64
parted-3.2-3.ph1.x86_64
zlib-1.2.8-5.ph1.x86_64
m4-1.4.17-2.ph1.x86_64
bzip2-1.0.6-7.ph1.x86_64
logrotate-3.9.1-4.ph1.x86_64
Linux-PAM-1.2.1-4.ph1.x86_64
ethtool-4.2-3.ph1.x86_64
shadow-4.6-1.ph1.x86_64
zip-3.0-2.ph1.x86_64
iana-etc-2.30-2.ph1.noarch
perl-JSON-Any-1.39-3.ph1.noarch
gmp-6.0.0a-3.ph1.x86_64
gpg-pubkey-66fd4949-4803fe57
bc-1.06.95-3.ph1.x86_64
libnss_ato-0.2-1.x86_64
openssl-1.0.2s-1.ph1.x86_64
vasecurity-6.7.0.0-15768847.noarch
libgpg-error-1.27-1.ph1.x86_64
vmware-studio-appliance-config-3.0.0.4-200305103628.noarch
attr-2.4.47-3.ph1.x86_64
vmware-studio-vami-tools-3.0.0.4-14646436.x86_64
nettle-3.3-1.ph1.x86_64
vmware-studio-vami-lighttpd-3.0.0.4-14646436.x86_64
libtasn1-4.13-1.ph1.x86_64
VMware-vc-support-6.7.0-15976714.x86_64
iputils-20151218-3.ph1.x86_64
VMware-vapi-6.7.0-15976714.x86_64
findutils-4.6.0-2.ph1.x86_64
vc-deploy-6.7.0-15976714.x86_64
iproute2-4.2.0-2.ph1.x86_64
cis-upgrade-runner-6.7.0-15976714.x86_64
kmod-21-4.ph1.x86_64
VMware-commonjars-6.7.0-15976714.x86_64
sg3_utils-1.42-2.ph1.x86_64
vmware-snmp-1.2.9-1.x86_64
curl-7.59.0-8.ph1.x86_64
VMware-unixODBC-2.3.2.vmw.2-6.7.0.x86_64
libffi-3.2.1-2.ph1.x86_64
vmware-afd-6.7.0.6184-15974934.x86_64
systemd-228-55.ph1.x86_64
vmware-directory-6.7.0.5062-15974938.x86_64
expat-2.2.4-2.ph1.x86_64
vmware-certificate-client-6.7.0.5919-15974944.x86_64
file-5.24-3.ph1.x86_64
vmware-identity-sts-6.7.0.6314-15974936.noarch
e2fsprogs-1.42.13-3.ph1.x86_64
vmware-dns-client-1.0.0-15974940.x86_64
sqlite-autoconf-3.27.2-3.ph1.x86_64
dbcc-1.0.0-1.noarch
popt-1.16-2.ph1.x86_64
VMware-rhttpproxy-6.7.0-15976714.x86_64
elfutils-libelf-0.176-1.ph1.x86_64
vmware-cm-6.7.0-15976714.x86_64
krb5-1.17-1.ph1.x86_64
vmware-psc-health-6.7.0.2061-15974941.x86_64
gdbm-1.11-2.ph1.x86_64
vmware-esx-netdumper-6.7.0-0.0.15976714.i386
python3-3.5.6-9.ph1.x86_64
applmgmt-cloudvm-6.7.0-15976714.x86_64
photon-release-1.0-6.ph1.noarch
VMware-Postgres-osslibs-server-9.6.15.0-14437548.x86_64
sed-4.2.2-2.ph1.x86_64
VMware-Postgres-9.6.15.0-14437548.x86_64
libtirpc-1.0.1-5.ph1.x86_64
VMware-Postgres-pg_rewind-9.6.15.0-14437548.x86_64
cpio-2.12-3.ph1.x86_64
VMware-Postgres-cis-visl-scripts-9.6.15.0-14437548.x86_64
tcsh-6.19.00-7.ph1.x86_64
VMware-Postgres-odbc-9.6.15.0-14437548.x86_64
libdb-5.3.28-1.ph1.x86_64
VMware-Postgres-client-jdbc-9.6.15.0-14437548.noarch
gpgme-1.6.0-2.ph1.x86_64
VMware-Postgres-pg_archiver-9.6.15.0-14437548.x86_64
libsolv-0.6.19-7.ph1.x86_64
VMware-certificatemanagement-6.7.0-15976714.x86_64
tdnf-1.1.0-3.ph1.x86_64
VMware-vpxd-6.7.0-15976714.x86_64
libfastjson-0.99.8-1.ph1.x86_64
vmware-virgo-6.7.0-15976714.x86_64
libestr-0.1.10-2.ph1.x86_64
VMware-content-library-6.7.0-15976714.x86_64
rsyslog-8.37.0-2.ph1.x86_64
vmware-imagebuilder-6.7.0-15976714.x86_64
gawk-4.1.3-3.ph1.x86_64
VMware-sps-6.7.0-15976714.x86_64
openldap-2.4.43-3.ph1.x86_64
vmware-autodeploy-6.7.0-0.0.15976671.noarch
tcp_wrappers-7.6-2.ph1.x86_64
VMware-vcha-6.7.0-15976714.x86_64
libxml2-2.9.10-2.ph1.x86_64
VMware-vsan-dps-6.7.0-0.0.14776674.x86_64
libltdl-2.4.6-2.ph1.x86_64
VMware-vsanmgmt-6.7.0-0.1.14776677.x86_64
xml-security-c-1.7.3-3.ph1.x86_64
vsphere-client-6.7.0-15976689.noarch
libmspack-0.7.1alpha-2.ph1.x86_64
vsphere-ui-6.7.0.42000-15122335.noarch
open-vm-tools-10.3.10-3.ph1.x86_64
which-2.21-2.ph1.x86_64
gettext-0.19.5.1-6.ph1.x86_64
newt-0.52.18-2.ph1.x86_64
libselinux-2.6-2.ph1.x86_64
ntsysv-1.5-7.ph1.x86_64
wget-1.20.3-1.ph1.x86_64
device-mapper-libs-2.02.141-6.ph1.x86_64
device-mapper-2.02.141-6.ph1.x86_64
lvm2-libs-2.02.141-6.ph1.x86_64
cifs-utils-6.4-2.ph1.x86_64
distrib-compat-0.1-10.ph1.x86_64
initscripts-9.65-4.ph1.x86_64
acl-2.2.52-2.ph1.x86_64
dmidecode-3.0-2.ph1.x86_64
libxslt-1.1.29-8.ph1.x86_64
tar-1.29-3.ph1.x86_64
sudo-1.8.20p2-2.ph1.x86_64
rpm-devel-4.13.0.2-2.ph1.x86_64
haveged-1.9.1-4.ph1.x86_64
rpcbind-0.2.3-8.ph1.x86_64
ruby-2.5.3-1.ph1.x86_64
rubygem-builder-3.2.3-2.ph1.x86_64
rubygem-libxml-ruby-3.0.0-3.ph1.x86_64
rubygem-nokogiri-1.7.1-3.ph1.x86_64
rubygem-terminal-table-1.7.3-3.ph1.x86_64
rubygem-zip-2.0.2-4.ph1.x86_64
dhcp-server-4.3.5-5.ph1.x86_64
compat-gdbm-1.8.3-2.ph1.x86_64
perl-DBI-1.634-3.ph1.x86_64
perl-DBIx-Simple-1.35-3.ph1.noarch
apr-1.5.2-7.ph1.x86_64
perl-WWW-Curl-4.17-4.ph1.x86_64
httpd-2.4.39-1.ph1.x86_64
cronie-1.5.0-12.ph1.x86_64
perl-IO-Socket-SSL-2.024-3.ph1.x86_64
glibc-lang-2.22-26.ph1.x86_64
sshpass-1.05-3.ph1.x86_64
netmgmt-1.0.4-5.ph1.x86_64
diffutils-3.3-3.ph1.x86_64
dnsmasq-2.76-6.ph1.x86_64
libseccomp-2.4.0-1.ph1.x86_64
pycurl3-7.21.5-4.ph1.x86_64
python3-six-1.10.0-3.ph1.noarch
python3-ipaddr-2.1.11-3.ph1.noarch
python3-jinja2-2.9.5-2.ph1.noarch
python3-jsonpatch-1.15-1.ph1.noarch
python3-prettytable-0.7.2-3.ph1.noarch
python3-attrs-16.3.0-1.ph1.noarch
python3-setuptools_scm-1.15.0-1.ph1.noarch
python3-docutils-0.13.1-1.ph1.noarch
python3-requests-2.13.0-2.ph1.noarch
python3-CacheControl-0.12.3-1.ph1.noarch
python3-cffi-1.9.1-3.ph1.x86_64
python3-idna-2.5-1.ph1.noarch
python3-cryptography-1.7.2-5.ph1.x86_64
python3-dnspython-1.15.0-1.ph1.noarch
python3-incremental-16.10.1-1.ph1.noarch
python3-tzlocal-1.4-1.ph1.noarch
python3-Js2Py-0.50-1.ph1.noarch
python3-lockfile-0.12.2-1.ph1.x86_64
python3-typing-3.6.1-1.ph1.noarch
python3-netaddr-0.7.19-1.ph1.noarch
python3-pam-1.8.2-1.ph1.noarch
python3-paramiko-1.17.6-2.ph1.noarch
python3-pexpect-4.2.1-2.ph1.noarch
python3-prompt_toolkit-2.0.8-1.ph1.noarch
postgresql-libs-9.6.14-1.ph1.x86_64
python3-psycopg2-2.7.1-1.ph1.x86_64
python3-PyYAML-3.12-3.ph1.x86_64
python3-pyasn1-modules-0.0.8-1.ph1.noarch
python3-pyOpenSSL-16.2.0-3.ph1.noarch
python3-rpm-4.13.0.2-2.ph1.x86_64
python3-simplejson-3.10.0-2.ph1.x86_64
python3-Twisted-17.1.0-7.ph1.x86_64
python3-wcwidth-0.1.7-1.ph1.noarch
python3-werkzeug-0.11.15-1.ph1.noarch
root@photon-machine [ ~ ]#
root@photon-machine [ ~ ]# cat /etc/issue
VMware vCenter Server Appliance 6.7.0.43000
Type: vCenter Server with an embedded Platform Services Controller
https://code.vmware.com/web/sdk/6.7/vsphere-automation-python
README.md にあるサンプルをそのまま、打つ。
最小限のモジュールだけを入れる。
[root@centos8 lib]# pip3 install vapi-runtime/vapi_runtime-2.15.0-py2.py3-none-any.whl
[root@centos8 lib]# pip3 install vapi-common-client/vapi_common_client-2.15.0-py2.py3-none-any.whl
[root@centos8 lib]# pip3 install vapi-client-bindings/vapi_client_bindings-3.3.0-py2.py3-none-any.whl
[kanda@centos8 lib]$ python3
Python 3.6.8 (default, Nov 21 2019, 19:31:34)
[GCC 8.3.1 20190507 (Red Hat 8.3.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> import urllib3
>>> from vmware.vapi.vsphere.client import create_vsphere_client
>>> session = requests.session()
>>> session.verify = False
>>> urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
>>> vsphere_client = create_vsphere_client(server='vcenter', username='administrator@vsphere.local', password='xxx', session=session)
>>> vsphere_client.vcenter.VM.list()
[Summary(vm='vm-31', name='centos7', power_state=State(string='POWERED_OFF'), cpu_count=1, memory_size_mib=2048), Summary(vm='vm-32', name='VMware vCenter Server Appliance', power_state=State(string='POWERED_ON'), cpu_count=2, memory_size_mib=10240), Summary(vm='vm-35', name='h5cliet', power_state=State(string='POWERED_OFF'), cpu_count=2, memory_size_mib=4096)]
できた。
vcenter の秘密鍵、どのファイルか、わからないや。受け入れる暗号の設定もありそうなのに。
https://code.vmware.com/web/sdk/6.7/vsphere-automation-dotnet
E:\git\vsphere-automation-sdk-.net\vmware\samples\vcenter\vm\list\ListVMs\bin\Debug> ListVMs.exe --server photon-machine --username Administrator@vsphere.local --password xxx
SSL policy error RemoteCertificateChainErrors. Fix the following errors PartialChain
ハンドルされていない例外: System.AggregateException: 1 つ以上のエラーが発生しま した。 ---> System.Net.WebException: 接続が切断されました: SSL/TLS のセキュリテ ィで保護されているチャネルに対する信頼関係を確立できませんでした。 ---> System.Security.Authentication.AuthenticationException: 検証プロシージャによると、リモート証明書は無効です。
場所 System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
場所 System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
場所 System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
場所 System.Net.TlsStream.CallProcessAuthentication(Object state)
場所 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
場所 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
場所 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
場所 System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
場所 System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
場所 System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
場所 System.Net.ConnectStream.WriteHeaders(Boolean async)
--- 内部例外スタック トレースの終わり ---
場所 vmware.vapi.bindings.Stub.<InvokeMethodAsync>d__8`1.MoveNext()
--- 内部例外スタック トレースの終わり ---
場所 System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
場所 System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
場所 System.Threading.Tasks.Task`1.get_Result()
場所 vmware.vapi.bindings.Stub.InvokeMethod[R](MethodIdentifier methodId, StructValueBuilder structValueBuilder, StructType inputType, IType outputType, IEnumerable`1 errorTypes, InvocationConfig invocationConfig, Action`1 progressHandle)
場所 vmware.cis.SessionStub.Create(Action`1 _progress, InvocationConfig _invocationConfig)
場所 vmware.cis.SessionStub.Create()
場所 vmware.samples.common.authentication.VapiAuthenticationHelper.LoginByUsernameAndPassword(String server, String username, String password) 場所 E:\git\vsphere-automation-sdk-.net\vmware\samples\common\SamplesCommon\authentication\VapiAuthenticationHelper.cs:行 71
場所 vmware.samples.vcenter.vm.list.ListVMs.Run() 場所 E:\git\vsphere-automation-sdk-.net\vmware\samples\vcenter\vm\list\ListVMs\ListVMs.cs:行 35
場所 vmware.samples.common.SamplesBase.Execute(String[] args) 場所 E:\git\vsphere-automation-sdk-.net\vmware\samples\common\SamplesCommon\SamplesBase.cs:行 179
場所 vmware.samples.vcenter.vm.list.ListVMs.Main(String[] args) 場所 E:\git\vsphere-automation-sdk-.net\vmware\samples\vcenter\vm\list\ListVMs\ListVMs.cs:行 60
こちらは、どこに ssl の設定があるのか、わからないや。
以上