Go to main content

Oracle® VM Server for SPARC 3.6 Administration Guide

Exit Print View

Updated: September 2019
 
 

Saving Domain Configurations

You can save domain configurations (domain constraints) for a single domain or for all the domains on a system.

With the exception of the named physical resources, the following method does not preserve actual bindings. However, the method does preserve the constraints used to create those bindings. After saving and restoring the domain configurations, the domains have the same virtual resources but are not necessarily bound to the same physical resources. Named physical resources are bound as specified by the administrator.

  • To save the domain configurations for a single domain, create an XML file containing the domain's constraints.

    primary# ldm list-constraints -x domain-name >domain-name.xml

    The following example shows how to create an XML file, ldg1.xml, which contains the ldg1 domain's constraints:

    primary# ldm list-constraints -x ldg1 >ldg1.xml
  • To save the domain configurations for all the domains on a system, create an XML file containing the constraints for all domains.

    primary# ldm list-constraints -x >file.xml

    The following example shows how to create an XML file, config.xml, which contains the constraints for all the domains on a system:

    primary# ldm list-constraints -x >config.xml