I corroborate the answer in the NSX I've inherited. Thank you very much.
Next it looks like I need to Enable SSH via the Change Password found with right clicking the specific NSX Edge.
I corroborate the answer in the NSX I've inherited. Thank you very much.
Next it looks like I need to Enable SSH via the Change Password found with right clicking the specific NSX Edge.
I am attempting to troubleshoot a connection problem that a business partner is experiencing trying to reach one of our VIPs
on the NSX load balancer. If I ssh to the edge what commands would let me see some details about connections trying to
be made to a specific VIP?
By the same token - what syslog error level would be best for troubleshooting this kind of issue?
Thank you.
I finally found the issue and I can prove it's a bug in rste driver (see below), I also found a temporary workaround.
First, I testes on 3 other totally different servers (different motherboard, chipset, cpu), with the same ESX installed on a non-ssd device + 3 differents SSD (Samsung 840 evo, Samsung 850 evo, OCZ vertex 3).
-> All deployments were fine without integrity issue, all chipset were using vmw_ahci driver.
Then on the initial serveur, which is a S2600WP blade (issue verified on 3 different blades with identical configuration), I noticed there was a way to connect a disk on the motherboard, which is handled by vmw_ahci :
- any SSD is running fine on the motherboard (Patsburg 6 Port SATA AHCI Controller, vmw_ahci)
- the same SSD is having integrity issue on any OVF import, even small via the "Patsburg 4-Port SATA Storage Control Unit" (rste driver)
- then I disabled SSD option on SSD drives connected to the rste driver, then the issue disappear !
- finally I forced SSD option on a regular HDD and now there is integrity issue on the non-ssd drive !!
How this bug can be corrected ?
Is there a way to use vmw_ahci for "Patsburg 4-Port SATA Storage Control Unit"?
Matthieu
I am trying to convert my physical machine using Vmware Converter, but I am getting error
2017-11-18T22:56:57.820+01:00 Section for VMware vCenter Converter Standalone, pid=3368, version=6.1.1, build=3533064, option=Release
2017-11-18T22:56:57.820+01:00 verbose vmware-converter-worker[05888] [Originator@6876 sub=Default] Dumping early logs:
2017-11-18T22:56:57.820+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] Logging uses fast path: true
2017-11-18T22:56:57.820+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] The bora/lib logs WILL be handled by VmaCore
2017-11-18T22:56:57.820+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] Initialized channel manager
2017-11-18T22:56:57.820+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] Current working directory: C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone
2017-11-18T22:56:57.820+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] ThreadPool windowsStackImmediateCommit = true
2017-11-18T22:56:57.820+01:00 info vmware-converter-worker[05912] [Originator@6876 sub=ThreadPool] Thread enlisted
2017-11-18T22:56:57.820+01:00 info vmware-converter-worker[06092] [Originator@6876 sub=ThreadPool] Thread enlisted
2017-11-18T22:56:57.820+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=ThreadPool] Thread pool on asio: Min Io, Max Io, Min Task, Max Task, Max Concurency: 1, 121, 2, 60, 2147483647
2017-11-18T22:56:57.820+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=ThreadPool] Thread enlisted
2017-11-18T22:56:57.820+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] Trying converter_agent
2017-11-18T22:56:57.820+01:00 info vmware-converter-worker[03200] [Originator@6876 sub=ThreadPool] Thread enlisted
2017-11-18T22:56:57.852+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] Trying converter_worker
2017-11-18T22:56:57.883+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] Trying ufa_agent
2017-11-18T22:56:57.898+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Ufa] Initializing SSL context
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Libs] FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Unknown error 183 (0xb7) (183)
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Libs] FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Unknown error 183 (0xb7) (183)
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Libs] FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Unknown error 183 (0xb7) (183)
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Libs] FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Unknown error 183 (0xb7) (183)
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Libs] FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Unknown error 183 (0xb7) (183)
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] Vmacore::InitSSL: handshakeTimeoutUs = 20000000
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Ufa] Plugin initialized
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Ufa] SOAP pipe name: \\.\pipe\vmware-converter-worker-soap
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Ufa.HTTPService] Setting buffer size to 32768
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Ufa.HTTPService] Using default for nonChunkingAgents: 'VMware VI Client|VMware-client|VMware-client/3.*'
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Ufa.HTTPService] Using default for agentsNeedingContentLength: 'VMware-client'
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Ufa.HTTPService] Max buffered response size is 104857600 bytes
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Ufa] enableChunkedResponses: true
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Libs] UUID: SMBIOS UUID is reported as '1f 22 79 49 b9 e4 45 53-8a 2b eb 91 70 92 a4 91'.
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=SOAP-1] Created SOAP body handler for converter.version.version7 (converter/7.0)
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Ufa.HTTPService] Http Service started: <server p:0x01991188, '\\.\pipe\vmware-converter-worker-soap'>
2017-11-18T22:56:57.914+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Ufa] Soap (over Named Pipe) started on pipe \\.\pipe\vmware-converter-worker-soap. enableRemoteAccess = false, nonRootAccess = false, useSSL = false
2017-11-18T22:56:57.930+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Ufa] Plugin started
2017-11-18T22:56:57.930+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] DiskLibProvider init - OK
2017-11-18T22:56:57.930+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] Mntapi_Init Asked - 2.2 Served - 2.2 was successful,TempDirectory: C:\Windows\TEMP\vmware-temp\vmware-SYSTEM.
2017-11-18T22:56:57.930+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] Running on OS: Windows 7 Professional, 64-bit Service Pack 1 (Build 7601); ver 6.1.7601; CPUs: 2
2017-11-18T22:56:57.930+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] [serviceWin32,879] Panic message will be logged now...
2017-11-18T22:56:57.930+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] [serviceWin32,886] vmware-converter-worker service started
2017-11-18T22:57:54.568+01:00 info vmware-converter-worker[05912] [Originator@6876 sub=Default] Impersonating user adrianmihalko in session 5234ff8e-02bc-cd0f-5c9b-496c4a07ce20
2017-11-18T22:58:08.133+01:00 info vmware-converter-worker[05912] [Originator@6876 sub=Default] Stopped impersonating in session 5234ff8e-02bc-cd0f-5c9b-496c4a07ce20
2017-11-18T22:58:11.331+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] Impersonating user adrianmihalko in session 5286b573-d985-5f67-0a22-5f95779c5bfc
2017-11-18T22:58:44.644+01:00 error vmware-converter-worker[06092] [Originator@6876 sub=Ufa.HTTPService] Failed to read request; stream: <io_obj p:0x01852ebc, h:-1, <pipe '\\.\pipe\vmware-converter-worker-soap'>, <pipe '\\.\pipe\vmware-converter-worker-soap'>>, error: class Vmacore::TimeoutException(Operation timed out)
2017-11-18T22:58:47.452+01:00 info vmware-converter-worker[03200] [Originator@6876 sub=Default] Could not find the session object cache, will create a new one
2017-11-18T22:58:47.452+01:00 info vmware-converter-worker[03200] [Originator@6876 sub=Default] Obtaining query results for host 192.168.1.54
2017-11-18T22:58:48.525+01:00 warning vmware-converter-worker[03200] [Originator@6876 sub=Default] Converter::Util::SysCommandWrapper::LogResult: Command return code: 249
2017-11-18T22:58:48.525+01:00 warning vmware-converter-worker[03200] [Originator@6876 sub=Default] Converter::Util::SysCommandWrapper::LogResult: Command stderr:
--> d0:84:4f:34:39:c6:a3:cc:d3:32:fb:2c:75:0b:77:e4
-->
2017-11-18T22:58:48.525+01:00 error vmware-converter-worker[03200] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin-pass-and-key <ConverterPrivateKeyEnd> -P 22 -thumbprint <emptyThumbprint> myname@192.168.1.54 sudo file -L /sbin/init" received error code (249) with result: d0:84:4f:34:39:c6:a3:cc:d3:32:fb:2c:75:0b:77:e4
-->
2017-11-18T22:58:48.525+01:00 error vmware-converter-worker[03200] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] ssh connection to host 192.168.1.54 failed because the host thumbprint was different: client: <emptyThumbprint>, host: d0:84:4f:34:39:c6:a3:cc:d3:32:fb:2c:75:0b:77:e4
2017-11-18T22:58:48.525+01:00 error vmware-converter-worker[03200] [Originator@6876 sub=Default] Sysinfo Query failed with error [Converter Agent SysinfoQuery] ssh connection to host 192.168.1.54 failed because the host thumbprint was different: client: <emptyThumbprint>, host: d0:84:4f:34:39:c6:a3:cc:d3:32:fb:2c:75:0b:77:e4
2017-11-18T22:58:48.526+01:00 info vmware-converter-worker[03740] [Originator@6876 sub=ThreadPool] Thread enlisted
2017-11-18T22:58:48.526+01:00 info vmware-converter-worker[03200] [Originator@6876 sub=Default] Scheduled timer canceled, StopKeepAlive succeeds
2017-11-18T22:58:53.604+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] Obtaining query results for host 192.168.1.54
2017-11-18T22:58:55.601+01:00 warning vmware-converter-worker[05888] [Originator@6876 sub=Default] Converter::Util::SysCommandWrapper::LogResult: Command return code: 1
2017-11-18T22:58:55.601+01:00 warning vmware-converter-worker[05888] [Originator@6876 sub=Default] Converter::Util::SysCommandWrapper::LogResult: Command stderr:
--> sudo: no tty present and no askpass program specified
-->
2017-11-18T22:58:55.601+01:00 error vmware-converter-worker[05888] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin-pass-and-key <ConverterPrivateKeyEnd> -P 22 -thumbprint d0:84:4f:34:39:c6:a3:cc:d3:32:fb:2c:75:0b:77:e4 madrian@192.168.1.54 sudo file -L /sbin/init" received error code (1) with result: sudo: no tty present and no askpass program specified
-->
2017-11-18T22:58:55.601+01:00 error vmware-converter-worker[05888] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] received an error code (1) from the ssh client that will be handled later
2017-11-18T22:58:55.601+01:00 error vmware-converter-worker[05888] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] could not determine if the source system was 32 or 64 bit; return code: 1; result: sudo: no tty present and no askpass program specified
-->
2017-11-18T22:58:56.601+01:00 warning vmware-converter-worker[05888] [Originator@6876 sub=Default] Converter::Util::SysCommandWrapper::LogResult: Command return code: 1
2017-11-18T22:58:56.601+01:00 warning vmware-converter-worker[05888] [Originator@6876 sub=Default] Converter::Util::SysCommandWrapper::LogResult: Command stderr:
--> sudo: no tty present and no askpass program specified
-->
2017-11-18T22:58:56.601+01:00 error vmware-converter-worker[05888] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin-pass-and-key <ConverterPrivateKeyEnd> -P 22 -thumbprint d0:84:4f:34:39:c6:a3:cc:d3:32:fb:2c:75:0b:77:e4 madrian@192.168.1.54 sudo uname -m" received error code (1) with result: sudo: no tty present and no askpass program specified
-->
2017-11-18T22:58:56.601+01:00 error vmware-converter-worker[05888] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] received an error code (1) from the ssh client that will be handled later
2017-11-18T22:58:56.601+01:00 error vmware-converter-worker[05888] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] could not determine if the source system was 32 or 64 bit; return code: 1; result: sudo: no tty present and no askpass program specified
-->
2017-11-18T22:58:56.601+01:00 error vmware-converter-worker[05888] [Originator@6876 sub=Default] Sysinfo Query with sudo failed with error [Converter Agent SysinfoQuery] could not determine if the source system was 32 or 64 bit; return code: 1; result: sudo: no tty present and no askpass program specified
-->
2017-11-18T22:58:56.602+01:00 info vmware-converter-worker[05888] [Originator@6876 sub=Default] Scheduled timer canceled, StopKeepAlive succeeds
2017-11-18T23:00:06.339+01:00 info vmware-converter-worker[03200] [Originator@6876 sub=Default] Obtaining query results for host 192.168.1.54
2017-11-18T23:00:26.117+01:00 warning vmware-converter-worker[03200] [Originator@6876 sub=Default] Converter::Util::SysCommandWrapper::LogResult: Command return code: 1
2017-11-18T23:00:26.117+01:00 warning vmware-converter-worker[03200] [Originator@6876 sub=Default] Converter::Util::SysCommandWrapper::LogResult: Command stderr:
--> sudo: no tty present and no askpass program specified
-->
2017-11-18T23:00:26.117+01:00 error vmware-converter-worker[03200] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin-pass-and-key <ConverterPrivateKeyEnd> -P 22 -thumbprint d0:84:4f:34:39:c6:a3:cc:d3:32:fb:2c:75:0b:77:e4 madrian@192.168.1.54 sudo file -L /sbin/init" received error code (1) with result: sudo: no tty present and no askpass program specified
-->
2017-11-18T23:00:26.117+01:00 error vmware-converter-worker[03200] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] received an error code (1) from the ssh client that will be handled later
2017-11-18T23:00:26.117+01:00 error vmware-converter-worker[03200] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] could not determine if the source system was 32 or 64 bit; return code: 1; result: sudo: no tty present and no askpass program specified
-->
2017-11-18T23:00:27.322+01:00 warning vmware-converter-worker[03200] [Originator@6876 sub=Default] Converter::Util::SysCommandWrapper::LogResult: Command return code: 1
2017-11-18T23:00:27.322+01:00 warning vmware-converter-worker[03200] [Originator@6876 sub=Default] Converter::Util::SysCommandWrapper::LogResult: Command stderr:
--> sudo: no tty present and no askpass program specified
-->
2017-11-18T23:00:27.322+01:00 error vmware-converter-worker[03200] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin-pass-and-key <ConverterPrivateKeyEnd> -P 22 -thumbprint d0:84:4f:34:39:c6:a3:cc:d3:32:fb:2c:75:0b:77:e4 madrian@192.168.1.54 sudo uname -m" received error code (1) with result: sudo: no tty present and no askpass program specified
-->
2017-11-18T23:00:27.322+01:00 error vmware-converter-worker[03200] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] received an error code (1) from the ssh client that will be handled later
2017-11-18T23:00:27.322+01:00 error vmware-converter-worker[03200] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] could not determine if the source system was 32 or 64 bit; return code: 1; result: sudo: no tty present and no askpass program specified
-->
2017-11-18T23:00:27.322+01:00 error vmware-converter-worker[03200] [Originator@6876 sub=Default] Sysinfo Query with sudo failed with error [Converter Agent SysinfoQuery] could not determine if the source system was 32 or 64 bit; return code: 1; result: sudo: no tty present and no askpass program specified
-->
2017-11-18T23:00:27.322+01:00 info vmware-converter-worker[03200] [Originator@6876 sub=Default] Scheduled timer canceled, StopKeepAlive succeeds
2017-11-18T23:08:33.632+01:00 info vmware-converter-worker[03740] [Originator@6876 sub=Default] Obtaining query results for host 192.168.1.54
2017-11-18T23:08:34.838+01:00 warning vmware-converter-worker[03740] [Originator@6876 sub=Default] Converter::Util::SysCommandWrapper::LogResult: Command return code: 1
2017-11-18T23:08:34.838+01:00 warning vmware-converter-worker[03740] [Originator@6876 sub=Default] Converter::Util::SysCommandWrapper::LogResult: Command stderr:
--> sudo: no tty present and no askpass program specified
-->
2017-11-18T23:08:34.839+01:00 error vmware-converter-worker[03740] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin-pass-and-key <ConverterPrivateKeyEnd> -P 22 -thumbprint d0:84:4f:34:39:c6:a3:cc:d3:32:fb:2c:75:0b:77:e4 madrian@192.168.1.54 sudo file -L /sbin/init" received error code (1) with result: sudo: no tty present and no askpass program specified
-->
2017-11-18T23:08:34.839+01:00 error vmware-converter-worker[03740] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] received an error code (1) from the ssh client that will be handled later
2017-11-18T23:08:34.839+01:00 error vmware-converter-worker[03740] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] could not determine if the source system was 32 or 64 bit; return code: 1; result: sudo: no tty present and no askpass program specified
-->
2017-11-18T23:08:35.902+01:00 warning vmware-converter-worker[03740] [Originator@6876 sub=Default] Converter::Util::SysCommandWrapper::LogResult: Command return code: 1
2017-11-18T23:08:35.902+01:00 warning vmware-converter-worker[03740] [Originator@6876 sub=Default] Converter::Util::SysCommandWrapper::LogResult: Command stderr:
--> sudo: no tty present and no askpass program specified
-->
2017-11-18T23:08:35.902+01:00 error vmware-converter-worker[03740] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin-pass-and-key <ConverterPrivateKeyEnd> -P 22 -thumbprint d0:84:4f:34:39:c6:a3:cc:d3:32:fb:2c:75:0b:77:e4 madrian@192.168.1.54 sudo uname -m" received error code (1) with result: sudo: no tty present and no askpass program specified
-->
2017-11-18T23:08:35.902+01:00 error vmware-converter-worker[03740] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] received an error code (1) from the ssh client that will be handled later
2017-11-18T23:08:35.902+01:00 error vmware-converter-worker[03740] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] could not determine if the source system was 32 or 64 bit; return code: 1; result: sudo: no tty present and no askpass program specified
-->
2017-11-18T23:08:35.902+01:00 error vmware-converter-worker[03740] [Originator@6876 sub=Default] Sysinfo Query with sudo failed with error [Converter Agent SysinfoQuery] could not determine if the source system was 32 or 64 bit; return code: 1; result: sudo: no tty present and no askpass program specified
-->
2017-11-18T23:08:35.903+01:00 info vmware-converter-worker[03740] [Originator@6876 sub=Default] Scheduled timer canceled, StopKeepAlive succeeds
2017-11-18T23:18:11.494+01:00 error vmware-converter-worker[06092] [Originator@6876 sub=Ufa.HTTPService] Failed to read request; stream: <io_obj p:0x01852dfc, h:-1, <pipe '\\.\pipe\vmware-converter-worker-soap'>, <pipe '\\.\pipe\vmware-converter-worker-soap'>>, error: class Vmacore::TimeoutException(Operation timed out)
2017-11-18T23:18:36.133+01:00 info vmware-converter-worker[05912] [Originator@6876 sub=Default] [Converter.Worker.DiagnosticManagerImpl] Generating LogBundle.
Hi,
Just to be sure , I need another screenshot of your VM settings.
Please Edit Settings your VM and point to the vmdk and capture the screen. (if there is more then 1 vmdk capture each of the vmdk )
Thanks.
Yesterday I was invited by VMWare to carry out an incremental update for the version of VMWare that I have on my MacBook Air. The Virtual machine runs windows 10.
After completing the update, which had the graphics go 'fuzzy' during the upgrade, the Windows 1o that is installed does not run particularly quickly. Can you please tell me how to sort out the problem. Ultimately I could uninstall VMWare and reinstall via Time Machine but I am currently loath to do so.
Try to unregister the VM from your inventory ,
if that wont help, try remove (without dekete) the vmdk and add as a new existing and point to the vmdks you have removed.
I am getting a couple of errors I was hoping to get some opinions on.
License Section:
In my script I get an entityId error when the licensing section runs, but if I try this same syntax without the variables by typing directly into the PS window - it executes fine.
foreach ($vmhost in $vmhost_array) { Write-Host "Adding New Host - " $vmhost "to vCenter..." Add-VMHost $vmhost -Location $cluster -User $user -Password $passwd -RunAsync -force:$true | Out-Null Write-Host "Adding License to New Host - " $vmhost "..." Set-VMHost -VMHost $vmhost -LicenseKey $esx_license | Out-Null }
Set-VMHost : 11/18/2017 5:56:54 PM Set-VMHost A specified parameter was not correct: entityId
At C:\Documents\PowerCLI\Config.ps1:24 char:1
+ Set-VMHost -VMHost $vmhost -LicenseKey $esx_license | Out-Null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-VMHost], InvalidArgument
+ FullyQualifiedErrorId : ViCore_ComputeResourceServiceImpl_UpdateHostLicense_ServerError,VMware.VimAutomation.ViCore.Cmdlets.Commands.SetVMHost
DVUplink Section:
I get the error for this section of the script but it actually configures the port groups as expected. I have also noticed that if a DVSwitch is created via GUI the uplinks are named "Uplink 1" and "Uplink 2" respectively but if the DVSwitch is created via PowerCLI then the uplinks are named "dvUplink1" and "dvUplink2" respectively. Any thoughts on whats causing the false positive? Or is it even a false positive?
Write-Host "Creating vMotion Port Group for" $vds_name "..." New-VDPortgroup -VDSwitch $vds_name -Name $esx_vmotion_PG -VlanId 6 | Out-Null Write-Host "Setting vMotion Port Group Teaming Policy..." Get-VDPortgroup $esx_vmotion_PG | Get-VDUplinkTeamingPolicy | Set-VDUplinkTeamingPolicy -ActiveUplinkPort "dvUplink1" -StandbyUplinkPort "dvUplink2" -UnusedUplinkPort "dvUplink3","dvUplink4" -LoadBalancingPolicy ExplicitFailover | Out-Null
Set-VDUplinkTeamingPolicy : 11/18/2017 5:57:35 PM Set-VDUplinkTeamingPolicy A specified parameter was not correct: spec.uplinkTeamingPolicy.uplinkPortOrder.activeUplinkPort. The activeUplink
PortName value :
dvUplink1 is not valid in the spec.uplinkTeamingPolicy.uplinkPortOrder.activeUplinkPort.
At C:\Documents\PowerCLI\Config.ps1:51 char:64
+ ... ingPolicy | Set-VDUplinkTeamingPolicy -ActiveUplinkPort "dvUplink1" - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-VDUplinkTeamingPolicy], VimException
+ FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomation.Vds.Commands.Cmdlets.SetVDUplinkTeamingPolicy
My point is there is a newer version of the host client available here and before attempting to troubleshoot further, you should update your version in case this was an addressed issue.
thank you very much!
Thank you for a solid fix!
In the filter spec, we can provide a parent ID with which to search for objects. Can that go the other way?
For instance, if we have the following folder structure
If I execute a GET against https://server/rest/vcenter/folder?filter.names=foo, three objects are returned. Can I get either the parent object from those, or some how walk the tree back up to see what the path is?
Which PowerCLI version are you using?
And which vSphere/ESXi version?
木有人回复。。。。。。。
PowerCLI 6.5.1 build 5377412
vSphere 6.5U1
excellent.
Thankyou for helping clear that up.
Thats great - thank you. That is exactly what I need.
Looks like they still don't allow the description - that would be helpful.
it is possible. Few examples are provided in the below knowledge base
Got it all resolved tonight - what a learning experience!
I will capture all screen and related items and post as soon as I'm able so that it might help someone else avoid all the frustrations I encountered during this process. .
Ah yes....I forgot about that.
Will try in the lab.
Thank you.
Rob