Ciao, On Fri, Apr 24, 2009 at 09:29:12AM +0200, Cristina Bulfon wrote: > Ciao, > > I tried to build pacemaker rpm w/o success :-(( > I will do another time and it will fail then I am going to compile the > source.
You can just grab the source rpm and comment out the offending line in lib/ais/Makefile.am and do rpmbuild -bb. First install all the build requirements (heartbeat/openais-dev). > Anyway I thought to use pacemaker because I understand that is the better > way to > modify cib.xml but if there are any other way to do it I will. pacemaker is the best if you're starting now. The crm shell will help you avoid xml in case you're allergic to it. > However my focus point is : > > - my resource group is composed from 4 single resources: 2 Filesystem, > Ipaddr and AFS. > for better comprehension follow the haresource file ( from my point of view > is more readable than cib.xml) True, but cib is more powerful :) > aaaaa.roma1.infn.it \ > IPaddr::X.X.X.31/24/eth0 \ > Filesystem::/dev/AFS/sda3::/vicepa/::xfs \ > Filesystem::/dev/AFS/sda1::/usr/afs::ext3 \ > afs > > AFS is related to the filesystems so for any reason the /vicepa is not > reachable everything has to be stopped and pass the resources to the other > node. > So is there a way to do it with cib.xml ? some advice how to monitor the > above resource or the group. Just put everything in a group. Add a location constraint with some score (say 100) to prefer that node. And you should get a fencing device and create stonith resources. Good luck! Thanks, Dejan > Thanks > > cristina > > On Apr 21, 2009, at 3:22 PM, Dejan Muhamedagic wrote: > >> Ciao, >> >> On Tue, Apr 21, 2009 at 08:37:17AM +0200, Cristina Bulfon wrote: >>> Ciao, >>> >>> I am lost :-) >>> Dejan, if I understand correctly you mean that I have to rebuild all the >>> packages : heartbeat, pacemaker and ais >>> starting from source. >> >> No, just the pacemaker. Or wait until the new packages are built. >> Unfortunately, I can't say how long it may take. >> >> Thanks, >> >> Dejan >> >>> thanks >>> >>> cristina >>> >>> On Apr 20, 2009, at 1:08 PM, Dejan Muhamedagic wrote: >>> >>>> Hi, >>>> >>>> On Fri, Apr 17, 2009 at 03:39:32PM +0100, Jason Fitzpatrick wrote: >>>>> Hi Cristina >>>>> >>>>> that repo should have all the required files in it,, >>>> >>>> These are quite old. rhel4 weren't built for quite some time. The >>>> build log says: >>>> >>>> cc1: error: unrecognized command line option "-Wno-pointer-sign" >>>> >>>> That's in lib/ais/Makefile.am. You could build the package >>>> yourself, just remove this option beforehand. >>>> >>>> Thanks, >>>> >>>> Dejan >>>> >>>>> Jason >>>>> >>>>> [image: [ ]] heartbeat-2.99.2-6.2.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-2.99.2-6.2.i386.rpm> >>>>> 12-Apr-2009 13:36 1.5M Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-2.99.2-6.2.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-2.99.2-6.2.i386.rpm.metalink> >>>>> [image: [ ]] heartbeat-common-2.99.2-6.2.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-common-2.99.2-6.2.i386.rpm> >>>>> 12-Apr-2009 13:36 1.3M Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-common-2.99.2-6.2.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-common-2.99.2-6.2.i386.rpm.metalink> >>>>> [image: [ ]] heartbeat-debug-2.99.2-6.2.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-debug-2.99.2-6.2.i386.rpm> >>>>> 12-Apr-2009 13:36 698K Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-debug-2.99.2-6.2.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-debug-2.99.2-6.2.i386.rpm.metalink> >>>>> [image: [ ]] heartbeat-devel-2.99.2-6.2.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-devel-2.99.2-6.2.i386.rpm> >>>>> 12-Apr-2009 13:36 197K Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-devel-2.99.2-6.2.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-devel-2.99.2-6.2.i386.rpm.metalink> >>>>> [image: [ ]] heartbeat-ldirectord-2.99.2-6.2.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-ldirectord-2.99.2-6.2.i386.rpm> >>>>> 12-Apr-2009 13:36 131K Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-ldirectord-2.99.2-6.2.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-ldirectord-2.99.2-6.2.i386.rpm.metalink> >>>>> [image: [ ]] heartbeat-resources-2.99.2-6.2.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-resources-2.99.2-6.2.i386.rpm> >>>>> 12-Apr-2009 13:36 245K Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-resources-2.99.2-6.2.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/heartbeat-resources-2.99.2-6.2.i386.rpm.metalink> >>>>> [image: [ ]] libheartbeat-devel-2.99.2-6.2.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libheartbeat-devel-2.99.2-6.2.i386.rpm> >>>>> 12-Apr-2009 13:36 152K Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libheartbeat-devel-2.99.2-6.2.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libheartbeat-devel-2.99.2-6.2.i386.rpm.metalink> >>>>> [image: [ ]] libheartbeat2-2.99.2-6.2.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libheartbeat2-2.99.2-6.2.i386.rpm> >>>>> 12-Apr-2009 13:36 1.5M Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libheartbeat2-2.99.2-6.2.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libheartbeat2-2.99.2-6.2.i386.rpm.metalink> >>>>> [image: [ ]] libnet-1.1.2.1-1.1.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libnet-1.1.2.1-1.1.i386.rpm> >>>>> 27-Mar-2008 19:49 228K Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libnet-1.1.2.1-1.1.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libnet-1.1.2.1-1.1.i386.rpm.metalink> >>>>> [image: [ ]] libopenais-devel-0.80.5-10.1.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libopenais-devel-0.80.5-10.1.i386.rpm> >>>>> 15-Apr-2009 14:00 126K Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libopenais-devel-0.80.5-10.1.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libopenais-devel-0.80.5-10.1.i386.rpm.metalink> >>>>> [image: [ ]] libopenais2-0.80.5-10.1.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libopenais2-0.80.5-10.1.i386.rpm> >>>>> 15-Apr-2009 14:00 435K Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libopenais2-0.80.5-10.1.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libopenais2-0.80.5-10.1.i386.rpm.metalink> >>>>> [image: [ ]] libpacemaker-devel-1.0.2-11.1.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libpacemaker-devel-1.0.2-11.1.i386.rpm> >>>>> 02-Mar-2009 15:29 79K Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libpacemaker-devel-1.0.2-11.1.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libpacemaker-devel-1.0.2-11.1.i386.rpm.metalink> >>>>> [image: [ ]] libpacemaker3-1.0.2-11.1.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libpacemaker3-1.0.2-11.1.i386.rpm> >>>>> 02-Mar-2009 15:29 2.2M Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libpacemaker3-1.0.2-11.1.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libpacemaker3-1.0.2-11.1.i386.rpm.metalink> >>>>> [image: [ ]] openais-0.80.5-10.1.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/openais-0.80.5-10.1.i386.rpm> >>>>> 15-Apr-2009 14:00 440K Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/openais-0.80.5-10.1.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/openais-0.80.5-10.1.i386.rpm.metalink> >>>>> [image: [ ]] pacemaker-1.0.2-11.1.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-1.0.2-11.1.i386.rpm> >>>>> 02-Mar-2009 15:29 654K Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-1.0.2-11.1.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-1.0.2-11.1.i386.rpm.metalink> >>>>> [image: [ ]] pacemaker-debug-1.0.2-11.1.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-debug-1.0.2-11.1.i386.rpm> >>>>> 02-Mar-2009 15:29 485K Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-debug-1.0.2-11.1.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-debug-1.0.2-11.1.i386.rpm.metalink> >>>>> [image: [ ]] pacemaker-mgmt-1.99.0-4.1.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-mgmt-1.99.0-4.1.i386.rpm> >>>>> 19-Mar-2009 20:55 73K Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-mgmt-1.99.0-4.1.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-mgmt-1.99.0-4.1.i386.rpm.metalink> >>>>> [image: [ ]] pacemaker-mgmt-client-1.99.0-4.1.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-mgmt-client-1.99.0-4.1.i386.rpm> >>>>> 19-Mar-2009 20:55 116K Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-mgmt-client-1.99.0-4.1.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-mgmt-client-1.99.0-4.1.i386.rpm.metalink> >>>>> [image: [ ]] pacemaker-mgmt-debug-1.99.0-4.1.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-mgmt-debug-1.99.0-4.1.i386.rpm> >>>>> 19-Mar-2009 20:55 1.0M Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-mgmt-debug-1.99.0-4.1.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-mgmt-debug-1.99.0-4.1.i386.rpm.metalink> >>>>> [image: [ ]] pacemaker-mgmt-devel-1.99.0-4.1.i386.rpm >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-mgmt-devel-1.99.0-4.1.i386.rpm> >>>>> 19-Mar-2009 20:55 15K Mirrors >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-mgmt-devel-1.99.0-4.1.i386.rpm?mirrorlist> >>>>> Metalink >>>>> <http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/pacemaker-mgmt-devel-1.99.0-4.1.i386.rpm.metalink> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> 2009/4/17 Cristina Bulfon <[email protected]> >>>>> >>>>>> Ciao, >>>>>> >>>>>> can you tell me the new repos ? >>>>>> my repos is >>>>>> >>>>>> baseurl= >>>>>> http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/ >>>>>> >>>>>> thanks >>>>>> >>>>>> cristian >>>>>> >>>>>> >>>>>> On Apr 17, 2009, at 2:31 PM, Jason Fitzpatrick wrote: >>>>>> >>>>>> Looking through the packages I believe that this was caused by >>>>>> different >>>>>>> versions of the openais components being installed (some from the >>>>>>> normal >>>>>>> repos and some from the ha-clustering one, but it was a while ago and >>>>>>> I >>>>>>> did >>>>>>> not document.. >>>>>>> >>>>>>> I seem to remember having to remove the versions provided by the >>>>>>> normal >>>>>>> repos and re-installing from the new repo >>>>>>> >>>>>>> Jay >>>>>>> >>>>>>> 2009/4/17 Cristina Bulfon <[email protected]> >>>>>>> >>>>>>> Ciao, >>>>>>>> >>>>>>>> thanks .. I followed your advice and I've installed >>>>>>>> >>>>>>>> heartbeat -2.99.2-6.2 >>>>>>>> pacemaker--1.0.2-11.1 >>>>>>>> >>>>>>>> when I try to run crm I got the following error >>>>>>>> >>>>>>>> [r...@afsitfs4 heartbeat-2.99]# crm >>>>>>>> File "/usr/sbin/crm", line 2540 >>>>>>>> for obj in processing_sort_cli(self.obj_list)) >>>>>>>> ^ >>>>>>>> SyntaxError: invalid syntax >>>>>>>> >>>>>>>> cristina >>>>>>>> >>>>>>>> >>>>>>>> On Apr 17, 2009, at 12:31 PM, Jason Fitzpatrick wrote: >>>>>>>> >>>>>>>> go to http://download.opensuse.org/repositories/server:/ha-clustering/ >>>>>>>> >>>>>>>>> select your OS and download server:ha-clustering-repo >>>>>>>>> save this to /etc/yum.repos.d (I assume that you are running a >>>>>>>>> redhat >>>>>>>>> system >>>>>>>>> based on the RPM's below) >>>>>>>>> run yum update heartbeat to get the latest version >>>>>>>>> >>>>>>>>> Jay >>>>>>>>> >>>>>>>>> * >>>>>>>>> < >>>>>>>>> >>>>>>>>> http://download.opensuse.org/repositories/server:/ha-clustering/Fedora_9/server:ha-clustering.repo >>>>>>>>> >>>>>>>>>> * >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 2009/4/17 Andrew Beekhof <[email protected]> >>>>>>>>> >>>>>>>>> On Fri, Apr 17, 2009 at 10:00, Cristina Bulfon >>>>>>>>> >>>>>>>>>> <[email protected]> wrote: >>>>>>>>>> >>>>>>>>>> Ciao, >>>>>>>>>>> >>>>>>>>>>> I installed heartbeat 2.1.4 and I'd like to know for using the >>>>>>>>>>> cmr >>>>>>>>>>> CLI >>>>>>>>>>> >>>>>>>>>>> suit >>>>>>>>>> >>>>>>>>>> do I have to install pacemaker ? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> Correct. >>>>>>>>>> You need heartbeat > 2.99.0 and pacemaker > 1.0.0 >>>>>>>>>> >>>>>>>>>> Follows the rpm list >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> heartbeat-2.1.4-4.1.x86_64 >>>>>>>>>>> heartbeat-stonith-2.1.4-4.1.x86_64 >>>>>>>>>>> heartbeat-devel-2.1.4-4.1.x86_64 >>>>>>>>>>> heartbeat-pils-2.1.4-4.1.x86_64 >>>>>>>>>>> libnet-1.1.2.1-2.1.x86_64 >>>>>>>>>>> >>>>>>>>>>> Thanks so much >>>>>>>>>>> >>>>>>>>>>> cristina >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> Linux-HA mailing list >>>>>>>>>>> [email protected] >>>>>>>>>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha >>>>>>>>>>> See also: http://linux-ha.org/ReportingProblems >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> >>>>>>>>>> Linux-HA mailing list >>>>>>>>>> [email protected] >>>>>>>>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha >>>>>>>>>> See also: http://linux-ha.org/ReportingProblems >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> >>>>>>>>> Linux-HA mailing list >>>>>>>>> [email protected] >>>>>>>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha >>>>>>>>> See also: http://linux-ha.org/ReportingProblems >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>> Linux-HA mailing list >>>>>>>> [email protected] >>>>>>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha >>>>>>>> See also: http://linux-ha.org/ReportingProblems >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>> Linux-HA mailing list >>>>>>> [email protected] >>>>>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha >>>>>>> See also: http://linux-ha.org/ReportingProblems >>>>>>> >>>>>>> >>>>>> _______________________________________________ >>>>>> Linux-HA mailing list >>>>>> [email protected] >>>>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha >>>>>> See also: http://linux-ha.org/ReportingProblems >>>>>> >>>>> _______________________________________________ >>>>> Linux-HA mailing list >>>>> [email protected] >>>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha >>>>> See also: http://linux-ha.org/ReportingProblems >>>> _______________________________________________ >>>> Linux-HA mailing list >>>> [email protected] >>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha >>>> See also: http://linux-ha.org/ReportingProblems >>>> >>> >>> _______________________________________________ >>> Linux-HA mailing list >>> [email protected] >>> http://lists.linux-ha.org/mailman/listinfo/linux-ha >>> See also: http://linux-ha.org/ReportingProblems >> _______________________________________________ >> Linux-HA mailing list >> [email protected] >> http://lists.linux-ha.org/mailman/listinfo/linux-ha >> See also: http://linux-ha.org/ReportingProblems >> > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
