|
From: cdmiller <cdm...@ad...> - 2016-11-28 23:24:23
|
Of corosync/pacemaker I have only used crm, not pcs. My understanding is crm only relies on python. http://crmsh.nongnu.org/faq.html Bottom of the old heartbeat page has a pararaph on crm and pcs: http://www.linux-ha.org/wiki/Configuration - cameron On 11/23/2016 12:48 PM, Heiko Zuerker wrote: > All, > > Thoughts on this? I'd like to get to a point to finally releasing DL > 1.8 and this is the last open item. > > Heiko > > Quoting Heiko Zuerker <he...@zu... <mailto:he...@zu...>>: > >> All, >> >> Sounds like PCS needs ruby, which is not included in DL. >> I really don't want to add that to DL. Can we get away without PCS? >> >> Heiko >> >> Quoting Frank Weis <Fra...@cg... <mailto:Fra...@cg...>>: >> >>> Hi Christian, >>> >>> I try to get started with corosync/pacemaker on DL, but I get the >>> following kind of error: >>> >>> root@tunnelconcentrator:~ # pcs cluster auth pcmk-1 pcmk-2 >>> No such file or directory >>> Error: unable to locate command: /usr/bin/ruby >>> root@tunnelconcentrator:~ # cat /etc/Devil-release >>> Devil-Linux 1.8.0-rc2-2016-10-06-x86_64 >>> >>> I am familiar with heartbeat cluster on earlier devil-linux >>> releases but I can't figure out how to get started here. >>> >>> Thanks and regards >>> >>> Frank >>> >>> >>> On 2016-10-20 17:31, Ma poubelle wrote: >>>> Hi Heiko, >>>> >>>> I currently testing the corosync & pacemaker. I don't have >>>> anymore error message when using crm & pcs. But my testing is >>>> not finish. >>>> >>>> I keep you informed when done. >>>> >>>> Kind Regards >>>> >>>> Christian >>>> >>>> 2016-10-15 15:42 GMT+02:00 Heiko Zuerker <he...@zu... >>>> <mailto:he...@zu...>>: >>>> >>>> Christian, >>>> >>>> Did you get a chance to test if it works now? >>>> >>>> >>>> >>>> Heiko >>>> >>>> Quoting Heiko Zuerker <he...@zu... >>>> <mailto:he...@zu...>>: >>>>> >>>>> Christian, >>>>> >>>>> The latest build is uploading now to the testing directory. >>>>> It should be complete about 30 minutes after I sent this email. >>>>> >>>>> Heiko >>>>> >>>>> Quoting Heiko Zuerker <he...@zu... >>>>> <mailto:he...@zu...>>: >>>>> >>>>>> Christian, >>>>>> >>>>>> All the missing python modules are now included. >>>>>> This turned out to be a bit more complicated, since I had >>>>>> to make some significant changes to how python modules get >>>>>> included. The new solution is much more flexible and will >>>>>> make it a lot easier to add python modules. (similar to >>>>>> how perl is handled). >>>>>> >>>>>> I'll upload a new testing release in the next couple of days. >>>>>> >>>>>> Heiko >>>>>> >>>>>> Quoting Ma poubelle <the...@gm... >>>>>> <mailto:the...@gm...>>: >>>>>> >>>>>>> Hello Heiko, >>>>>>> >>>>>>> Thanks for the update. We approach the goal. >>>>>>> >>>>>>> I think that misses some Python modules >>>>>>> >>>>>>> When I launch crm I get the following output >>>>>>> >>>>>>> >>>>>>> root@DL1:~ # crm >>>>>>> Fatal error: >>>>>>> No module named lxml >>>>>>> No module named modules >>>>>>> >>>>>>> Failed to start crmsh! This is likely due to a broken >>>>>>> installation or a missing dependency. >>>>>>> >>>>>>> If you are using a packaged version of crmsh, please try >>>>>>> reinstalling the package. Also check your PYTHONPATH and >>>>>>> make sure that the crmsh module is reachable. >>>>>>> >>>>>>> Please file an issue describing your installation at >>>>>>> https://github.com/Clusterlabs/crmsh/issues/ >>>>>>> <https://github.com/Clusterlabs/crmsh/issues/> . >>>>>>> root@DL1:~ # >>>>>>> >>>>>>> >>>>>>> And when I launch pcs : >>>>>>> >>>>>>> root@DL1:~ # pcs >>>>>>> Traceback (most recent call last): >>>>>>> File "/usr/sbin/pcs", line 9, in <module> >>>>>>> load_entry_point('pcs==0.9.153', 'console_scripts', >>>>>>> 'pcs')() >>>>>>> File >>>>>>> "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", >>>>>>> line 519, in load_entry_point >>>>>>> return get_distribution(dist).load_entry_point(group, >>>>>>> name) >>>>>>> File >>>>>>> "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", >>>>>>> line 2630, in load_entry_point >>>>>>> return ep.load() >>>>>>> File >>>>>>> "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", >>>>>>> line 2310, in load >>>>>>> return self.resolve() >>>>>>> File >>>>>>> "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", >>>>>>> line 2316, in resolve >>>>>>> module = __import__(self.module_name, >>>>>>> fromlist=['__name__'], level=0) >>>>>>> File "/usr/lib/python2.7/site-packages/pcs/app.py", >>>>>>> line 14, in <module> >>>>>>> from pcs import ( >>>>>>> File "/usr/lib/python2.7/site-packages/pcs/acl.py", >>>>>>> line 10, in <module> >>>>>>> from pcs import ( >>>>>>> File "/usr/lib/python2.7/site-packages/pcs/prop.py", >>>>>>> line 13, in <module> >>>>>>> from pcs import utils >>>>>>> File "/usr/lib/python2.7/site-packages/pcs/utils.py", >>>>>>> line 65, in <module> >>>>>>> from pcs.lib.env import LibraryEnvironment >>>>>>> File "/usr/lib/python2.7/site-packages/pcs/lib/env.py", >>>>>>> line 8, in <module> >>>>>>> from lxml import etree >>>>>>> ImportError: No module named lxml >>>>>>> root@DL1:~ # >>>>>>> >>>>>>> Regards >>>>>>> >>>>>>> Christian >>>>>>> >>>>>>> >>>>>>> 2016-09-24 14:24 GMT+02:00 Heiko Zuerker >>>>>>> <he...@zu... <mailto:he...@zu...>>: >>>>>>> >>>>>>> _Sorry for the delay. The latest build is uploading now. >>>>>>> It should be done ~1 hour from the time I sent this >>>>>>> email._ >>>>>>> >>>>>>> >>>>>>> >>>>>>> _Heiko >>>>>>> >>>>>>> Quoting Heiko Zuerker <he...@zu... >>>>>>> <mailto:he...@zu...>>:_ >>>>>>> >>>>>>> >>>>>>> >>>>>>>> _They changes are in CVS. I don't think I'll be able >>>>>>>> to upload the nightly compile for at leat a few >>>>>>>> days. I'll get it done as soon as I can. >>>>>>>> >>>>>>>> Heiko >>>>>>>> >>>>>>>> Quoting Heiko Zuerker <he...@zu... >>>>>>>> <mailto:he...@zu...>>:_ >>>>>>>> >>>>>>>>> _Hey >>>>>>>>> >>>>>>>>> I'm hoping to get a chance on Saturday to work on >>>>>>>>> the missing components. Stay tuned for further >>>>>>>>> updates & sorry for being so slow. >>>>>>>>> >>>>>>>>> Heiko >>>>>>>>> >>>>>>>>> Quoting Ma poubelle <the...@gm... >>>>>>>>> <mailto:the...@gm...>>:_ >>>>>>>>> >>>>>>>>>> _Hi Heiko, _ >>>>>>>>>> _ _ >>>>>>>>>> _All the crm_... binaries is installed and work. _ >>>>>>>>>> _ _ >>>>>>>>>> _My request is about the crm from crmsh . The >>>>>>>>>> shell to interactively configure HA. >>>>>>>>>> https://github.com/ClusterLabs/crmsh >>>>>>>>>> <https://github.com/ClusterLabs/crmsh>_ >>>>>>>>>> _ _ >>>>>>>>>> _And other tools I like to use is pcs >>>>>>>>>> (Pacemaker/Corosync configuration system) >>>>>>>>>> https://github.com/ClusterLabs/pcs >>>>>>>>>> <https://github.com/ClusterLabs/pcs>_ >>>>>>>>>> _ _ >>>>>>>>>> _Can you integrate them on new rc ?_ >>>>>>>>>> _ _ >>>>>>>>>> _Kind Regards_ >>>>>>>>>> _ _ >>>>>>>>>> _ _ >>>>>>>>>> >>>>>>>>>> _2016-08-28 15:39 GMT+02:00 Heiko Zuerker >>>>>>>>>> <he...@zu... <mailto:he...@zu...>>:_ >>>>>>>>>> >>>>>>>>>> __Hey, >>>>>>>>>> >>>>>>>>>> I looked into this and all the crm binaries >>>>>>>>>> are there and corosync & pacemaker started for me. >>>>>>>>>> Do you have a specific error message you can >>>>>>>>>> share? >>>>>>>>>> Did you start with a vanilla config or are you >>>>>>>>>> upgrading something? >>>>>>>>>> >>>>>>>>>> Heiko >>>>>>>>>> >>>>>>>>>> Quoting Heiko Zuerker <he...@zu... >>>>>>>>>> <mailto:he...@zu...>>:__ >>>>>>>>>> >>>>>>>>>>> __Hi, >>>>>>>>>>> >>>>>>>>>>> I won't get a chance to look into this until >>>>>>>>>>> the weekend. >>>>>>>>>>> >>>>>>>>>>> Heiko >>>>>>>>>>> >>>>>>>>>>> Quoting Ma poubelle <the...@gm... >>>>>>>>>>> <mailto:the...@gm...>>:__ >>>>>>>>>>> >>>>>>>>>>>> __Hi, >>>>>>>>>>>> __ >>>>>>>>>>>> __I use the 1.8.0-rc2-2016-08-13-x86_64__ >>>>>>>>>>>> >>>>>>>>>>>> __I just try to start a cluster using >>>>>>>>>>>> corosync and pacemaker and i stop my test , >>>>>>>>>>>> cannot find the crm binary ! >>>>>>>>>>>> __ >>>>>>>>>>>> __Kind Regards__ >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> __ __ >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> __-- >>>>>>>>>>> >>>>>>>>>>> Regards >>>>>>>>>>> Heiko Zuerker >>>>>>>>>>> __ >>>>>>>>>> >>>>>>>>>> _ _ >>>>>>>>>> >>>>>>>>>> __-- >>>>>>>>>> >>>>>>>>>> Regards >>>>>>>>>> Heiko Zuerker >>>>>>>>>> __ >>>>>>>>>> >>>>>>>>>> __------------------------------------------------------------------------------ >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> Devil-linux-discuss mailing list >>>>>>>>>> Dev...@li... >>>>>>>>>> <mailto:Dev...@li...> >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >>>>>>>>>> <https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss>_ >>>>>>>>>> _ >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _-- >>>>>>>>> >>>>>>>>> Regards >>>>>>>>> Heiko Zuerker >>>>>>>>> _ >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _-- >>>>>>>> >>>>>>>> Regards >>>>>>>> Heiko Zuerker >>>>>>>> _ >>>>>>> >>>>>>> >>>>>>> >>>>>>> _-- >>>>>>> >>>>>>> Regards >>>>>>> Heiko Zuerker >>>>>>> _ >>>>>>> >>>>>>> _------------------------------------------------------------------------------ >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Devil-linux-discuss mailing list >>>>>>> Dev...@li... >>>>>>> <mailto:Dev...@li...> >>>>>>> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >>>>>>> <https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss>_ >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Regards >>>>>> Heiko Zuerker >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Regards >>>>> Heiko Zuerker >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Regards >>>> Heiko Zuerker >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Check out the vibrant tech community on one of the world's most >>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>>> _______________________________________________ >>>> Devil-linux-discuss mailing list >>>> Dev...@li... >>>> <mailto:Dev...@li...> >>>> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >>>> <https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Check out the vibrant tech community on one of the world's most >>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>>> >>>> >>>> _______________________________________________ >>>> Devil-linux-discuss mailing list >>>> Dev...@li... >>>> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >>>> >>> >>> -- >>> >>> *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. >>> >> >> >> >> -- >> >> Regards >> Heiko Zuerker >> > > > > -- > > Regards > Heiko Zuerker > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Devil-linux-discuss mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss > -- - cameron miller - Manager, Network and Systems Administration - http://staff.adams.edu/~cdmiller |