vCenter
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 'administrator@vsphere.local' -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 'administrator@vsphere.snowlab.tech' -P 'CHANGEME!' -u 'root' -p 'CHANGEME!' -d 'SnowLab' -c 'CL01'
Installing SSL Certs to vCenter / vROPs
Combine fullchain with the regular cert (name of regular cert is same as domain name) as machine SSL cert - should have 3 certs total. Regular cert up top, followed by fullchain.
Use fullchain (just fullchain) as the chain certificate
Use private key file as key
For vROPs, follow same procedure. MAKE SURE CERTS ARE IN CORRECT ORDER
vrops.crt
privkey.key
fullchain