Re: [Linux-HA] ocf:heartbeat:exportfs on ubuntu lucid
> Hi, > > I try to setup a high available NFS server according to the tutorial > "Highly available NFS storage with DRBD and Pacemaker". > > My problem is that Ubuntu Lucid LTS does not know the resource > ocf:heartbeat:exportfs. I tried to copy the file exportfs from the current > git repository but I still get: > > crm(live)configure# primitive p_exportfs_root ocf:heartbeat:exportfs > params fsid=0 directory "/srv/nfs/afs" > options="rw,no_root_squash,crossmnt" > clientspec="192.168.143.0/255.255.255.0" op monitor interval="30s" > ERROR: ocf:heartbeat:exportfs: could not parse meta-data: > ERROR: ocf:heartbeat:exportfs: no such resource agent > > > Are there newer packages available for Ubuntu Lucid? Or how to get it > running? > > Christoph Where did you copy the script to? -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98 signature.asc Description: This is a digitally signed message part. ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
[Linux-HA] recommended monitor/start/timeout values for sbd stonith
following 'monitor', 'start' and 'timeout' values are recommended/suggested and ok ? primitive sbd_stonith stonith:external/sbd \ meta target-role="Started" \ operations $id="sbd_stonith-operations" \ op monitor interval="15" timeout="15" start-delay="15" \ op start interval="0" timeout="15" \ op stop interval="0" timeout="15" \ please suggest/recommend -- Regards, Muhammad Sharfuddin | NDS Technologies Pvt Ltd | cell: +92-333-2144823 | UAN: +92-21-111-111-142 ext: 113 The London Stock Exchange moves to SUSE Linux http://www.computerworlduk.com/news/open-source/3260727/london-stock-exchange-in-historic-linux-go-live/ http://www.zdnet.com/blog/open-source/the-london-stock-exchange-moves-to-novell-linux/8285 Your Linux is Ready http://www.novell.com/linux ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
[Linux-HA] ocf:heartbeat:exportfs on ubuntu lucid
Hi, I try to setup a high available NFS server according to the tutorial "Highly available NFS storage with DRBD and Pacemaker". My problem is that Ubuntu Lucid LTS does not know the resource ocf:heartbeat:exportfs. I tried to copy the file exportfs from the current git repository but I still get: crm(live)configure# primitive p_exportfs_root ocf:heartbeat:exportfs params fsid=0 directory "/srv/nfs/afs" options="rw,no_root_squash,crossmnt" clientspec="192.168.143.0/255.255.255.0" op monitor interval="30s" ERROR: ocf:heartbeat:exportfs: could not parse meta-data: ERROR: ocf:heartbeat:exportfs: no such resource agent Are there newer packages available for Ubuntu Lucid? Or how to get it running? Christoph ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] HP ILO 3 and external/riloe problems
Hi, On Tue, Mar 15, 2011 at 02:42:17PM +0100, Sascha Hagedorn wrote: > Hello, > > is anyone using the external/riloe stonith plugin with HP's ILO 3? I cannot > seem to get the stonith riloe plugin to work. Access to the HTTPS > Webinterface works as well as SSH access. external/riloe doesn't work with iLO 3. And it probably never will, because one can use ipmilan or external/ipmi instead. Thanks, Dejan > Here is the output I get: > > node1:~ # stonith -vvv -t external/riloe hostlist=10.140.1.1 > ilo_hostname=10.140.1.1 ilo_user=iluser ilo_password=ilopassword > ilo_can_reset=1 ilo_protocol=2.0 ilo_powerdown_method=button -S > external/riloe[10999]: ERROR: no response from 10.140.1.1 > ** INFO: external_run_cmd: Calling '/usr/lib64/stonith/plugins/external/riloe > status' returned 256 > > ** (process:10997): CRITICAL **: external_status: 'riloe status' failed with > rc 256 > stonith: external/riloe device not accessible. > > Any suggestions on how to debug this furthermore? > > Thanks in advance, > Sascha Hagedorn > ___ > Linux-HA mailing list > Linux-HA@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@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] question on Creating an Active/Passive iSCSI configuration
On 3/14/2011 6:18 AM, Dejan Muhamedagic wrote: > On Fri, Mar 11, 2011 at 10:23:37AM -0800, Randy Katz wrote: >> On 3/11/2011 3:29 AM, Dejan Muhamedagic wrote: >>> Hi, >>> >>> On Fri, Mar 11, 2011 at 01:36:25AM -0800, Randy Katz wrote: On 3/11/2011 12:50 AM, RaSca wrote: > Il giorno Ven 11 Mar 2011 07:32:32 CET, Randy Katz ha scritto: >> ps - in /var/log/messages I find this: >> >> Mar 10 22:31:45 drbd1 lrmd: [3274]: ERROR: get_resource_meta: pclose >> failed: Interrupted system call >> Mar 10 22:31:45 drbd1 lrmd: [3274]: WARN: on_msg_get_metadata: empty >> metadata for ocf::linbit::drbd. >> Mar 10 22:31:45 drbd1 lrmadmin: [3481]: ERROR: >> lrm_get_rsc_type_metadata(578): got a return code HA_FAIL from a reply >> message of rmetadata with function get_ret_from_msg. > [...] > > Hi, > I think that the message "no such resource agent" is explaining what's > the matter. > Does the file /usr/lib/ocf/resource.d/linbit/drbd exists? Is the drbd > file executable? Have you correctly installed the drbd packages? > > Check those things, you can try to reinstall drbd. > Hi # ls -l /usr/lib/ocf/resource.d/linbit/drbd -rwxr-xr-x 1 root root 24523 Jun 4 2010 /usr/lib/ocf/resource.d/linbit/drbd >>> Which cluster-glue version do you run? >>> Try also: >>> >>> # lrmadmin -C >>> # lrmadmin -P ocf drbd >>> # export OCF_ROOT=/usr/lib/ocf >>> # /usr/lib/ocf/resource.d/linbit/drbd meta-data >> I am running from a source build/install as per clusterlabs.org as the >> rpm's had broken dependencies and >> would not install. I have now blown away that CentOS (one of them) >> machine and installed openSUSE as they >> said everything was included but it seems on 11.3 not on 11.4, on 11.4 >> the install is broken and so now > I guess that openSUSE would like to hear about it too, just in > which way it is broken. > I did an openSUSE 11.4 install from DVD. I then used zypper to install pacemaker heartbeat corosync libpacemaker3. I ended up with a clusterlabs.repo and older versions and had to break dependency for pacemaker or it would not install. I found out later there are later versions, precompiled in the openSUSE repository, you just need to call the specific versions and they will install, I had to remove the previous as some new dependencies were created. The versions I ended up with are: Name: pacemaker Version: 1.1.5-3.2 Arch: x86_64 Vendor: openSUSE Name: libpacemaker3 Version: 1.1.5-3.2 Arch: x86_64 Vendor: openSUSE Name: heartbeat Version: 3.0.4-25.28.1 Arch: x86_64 Vendor: openSUSE Name: corosync Version: 1.3.0-3.1 Arch: x86_64 Vendor: openSUSE At this point I was not sure whether to install iet or tgt, I saw some examples with tgt so I installed that. So far it looks like I have CRM and have mocked up the example from ha-iscsi.pdf (trying to mitigate some of the errors, there are errors!). I noticed the floating ip addresses do not ping so I added a new set and they ping though the original ones do not, perhaps something else in the config is prohibiting that. Here are my current crm config commands: property stonith-enabled="false" property no-quorum-policy="ignore" property default-resource-stickiness="200" primitive res_drbd_iscsivg01 ocf:linbit:drbd params drbd_resource="iscsivg01" op monitor interval="10s" ms ms_drbd_iscsivg01 res_drbd_iscsivg01 meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true" primitive res_drbd_iscsivg02 ocf:linbit:drbd params drbd_resource="iscsivg02" op monitor interval="10s" ms ms_drbd_iscsivg02 res_drbd_iscsivg02 meta clone-max="2" notify="true" primitive res_ip_alicebob01 ocf:heartbeat:IPaddr2 params ip="192.168.1.218" cidr_netmask="24" op monitor interval="10s" primitive res_ip_alicebob02 ocf:heartbeat:IPaddr2 params ip="192.168.1.219" cidr_netmask="24" op monitor interval="10s" primitive res_ip_c1c201 ocf:heartbeat:IPaddr2 params ip="192.168.1.220" cidr_netmask="24" op monitor interval="10s" primitive res_ip_c1c202 ocf:heartbeat:IPaddr2 params ip="192.168.1.221" cidr_netmask="24" op monitor interval="10s" primitive res_lvm_iscsivg01 ocf:heartbeat:LVM params volgrpname="iscsivg01" op monitor interval="30s" primitive res_lvm_iscsivg02 ocf:heartbeat:LVM params volgrpname="iscsivg02" op monitor interval="30s" primitive res_target_iscsivg01 ocf:heartbeat:iSCSITarget params iqn="iqn.2011-03.com.example:storage.example.iscsivg01" tid="1" op monitor interval="10s" primitive res_target_iscsivg02 ocf:heartbeat:iSCSITarget params iqn="iqn.2011-03.com.example:storage.example.iscsivg02" tid="2" op monitor interval="10s" primitive res_lu_iscsivg01_lun1 ocf:heartbeat:iSCSILogicalUnit params target_iqn="iqn.2011-03.com.example:storage.example.iscsivg01" lun="1" path="/dev/iscsivg01/lun1" op monitor interval="10s" primitive res_lu_iscsivg01_lun2 ocf:heartbeat:iSCSILogicalUnit params target_iqn="iqn.2011-03.com.example:storage.exampl
[Linux-HA] HP ILO 3 and external/riloe problems
Hello, is anyone using the external/riloe stonith plugin with HP's ILO 3? I cannot seem to get the stonith riloe plugin to work. Access to the HTTPS Webinterface works as well as SSH access. Here is the output I get: node1:~ # stonith -vvv -t external/riloe hostlist=10.140.1.1 ilo_hostname=10.140.1.1 ilo_user=iluser ilo_password=ilopassword ilo_can_reset=1 ilo_protocol=2.0 ilo_powerdown_method=button -S external/riloe[10999]: ERROR: no response from 10.140.1.1 ** INFO: external_run_cmd: Calling '/usr/lib64/stonith/plugins/external/riloe status' returned 256 ** (process:10997): CRITICAL **: external_status: 'riloe status' failed with rc 256 stonith: external/riloe device not accessible. Any suggestions on how to debug this furthermore? Thanks in advance, Sascha Hagedorn ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems