Skip to content
Luca Dell'Oca Principal Cloud Architect @Veeam
Virtual To The Core Virtual To The Core

Virtualization blog, the italian way.

  • Media
  • About me
Virtual To The Core
Virtual To The Core

Virtualization blog, the italian way.

Killare una VM bloccata

Luca Dell'Oca, July 8, 2009December 4, 2016

Ieri ho ultimato un training presso un cliente. Durante alcune prove, la virtual machine su cui era installato Virtual Center ha smesso di funzionare. Ovviamente non era più possibile raggiungerla ne attraverso remote desktop, ma neanche passando dal singolo esx che l’aveva in esecuzione in quel momento; il tentativo da VI Client di effettuare un reset era fermo anch’esso al 95%, evidentemente in stallo.

Che fare? killiamo la vm da service console :-))) Ecco i passaggi da eseguire come root:

  • vm-support -x e otteniamo una lista simile:

VMware ESX Server Support Script 1.29
Available worlds to debug:

vmid=1078       pbvsvc1
vmid=1084       pbvssms1
vmid=1092       exchange
vmid=1110       pbvsev1
vmid=1117       pbvsbes
vmid=1122       pbvsisa

  • la macchina che ci interessava era pbvsvc1, con id 1078
  • less -S /proc/vmware/vm/1078/cpu/status dove 1078 è il numero recuperato nel primo passaggio. Scorriamo verso destra la schermata fino a trovare una colonna group e il valore vm.1077
  • /usr/lib/vmware/bin/vmkload_app -k 9 1077

In questo modo abbiamo completamente arrestato la VM incriminata, senza compromettere i dati contenuti nel datastore ne causare altri problemi.

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
Tecnologia killvm bloccata

Post navigation

Previous post
Next post

Search

Sponsors

Latest Posts

  • Migrate WSL (Windows Subsystem for Linux) to a new computer
  • Pass keystrokes to a pfSense virtual machine to install it automatically
  • Automatically deploy pfSense with Terraform and Ansible
  • My Automated Lab project: #6 Create a S3 Bucket with Terraform
  • My Automated Lab project: #5 Deploy a Linux vSphere VM with Terraform and custom disks
©2025 Virtual To The Core | WordPress Theme by SuperbThemes
We use cookies to ensure that we give you the best experience on our website, and to collect anonymous data regarding navigations stats using 3rd party plugins; they all adhere to the EU Privacy Laws. If you continue to use this site we will assume that you are ok with it.OkNoPrivacy Policy