Re: [Pacemaker] crm_resource problem

2009-08-17 Thread Dan Urist
Dejan Muhamedagic wrote: > > Why did you use a custom script and not the crm shell? BTW, the > crm shell is also scriptable. I'm managing four 2-node clusters which each run similar services (one or more linux vservers on top of drbd-lvm volumes). It's much cleaner and clearer for me to keep each

Re: [Pacemaker] crm_resource problem

2009-08-17 Thread Dejan Muhamedagic
Hi, On Mon, Aug 17, 2009 at 01:46:14PM -0600, Dan Urist wrote: > Andrew Beekhof wrote: > > > Possibly, but not in this case. > > I'd guess you had some constraints that reference the vsvg1 resource. > > > > Deleting the resource would therefore leave dangling dependancies > > which is not allowe

Re: [Pacemaker] crm_resource problem

2009-08-17 Thread Dan Urist
Andrew Beekhof wrote: > Possibly, but not in this case. > I'd guess you had some constraints that reference the vsvg1 resource. > > Deleting the resource would therefore leave dangling dependancies > which is not allowed. Thanks, that makes sense. > Btw. if you used the "shadow" feature of the

Re: [Pacemaker] crm_resource problem

2009-08-17 Thread Andrew Beekhof
On Mon, Aug 17, 2009 at 7:36 PM, Dan Urist wrote: > I have the following definition for an LVM volume, extracted from > cibadmin -Q: > >>       >>       >>         >>           > name="volgrpname" value="vsvg1"/> >>           > name="target_role" value="stopped"/> >>         >>         >>    

Re: [Pacemaker] crm_resource problem

2009-08-17 Thread Dan Urist
I was able to delete the resource through the crm shell, so that's at least a workaround for me. Dan Urist wrote: > I have the following definition for an LVM volume, extracted from > cibadmin -Q: > >> >> >> >> > name="volgrpname" value="vsvg1"/> >> > na

[Pacemaker] crm_resource problem

2009-08-17 Thread Dan Urist
I have the following definition for an LVM volume, extracted from cibadmin -Q: > > > >value="vsvg1"/> >name="target_role" value="stopped"/> > > >value="Started"/> > > I want to get email alerts when this