|
From: Frank W. <Fra...@cg...> - 2016-03-29 14:01:18
|
Hi Heiko, I can confirm that it builds, and the services seem to start. I have yet to figure out how to use the new cluster stack, however, as this will be completely different from the good-ole heartbeat-1 stuff. I hope that I'll get some time to look into this this or next week. I'll let you know.... Thanks Frank On 03/29/2016 03:50 PM, Heiko Zuerker wrote: > > Frank, > > Were you able to do some testing with pacemaker and coresync? > > Heiko > > Quoting Frank Weis <Fra...@cg... <mailto:Fra...@cg...>>: > >> Nice, thank you Heiko! >> I will start a build tomorrow, I'll let you know how it goes. >> >> Have a nice day, >> >> Frank >> >> Sent from my Cyanogen phone >> >> On Mar 6, 2016 3:20 PM, Heiko Zuerker <he...@zu...> wrote: >> >> Frank, >> >> You were correct, the packages like pacemaker and corosync are >> now required. >> I grabbed everything from the linux-ha website for 1.8, before >> they made the announcement that the new standard is pacemaker + >> corosync. I added that to DL and removed the now outdated heartbeat. >> >> The init scripts do need some more tweaking, but I won't have any >> more time this weekend to work on it. >> It should be good enough for you to run a compile and do some >> testing. >> >> Heiko >> >> Quoting Frank Weis <Fra...@cg... <mailto:Fra...@cg...>>: >> >>> Hi Heiko, >>> >>> as I understand it, heartbeat is in fact only the communication >>> layer, even though it contains an extremely basic (not useful) >>> resource manager. >>> >>> In DL-1.6.x/Heartbeat 2.1.4, there was resource manager >>> included, which I have used so far. The cluster uses a cib >>> (cluster information base), and you can dynamically add >>> resources, build groups, (co-)location constraints, migrate >>> resources between nodes... There is a small collection of >>> crm_... binaries plus cibadmin that are needed. (all this stuff >>> was in Heartbeat-STABLE-2-1-STABLE-2.1.4/crm/ in the 1.6.x sources) >>> >>> a very basic config file looks like this: >>> >>> bcast eth0 >>> auto_failback on >>> node xxx-1 >>> node xxx-2 >>> crm yes >>> auto_failback on >>> debugfile /var/log/ha-debug >>> >>> If I try to start the cluster, it bails out because it cant find >>> the required binaries: >>> >>> # /etc/init.d/heartbeat start >>> Starting High-Availability services: Heartbeat failure [rc=6]. Failed. >>> Feb 22 23:27:21 right heartbeat: [1790]: info: Pacemaker support: yes >>> Feb 22 23:27:21 right heartbeat: [1790]: debug: Checking access of: /usr/libexec/heartbeat/ccm >>> Feb 22 23:27:21 right heartbeat: [1790]: debug: Checking access of: /usr/libexec/pacemaker/cib >>> Feb 22 23:27:21 right heartbeat: [1790]: debug: Checking access of: /usr/libexec/heartbeat/cib >>> Feb 22 23:27:21 right heartbeat: [1790]: debug: Checking access of: /usr/lib/heartbeat/cib >>> Feb 22 23:27:21 right heartbeat: [1790]: ERROR: Failed to add pacemaker client child "cib" >>> Feb 22 23:27:21 right heartbeat: [1790]: ERROR: Heartbeat not started: configuration error. >>> Feb 22 23:27:21 right heartbeat: [1790]: ERROR: Configuration error, heartbeat not started. >>> Thanks >>> >>> On 02/22/2016 02:41 PM, Heiko Zuerker wrote: >>>> >>>> Frank, >>>> >>>> Glad to hear that squid is working again for you. >>>> >>>> If I remember correctly, the old heartbeat didn't want to >>>> compile with all the new libs and gcc. >>>> I thought I had added everything they had on the heartbeat >>>> website. Which specific functionality do you need that needs >>>> more packages? >>>> >>>> Heiko >>>> >>> >>> -- >>> >>> *Frank Weis* >>> Conseiller informaticien >>> >>> LE GOUVERNEMENT DU GRAND-DUCHÉ DE LUXEMBOURG >>> Ministère de l’Éducation nationale, de l’Enfance et de la Jeunesse >>> Centre de gestion informatique de l’éducation >>> >>> eduPôle - Walferdange >>> Route de Diekirch, L-7220 Walferdange >>> _Adresse postale_ : B.P. 98, L-7201 Bereldange >>> >>> Tél. : (+352) 247-85973 . Fax : (+352) 247-85174 >>> E-mail : Fra...@cg... >>> www.cgie.lu <http://www.cgie.lu/> >>> www.men.lu <http://www.men.lu/> >>> www.gouvernement.lu <http://www.gouvernement.lu> >>> >>> Ce message et toutes pièces jointes sont établis à l'intention >>> exclusive de ses destinataires. Ils peuvent contenir des >>> informations confidentielles. Si vous recevez ce message par >>> erreur, merci de le détruire et d'en avertir immédiatement >>> l'expéditeur. Toute utilisation de ce message non conforme à sa >>> destination, toute diffusion ou toute publication, totale ou >>> partielle, est interdite, sauf autorisation expresse. Ce message >>> a fait l'objet d'un traitement anti-virus. >>> >>> Le contenu de ce message et des pièces jointes ne pourrait >>> engager la responsabilité du ministère que s'il a été émis par >>> une personne dûment habilitée agissant dans le strict cadre des >>> fonctions auxquelles elle est employée et à des fins non >>> étrangères à ses attributions. >>> >> >> >> >> -- >> >> Regards >> Heiko Zuerker >> >> > > > > -- > > Regards > Heiko Zuerker > -- *Frank Weis* Conseiller informaticien LE GOUVERNEMENT DU GRAND-DUCHÉ DE LUXEMBOURG Ministère de l’Éducation nationale, de l’Enfance et de la Jeunesse Centre de gestion informatique de l’éducation eduPôle - Walferdange Route de Diekirch, L-7220 Walferdange _Adresse postale_ : B.P. 98, L-7201 Bereldange Tél. : (+352) 247-85973 . Fax : (+352) 247-85174 E-mail : Fra...@cg... <mailto:Fra...@cg...> www.cgie.lu <http://www.cgie.lu/> www.men.lu <http://www.men.lu/> www.gouvernement.lu <http://www.gouvernement.lu> Ce message et toutes pièces jointes sont établis à l'intention exclusive de ses destinataires. Ils peuvent contenir des informations confidentielles. Si vous recevez ce message par erreur, merci de le détruire et d'en avertir immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Ce message a fait l'objet d'un traitement anti-virus. Le contenu de ce message et des pièces jointes ne pourrait engager la responsabilité du ministère que s'il a été émis par une personne dûment habilitée agissant dans le strict cadre des fonctions auxquelles elle est employée et à des fins non étrangères à ses attributions. |