• About me…
  • VMware
  • Powershell
  • DIY

ConfigMgr.nl

VMware, PowerShell, Automation, and more…

  • About me…
  • VMware
  • Powershell
  • DIY

VxRail Console Commands

11 mei 2023 Solutions VMware

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

  1. SSH to problematic host.
  2. 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.
  3. 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
commandvxrail

VxRail Cluster Health Monitoring disabled

VCDA - Operation canceled

Recente berichten
  • VCF pre-check error installing async patch
  • Connecting to Cloud Director using API Token
  • Bringing Cloud Director resources under the control of Terraform
  • Cloud Director VAMI Setup – NFS Errors
  • VCDA – Operation canceled
Twitter feed is not available at the moment.
Categorieën
Proudly powered by WordPress | Theme: Doo by ThemeVS.