[Pacemaker] Does Pacemaker use different OCF_CHECK_LEVELs
Hi, The OCF RA spec describes multiple OCF_CHECK_LEVELs for different grades of monitoring and suggests time frames for each level (every couple seconds for level 0, maybe once a minute for level 10, etc). Does Pacemaker issue different check levels to an RA as part of it's normal functionality? Or does it always pass whatever OCF_CHECK_LEVEL instance attribute the monitor operation has (which for most people is probably undefined)? Thanks, Luke Bigum Systems Administrator (p) 1300 661 668 (f) 1300 661 540 (e) lbi...@iseek.com.aumailto:lbi...@iseek.com.au http://www.iseek.com.auhttp://www.iseek.com.au/ Level 1, 100 Ipswich Road Woolloongabba QLD 4102 [cid:image001.jpg@01CA5658.DF3BA7E0] This e-mail and any files transmitted with it may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorised to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message. inline: image001.jpg___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Re: [Pacemaker] Failed to compile Pacemaker
On Mon, Oct 26, 2009 at 9:37 AM, Adrian Chapela achapela.rexist...@gmail.com wrote: I have compiled in the default prefix without problems. Now I am trying to found init scripts and config files, because with make install there aren't installed. they are in the init directory of the tarball ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Re: [Pacemaker] how to run a remote script
Hi Dejan unfortunately I cannot find a solution about my problem in the docs. My concern is about the steps I have to take, maybe it's not completly clear to me the entore process, sorry but this is the first time for me; could you please confirm the following procedure? thanks in advance 1) I have a 1 machine as cluster manager (machine A) I have 2 Apache-Tomcat web container on the 2 nodes (machine B and machine C); 2) all the cluster management tools are installed on the 3 machines 3) I'd like to start/stop tomcat from the machine A so that I open the crm command line on machine A 4) I create and edit the configuration my-conf with the following instructions: 4.1) primitive res.ocf.tomct ocf:heartbeat:tomcat ... 4.2) primitive res.ip.tomcat ocf:heartbeat:IPaddr2 ... 4.3) Have I to set the colocation in the configuration? 5)?? this is my problem ... which command I have to run from the machine A in order to start/stop the tomcat service on the gilberto Hi, On Thu, Oct 22, 2009 at 06:54:29PM +0200, gilberto migliavacca wrote: Hi I need a step behind now I installed a java stand alone process with its onw start and stop scripts on the 2 nodes and my purpose is to start/stop these services using pacemaker how can I create the myapp resource agent on the nodes, somthing like the ocf:heartbeat:tomcat? You've got all needed information here http://www.linux-ha.org/ResourceAgent and some shell scripting skill. Try either LSB or OCF (preferably the latter if you want to contribute the script). Thanks, Dejan thanks in advance gilberto Schmidt, Torsten wrote: Hi Gilberto, take a look at the tomcat ocf-script: start 'crm' to to 'ra' and do: crm(live)ra# meta tomcat ocf here you see the parameters (required and optional) implement the tomcat as primitive resource dependend on a cluster-ip (IPaddr2) like this: primitive res.ocf.tomct ocf:heartbeat:tomcat \ params name=value ...\ op monitor interval=30s timeout=10s primitive res.ip.tomcat ocf:heartbeat:IPaddr2 \ params ip=ip-address nic=eth0 cidr_netmask=22 \ op monitor interval=2s timeout=1s then bind this two together as a colocation and tell pacemaker the order, how to start + stop: colocation co.res.ocf.tomcat_on_res.ip.tomcat inf: res.ocf.tomcat res.ip.tomcat order o.res.ip.tomcat_before_res.ocf.tomcat inf: res.ip.tomcat res.ocf.tomcat:start and look at the documentation on http://clusterlabs.org/wiki/Documentation Mit freundlichen Grüßen / with kind regards Torsten Schmidt -Ursprüngliche Nachricht- Von: gilberto migliavacca [mailto:gbmig...@yahoo.it] Gesendet: Donnerstag, 22. Oktober 2009 15:55 An: pacemaker@oss.clusterlabs.org Betreff: [Pacemaker] how to run a remote script Hi I'm a newbie of Pacemaker and I'm working for Funambol company (www.funambol.com). I'm evaluating how to support a cluster solution for our product. I understood how to create a my own configuration with some monitoring commands. I found it in the main documentation, for instance for apache service now, I installed a Apache-Tomcat web container on the 2 nodes and my purpose is to start/stop these services I don't understand if I can set this information in the configuration of Pacemaker. could anybody give me some hints? thanks in advance gilberto ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Re: [Pacemaker] Pacemaker cluster: OpenAis communication channels
On 10/22/2009 09:48 AM, Steven Dake wrote: ftp://ftp% 40corosync.org:downlo...@corosync.org/presentations/corosync-roadmap.pdf unfortunately, this url is not working for me. cheers, raoul -- DI (FH) Raoul Bhatia M.Sc. email. r.bha...@ipax.at Technischer Leiter IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at Barawitzkagasse 10/2/2/11 email.off...@ipax.at 1190 Wien tel. +43 1 3670030 FN 277995t HG Wien fax.+43 1 3670030 15 ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Re: [Pacemaker] mysql active-passive cluster with shared storage in a SAN
On Mon, Oct 26, 2009 at 11:46:28AM +0100, I?aki S?nchez wrote: I want to set up a two node mysql cluster, active-passive with shared storage in a SAN. I want only one node at a time to have mysqld running and mysql data filesystem mounted. In case of takeover, the second node would mount the filesystem and start mysql deaemon. Two questions: -Do I need a clustered filesystem for the data? No. -Do I need STONITH? Yes. Could you point me to some usefull link for my setup? (I'm a newby) http://www.clusterlabs.org/wiki/DRBD_MySQL_HowTo is the closest I can find, just replace DRBD management with SAN management. - Matt ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
[Pacemaker] crm_uuid
Hi guys, On doing crm_uuid -w , I get crm_uuid: option requires an argument -- w crm_uuid [-r|-w new_ascii_value] When I do crm_uuid -w uid_file_name I get Invalid ASCII UUID supplied: [uid_file_name] ASCII UUIDs must be of the form ---- and contain only letters and digits How should I use this tool? I'm using pacemaker-1.0.9. Thanks Shravan ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
[Pacemaker] Pacemaker OCFS2 Fedora 10 RA and kernel 2.6.31.5
Hi, Apparently there's a problem since OCFS2 version 1.5.0 in the kernel and pacemaker, I didn't succeed to initialize the cluster with pcmk stack, it always start with o2cb by default. Thanks Franck Chionna -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Re: [Pacemaker] Pacemaker OCFS2 Fedora 10 RA and kernel 2.6.31.5
Just found a (crap) way to make it work again. Added in o2cb RA these lines at the top (work on Fedora 10, I do not garantee it will work for other distrib) # Added for Fedora. Let's try to use the LSB functions . /lib/lsb/init-functions # Run service o2cb configure and set it for pcmk stack so run service o2cb stop service o2cb enable ### # OCF initialization . ${OCF_ROOT}/resource.d/heartbeat/.ocf-shellfuncs ... Thanks Franck Chionna - Original Message - From: E-Blokos To: pacema...@clusterlabs.org Sent: Monday, October 26, 2009 8:51 PM Subject: Pacemaker OCFS2 Fedora 10 RA and kernel 2.6.31.5 Hi, Apparently there's a problem since OCFS2 version 1.5.0 in the kernel and pacemaker, I didn't succeed to initialize the cluster with pcmk stack, it always start with o2cb by default. Thanks Franck Chionna -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker