ConfigMgr

VMware, Azure and Automation

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

Recent Posts

  • Using API for Aria OPS Chargeback
  • Unable to set reservation on Org VDC
  • Veeam Tweaks
  • VCF Anyone? Get your license for free…
  • Configure Entra ID as Cloud Director IdP

Recent Comments

Geen reacties om te tonen.

Archives

  • april 2025
  • maart 2025
  • november 2024
  • oktober 2024
  • januari 2024
  • november 2023
  • oktober 2023
  • september 2023
  • juni 2023
  • mei 2023
  • april 2023
  • november 2022
  • maart 2021
  • februari 2021
  • januari 2021
  • november 2020
  • oktober 2020
  • september 2020
  • juli 2020
  • juni 2020
  • april 2020
  • maart 2020
  • februari 2020
  • oktober 2019
  • september 2019
  • juli 2019
  • juni 2019
  • mei 2019
  • maart 2019
  • februari 2019
  • januari 2019
  • december 2018
  • november 2018
  • april 2018
  • januari 2018
  • juli 2017
  • juni 2017
  • mei 2017

Categories

  • AnyLinq
  • Azure
  • Cloud Director
  • ConfigMgr
  • DIY
  • HomeAssistant
  • Microsoft
  • PowerCli
  • Powershell
  • SCCM
  • Script
  • Solutions
  • System Center
  • Veeam
  • VMware
  • vRealize Automation
  • vRealize Orchestrator
Proudly powered by WordPress | Theme: Doo by ThemeVS.