Re: [Linux-ha-dev] Problems starting heartbeat 3.0.1-1 - /etc/ha.d/shellfuncs No such file or directory [In reply to

2009-11-17 Thread Andrew Beekhof
On Mon, Nov 16, 2009 at 6:49 PM, Bob Schatz bsch...@yahoo.com wrote:
 I missed Andrew's reply so I am including his comment and my results below:

 On my cluster I did:

    [r...@fc11-1 ~]# rpm -qi resource-agents | grep ersion
    Version     : 3.0.4                             Vendor: Fedora Project

ah, thats the problem.

on fc11 resource-agents-3.0.4 doesn't yet have the heartbeat agents.
with fc12 that problem goes away.

for now, you'll have to remove 3.0.4 and specify 1.0.1 on the command
line when you install.

so:
  yum install resource-agents = 1.0.1 pacemaker

    [r...@fc11-1 ~]# rpm -ql resource-agents | grep shellfunc
    /usr/share/cluster/ocf-shellfuncs
    [r...@fc11-1 ~]#

 Thanks,

 Bob

 --

 [05:08 PM] root[at]f12 ~ # rpm -qi resource-agents | grep ersion
 Version     : 3.0.4                             Vendor: Fedora Project
 [05:07 PM] root[at]f12 ~ # rpm -ql resource-agents | grep shellfunc
 /etc/ha.d/shellfuncs     there
 /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs
 /usr/share/cluster/ocf-shellfuncs

 What version of resource-agents do you have installed?

 On Fri, Nov 13, 2009 at 3:52 AM, Bob Schatz bschatz[at]yahoo.com wrote:
 For some reason I did not receive the email from Andrew so I am including it 
 below.

 Cluster glue was installed and I have attached the output from yum at the 
 end of this email.


 Also, I noticed that the files that used to reside in
 /usr/lib/ocf/resource.d/heartbeat/* are no longer there.  I could not
 configure an IPaddr resource.


 Thanks in advance

 Bob


 that file should be part of cluster-glue... was that package not installed?

 On Wed, Nov 11, 2009 at 8:19 PM, Bob Schatz bschatz[at]yahoo.com wrote:
 Hi,

 I am new to Linux HA and I am having a problem with heartbeat 3.0.1.

 It appears that /etc/ha.d/shellfuncs is no longer in the release but it is 
 still called from /etc/init.d/heartbeat.

 I reloaded a system with FC11 and then downloaded the pacemaker/heartbeat 
 binaries as follows:

   # wget -O /etc/yum.repos.d/pacemaker.repo 
 http://clusterlabs.org/rpm/fedora-11/clusterlabs.repo
   # yum install -y pacemaker corosync heartbeat

 I copied a ha.cf to /etc/ha.d/ha.cf and attempted to start heartbeat as 
 follows:

 root[at]fc11-2:# sh -x /etc/init.d/heartbeat start
 + '[' -f /etc/sysconfig/heartbeat ']'
 + HA_DIR=/etc/ha.d
 + export HA_DIR
 + CONFIG=/etc/ha.d/ha.cf
 + . /etc/ha.d/shellfuncs
 /etc/init.d/heartbeat: line 51: /etc/ha.d/shellfuncs: No such file or 
 directory


 I did not see this as a known problem on the mailing lists.


 Thanks,

 Bob


 # yum install -y pacemaker corosync heartbeat

 Loaded plugins: refresh-packagekit
 clusterlabs                                              | 1.2 kB     00:00
 clusterlabs/primary                                      |  14 kB     00:00
 clusterlabs                                                               
 47/47
 Setting up Install Process
 Resolving Dependencies
 -- Running transaction check
 --- Package corosync.x86_64 0:1.1.2-1.fc11 set to be updated
 -- Processing Dependency: corosynclib = 1.1.2-1.fc11 for package: 
 corosync-1.1.2-1.fc11.x86_64
 -- Processing Dependency: 
 libvotequorum.so.4(COROSYNC_VOTEQUORUM_1.0)(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64
 -- Processing Dependency: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit) for 
 package: corosync-1.1.2-1.fc11.x86_64
 -- Processing Dependency: libcfg.so.4(COROSYNC_CFG_0.82)(64bit) for 
 package: corosync-1.1.2-1.fc11.x86_64
 -- Processing Dependency: libquorum.so.4(COROSYNC_QUORUM_1.0)(64bit) for 
 package: corosync-1.1.2-1.fc11.x86_64
 -- Processing Dependency: libpload.so.4(COROSYNC_PLOAD_1.0)(64bit) for 
 package: corosync-1.1.2-1.fc11.x86_64
 -- Processing Dependency: libcoroipcs.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64
 -- Processing Dependency: liblogsys.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64
 -- Processing Dependency: libquorum.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64
 -- Processing Dependency: libconfdb.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64
 -- Processing Dependency: libvotequorum.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64
 -- Processing Dependency: libcfg.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64
 -- Processing Dependency: libtotem_pg.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64
 -- Processing Dependency: libcoroipcc.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64
 -- Processing Dependency: libpload.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64
 --- Package heartbeat.x86_64 0:3.0.1-1.fc11 set to be updated
 -- Processing Dependency: resource-agents for package: 
 heartbeat-3.0.1-1.fc11.x86_64
 -- Processing Dependency: cluster-glue-libs for package: 
 heartbeat-3.0.1-1.fc11.x86_64
 -- Processing Dependency: PyXML for package: heartbeat-3.0.1-1.fc11.x86_64
 -- 

Re: [Linux-ha-dev] Problems starting heartbeat 3.0.1-1 - /etc/ha.d/shellfuncs No such file or directory [In reply to

2009-11-16 Thread Bob Schatz
I missed Andrew's reply so I am including his comment and my results below:

On my cluster I did:

[r...@fc11-1 ~]# rpm -qi resource-agents | grep ersion
Version : 3.0.4 Vendor: Fedora Project
[r...@fc11-1 ~]# rpm -ql resource-agents | grep shellfunc
/usr/share/cluster/ocf-shellfuncs
[r...@fc11-1 ~]#

Thanks,

Bob

--

[05:08 PM] root[at]f12 ~ # rpm -qi resource-agents | grep ersion 
Version : 3.0.4 Vendor: Fedora Project 
[05:07 PM] root[at]f12 ~ # rpm -ql resource-agents | grep shellfunc 
/etc/ha.d/shellfuncs there 
/usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs 
/usr/share/cluster/ocf-shellfuncs 

What version of resource-agents do you have installed? 

On Fri, Nov 13, 2009 at 3:52 AM, Bob Schatz bschatz[at]yahoo.com wrote: 
 For some reason I did not receive the email from Andrew so I am including it 
 below. 
 
 Cluster glue was installed and I have attached the output from yum at the end 
 of this email. 
 

Also, I noticed that the files that used to reside in
/usr/lib/ocf/resource.d/heartbeat/* are no longer there.  I could not
configure an IPaddr resource. 
 
 
 Thanks in advance 
 
 Bob 
 
 
 that file should be part of cluster-glue... was that package not installed? 
 
 On Wed, Nov 11, 2009 at 8:19 PM, Bob Schatz bschatz[at]yahoo.com wrote: 
 Hi, 
 
 I am new to Linux HA and I am having a problem with heartbeat 3.0.1. 
 
 It appears that /etc/ha.d/shellfuncs is no longer in the release but it is 
 still called from /etc/init.d/heartbeat. 
 
 I reloaded a system with FC11 and then downloaded the pacemaker/heartbeat 
 binaries as follows: 
 
   # wget -O /etc/yum.repos.d/pacemaker.repo 
 http://clusterlabs.org/rpm/fedora-11/clusterlabs.repo 
   # yum install -y pacemaker corosync heartbeat 
 
 I copied a ha.cf to /etc/ha.d/ha.cf and attempted to start heartbeat as 
 follows: 
 
 root[at]fc11-2:# sh -x /etc/init.d/heartbeat start 
 + '[' -f /etc/sysconfig/heartbeat ']' 
 + HA_DIR=/etc/ha.d 
 + export HA_DIR 
 + CONFIG=/etc/ha.d/ha.cf 
 + . /etc/ha.d/shellfuncs 
 /etc/init.d/heartbeat: line 51: /etc/ha.d/shellfuncs: No such file or 
 directory 
 
 
 I did not see this as a known problem on the mailing lists. 
 
 
 Thanks, 
 
 Bob 
 
 
 # yum install -y pacemaker corosync heartbeat 
 
 Loaded plugins: refresh-packagekit 
 clusterlabs  | 1.2 kB 00:00 
 clusterlabs/primary  |  14 kB 00:00 
 clusterlabs   
 47/47 
 Setting up Install Process 
 Resolving Dependencies 
 -- Running transaction check 
 --- Package corosync.x86_64 0:1.1.2-1.fc11 set to be updated 
 -- Processing Dependency: corosynclib = 1.1.2-1.fc11 for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libvotequorum.so.4(COROSYNC_VOTEQUORUM_1.0)(64bit) 
 for package: corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit) for 
 package: corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libcfg.so.4(COROSYNC_CFG_0.82)(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libquorum.so.4(COROSYNC_QUORUM_1.0)(64bit) for 
 package: corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libpload.so.4(COROSYNC_PLOAD_1.0)(64bit) for 
 package: corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libcoroipcs.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: liblogsys.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libquorum.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libconfdb.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libvotequorum.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libcfg.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libtotem_pg.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libcoroipcc.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libpload.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 --- Package heartbeat.x86_64 0:3.0.1-1.fc11 set to be updated 
 -- Processing Dependency: resource-agents for package: 
 heartbeat-3.0.1-1.fc11.x86_64 
 -- Processing Dependency: cluster-glue-libs for package: 
 heartbeat-3.0.1-1.fc11.x86_64 
 -- Processing Dependency: PyXML for package: heartbeat-3.0.1-1.fc11.x86_64 
 -- Processing Dependency: cluster-glue for package: 
 heartbeat-3.0.1-1.fc11.x86_64 
 -- Processing Dependency: libplumb.so.2()(64bit) for package: 
 heartbeat-3.0.1-1.fc11.x86_64 
 -- Processing Dependency: libapphb.so.2()(64bit) for package: 
 heartbeat-3.0.1-1.fc11.x86_64 
 -- 

Re: [Linux-ha-dev] Problems starting heartbeat 3.0.1-1 - /etc/ha.d/shellfuncs No such file or directory [In reply to

2009-11-16 Thread Bob Schatz
To debug this problem further, I downloaded fc11 from Fedora instead of using 
our internal version
which was downloaded ~June 29, 2009.

With the version downloaded from Fedora, I then did: 

# wget -O /etc/yum.repos.d/pacemaker.repo 
http://clusterlabs.org/rpm/fedora-11/clusterlabs.repo 
# yum install -y pacemaker corosync heartbeat

I then saw that /etc/ha.d/shellfuncs was present!  I am going to configure the 
cluster and go from here.

Thank you Andrew for the debugging help.

In order to avoid other folks from running into the problem, do you have any 
tips on what I should investigate?


Thanks again for your help,

Bob


- Original Message 
From: Bob Schatz bsch...@yahoo.com
To: linux-ha-dev@lists.linux-ha.org
Sent: Mon, November 16, 2009 9:49:43 AM
Subject: Re: [Linux-ha-dev] Problems starting heartbeat 3.0.1-1 - 
/etc/ha.d/shellfuncs No such file or directory [In reply to

I missed Andrew's reply so I am including his comment and my results below:

On my cluster I did:

[r...@fc11-1 ~]# rpm -qi resource-agents | grep ersion
Version : 3.0.4 Vendor: Fedora Project
[r...@fc11-1 ~]# rpm -ql resource-agents | grep shellfunc
/usr/share/cluster/ocf-shellfuncs
[r...@fc11-1 ~]#

Thanks,

Bob

--

[05:08 PM] root[at]f12 ~ # rpm -qi resource-agents | grep ersion 
Version : 3.0.4 Vendor: Fedora Project 
[05:07 PM] root[at]f12 ~ # rpm -ql resource-agents | grep shellfunc 
/etc/ha.d/shellfuncs there 
/usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs 
/usr/share/cluster/ocf-shellfuncs 

What version of resource-agents do you have installed? 

On Fri, Nov 13, 2009 at 3:52 AM, Bob Schatz bschatz[at]yahoo.com wrote: 
 For some reason I did not receive the email from Andrew so I am including it 
 below. 
 
 Cluster glue was installed and I have attached the output from yum at the end 
 of this email. 
 

Also, I noticed that the files that used to reside in
/usr/lib/ocf/resource.d/heartbeat/* are no longer there.  I could not
configure an IPaddr resource. 
 
 
 Thanks in advance 
 
 Bob 
 
 
 that file should be part of cluster-glue... was that package not installed? 
 
 On Wed, Nov 11, 2009 at 8:19 PM, Bob Schatz bschatz[at]yahoo.com wrote: 
 Hi, 
 
 I am new to Linux HA and I am having a problem with heartbeat 3.0.1. 
 
 It appears that /etc/ha.d/shellfuncs is no longer in the release but it is 
 still called from /etc/init.d/heartbeat. 
 
 I reloaded a system with FC11 and then downloaded the pacemaker/heartbeat 
 binaries as follows: 
 
   # wget -O /etc/yum.repos.d/pacemaker.repo 
 http://clusterlabs.org/rpm/fedora-11/clusterlabs.repo 
   # yum install -y pacemaker corosync heartbeat 
 
 I copied a ha.cf to /etc/ha.d/ha.cf and attempted to start heartbeat as 
 follows: 
 
 root[at]fc11-2:# sh -x /etc/init.d/heartbeat start 
 + '[' -f /etc/sysconfig/heartbeat ']' 
 + HA_DIR=/etc/ha.d 
 + export HA_DIR 
 + CONFIG=/etc/ha.d/ha.cf 
 + . /etc/ha.d/shellfuncs 
 /etc/init.d/heartbeat: line 51: /etc/ha.d/shellfuncs: No such file or 
 directory 
 
 
 I did not see this as a known problem on the mailing lists. 
 
 
 Thanks, 
 
 Bob 
 
 
 # yum install -y pacemaker corosync heartbeat 
 
 Loaded plugins: refresh-packagekit 
 clusterlabs  | 1.2 kB 00:00 
 clusterlabs/primary  |  14 kB 00:00 
 clusterlabs   
 47/47 
 Setting up Install Process 
 Resolving Dependencies 
 -- Running transaction check 
 --- Package corosync.x86_64 0:1.1.2-1.fc11 set to be updated 
 -- Processing Dependency: corosynclib = 1.1.2-1.fc11 for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libvotequorum.so.4(COROSYNC_VOTEQUORUM_1.0)(64bit) 
 for package: corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit) for 
 package: corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libcfg.so.4(COROSYNC_CFG_0.82)(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libquorum.so.4(COROSYNC_QUORUM_1.0)(64bit) for 
 package: corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libpload.so.4(COROSYNC_PLOAD_1.0)(64bit) for 
 package: corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libcoroipcs.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: liblogsys.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libquorum.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libconfdb.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libvotequorum.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64 
 -- Processing Dependency: libcfg.so.4()(64bit) for package: 
 corosync-1.1.2-1.fc11.x86_64