Hi!

Using crm shell, you cannot rename a running resource. However I managed to do 
it via a shadow cib: I renamed the resource in the shadow cib, then committed 
the shadow cib.
>From the XML changes, I got the impression that the old primitive is removed, 
>and then the new primitive is added. This caused the old resource to be 
>stopped, the new one to be started, and one resource that was a successor in 
>the group to be restarted.

There was a temporary "active orphan" (the old name) and "Configuration 
WARNINGs found during PE processing", but that vanished when the states changed 
(transitions completed).

So obviously there is no rename operation for resources. However when you add 
more and more resources to your cluster, one might find the point where some 
renaming for consistency might be a good idea. In priniple that could be done 
online without taking any resource down, but LRM seems to be not prepared for 
that. Are there any technical reasons for that?

Regards,
Ulrich


_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to