[Pacemaker] debian 6 crm commit problem

Jake Smith jsmith at argotec.com
Thu Feb 28 14:22:07 UTC 2013


----- Original Message -----
> From: "hugo holzer" <hugoholzer at hotmail.com>
> To: pacemaker at oss.clusterlabs.org
> Sent: Thursday, February 28, 2013 8:06:15 AM
> Subject: [Pacemaker] debian 6 crm commit problem
> 
> 
> Hi
> 
> I try to add a lsb resource to my running corosync config.
> 
> crm configure
> crm(live)configure# primitive slapd lsb:slapd
> crm(live)configure# commit
> --norc: no such option: noprofile
> ERROR: creating tmp shadow __crmshell.32177 failed
> 
> I am using user root. I'am using zsh, but I tried also under bash or
> sh without success. It's not a problem with slapd, I tried also
> other lsb services with no succes. On another system with the same
> software version, I don't have this problem.

This wont fix your lsb service problem but I would recommend using the ocf slapd resource agent from here.  More robust and supports multi-master configs, etc.
https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/slapd

Jake

> 
> 
> current config:
> ---------------
> 
> node tj4 \
>         attributes standby="off"
> node tj5 \
>         attributes standby="off"
> primitive bind lsb:bind9 \
>         meta target-role="Started"
> primitive drbd_ha0 ocf:linbit:drbd \
>         params drbd_resource="ha0" \
>         op monitor interval="15s"
> primitive drbd_ha1 ocf:linbit:drbd \
>         params drbd_resource="ha1" \
>         op monitor interval="15s"
> primitive fs_ha0 ocf:heartbeat:Filesystem \
>         params device="/dev/drbd0" directory="/data/export"
>         fstype="ext3"
> primitive fs_ha1 ocf:heartbeat:Filesystem \
>         params device="/dev/drbd1" directory="/data/backup"
>         fstype="ext3"
> primitive ip_ha0 ocf:heartbeat:IPaddr2 \
>         params ip="172.16.1.22" nic="eth0"
> primitive nfs-common lsb:nfs-common
> primitive nfs-kernel-server lsb:nfs-kernel-server
> primitive slapd lsb:slapd
> group services fs_ha0 nfs-kernel-server nfs-common ip_ha0 bind
> group services_ha1 fs_ha1
> ms ms_drbd_ha0 drbd_ha0 \
>         meta master-max="1" master-node-max="1" clone-max="2"
>         clone-node-max="1" notify="true"
> ms ms_drbd_ha1 drbd_ha1 \
>         meta master-max="1" master-node-max="1" clone-max="2"
>         clone-node-max="1" notify="true"
> location location_on_node1 ms_drbd_ha0 100: tj4
> location location_on_node2 ms_drbd_ha1 100: tj5
> colocation services_ha1_on_drbd inf: services_ha1 ms_drbd_ha1:Master
> colocation services_on_drbd inf: services ms_drbd_ha0:Master
> order bind_after_fs_ha0 inf: fs_ha0 bind
> order bind_after_ip_ha0 inf: ip_ha0 bind
> order services_after_drbd inf: ms_drbd_ha0:promote services:start
> order services_ha1_after_drbd inf: ms_drbd_ha1:promote
> services_ha1:start
> property $id="cib-bootstrap-options" \
>         no-quorum-policy="ignore" \
>         stonith-enabled="false" \
>         dc-version="1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b" \
>         cluster-infrastructure="openais" \
>         expected-quorum-votes="2" \
>         last-lrm-refresh="1361796006"
> 
> 
> versions:
> ---------
> 
> pacemaker 1.0.9.1+hg15626-1
> corosync 1.2.1-4
> _______________________________________________
> 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
> Bugs: http://bugs.clusterlabs.org
> 
> 




More information about the Pacemaker mailing list