VMware Cloud Community
steve31783
Enthusiast
Enthusiast

Turn off vsantrace using powercli

Hello everyone,

Is there an easy way to disable vsantraced on all hypervisors in a vCenter, using powercli?

VMware KB: Unmounting a datastore used for Host Cache on ESXi 5.5 fails with the error: Cannot unmou...

http://www.running-system.com/unmounting-a-datastore-fails-with-an-error-because-of-vsan-traces/

We are not using VSAN, but running into issues during array migrations due to datastores that cannot be unmounted. Logging into each ESXH host via SSH would be pretty painful.

Reply
0 Kudos
2 Replies
LucD
Leadership
Leadership

Afaik, there is no easy way with PowerCLI to do the chkconfig command.

You could SSH into the ESXi host with plink.exe, and execute the chkconfig line via the SSH session.

There are ample samples in this community on how to use plink.exe


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

steve31783
Enthusiast
Enthusiast

Fair enough.... this is the route we were looking. Thanks for confirming! 

Reply
0 Kudos