Author Topic: Can't create cluster for HA  (Read 1782 times)

Gilberto Ferreira

  • Zen Hero
  • *****
  • Posts: 516
  • Karma: +12/-1
    • View Profile
Can't create cluster for HA
« on: March 14, 2014, 12:01:16 am »
Hi folks...

I'm trying to deploy HA services but no success.

I have two server with Zentyal 3.4, with last updates.
I have named they like server-a and server-b

Both have two nic's:

server-a

NIC WAN - DHCP - External

NIC LAN - FIXED IP - 10.0.0.251

server-b

NIC WAN - DHCP - External

NIC LAN - FIXED IP - 10.0.0.252

I am following this tutorial: http://labs.zentyal.org/high-availability-in-zentyal/

When I try build the cluster, everything seems to be ok, but when I go to status tab, I see the error like screens bellow...

After I deploy cluster, server-a that will be Master Server (I guest), I received this message:

An internal error related to a template has occurred. This is a bug, relevant information can be found in the logs.

So, I need restar the server in order to be able to access HA system...

What am I doing wrong??

Thanks




sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Can't create cluster for HA
« Reply #2 on: March 14, 2014, 08:36:21 am »
Hello Gilberto,

Could you attach the /var/log/zentyal/zentyal.log file for the internal server error? The 10.0.0.0/24 LAN interfaces shouldn't have any firewall restrictions to make it work.

Thanks very much for your feedback!
My secret is my silence...

Gilberto Ferreira

  • Zen Hero
  • *****
  • Posts: 516
  • Karma: +12/-1
    • View Profile
Re: Can't create cluster for HA
« Reply #3 on: March 19, 2014, 06:39:24 pm »
Hello Gilberto,

Could you attach the /var/log/zentyal/zentyal.log file for the internal server error? The 10.0.0.0/24 LAN interfaces shouldn't have any firewall restrictions to make it work.

Thanks very much for your feedback!

Hello Sixstone

Sorry for the delay in answer your post.
I'm now trying new brand 3.4 and seems that errors still exist... I thought the error just happened with beta version...
But still here...

I'll try reproduce it and send the logs later...

Thanks

Gilberto Ferreira

  • Zen Hero
  • *****
  • Posts: 516
  • Karma: +12/-1
    • View Profile
Re: Can't create cluster for HA
« Reply #4 on: March 19, 2014, 06:52:59 pm »
Just to make a follow up, I am using VirtualBox with two VM, both with 768 MB of RAM, and two NIC's.
Perhaps if I try with 1 GB of RAM things works??

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Can't create cluster for HA
« Reply #5 on: March 19, 2014, 10:03:52 pm »
Hi,

There is a patch that may help with the internal server error [1].

With regards to the non-possibility of reaching each other, the main culprit is usually the firewall, check the connections between both are bypassed by the firewall.

Best regards,

[1] https://github.com/Zentyal/zentyal/pull/1189
My secret is my silence...

Gilberto Ferreira

  • Zen Hero
  • *****
  • Posts: 516
  • Karma: +12/-1
    • View Profile
Re: Can't create cluster for HA
« Reply #6 on: March 19, 2014, 10:06:51 pm »
Hi,

There is a patch that may help with the internal server error [1].

With regards to the non-possibility of reaching each other, the main culprit is usually the firewall, check the connections between both are bypassed by the firewall.

Best regards,

[1] https://github.com/Zentyal/zentyal/pull/1189

Thanks...

I open a ticket regard that bug:

https://tracker.zentyal.org/issues/371


sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Can't create cluster for HA
« Reply #7 on: March 29, 2014, 11:07:38 am »
Hi Gilberto,

We are adding a new integration between firewall and HA module to ease the configuration of a cluster with firewall. In the meantime, add a firewall rule in Internal networks to Zentyal section to allow traffic from each other node.

Stay tuned!
My secret is my silence...