Tools can be downloaded from http://softwareupdate.vmware.com/cds/vmw-desktop/fusion/10.1.2/8502123/packages/com.vmware.fusion.tools.darwin.zip.tar
PowerCli: Reconnect Esxi host to vCenter
For instructions on how to connect to VMware PowerCLI, Follow the post here:
Change the password from vmware12! to the root password used on the environment.
Get-VMHost -state Disconnected | foreach-object {
$vmhost = $_
$connectSpec = New-Object VMware.Vim.HostConnectSpec
$connectSpec. force = $true
$connectSpec. hostName = $vmhost.name
$connectSpec. userName = 'root'
$connectSpec. password = 'vmware12!'
$vmhost. extensionData.ReconnectHost_Task( $connectSpec,$null )
}
Bash script to restart vpxd on crash
while sleep 10; do date; if service-control --status vmware-vpxd | fgrep "Running:" ; then echo Good; else date >> /tmp/vpxdcrash.log; service-control --start vmware-vpxd; fi; done