[ClusterLabs] Cluster active/active

Dayvidson Bezerra dayvidsonbezerra at gmail.com
Sun Oct 9 04:29:03 EDT 2016


I am following the clusterlabs documentation that is for RedHat and making
adjustments to Ubuntu.

node01= 10.10.10.100 (zabbix core)
node02= 10.10.10.200 (zabbix core)
VIP= 10.10.10.250
zabbixweb= 10.10.10.2
zabbixbd= 10.10.10.1

I am having problem in zabbix core connection (node01 and node02) with
zabbixbd is coming duplicate data in the database server because the two
core is sending the same information to the database.

As the cluster is active / active wanted a way to information originated by
them also be unique and not each generate the same information and try to
add to the database because it is generating me the errors below.

2016-10-08 12:40:19 BRT [23651-1] zabbix at zabbix ERROR:  duplicate key value
violates unique constraint "events_pkey"
2016-10-08 12:40:19 BRT [23651-2] zabbix at zabbix DETAIL:  Key (eventid)=(83)
already exists.

And zabbix Server that runs on the node (01 and 02) is giving me these
errors below.

root at node02:~# tail -f /var/log/zabbix/zabbix_server.log
]
  1276:20161008:123901.007 [Z3005] query failed: [0]
PGRES_FATAL_ERROR:ERROR:  duplicate key value violates unique constraint
"events_pkey"
DETAIL:  Key (eventid)=(80) already exists.
 [insert into events (eventid,source,object,objectid,clock,ns,value) values
(80,0,0,13491,1475941141,832194,1),(81,3,0,13491,
1475941141,832194,0),(82,3,0,13574,1475941141,836284,0);
]
  1267:20161008:124019.389 enabling Zabbix agent checks on host "Zabbix
server": host became available
  1285:20161008:124019.764 [Z3005] query failed: [0]
PGRES_FATAL_ERROR:ERROR:  duplicate key value violates unique constraint
"events_pkey"
DETAIL:  Key (eventid)=(83) already exists.
 [insert into events (eventid,source,object,objectid,clock,ns,value) values
(83,0,0,13491,1475941219,390629436,0);
]


2016-10-08 22:26 GMT-03:00 Digimer <lists at alteeve.ca>:

