promblem with HA

  • Thread starter Thread starter murlok
  • Start date Start date
M

murlok

Guest
Hello everyone,

We want to solve the problem with HA but we're not going. Since everything is configured as in further cluster.conf file but just installed my machine does not exceed the second node when the second node failures. Do you know how to solve the problem?

Code:
<?xml version="1.0"?><cluster config_version="16" name="CLA1">
  <cman keyfile="/var/lib/pve-cluster/corosync.authkey"/>
  <fencedevices>
    <fencedevice agent="fence_rsa" ipaddr="ip-address" login="rsa2_user" name="NODE1" passwd="password"/>
    <fencedevice agent="fence_rsa" ipaddr="ipaddress-2" login="rsa2_user" name="NODE2" passwd="password"/>
  </fencedevices>
  <clusternodes>
    <clusternode name="HA-node1" nodeid="1" votes="1">
      <fence>
        <method name="1">
          <device action="reboot" name="NODE1"/>
        </method>
      </fence>
    </clusternode>
    <clusternode name="HA-node2" nodeid="2" votes="1">
      <fence>
        <method name="1">
          <device action="reboot" name="NODE2"/>
        </method>
      </fence>
    </clusternode>
  </clusternodes>
  <rm>
    <pvevm autostart="1" vmid="101"/>
  </rm>
</cluster>
 
OK, when I do "/ etc / init.d / rgmanager stop" installed host AUTOMATIC cross without problems on another node, but when you put it out (do halt system - one node), the host simply does not move to another node. I can't understand the problem... I worked according to the instructions.
 
no, without 3 nodes. Only 2-node configuration.

thats what I want to point out. you need 3 nodes or you need to take additional steps as described in the wiki. but generally we never recommend to go with a two node setup.
 
Yeah, but I thought I would do that with two nodes. btw, I tested it and the fence RSA2 map, and the test was successful. Do you have any suggestions?
 
but you did not follow the wiki regarding two node setup. read this howto again.

but the suggestions is still 3 nodes.