VxRail Console Commands
Find missing disks
curl --unix-socket /var/lib/vxrail/nginx/socket/nginx.sock -H "Content-Type: application/json" http://127.0.0.1/rest/vxm/internal/do/v1/host/query [127.0.0.1] -d '{"query":"{configuredHosts{name,hardware{disks{sn slot baseline {sn slot isMissing}}}}}"}' | jq | grep -i -B5 "isMissing.*true"
Update disk information
curl -X POST --unix-socket /var/lib/vxrail/nginx/socket/nginx.sock http://127.0.0.1/rest/vxm/internal/do/v1/hosts/baseline-update [127.0.0.1] -H 'Content-Type: application/json' -d '[{"hostname":"", "username":"root","password":"", "update_disk":true}]'
Restart VxRail Manager services
systemctl restart vmware-marvin
systemctl restart runjars
Change disk serial number on host
- SSH to problematic host.
- Find vxnode.config file – Likely at: “/vmfs/volumes/DE600220354755-01-01-service-datastore1/vxrail-datastore/vxnode_config/vxnode.config”)
Else you can find that with “find / -iname vxnode.config”, the correct config file will be under the hosts local datastore. - Utilising text editor vi you can modify the config file, update disk 0 to contain the new serial number for the disk in question.
Restart VxRail platform service on host
/etc/init.d/vxrail-pservice restart