Team

Thanks to the help/links provided by Tim I now have it working.

Please find attached a "cleaned up" copy of my CIB to use as an example
(same resources as earlier post)

To use this example... (Probably best not to do this with a "production"
cluster)

1. Edit the file using your favourite XML editor and put "locally
correct" values for the device paths and mount points. (assuming SBD and
OCFS2 file-systems have already been created)
2. Backup your existing CIB (either 'cibadmin -Q' > backup.xml' or
(better)  'crm_verify --live-check -V -S backup.xml' ) 
3. Import into your cluster ( cibadmin -C
-x ./Cloned_grouped_core_resources.xml ) 
- If you're unhappy with what you get you can errase it with 'cibadmin
-E --force' and then re-import your backup 'cibadmin -X
-x ./backup.xml' 
(you may need to remove visioning information from the <cib ...> tab
first if it complains of older data.

Regards
Darren


On Wed, 2011-04-20 at 21:21 -0600, Tim Serong wrote:

> >>> On 4/21/2011 at 11:36 AM, Darren Thompson <[email protected]> wrote: 
> > Team 
> >  
> > I'm not sure if this is the right forum (Is there a pacemaker mailing 
> > list?), if not could someone please forward this to the correct forum 
> > and CC me :-) 
> 
> See http://www.clusterlabs.org/wiki/Mailing_lists for the pacemaker list.
> 
> > What I would like to do is to make a "Group" of "Clone" resources. 
> 
> You can't group a clone, but you can clone a group:
> 
>   http://advogato.org/person/lmb/diary/104.html
> 
> HTH,
> 
> Tim
> 
> > With the clusters that I setup to host Virtual Machines (Usually XEN but 
> > I'm currently now experimenting with LXC) I set up a set pf "core" 
> > services to host file-systems etc and then I create individual 
> > "Primitives" for each VM (e.g. the clone resources I use to setup OCFS2 
> > file-system)  
> >  
> > I  was thinking that it would be more logical and "tidier" if I could 
> > gather them all together within a "Group" resource. It would also 
> > simplify the configuration as the group would provide logical 
> > "co-location" and "ordering" so would sve on the need to specifically 
> > add those constraints of these core services 
> >  
> > Please find attached a "basic" set of clone resources that I use and my 
> > (failed) attempt to group them (as an example of how I "thought" this 
> > should work). 
> >  
> > Is there a way to do this? If not, can it be added? 
> >  
> > Regards 
> > Darren 
> >  
> 
> 
> 
> 

Attachment: Cloned_grouped_core_resources.xml
Description: XML document

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to