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