I created a cluster with two nodes using corosync, pacemaker, heartbeat. This is a HA cluster that host asterisk. Right now I have two resources configured, an asterisk server and a virtual ip address.
All is going smoothly but I have a deficiency. By default when node1 is up and running, the asterisk service in node2 is down. I want to keep both asterisk alive(node1, node2) and control which one is rendering the service with a virtual ip address. I need to do this because every millisecond is crucial, and I don't want to lose time starting asterisk in node2 when node1 fails