VMware Cloud Community
technorock
Contributor
Contributor
Jump to solution

VI Toolkit with ESX 2.5.x

New to VI toolit and powershell but can really see some great benifits so want to learn more.

When trying Get-Viserver <hostname> - cannot connect to 2.5.x host

I beleive this is because 2.5.x uses SSH authentication and not http/https, not sure if this may also be because hosts security settings are set to high in MUI. Changed to low and restarted httpd but yet again no joy.

Is this a pure case that VI Toolkit does not support connectivity to ESX 2.5.x? Any help or advice gladly accepted.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Oops, misread the 2.5 for 3.5

Sorry about that.

The VI Toolkit release notes do not mention ESX 2.5.x.

So I'm afraid it will not be possible.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
5 Replies
LucD
Leadership
Leadership
Jump to solution

The VI Toolkit requires an authenticated session with the VC before you can use cmdlets on other objects in the VI.

You should do something like this

Get-VIServer -Server <VC-server>
Get-VMHost -Name <ESX-server>

The 2nd cmdlet can "connect" to an ESX 3.5.x server without any problem.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
technorock
Contributor
Contributor
Jump to solution

LucD,

Thanks for that but sadly this is a connection issue to ESX 2.5.x and not 3.5.

To add more info, i am trying to connect to VC as LucD mentioned and switched on -debug which gave following information:

"Network connectivity error occured. Please verify that the network address and port are correct"

0 Kudos
LucD
Leadership
Leadership
Jump to solution

Oops, misread the 2.5 for 3.5

Sorry about that.

The VI Toolkit release notes do not mention ESX 2.5.x.

So I'm afraid it will not be possible.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
halr9000
Commander
Commander
Jump to solution

I can confirm that only 3.0x, 3.5, and 3i are supported. 2.x used a different API.

Hal Rottenberg

Co-Host, PowerScripting Podcast (http://powerscripting.net)

My signature used to be pretty, but then the forum software broked it. vExpert. Microsoft MVP (Windows PowerShell). Author, Podcaster, Speaker. I'm @halr9000
admin
Immortal
Immortal
Jump to solution

Correct. The toolkit does not support connecting to ESX hosts before 3.0. You're not necessarily completely out of luck, though, if you're managing them through a VirtualCenter server that is 2.0 or later (VC 2.0 and 2.5 do support ESX 2.5.x). If so, connect to the VC server and use the cmdlets through VC rather than direct to the host. If you have use cases where this doesn't work for some reason, we'd be interested in hearing about them.

0 Kudos