Skip to main content

vSAN Reset

1- Upload the attached script to the vCenter via sftp.

2- Access the vCenter via ssh and enable ssh shell:
- Log in as an administrative user, such as root.
- Type shell.set --enabled true and press Enter.
- Type shell and press Enter.

3- Make sure the script is executable:
# chmod +x erase_fileservice_config.py

4- Run the script:
# python ./erase_fileservice_config.py -U '[email protected]' -P 'vCenter_password' -u 'root' -p 'root_password' -d 'VxRail-Datacenter' -c 'VxRail-Virtual-SAN-Cluster-xxxxxxxxxxxxxxxxxxxxxxxxxx'

The script parameters:
-U vcUser
-P vcPassword
-u esxUser
-p esxPassword
-d datacenterName
-c clusterName

I extracted some of the parameters from the logs. If any of them is wrong please change it.

5- Wait until the script returns "Erase file service config complete" then try to reconfigure the file service again.
6- If it fails again, please collect new logs from the hosts and their managing vCenter then upload to SR.

python ./erase_fileservice_config.py -U '[email protected]' -P 'CHANGEME!' -u 'root' -p 'CHANGEME!' -d 'SnowLab' -c 'CL01'