<div class="gmail_quote"><div>Hello Florian,</div><div><br></div><div>Thanks for the help.</div><div><br></div><div>I tried with crm ra meta sshd lsb but it gave me the same meta-data error.</div><div><br></div><div>The problem is while trying to add a lsb resource from crm shell, like httpd as i am using rhel it gives the following error</div>
<div><div>ERROR: lsb:httpd: could not parse meta-data: </div><div>ERROR: lsb:httpd: no such resource agent</div></div><div><br></div><div>the httpd package is installed and i have a httpd file /etc/init.d directory. I am unable to add any resource which in /etc/init.d directory.</div>
<div><br></div><div><br></div><div>Many thanks </div><div> Vishal</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Message: 1<br>
Date: Mon, 22 Oct 2012 17:53:23 +0530<br>
From: vishal kumar <<a href="mailto:vishal.kanojwar@gmail.com" target="_blank">vishal.kanojwar@gmail.com</a>><br>
To: <a href="mailto:pacemaker@oss.clusterlabs.org" target="_blank">pacemaker@oss.clusterlabs.org</a><br>
Subject: [Pacemaker] lsb: could not parse meta-data<br>
Message-ID:<br>
<CANz=<a href="mailto:RdkSq4t-SbbF%2BKBNWoB2fGR7xu7G6MRUgBPfZASBvNPdnA@mail.gmail.com" target="_blank">RdkSq4t-SbbF+KBNWoB2fGR7xu7G6MRUgBPfZASBvNPdnA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi<br>
<br>
I am trying to configure pacemaker with corosync on RHEL 6.<br>
<br>
While trying to add lsb resources i get "could not parse meta-data".<br>
<br>
The pacemaker version is 1.1.7 . Below is the error what i get when i check<br>
for metadata in crm shell.<br>
<br>
*crm(live)ra# list lsb*<br>
*abrt-ccpp abrt-oops abrtd<br>
acpid atd*<br>
*auditd autofs certmonger<br>
cgconfig cgred*<br>
*corosync corosync-notifyd cpuspeed<br>
crond cups*<br>
*haldaemon halt heartbeat<br>
httpd ip6tables*<br>
*iptables irqbalance kdump<br>
killall ktune*<br>
*lvm2-lvmetad lvm2-monitor matahari-broker<br>
matahari-host matahari-network*<br>
*matahari-rpc matahari-service matahari-sysconfig<br>
matahari-sysconfig-console mcelogd*<br>
*mdmonitor messagebus netconsole<br>
netfs network*<br>
*nfs nfslock ntpd<br>
ntpdate oddjobd*<br>
*pacemaker portreserve postfix<br>
psacct qpidd*<br>
*quota_nld rdisc restorecond<br>
rhnsd rhsmcertd*<br>
*rngd rpcbind rpcgssd<br>
rpcidmapd rpcsvcgssd*<br>
*rsyslog sandbox saslauthd<br>
single smartd*<br>
*sshd sssd sysstat<br>
tuned udev-post*<br>
*ypbind *<br>
*crm(live)ra# meta lsb heartbeat*<br>
*ERROR: heartbeat:lsb: could not parse meta-data: *<br>
*crm(live)ra# meta lsb sshd*<br>
*ERROR: sshd:lsb: could not parse meta-data: *<br>
*crm(live)ra# meta lsb ntpd*<br>
*ERROR: ntpd:lsb: could not parse meta-data: *<br>
*crm(live)ra# meta lsb httpd*<br>
*ERROR: httpd:lsb: could not parse meta-data*<br>
<br>
Please do suggest me where am i going wrong.<br>
Thanks for the help.<br>
<br>
Thanks<br>
Vishal<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20121022/0ade914c/attachment-0001.html" target="_blank">http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20121022/0ade914c/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 22 Oct 2012 14:48:31 +0200<br>
From: Florian Crouzat <<a href="mailto:gentoo@floriancrouzat.net" target="_blank">gentoo@floriancrouzat.net</a>><br>
To: <a href="mailto:pacemaker@oss.clusterlabs.org" target="_blank">pacemaker@oss.clusterlabs.org</a><br>
Subject: Re: [Pacemaker] lsb: could not parse meta-data<br>
Message-ID: <<a href="mailto:5085409F.801@floriancrouzat.net" target="_blank">5085409F.801@floriancrouzat.net</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Le 22/10/2012 14:23, vishal kumar a ?crit :<br>
> Hi<br>
<br>
> Please do suggest me where am i going wrong.<br>
> Thanks for the help.<br>
><br>
<br>
See: crm ra help meta<br>
Then try something like: crm ra meta sshd lsb # parameters order matter<br>
<br>
Anyway, you won't learn anything out of meta-datas from a LSB<br>
initscript, because it's just a script (not cluster oriented, not a real<br>
resource agent), it's not multistate, nothing like that, only<br>
start/stop/monitor and default mandatory settings.<br>
<br>
<br>
--<br>
Cheers,<br>
Florian Crouzat<br><br></blockquote></div>