On Dec 3, 2007, at 2:52 AM, Junko IKEDA wrote:
When I changed a resource parameter using cibadmin,
some other parameters were also changed.
For instance,
# cibadmin -R -X '<primitive id=...>'
I found that <operations> and <instance_attributes> were deleted.
Please see the attached the file that explained my operation.
Is it expected?
I think so. The -R option means replace. Hence, the resource is
replaced with whatever you supply.
right
-U option for <primitive> tag works well, is it the only way to
change
that
tag?
Either that or you have to provide the complete resource.
if <op> tag was modified with -R option, others tags were not
deleted.
# cibadmin -R -X '<op id=...>'
I guess that you mean -U here.
I tried is again and attached it.
I think I misused it...
<primitive> tag has some child tags.
But <op> doesn't have it.
-R option would have an effect on all tags if a parent tag is
specified,
right?
correct
any child not listed is removed
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems