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 
> --> Processing Dependency: libhbclient.so.1()(64bit) for package: 
> heartbeat-3.0.1-1.fc11.x86_64 
> ---> Package pacemaker.x86_64 0:1.0.6-1.fc11 set to be updated 
> --> Processing Dependency: libcrmcluster.so.1()(64bit) for package: 
> pacemaker-1.0.6-1.fc11.x86_64 
> --> Processing Dependency: libstonithd.so.0()(64bit) for package: 
> pacemaker-1.0.6-1.fc11.x86_64 
> --> Processing Dependency: libcib.so.1()(64bit) for package: 
> pacemaker-1.0.6-1.fc11.x86_64 
> --> Processing Dependency: libesmtp.so.5()(64bit) for package: 
> pacemaker-1.0.6-1.fc11.x86_64 
> --> Processing Dependency: libpengine.so.3()(64bit) for package: 
> pacemaker-1.0.6-1.fc11.x86_64 
> --> Processing Dependency: libtransitioner.so.1()(64bit) for package: 
> pacemaker-1.0.6-1.fc11.x86_64 
> --> Processing Dependency: libcrmcommon.so.2()(64bit) for package: 
> pacemaker-1.0.6-1.fc11.x86_64 
> --> Processing Dependency: libpe_status.so.2()(64bit) for package: 
> pacemaker-1.0.6-1.fc11.x86_64 
> --> Processing Dependency: libpe_rules.so.2()(64bit) for package: 
> pacemaker-1.0.6-1.fc11.x86_64 
> --> Running transaction check 
> ---> Package PyXML.x86_64 0:0.8.4-16.fc11 set to be updated 
> ---> Package cluster-glue.x86_64 0:1.0.1-1.fc11 set to be updated 
> --> Processing Dependency: libopenhpi.so.2()(64bit) for package: 
> cluster-glue-1.0.1-1.fc11.x86_64 
> ---> Package cluster-glue-libs.x86_64 0:1.0.1-1.fc11 set to be updated 
> ---> Package corosynclib.x86_64 0:1.1.2-1.fc11 set to be updated 
> --> Processing Dependency: librdmacm.so.1(RDMACM_1.0)(64bit) for package: 
> corosynclib-1.1.2-1.fc11.x86_64 
> --> Processing Dependency: libibverbs.so.1(IBVERBS_1.0)(64bit) for package: 
> corosynclib-1.1.2-1.fc11.x86_64 
> --> Processing Dependency: libibverbs.so.1(IBVERBS_1.1)(64bit) for package: 
> corosynclib-1.1.2-1.fc11.x86_64 
> --> Processing Dependency: libibverbs.so.1()(64bit) for package: 
> corosynclib-1.1.2-1.fc11.x86_64 
> --> Processing Dependency: librdmacm.so.1()(64bit) for package: 
> corosynclib-1.1.2-1.fc11.x86_64 
> ---> Package heartbeat-libs.x86_64 0:3.0.1-1.fc11 set to be updated 
> ---> Package libesmtp.x86_64 0:1.0.4-10.fc11 set to be updated 
> ---> Package pacemaker-libs.x86_64 0:1.0.6-1.fc11 set to be updated 
> ---> Package resource-agents.noarch 0:3.0.4-1.fc11 set to be updated 
> --> Running transaction check 
> ---> Package libibverbs.x86_64 0:1.1.2-2.fc11 set to be updated 
> ---> Package librdmacm.x86_64 0:1.0.7-2.fc11 set to be updated 
> ---> Package openhpi-libs.x86_64 0:2.14.0-2.fc11 set to be updated 
> --> Finished Dependency Resolution 
> 
> Dependencies Resolved 
> 
> ================================================================================
>  
>  Package                Arch        Version              Repository        
> Size 
> ================================================================================
>  
> Installing: 
>  corosync               x86_64      1.1.2-1.fc11         clusterlabs      166 
> k 
>  heartbeat              x86_64      3.0.1-1.fc11         clusterlabs      196 
> k 
>  pacemaker              x86_64      1.0.6-1.fc11         clusterlabs      667 
> k 
> Installing for dependencies: 
>  PyXML                  x86_64      0.8.4-16.fc11        updates          1.0 
> M 
>  cluster-glue           x86_64      1.0.1-1.fc11         clusterlabs      268 
> k 
>  cluster-glue-libs      x86_64      1.0.1-1.fc11         clusterlabs      129 
> k 
>  corosynclib            x86_64      1.1.2-1.fc11         clusterlabs      168 
> k 
>  heartbeat-libs         x86_64      3.0.1-1.fc11         clusterlabs      295 
> k 
>  libesmtp               x86_64      1.0.4-10.fc11        fedora            62 
> k 
>  libibverbs             x86_64      1.1.2-2.fc11         fedora            45 
> k 
>  librdmacm              x86_64      1.0.7-2.fc11         fedora            23 
> k 
>  openhpi-libs           x86_64      2.14.0-2.fc11        fedora           169 
> k 
>  pacemaker-libs         x86_64      1.0.6-1.fc11         clusterlabs      310 
> k 
>  resource-agents        noarch      3.0.4-1.fc11         updates          105 
> k 
> 
> Transaction Summary 
> ================================================================================
>  
> Install      14 Package(s) 
> Upgrade       0 Package(s) 
> 
> Total download size: 3.6 M 
> Downloading Packages: 
> (1/14): PyXML-0.8.4-16.fc11.x86_64.rpm                   | 1.0 MB     00:13 
> (2/14): cluster-glue-1.0.1-1.fc11.x86_64.rpm             | 268 kB     00:02 
> (3/14): cluster-glue-libs-1.0.1-1.fc11.x86_64.rpm        | 129 kB     00:00 
> (4/14): corosync-1.1.2-1.fc11.x86_64.rpm                 | 166 kB     00:03 
> (5/14): corosynclib-1.1.2-1.fc11.x86_64.rpm              | 168 kB     00:02 
> (6/14): heartbeat-3.0.1-1.fc11.x86_64.rpm                | 196 kB     00:01 
> (7/14): heartbeat-libs-3.0.1-1.fc11.x86_64.rpm           | 295 kB     00:01 
> (8/14): libesmtp-1.0.4-10.fc11.x86_64.rpm                |  62 kB     00:00 
> (9/14): libibverbs-1.1.2-2.fc11.x86_64.rpm               |  45 kB     00:00 
> (10/14): librdmacm-1.0.7-2.fc11.x86_64.rpm               |  23 kB     00:00 
> (11/14): openhpi-libs-2.14.0-2.fc11.x86_64.rpm           | 169 kB     00:00 
> (12/14): pacemaker-1.0.6-1.fc11.x86_64.rpm               | 667 kB     00:07 
> (13/14): pacemaker-libs-1.0.6-1.fc11.x86_64.rpm          | 310 kB     00:00 
> (14/14): resource-agents-3.0.4-1.fc11.noarch.rpm         | 105 kB     00:03 
> --------------------------------------------------------------------------------
>  
> Total                                            86 kB/s | 3.6 MB     00:42 
> Running rpm_check_debug 
> Running Transaction Test 
> Finished Transaction Test 
> Transaction Test Succeeded 
> Running Transaction 
>  Installing     : libibverbs-1.1.2-2.fc11.x86_64                          
> 1/14 
>  Installing     : librdmacm-1.0.7-2.fc11.x86_64                           
> 2/14 
>  Installing     : corosynclib-1.1.2-1.fc11.x86_64                         
> 3/14 
>  Installing     : corosync-1.1.2-1.fc11.x86_64                            
> 4/14 
>  Installing     : openhpi-libs-2.14.0-2.fc11.x86_64                       
> 5/14 
>  Installing     : libesmtp-1.0.4-10.fc11.x86_64                           
> 6/14 
>  Installing     : PyXML-0.8.4-16.fc11.x86_64                              
> 7/14 
>  Installing     : resource-agents-3.0.4-1.fc11.noarch                     
> 8/14 
>  Installing     : cluster-glue-libs-1.0.1-1.fc11.x86_64                   
> 9/14 
>  Installing     : cluster-glue-1.0.1-1.fc11.x86_64                       
> 10/14 
>  Installing     : heartbeat-libs-3.0.1-1.fc11.x86_64                     
> 11/14 
>  Installing     : heartbeat-3.0.1-1.fc11.x86_64                          
> 12/14 
>  Installing     : pacemaker-1.0.6-1.fc11.x86_64                          
> 13/14 
>  Installing     : pacemaker-libs-1.0.6-1.fc11.x86_64                     
> 14/14 
> 
> Installed: 
>  corosync.x86_64 0:1.1.2-1.fc11         heartbeat.x86_64 0:3.0.1-1.fc11 
>  pacemaker.x86_64 0:1.0.6-1.fc11 
> 
> Dependency Installed: 
>  PyXML.x86_64 0:0.8.4-16.fc11             cluster-glue.x86_64 0:1.0.1-1.fc11 
>  cluster-glue-libs.x86_64 0:1.0.1-1.fc11  corosynclib.x86_64 0:1.1.2-1.fc11 
>  heartbeat-libs.x86_64 0:3.0.1-1.fc11     libesmtp.x86_64 0:1.0.4-10.fc11 
>  libibverbs.x86_64 0:1.1.2-2.fc11         librdmacm.x86_64 0:1.0.7-2.fc11 
>  openhpi-libs.x86_64 0:2.14.0-2.fc11      pacemaker-libs.x86_64 
> 0:1.0.6-1.fc11 
>  resource-agents.noarch 0:3.0.4-1.fc11 
> 
> Complete! 
> root[at]fc11-1:# 
> 
> __________________________________________________ 
> Do You Yahoo!? 
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________ 
> Linux-HA mailing list 
> Linux-HA[at]lists.linux-ha.org 
> http://lists.linux-ha.org/mailman/listinfo/linux-ha 
> See also: http://linux-ha.org/ReportingProblems 
> 
_______________________________________________ 
Linux-HA mailing list 
Linux-HA[at]lists.linux-ha.org 
http://lists.linux-ha.org/mailman/listinfo/linux-ha 
See also: http://linux-ha.org/ReportingProblems


      
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to