Go to main content
Oracle® VM Server for SPARC 3.4 Administration Guide

Exit Print View

Updated: August 2016
 
 

Saving Domain Configurations

You can save a domain configuration 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 configuration, 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 configuration for a single domain, create an XML file containing the domain's constraints.

    # 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:

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

    # 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:

    # ldm list-constraints -x >config.xml