I would like to autostart remus when my dual cpu platform(A & B) system boots up, instead of invoking it manually from the command line.
My Xen HVM domU is a xend managed domain and starts up automatically on A when A boots up.
I thought I had found a way of auto starting "remus -i 100 VM B > /dev/null 2>&1" from within a bash script. This bash script (called from within /ect/xen/vif-bridge) would wait for domstate of VM to become idle, and then start remus. I thought I could do this beceause /etc/xen/scripts/vif-bridge is always called whenever a xend managed domU is started.
The VM starts up fine on A on bootup, but freezes after a few seconds after remus has been invoked. The VM domstate bceomes either shutoff or it becomes stateless. If I destroy the VM on B (always in paused state as expected) the VM on A starts running again (idle state).
Has anyone tried this or something similar before? Is there a better way?