Place both files attached to this FAQ in the directory that PCNS is installed in (e.g. C:\Program Files\APC\PowerChute\group1 on Windows).

vSAN_shutdown.bat

vSAN_shutdown_macro.ttl

Confirm or modify the file-path in "vSAN_shutdown.bat"

Modify the configurations in vSAN_shutdown_macro.ttl to match your system configuration

Num=3 (Number of ESXi hosts)

ESXi_HOST_IP[1] = '192.168.0.212' (Input all ESXi hosts from [1])

UserName = 'root' (Input username to log into all ESXi Hosts)

Password = 'root' (Input password to log into all ESXi Hosts)

Set "vSAN_Shutdown.bat" as the Shutdown command file in PCNS.

Note:

It is preferred to add each host as known host manually through tera terminal tool.

Script outputs the simplified logs(vSAN_shutdown_log.txt) in the location "C:\Program Files\APC\PowerChute\group1" can be used for troubleshooting.

It is preferred to estimate and provide enough time for each host to run the commands.

There may be an inconsistency in the sequence of events in the Task Console of the vCenter Web Client. It can appear that the host has entered maintenance mode after the host shutdown has been initiated.