lab-vm: (simulator) the hypervisor console for the lab VMs
lab-vm list | start NAME... | stop NAME...
Options you will use
list- every lab VM, its state and IP
start NAME...- power on (it boots; sshd answers after ~15 s)
stop NAME...- pull the power: no clean shutdown, like a host failure
Examples
$ lab-vm stop ha-cp-3lose one control-plane node
$ lab-vm start ha-cp-3bring it back
Gotchas
- Not a real command: on real infrastructure this is the cloud console, virsh or the BMC.
- Inside a VM,
sudo poweroffworks too.
Taught in
Try lab-vm in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.