[Linux-HA] Creating groups after the resources
Andrew Beekhof
beekhof at gmail.com
Fri Jul 6 07:18:09 MDT 2007
On 7/6/07, Ciro Iriarte <cyruspy at gmail.com> wrote:
> 2007/7/6, Lars Marowsky-Bree <lmb at suse.de>:
> > On 2007-07-06T07:33:09, Ciro Iriarte <cyruspy at gmail.com> wrote:
> >
> > > Sorry, i wasn't clear... I already have resources created, they are
> > > not grouped. Can i create new groups and include in them my already
> > > defined resources?
> >
> > It should work, yes.
> >
> > Assuming you're aware that you cannot include master_slave or clone
> > inside a group, that is. (But of course connect them using constraints.)
> >
> >
> > Regards,
> > Lars
> >
> Didn't know about that limitation...
>
> Assuming i have a FileSystem to DRBD (master/slave) dependency, would
> it be safe to just include de Filesystem on a group? and to leave the
> DRBD resource out?.
>
> How should i create/modify the group to add resources?, just
> mentioning the id of the already created resource?
no, you cant do that.
you'd need to move the resource's complete definition into the group
but it still might end up restarting the resource, though i'm not sure
> Example:
> <resources>
> <group id="group1">
> <primitive id="IPaddrid" />
> <primitive id="myservice" />
> </group>
> </resources>
More information about the Linux-HA
mailing list