I'm specifying -p for the primary as I've found XML rather difficult to parse 
with shell scripts - in fact I save the output of ldm ls-constraints for all 
the ldoms & primary with both -p and -x just in case someone else comes up the 
the scripts / tools before I need them...

-Steve

--- On Tue, 22/6/10, Martin Mueller - Sun Germany SE <[email protected]> 
wrote:

> From: Martin Mueller - Sun Germany SE <[email protected]>
> Subject: Re: [ldoms-discuss] Ldom Configs
> To: [email protected]
> Date: Tuesday, 22 June, 2010, 15:29
> Right that's the only way today. The
> imports work for all domains except
> for primary, where one has to manually (or via script) has
> to parse the
> XML file
> 
> Regards
> Martin
> 
> 
> On 22.06.10 11:39, Steve Goldthorpe wrote:
> > In that case i'll continue to also backup the output
> of
> > '/opt/SUNWldm/bin/ldm ls-constraints -p primary' and
> knock up a
> > script to do the relevant commands to rebuild the
> control domain as
> > and when needed.  Of course I'll also keep the
> output of
> > '/opt/SUNWldm/bin/ldm ls-constraints -x <ldom>'
> for the ldom imports
> > afterwards.
> > 
> > -Steve
> > 
> > --- On Tue, 22/6/10, Martin Mueller - Sun Germany SE
> > <[email protected]>
> wrote:
> > 
> >> From: Martin Mueller - Sun Germany SE <[email protected]>
> 
> >> Subject: Re: [ldoms-discuss] Ldom Configs To:
> >> [email protected]
> Date: Tuesday, 22 June, 2010, 9:46 
> >> Wouldn't work with a new board. Once you change
> the board the MDs
> >> are gone, and the hypervisor has no idea of which
> LDC he/she/it 
> >> needs to set up
> >> 
> >> Regards Martin
> >> 
> >> 
> >> On 22.06.10 10:30, Steve Goldthorpe wrote:
> >>> Have I been backing up and restoring the
> >> /var/opt/SUNWldm directory for no reason?
> >>> 
> >>> I'm pretty sure I've done a bootmode
> >> config="factory-default" to reset the hypervisor
> in the past and
> >> got my working control domain settings back by
> restoring this
> >> directory, enabling the svc:/ldoms/ldmd and
> svc:/ldoms/vntsd
> >> services and rebooting, or wouldn't this work with
> a new system
> >> board?
> >>> 
> >>> -Steve Goldthorpe 
> >>>
> _______________________________________________
> ldoms-discuss
> >>> mailing list [email protected]
> 
> >>> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
> >> 
> >> -- Martin Mueller [email protected]
> Systems Infrastructure
> >> Ambassador Tel.: +49 2102 45 11740 Sun
> Microsystems GmbH Fax: +49
> >> 2102 499516 D-40880 Ratingen Mobile: +49 172
> 8618483
> >> 
> >> Sitz der Gesellschaft: Sun Microsystems GmbH,
> Sonnenallee 1,
> >> D-85551 Kirchheim-Heimstetten Amtsgericht
> Muenchen: HRB 161028 
> >> Geschaeftsfuehrer: Juergen Kunz 
> >> _______________________________________________
> ldoms-discuss
> >> mailing list [email protected]
> 
> >> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
> >> 
> > _______________________________________________
> ldoms-discuss mailing
> > list [email protected]
> 
> > http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
> 
> -- 
> Martin Mueller           
>             [email protected]
> Systems Infrastructure Ambassador 
>    Tel.: +49 2102 45 11740
> Sun Microsystems GmbH         
>        Fax: +49 2102 499516
> D-40880 Ratingen           
>           Mobile: +49 172 8618483
> 
> Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee
> 1, D-85551
> Kirchheim-Heimstetten
> Amtsgericht Muenchen: HRB 161028
> Geschaeftsfuehrer: Juergen Kunz
> _______________________________________________
> ldoms-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
> 
_______________________________________________
ldoms-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss

Reply via email to