|
From: Heiko Z. <he...@zu...> - 2016-03-29 13:50:35
|
Frank, Were you able to do some testing with pacemaker and coresync? Heiko Quoting Frank Weis <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...>: >> >>> 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[1] >>> www.men.lu[2] >>> www.gouvernement.lu[3] >>> >>> 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 >> Links: ------ [1] http://www.cgie.lu/ [2] http://www.men.lu/ [3] http://www.gouvernement.lu -- Regards Heiko Zuerker |