Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: Gilberto Ferreira on March 14, 2014, 12:01:16 am

Title: Can't create cluster for HA
Post by: Gilberto Ferreira 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


Title: Re: Can't create cluster for HA
Post by: peterpugh on March 14, 2014, 01:08:47 am
https://forum.zentyal.org/index.php/topic,20757.msg80362.html#msg80362

https://forum.zentyal.org/index.php/topic,20921.0.html
Title: Re: Can't create cluster for HA
Post by: sixstone 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!
Title: Re: Can't create cluster for HA
Post by: Gilberto Ferreira 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
Title: Re: Can't create cluster for HA
Post by: Gilberto Ferreira 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??
Title: Re: Can't create cluster for HA
Post by: sixstone 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
Title: Re: Can't create cluster for HA
Post by: Gilberto Ferreira 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

Title: Re: Can't create cluster for HA
Post by: sixstone 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!