Host reboot and automatic VM restart with teleport support

This is for discussing general topics about how to use VirtualBox.
Post Reply
mk1970
Posts: 1
Joined: 2. Dec 2009, 09:56
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: NetBSD, Linux, OpenBSD, Windows

Host reboot and automatic VM restart with teleport support

Post by mk1970 »

Let's assume I have the following hardware:
  • one iSCSI targets where the VM images are located
  • two text-console-only hosts with VirtualBox 3.1.x
How can I to handle this use case:
  • Reboot both host1 and host2
  • Let's assume host1 is faster to reboot
  • host1 starts vm1 automatically (how?)
  • host2 detects (how?) that vm1 is already running so it waits for a teleport request
  • Manually trigger teleport vm1 to host2
  • Reboot host1 (e.g. after system upgrade)
  • host1 detects that vm1 is already running so it waits for a teleport request
Please share your real-life examples with scripts and ready-to-run commands...
Post Reply