Skip to main content
  1. Home >
  2. Products >
  3. Computing Products >
  4. Servers >
  5. Fujitsu SPARC servers >
  6. Downloads >
  7. User Manuals >
  8. Fujitsu SPARC M12-2/M12-2S Service Manual >
  9. 9.1.1 Saving Logical Domain Configuration Information

9.1.1 Saving Logical Domain Configuration Information


9.1.1 Saving Logical Domain Configuration Information
From Oracle Solaris on the control domain, you can save the logical domain system configuration to the XSCF firmware or an XML file.
This section describes how to save the logical domain system configuration.
For details, see "10.11 Saving/Restoring Logical Domain Configuration Information in the XSCF" or "10.12 Saving/Restoring Logical Domain Configuration Information in an XML File" in the Fujitsu SPARC M12 and Fujitsu M10/SPARC M10 System Operation and Administration Guide.
Saving the configuration to the XSCF firmware
This section describes an example of saving the logical domain system configuration to the XSCF firmware from Oracle Solaris on the control domain. The configuration is saved with the name "ldom-config1".
# ldm list-spconfig
factory-default‍ ← (*1)
# ldm add-spconfig ldom-config1‍ ← (*2)
# ldm list-spconfig
factory-default
ldom-config1 [current] ← (*3)
*1 There is no information saved on the logical domain system configuration other than the factory-default state.
*2 The currently defined logical domain system configuration is saved with configuration name "ldom-config1".
*3 The currently defined logical domain system configuration is added with configuration name "ldom-config1".
You cannot save the logical domain system configuration with an already existing configuration name. To save the logical domain system configuration with an already existing configuration name, follow the procedure below.
primary# ldm list-spconfig
factory-default
ldom-config1 [current]
primary# ldm add-spconfig ldom-config1‍ ← (*1)
Error: Operation failed because a configuration
named "ldom-config1" already exists on the system controller.
Before being able to save a new configuration with
this name the existing one must be removed
primary# ldm remove-spconfig ldom-config1‍ ← (*2)
primary# ldm list-spconfig
factory-default
primary# ldm add-spconfig ldom-config1‍ ← (*3)
primary# ldm list-spconfig
factory-default
ldom-config1 [current] ← (*4)
primary#
*1 If you attempt to save the configuration with already existing configuration name "ldom-config1", an error message is displayed.
*2 "ldom-config1" is deleted.
*3 The logical domain system configuration is saved with configuration name "ldom-config1".
*4 The logical domain system configuration has been added with configuration name "ldom-donfig1".
Saving the configuration to an XML file
This section describes an example of the operation of saving the logical domain system configuration to the /ldom_config.xml file from Oracle Solaris on the control domain by using the ldm list-constraints -x command.
primary# ls /ldom_config.xml‍ ← (*1)

primary# ldm list-constraints -x > /ldom_config.xml‍ ← (*2)
primary# ls /ldom_config.xml
/ldom_config.xml‍ ← (*3)

primary#
*1 Confirm that the logical domain configuration information (/ldom_config.xml) does not exist.
*2 Redirect the command output results to /ldom_config.xml.
*3 Confirm that the logical domain configuration information (/ldom_config.xml) has been created.