[Linux-HA] cibadmin -R or -U to change a resource parameter
beekhof at gmail.com
Mon Dec 3 00:57:05 MST 2007
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.
>>> -U option for <primitive> tag works well, is it the only way to
>> Either that or you have to provide the complete resource.
>>> if <op> tag was modified with -R option, others tags were not
>>> # 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
any child not listed is removed
More information about the Linux-HA