RE: [Linux-HA] How to add resources into crm through crm admin tools?

2007-05-03 Thread Benjamin Lawetz
Using cibadmin For example to create a node: Create a file node.xml containing your node definition ex: Then run cibadmin -C -o nodes -X node.xml Deleteing,updating of resources can also be done with cibadmin. Juste use cibadmin --help to find out more.

Re: [Linux-HA] How to add resources into crm through crm admin tools?

2007-05-03 Thread Tao Yu
Thanks for the information! By doing that, I guess the resource will be added as the last one. Is that correct? Is there any control on the order? Thank. On 5/3/07, Benjamin Lawetz <[EMAIL PROTECTED]> wrote: Using cibadmin For example to create a node: Create a file node.xml containing your

Re: [Linux-HA] How to add resources into crm through crm admin tools?

2007-05-03 Thread Alan Robertson
Tao Yu wrote: > Thanks for the information! > > By doing that, I guess the resource will be added as the last one. Is that > correct? > Is there any control on the order? You can do anything you want, it's just that getting picky means becoming more clever. You can replace subtrees in the XML tr

Re: [Linux-HA] How to add resources into crm through crm admin tools?

2007-05-05 Thread Lars Marowsky-Bree
On 2007-05-03T12:26:04, Tao Yu <[EMAIL PROTECTED]> wrote: > Thanks for the information! > > By doing that, I guess the resource will be added as the last one. Is that > correct? > Is there any control on the order? The order of resources within the CIB doesn't matter; except within group objects

Re: [Linux-HA] How to add resources into crm through crm admin tools?

2007-05-06 Thread Yan Fitterer
One reason I like to order the resources, is that when one has more resources than can be displayed by crm_mon in a screenful (at least whilst remaining readable...), it is useful to be able to put things like STONITH resources at the bottom. AFAIK Easiest way to achieve resources ordering is to d

Re: [Linux-HA] How to add resources into crm through crm admin tools?

2007-05-07 Thread Andrew Beekhof
On 5/6/07, Yan Fitterer <[EMAIL PROTECTED]> wrote: One reason I like to order the resources, is that when one has more resources than can be displayed by crm_mon in a screenful (at least whilst remaining readable...), it is useful to be able to put things like STONITH resources at the bottom. AF