Skip to main content

10.12.2 Restoring Logical Domain Configuration Information


10.12.2 Restoring Logical Domain Configuration Information
Execute the ldm init-system command to reflect the setting of the XML file that was saved, and execute the shutdown command to restart the control domain.
Restoring Saved Logical Domain Configuration Information
To restore the configuration information saved in the XML file, execute the ldm init-system command on the control domain as shown below.
primary# ldm init-system -i file_name.xml
Operation Procedure
  1. Confirm that the current logical domain configuration is factory-default.
primary# ldm list-config | grep "factory-default"
factory-default [current]
  1. If [current] is not displayed next to factory-default, the current logical domain configuration is not factory-default. In such case, follow the procedures below to change the current logical domain configuration to factory-default.
  1. Specify factory-default and execute the ldm set-spconfig command.
primary# ldm set-spconfig factory-default
  1. Execute the poweroff command of the XSCF firmware to power off the physical partition.
XSCF> poweroff -p ppar_id
  1. Execute the ldm init-system command to reflect the setting of the saved XML file.
    This example displays how to restore the configuration information saved in /ldm-set1.xml.
primary# ldm init-system -i /ldm-set1.xml
Initiating a delayed reconfiguration operation on the primary domain.
All configuration changes for other domains are disabled until the primary
domain reboots, at which time the new configuration for the primary domain
will also take effect.
  1. Execute the shutdown command to restart the control domain.
primary# shutdown –y -g0 -i6
  1. Bind the resource to a logical domain other than the control domain to start the domain.
    In the following example, the resource is bound to ldom1 to start the domain.
primary# ldm bind ldom1
primary# ldm start ldom1