Version 5 vs 6
Version 5 vs 6
Content Changes
Content Changes
When the monitor if the VM is off, you can ssh to the host machine to see if the host machine is not turn off accidentally.
If the host machine is on(which means that you can ssh to it), you can check the status of the corresponding VM by :
``` lang=bash
# systemctl status hmux@ecc-(Lab)-(Machine Number)
$ systemctl status hmux@ecc-a-09
```
``` lang=bash
# socat - UNIX-CONNECT:/var/run/qemu/ecc-(Lab)-(Machine Number)/monitor
$ socat - UNIX-CONNECT:/var/run/qemu/ecc-a-09/monitor
```
IMPORTANT: In socat, do not just quit using the {key q} or type in `quit` because that will completely shutdown the virtual machine. Use {key Ctrl C} to exit the current session.
When the monitor if the VM is off, you can ssh to the host machine to see if the host machine is not turn off accidentally.
If the host machine is on(which means that you can ssh to it), you can check the status of the corresponding VM by :
``` lang=bash
# systemctl status hmux@ecc-(Lab)-(Machine Number)
$ systemctl status hmux@ecc-a-09
```
``` lang=bash
# socat - UNIX-CONNECT:/var/run/qemu/ecc-(Lab)-(Machine Number)/monitor
$ socat - UNIX-CONNECT:/var/run/qemu/ecc-a-09/monitor
```
if the vms are not repsonding after the the host restated
/var/qemu/unbind.sh
restart vms
IMPORTANT: In socat, do not just quit using the {key q} or type in `quit` because that will completely shutdown the virtual machine. Use {key Ctrl C} to exit the current session.
When the monitor if the VM is off, you can ssh to the host machine to see if the host machine is not turn off accidentally.
If the host machine is on(which means that you can ssh to it), you can check the status of the corresponding VM by :
``` lang=bash
# systemctl status hmux@ecc-(Lab)-(Machine Number)
$ systemctl status hmux@ecc-a-09
```
``` lang=bash
# socat - UNIX-CONNECT:/var/run/qemu/ecc-(Lab)-(Machine Number)/monitor
$ socat - UNIX-CONNECT:/var/run/qemu/ecc-a-09/monitor
```
if the vms are not repsonding after the the host restated
/var/qemu/unbind.sh
restart vms
IMPORTANT: In socat, do not just quit using the {key q} or type in `quit` because that will completely shutdown the virtual machine. Use {key Ctrl C} to exit the current session.