VMware Cloud Community
kevo12
Enthusiast
Enthusiast
Jump to solution

PowerCLI and tech support mode

I am stumped here. I have tech support mode enabled (VMkernal.Boot.techSupportMode is enable) and the boxes have been rebooted. Yet when I query TSM from powercli, i dont see any evidence of it..

[vSphere PowerCLI] C:\> get-vmhost ESX_srv | get-vmhostservice

Key                  Label                          Policy     Running  Require
                                                                       
---                  -----                          ------     -------  -------
ntpd                 NTP Daemon                     automatic  True     False
vmware-vpxa          VMware vCenter Agent           automatic  True     False

Also, using the VI client, I do not see the TSM as depicted in the info from below link. All i see is the above services listed.

http://www.van-lieshout.com/2011/01/esxi-tech-support-mode/

Also, I've used the info in the below link to verify that TSM is enabled, and all looks right. I dont understand why i cannot see TSM.

http://www.virtu-al.net/2010/03/01/powercli-technical-support-mode/

It looks like i have TSM enable, but why cant i see it..?

Any help is appreciated.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Yes, that's what KB1017910 seems to confirm.


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

View solution in original post

0 Kudos
5 Replies
DSTAVERT
Immortal
Immortal
Jump to solution

TSM has a timeout value. Only if the timeout value is set to 0 will it survive a reboot.

-- David -- VMware Communities Moderator
LucD
Leadership
Leadership
Jump to solution

You can check this timeout value like this

Get-VMHost | Select Name,@{N="TSMTimeOut";E={(Get-VMHostAdvancedConfiguration -VMHost $_)["UserVars.TSMTimeOut"]}}

If you have a mix of ESX and ESXi in your environment, you can limit the query to the ESXi hosts like this

Get-VMHost | where {$_.Extensiondata.Config.Product.ProductLineId -eq "embeddedEsx"} | `
Select Name,@{N="TSMTimeOut";E={(Get-VMHostAdvancedConfiguration -VMHost $_)["UserVars.TSMTimeOut"]}}


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

kevo12
Enthusiast
Enthusiast
Jump to solution

Thanks for the response and sorry for my delay in getting back.

I think my issue is that my esxi host are version 4.0 (not 4.1). The "UserVars.TSMTimeOut" is not present on my host and from what im seeing, it's looking like enabling TSM mode remotely is something that requires version 4.1.

Does that sounds correct?

thanks,

Kevin

0 Kudos
LucD
Leadership
Leadership
Jump to solution

Yes, that's what KB1017910 seems to confirm.


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

0 Kudos
kevo12
Enthusiast
Enthusiast
Jump to solution

Sorry for the wild goose chase. At the time that i made the post, I thought these host were at 4.1

Thanks again for the response!

Kevin

0 Kudos