[Pacemaker] Compiling Resource Agents
Junko IKEDA
ikedaj at intellilink.co.jp
Fri Apr 23 05:07:15 UTC 2010
Hi,
I didn't notice this mail, so I posted the related issue into linux-ha-dev
list.
You can compile agents package with adding the execute permission to
exportfs RA.
try this;
# hg clone http://hg.linux-ha.org/agents/
# cd agents
# ./autogen.sh
# ./configure --localstatedir=/var --disable-fatal-warnings
# chmod +x heartbeat/exportfs
# make
# make install
Thanks,
Junko
On Fri, 23 Apr 2010 05:15:29 +0900, Ruiyuan Jiang <Ruiyuan_Jiang at liz.com>
wrote:
> Hi, all
>
> I just downloaded Cluster Glue and Resource Agents today. The compiling
> of Cluster Glue passed no problem. When compiling Resource Agents
> (make), it failed with the message:
>
> ....
> /usr/bin/xsltproc --novalid \
> --stringparam package resource-agents \
> --stringparam version 1.0.3 \
> --output ocf_heartbeat_db2.xml \
> ra2refentry.xsl metadata-db2.xml
> /usr/bin/xsltproc \
> --xinclude \
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> ocf_heartbeat_db2.xml
> Writing ocf_heartbeat_db2.7 for refentry(re-ra-db2)
> OCF_ROOT=. OCF_FUNCTIONS_DIR=../heartbeat ../heartbeat/drbd meta-data >
> metadata-drbd.xml
> /usr/bin/xsltproc --novalid \
> --stringparam package resource-agents \
> --stringparam version 1.0.3 \
> --output ocf_heartbeat_drbd.xml \
> ra2refentry.xsl metadata-drbd.xml
> /usr/bin/xsltproc \
> --xinclude \
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> ocf_heartbeat_drbd.xml
> Writing ocf_heartbeat_drbd.7 for refentry(re-ra-drbd)
> OCF_ROOT=. OCF_FUNCTIONS_DIR=../heartbeat ../heartbeat/eDir88 meta-data
> > metadata-eDir88.xml
> eDir88[11477]: DEBUG: ../heartbeat/eDir88 started with arguments
> "meta-data"
> /usr/bin/xsltproc --novalid \
> --stringparam package resource-agents \
> --stringparam version 1.0.3 \
> --output ocf_heartbeat_eDir88.xml \
> ra2refentry.xsl metadata-eDir88.xml
> /usr/bin/xsltproc \
> --xinclude \
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> ocf_heartbeat_eDir88.xml
> Writing ocf_heartbeat_eDir88.7 for refentry(re-ra-eDir88)
> OCF_ROOT=. OCF_FUNCTIONS_DIR=../heartbeat ../heartbeat/exportfs
> meta-data > metadata-exportfs.xml
> /bin/sh: ../heartbeat/exportfs: Permission denied
> gmake[1]: *** [metadata-exportfs.xml] Error 126
> rm metadata-LVM.xml metadata-Pure-FTPd.xml metadata-SAPDatabase.xml
> metadata-exportfs.xml metadata-ManageRAID.xml metadata-CTDB.xml
> metadata-Xen.xml metadata-SAPInstance.xml metadata-Xinetd.xml
> metadata-Route.xml metadata-ICP.xml metadata-MailTo.xml
> metadata-SysInfo.xml metadata-Squid.xml metadata-IPaddr.xml
> metadata-Delay.xml metadata-SendArp.xml metadata-VirtualDomain.xml
> metadata-db2.xml metadata-AoEtarget.xml metadata-Stateful.xml
> metadata-Dummy.xml metadata-ServeRAID.xml metadata-Evmsd.xml
> metadata-eDir88.xml metadata-VIPArip.xml metadata-IPsrcaddr.xml
> metadata-WinPopup.xml metadata-ClusterMon.xml metadata-Filesystem.xml
> metadata-SphinxSearchDaemon.xml metadata-WAS6.xml metadata-apache.xml
> metadata-AudibleAlarm.xml metadata-LinuxSCSI.xml metadata-EvmsSCC.xml
> metadata-IPaddr2.xml metadata-Raid1.xml metadata-WAS.xml
> metadata-drbd.xml metadata-ManageVE.xml metadata-anything.xml
> gmake[1]: Leaving directory
> `/tmp/Cluster-Resource-Agents-e2ed3a704fca/doc'
> make: *** [all-recursive] Error 1
>
> I checked the system (RedHat Enterprise Server v5.5). There is no
> directory or file under "heartbeat/exportfs" as indicated above.
> Heartbeat supposed to compile after Resource Agent. Thanks in advance.
>
> Ryan
>
>
>
> This message (including any attachments) is intended
> solely for the specific individual(s) or entity(ies) named
> above, and may contain legally privileged and
> confidential information. If you are not the intended
> recipient, please notify the sender immediately by
> replying to this message and then delete it.
> Any disclosure, copying, or distribution of this message,
> or the taking of any action based on it, by other than the
> intended recipient, is strictly prohibited.
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
More information about the Pacemaker
mailing list