[Linux-HA] changing and adding resources using cibadmin

Andrew Beekhof beekhof at gmail.com
Mon Oct 31 01:22:52 MST 2005


On 10/29/05, Bernhard Erdmann <be at berdmann.de> wrote:
> Hi,
>
> how do I add or change resources "on the fly" using cibadmin? Given a
> CRM-enabled heartbeat-2.0.2, I'd like to add a resource (a network
> daemon with its SystemV init script) without stopping the whole cluster.

Take a look here:
   http://www.linux-ha.org/v2/AdminTools

Which contains a link to:
   http://wiki.linux-ha.org/v2/AdminTools/cibadmin

In CVS and from 2.0.3 onwards, you'll also have the crm_resource
command for maintaining and deleting (but not adding - thats too
complex) resources.

Basically for adding resources, construct the XML in a string or file
and then feed it to cibadmin as the link above indicates.


More information about the Linux-HA mailing list