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.
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
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
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
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
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