Tag: mgmt-vmware
Lost connection to ESX host from VirtualCenter
Sometimes, you can lost the connection to an ERSX host from the VirtualCenter.
If you have no problem on your network or on your ESX host, you can connect to your ESX host and type the following command :
service mgmt-vmware restart
service vmware-vpxa restart
NOTE : Issuing this command, you may have this output on the console :
[root@server]# service mgmt-vmware restart
Stopping VMware ESX Server Management services:
VMware ESX Server Host Agent Watchdog [ OK ]
VMware ESX Server Host Agent [ OK ]
Starting VMware ESX Server Management services:
VMware ESX Server Host Agent (background) [ OK ]
Availability report startup (background) [ OK ]
[root@server]# service vmware-vpxa restart
Stopping vmware-vpxa: [ OK ]
Starting vmware-vpxa: [ OK ]
[root@server]#
VMWare ESX ed HA (An error occured during configuration of the HA Agent on the host)
Ecco la mia esperienza su VMWare ed il servizio di HA.
Capita, gestendo un cluster ESX , di trovare durante la normale amministrazione il fatidico messaggio che il Servizio di HA non è correttamente configurato.
Durante la mia esperienza, ho potuto notare come , se non sono state effettuata modifiche ai file di configurazione e se le varie raccomandazioni sono rispettate (vedi /etc/resolv.conf /etc/hosts ecc. ecc.) si puo tentare la seguente strada :
service mgmt-vmware restart
service vmware-vmkauthd restart
Il primo comando lo potete eseguire tranquillamente anche su host in cui le VM stanno girando. Dal VC l’host ESX su cui è stato eseguito andrà in stato di “non trovato” per poi svegliarsi poco dopo.
Il secondo camando, ho provato ad eseguirlo su un host, spegnendo tutte le macchine ad eccezioni di una, e non ha segnalato problemi, mantenendo anche in questo caso la VM accesa.
Come raccomandazione generale, se avete abbastanza risorse e tempo, consiglio comunque di migrare le macchine fuori dagli host per i queli si deve eseguire il comando (tutti a rotazione).
Buona Fortuna












