>From my own experience this all only works for non-primary domains. One
can dump the configuration of the primary to XML, but not restore with a
single command from the XML file. One has to (manually) parse the file
and recreate everything. IIRC all released firmware revisions behave
this way.

The community might have a script that automates the restore procedure

Regards
Martin


On 22.06.10 04:59, Nathan Kroenert wrote:
> Hey, Brian.
> 
> Does this actually work? It's been a while since I did this, but IIRC,
> there were a bunch of things that were left out, like VDS stuff etc...
> 
> If we dump primary, and all the guests using only the commands you
> specify, would this allow me to completely rebuild, using only a couple
> of commands?
> 
> Cheers!
> 
> Nathan.
> 
> Brian Kolaci wrote:
>> You can dump/restore the LDom configs in XML format:
>>
>> ldm ls-constraints -x primary > primary.xml
>>
>> and you can do that for each of the guest domains as well replacing
>> "primary" with the guest ldom name.
>>
>> When you go to (re)create the LDoms, just use the -i option to pull in
>> the XML file:
>>
>> ldm add-domain -i ldom_name.xml
>>
>> or
>>
>> ldm set-domain -i ldom_name.xml
>>
>>
>> On Jun 21, 2010, at 12:29 PM, Tony MacDoodle wrote:
>>
>>> Where are the actual LDom configs stored, on the motherboard someplace?
>>> We have to replace a motherboard and will likely need to rebuild all
>>> the domains and I don't like the fact that the Control Domain can't
>>> be easily restored via xml files.
>>>
>>> Thanks
>>> _______________________________________________
>>> 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
> 
> _______________________________________________
> 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

Reply via email to