[Pacemaker] debian 6 crm commit problem
hugo holzer
hugoholzer at hotmail.com
Thu Feb 28 13:06:15 UTC 2013
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.
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
More information about the Pacemaker
mailing list