Guest User!

You are not Sophos Staff.

[NOTABUG] [7.386] Setting 2 nodes as cluster actif/actif does not work (properly) ?

Hi

I've just installed 2 news asg into 2 differents VMs both with 4 interfaces and bridged at VM level...
both astaro are working fines independantly... then I go in HA to set:

- for asg1:
operation mode: cluster actif/actif
sync interface: eth0
device name: asg1
device node id: 1
encryption key: ...
repeat: ...

so asg1 is becoming MASTER

- then on asg2 (I intentionnaly test that way):
operation mode: cluster actif/actif
sync interface: eth0
device name: asg2
device node id: 2
encryption key: ... (same as on asg1)
repeat: ...

then when connecting on asg1 I get first snapshot with only one line for asg1 MASTER then on system status I get 2 nodes... I think there is something wrong with HA detection/statuses ?

when on the asg1 console I get a  prompt and when on asg2 I get a  prompt

maybe related to that bug from CraigD ?

[7.385] Did something change for HA, can't get it to work?

thx
Parents Reply Children
  • have you tried to disable HA then manually Update the Astaros to the same Firmware Verson (7.386) and then enable HA again if this fix the error?
  • Ok seems there is an connectivity error. Slave can see the Master,
    however Master has now knowledge of the Slave.

    Slave probably hangs in the state of validating the HA secret key.

    Can you try to ping the HA Master from Slave node?
    ping 198.19.250.1
  • have you tried to disable HA then manually Update the Astaros to the same Firmware Verson (7.386) and then enable HA again if this fix the error?


    will do.. but how can we be sure it will be done correctly when 7.400 will be final.. as upgrade is supposedly supported that way ! [:)]

    thx
  • Thought about it again and found probably the error:

    VMware disables Ethernet interfaces in case of mac address conflicts.
    Official ASG VMware images have for each Ethernet interface this line
    in the vmware vmx configuration file:

    ethernet0.ignoreMACAddressConflict = "TRUE"

    Please add this line for each Ethernet interface, replace ethernet0 with ethernet1 etc...

    ASG HA/Cluster adds virtual MAC addresses on each interface,
    which are equal on all HA/Cluster nodes.
  • Thought about it again and found probably the error:

    VMware disables Ethernet interfaces in case of mac address conflicts.
    Official ASG VMware images have for each Ethernet interface this line
    in the vmware vmx configuration file:

    ethernet0.ignoreMACAddressConflict = "TRUE"

    Please add this line for each Ethernet interface, replace ethernet0 with ethernet1 etc...

    ASG HA/Cluster adds virtual MAC addresses on each interface,
    which are equal on all HA/Cluster nodes.


    oups sorry this is not VMware VMs... but Citrix XenServer VMs (xenserver 5.0 express edition) which is to me far better than vmware [:)]
    I think first times I tested cluster active/active with 7.200 or 7.300 (I did not remember actually...) that was working fine on a xenserver 4.1...
    but I'm setting up 2 news VMs which will be exact same version 7.386 and will test with 7.305 if it's not working with 7.386 and will let you know..

    thx
  • ok I've setup 2 new astaro 7.386 with cluster active/active as described earlier...

    and I get asg2 as WORKER with state UNINITIALIZED and asg1 ACTIVE when runing hs on asg2.
    and only asg1 as MASTER with state ACTIVE when running hs on asg1

    what does mean UNINITIALIZED ? can I run anything manually to update the state ?

    thx
  • i have looked at your config and you use eth0 as sync interface. have you tried to use eth1 or something else as sync interface? In my Enviroment i have setup eth0 as WAN Interface eth1 as LAN Interface and eth2 as sync Interface (not shown in Network/Interface Tab) and all seems to work fine
  • ok this is really a problem with the 7.400 beta !!!!!

    I did install 7.305 and did configuration exactly the same way as I did for 7.386 and this is working fine with 7.305 (with same hardware, same xenserver, and same way of configuration) whereas it still does not work with 7.386 !!!!!

    so this is really a BUG for 7.400 betas [:(]

    note1: during my tests of course only both astaro 7.305 were running, and when tested with 7.386 only both 7.386 astaro were running
    edit1: after one day configuration for 7.386 active/active cluster all things still at same state ! when executing hs I have only one line for asg1 ACTIVE on asg1, and asg1 ACTIVE and asg2 UNINITIALIZED on asg2
  • Is it possible to get ssh access to the Master Node?

    have you tried to ping each nodes? e.g. ping 198.19.250.1
  • Is it possible to get ssh access to the Master Node?

    have you tried to ping each nodes? e.g. ping 198.19.250.1


    I can't ping anything from the asg2, I get Operation not permitted.. I've also tried to add eth3 manually through console and set an ip for it with same result...

    I'm about to PM infos to connect to both astaro...

    thx