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. 10.2.1 Restoring the Logical Domain System Configuration

10.2.1 Restoring the Logical Domain System Configuration


10.2.1 Restoring the Logical Domain System Configuration
You can restore the logical domain system configuration from the configuration information saved in the XSCF firmware or an XML file.
This section describes how to restore 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.
Restoring the configuration from the XSCF firmware
This section describes an example of the operation of logging in to the XSCF shell, with the physical partition (PPAR-ID#00) stopped, and restoring the logical domain configuration from the factory-default state to the state of "ldom-config1".
If the physical partition is in operation, the system configuration is applied after the physical partition is stopped.
XSCF> setdomainconfig -p 0
PPAR-ID :0
Booting config‍ ← (*1)
(Current) :factory-default
(Next) :factory-default
-----------------------------------------------------------------------------

Index :1
config_name :factory-default
domains :1
date_created:-
-----------------------------------------------------------------------------

Index :2
config_name :ldom-config1
domains :12
date_created:'2016-09-29 18:30:00'
-----------------------------------------------------------------------------

Index :3
config_name :ldom-config2
domains :12
date_created:'2016-10-03 20:53:03'
-----------------------------------------------------------------------------

Select Index of Using config_name :2‍ ← (*2)
PPAR-ID of PPAR that will be affected :00
Logical domain config_name will be set to "ldom-config1".
Continue? [y|n] :y‍ ← (*3)
Configuration complete.

XSCF>
*1 The logical domain system configuration is in the factory-default state.
*2 The index number is entered for which the system configuration name of the logical domain is "ldom-config1".
*3 If you enter "y", the physical partition starts with the system configuration of the logical domain selected in (*2).
Restoring the configuration from an XML file
This section describes an example of the operation of restoring the logical domain system configuration by using the ldm init-system command to read the /ldom_config.xml file from Oracle Solaris on the control domain.
primary# ldm init-system -i /ldom_config.xml‍ ← (*1)
Aug 7 11:22:41 primary syseventd[183]: error restarting syseventconfd - No child processes
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.
primary# shutdown -i6 -g0 -y‍ ← (*2)

Shutdown started. Friday, August 7, 2015 12:49:46 PM JST

Changing to init state 6 - please wait
Broadcast Message from root (console) on primary Fri Aug 7 12:49:46...
THE SYSTEM PRIMARY IS BEING SHUT DOWN NOW ! ! !
Log off now or risk your files being damaged

primary# svc.startd: The system is coming down. Please wait.
svc.startd: 143 system services are now being stopped.
syncing file systems... done
rebooting...
Resetting...
*1 Read the logical domain configuration information (/ldom_config.xml).
*2 Restart the control domain so that the logical domain configuration information read in (*1) is applied.