Skip to main content

10.12.1 Saving/Confirming Logical Domain Configuration Information


10.12.1 Saving/Confirming Logical Domain Configuration Information
You can save logical domain configuration information per physical partition in an XML file. To save logical domain configuration information in an XML file, log in to the control domain of the target physical partition.
For details, see "Managing Domain Configurations" in the Oracle VM Server for SPARC Administration Guide of the version used.
Saving Logical Domain Configuration Information
Execute the ldm list-constraints -x command of Oracle VM Server for SPARC to save logical domain configuration information.
primary# ldm list-constraints -x > file_name.xml
Designate a file name to save configuration information in file_name.xml.
Operation Procedure
  1. Switch from the XSCF shell to the control domain console of the target physical partition.
    For details on how to switch to the control domain console, see "8.3 Switching to the Control Domain Console From the XSCF Shell."
  1. Execute the ldm list-spconfig command to confirm that the current logical domain configuration information is saved to the XSCF.
Note - The ldm list-spconfig command lists the names of the saved domain configuration information. It does not show creation times, number of domains, or whether any saved configuration information matches the current domain configuration. An administrator needs to keep track of the saved configuration file names, what configurations they map to, and whether they match the current logical domain configuration. You can also use the showdomainconfig command to see the date/time of creation and number of logical domains in each saved configuration.
  1. In the following example, the current configuration information is set to test1.
    When the current configuration information is not stored on the XSCF, save the information using the ldm add-spconfig command.
primary# ldm list-spconfig
factory-default
test1 [current]
test2
test3
  1. Execute ldm list-constraints –x and save the logical domain configuration information in an XML file.
    The example shows how to save the information in /ldm-set1.xml.
primary# ldm list-constraints -x > /ldm-set1.xml
  1. Execute commands such as the more command and confirm that the configuration information is stored in the XML file.
primary# more /ldm-set1.xml
<?xml version="1.0"?>
<LDM_interfaceversion="1.3" xmlns:xsi=http://www.w3.org/2001/XMLSchema-instancce
  1. To be prepared in case a saved XML file is lost, back up the file to other media.
Note - If a virtual function (VF) is assigned to a logical domain using the SR-IOV function, execute the ldm command to save the information set for each VF in advance.