> Can you please share the requested information?
>
> digimer
>
> On 08/10/16 07:51 PM, Dayvidson Bezerra wrote:
> > My project is to achieve a cluster zabbix active / active.
> >
> > I'm having trouble declaring zabbix service in the cluster.
> >
> > 2016-10-08 13:04 GMT-03:00 Digimer <lists at alteeve.ca
> > <mailto:lists at alteeve.ca>>:
> >
> >     Can you share your current full configuration please?
> >
> >     If you're hitting errors, please also share the relevant log entries
> >     from the nodes.
> >
> >     digimer
> >
> >     On 07/10/16 09:06 PM, Dayvidson Bezerra wrote:
> >     > The company only uses Ubuntu, and do not want another distro in
> your
> >     > environment.
> >     >
> >     > I'm scolding to solve this .. I've done active / passive cluster
> with
> >     > DRBD but active / not active.
> >     >
> >     > What I have read is about the use of pacemaker + corosync and
> using GSF2.
> >     >
> >     > Someone who has already succeeded in making active / active in
> Linux Ubuntu?
> >     >
> >     >
> >     > 2016-10-07 20:50 GMT-03:00 Digimer <lists at alteeve.ca <mailto:
> lists at alteeve.ca>
> >     > <mailto:lists at alteeve.ca <mailto:lists at alteeve.ca>>>:
> >     >
> >     >     On 07/10/16 07:46 PM, Dayvidson Bezerra wrote:
> >     >     > Hello.
> >     >     > I am wanting to set up an active / active cluster in ubuntu
> 16.04 with
> >     >     > pacemaket and corosync and following the clusterlabs
> documentation I'm
> >     >     > not getting.
> >     >     > Someone has documentation that might help?
> >     >
> >     >     Last I checked (and it's not been recently), ubuntu's support
> for HA is
> >     >     still lacking. It's recommended for people new to HA to use
> either RHEL
> >     >     (CentOS) or SUSE. Red Hat and SUSE both have paid staff who
> make sure
> >     >     that HA works well.
> >     >
> >     >     If you want to use Ubuntu, after you get a working config in
> either EL
> >     >     or SUSE, then you can port. That way, if you run into issues,
> you will
> >     >     know your config is good and that you're dealing with an OS
> issue. Keeps
> >     >     the fewest variables in play at a time.
> >     >
> >     >     Also, I don't know of any good docs for HA on ubuntu, for the
> same
> >     >     reason.
> >     >
> >     >     --
> >     >     Digimer
> >     >     Papers and Projects: https://alteeve.ca/w/
> >     >     What if the cure for cancer is trapped in the mind of a person
> without
> >     >     access to education?
> >     >
> >     >     _______________________________________________
> >     >     Users mailing list: Users at clusterlabs.org
> >     <mailto:Users at clusterlabs.org> <mailto:Users at clusterlabs.org
> >     <mailto:Users at clusterlabs.org>>
> >     >     http://clusterlabs.org/mailman/listinfo/users
> >     <http://clusterlabs.org/mailman/listinfo/users>
> >     >     <http://clusterlabs.org/mailman/listinfo/users
> >     <http://clusterlabs.org/mailman/listinfo/users>>
> >     >
> >     >     Project Home: http://www.clusterlabs.org
> >     >     Getting started:
> >     >     http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> >     <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf>
> >     >     <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> >     <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf>>
> >     >     Bugs: http://bugs.clusterlabs.org
> >     >
> >     >
> >     >
> >     >
> >     > --
> >     > /*Dayvidson Bezerra*
> >     > /
> >     > //*/Pós-Graduado em Gerenciamento de Redes - FIR-PE/
> >     > /Graduado em Redes de Computadores - FMN
> >     > /*/F: +55 81 9877-5127 <tel:%2B55%2081%209877-5127>/
> >     > /Skype: dayvidson.bezerra
> >     > //Lattes: //http://lattes.cnpq.br/3299061783823913/
> >     <http://lattes.cnpq.br/3299061783823913/> /
> >     > //Linked In:
> >     /http://br.linkedin.com/pub/dayvidson-bezerra/2a/772/bb7/
> >     <http://br.linkedin.com/pub/dayvidson-bezerra/2a/772/bb7/>
> >     > /
> >     >
> >     >
> >     > _______________________________________________
> >     > Users mailing list: Users at clusterlabs.org
> >     <mailto:Users at clusterlabs.org>
> >     > http://clusterlabs.org/mailman/listinfo/users
> >     <http://clusterlabs.org/mailman/listinfo/users>
> >     >
> >     > Project Home: http://www.clusterlabs.org
> >     > Getting started:
> >     http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> >     <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf>
> >     > Bugs: http://bugs.clusterlabs.org
> >     >
> >
> >
> >     --
> >     Digimer
> >     Papers and Projects: https://alteeve.ca/w/
> >     What if the cure for cancer is trapped in the mind of a person
> without
> >     access to education?
> >
> >     _______________________________________________
> >     Users mailing list: Users at clusterlabs.org <mailto:
> Users at clusterlabs.org>
> >     http://clusterlabs.org/mailman/listinfo/users
> >     <http://clusterlabs.org/mailman/listinfo/users>
> >
> >     Project Home: http://www.clusterlabs.org
> >     Getting started:
> >     http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> >     <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf>
> >     Bugs: http://bugs.clusterlabs.org
> >
> >
> >
> >
> > --
> > /*Dayvidson Bezerra*
> > /
> > //*/Pós-Graduado em Gerenciamento de Redes - FIR-PE/
> > /Graduado em Redes de Computadores - FMN
> > /*/F: +55 81 9877-5127/
> > /Skype: dayvidson.bezerra
> > //Lattes: //http://lattes.cnpq.br/3299061783823913/ /
> > //Linked In: /http://br.linkedin.com/pub/dayvidson-bezerra/2a/772/bb7/
> > /
> >
> >
> > _______________________________________________
> > Users mailing list: Users at clusterlabs.org
> > http://clusterlabs.org/mailman/listinfo/users
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
> >
>
>
> --
> Digimer
> Papers and Projects: https://alteeve.ca/w/
> What if the cure for cancer is trapped in the mind of a person without
> access to education?
>
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>



-- 

*Dayvidson Bezerra*


*Pós-Graduado em Gerenciamento de Redes - FIR-PEGraduado em Redes de
Computadores - FMN**F: +55 81 9877-5127*

*Skype: dayvidson.bezerra**Lattes: **http://lattes.cnpq.br/3299061783823913
<http://lattes.cnpq.br/3299061783823913>*
*Linked In: *http://br.linkedin.com/pub/dayvidson-bezerra/2a/772/bb7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20161009/f9913553/attachment-0003.html>


More information about the Users mailing list