100% found this document useful (1 vote)
638 views5 pages

LDOM Configuration Backup and Restore Guide

To restore an Oracle Solaris system to its factory default configuration, an administrator would: 1. Remove the current service profile and reboot the system to select the factory default profile. 2. After rebooting, log in and verify that the factory default configuration has been restored. 3. To restore a previous configuration backup, the administrator can use the XML configuration files and ldm commands to add back specific Logical Domain profiles and settings.

Uploaded by

December
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
638 views5 pages

LDOM Configuration Backup and Restore Guide

To restore an Oracle Solaris system to its factory default configuration, an administrator would: 1. Remove the current service profile and reboot the system to select the factory default profile. 2. After rebooting, log in and verify that the factory default configuration has been restored. 3. To restore a previous configuration backup, the administrator can use the XML configuration files and ldm commands to add back specific Logical Domain profiles and settings.

Uploaded by

December
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

-bash-3.

2# ldm list-spconfig

factory-default

config_new [current]

-bash-3.2#

2.To take the complete LDOM configuration backup,use below command.

# ldm list-constraints -x >config.xml

3.You can also take the configuration backup for specific LDOM,

# ldm list-constraints -x ldom_name > ldom_name.xml

How to restore the system to factory default ?

1. Login to the control domain console and remove the spconfig profile.

bash-3.2# ldm ls-spconfig

factory-default

config_new [current]

bash-3.2# ldm remove-spconfig config_new

bash-3.2# ldm ls-spconfig

factory-default [next poweron]

bash-3.2#

2.Power cycle the server to take the changes effect.

bash-3.2# init 5

bash-3.2# svc.startd: The system is coming down. Please wait.

svc.startd: 101 system services are now being stopped.

Feb 18 10:00:49 sol10-11 syslogd: going down on signal 15


svc.startd: The system is down.

syncing file systems... done

Serial console stopped.

-> show /SYS

Properties:

type = Host System

ipmi_name = /SYS

keyswitch_state = Normal

product_name = T5140

product_part_number = 4613802-42

product_serial_number = FML1015013

product_manufacturer = SUN MICROSYSTEMS

fault_state = Faulted

power_state = Off

-> start /SYS

Are you sure you want to start /SYS (y/n)? y

Starting /SYS

->

-> start /SP/console


Are you sure you want to start /SP/console (y/n)? y

Serial console started. To stop, type #.

Done

0:0:0>Master CPU Tests Basic....Done

0:0:0>Init MMU.....

0:0:0>L2 Tests....Done

0:0:0>Extended CPU Tests....Done

0:0:0>Scrub Memory....Done

0:0:0>Functional CPU Tests....Done

sol10-11 console login:

3. Login to the system and see whether factory default settings has been restored or not .

sol10-11 console login: root

Password:

Feb 18 10:10:58 sol10-11 login: ROOT LOGIN /dev/console

Last login: Tue Feb 18 01:19:27 on console

Oracle Corporation SunOS 5.10 Generic Patch January 2005

You have new mail.

-bash-3.2#

-bash-3.2# ldm list-spconfig


factory-default [current]

-bash-3.2#

Restoring the sp-config :

1.Once the system has restored to the factory default,then you can restore the system backup using the
XML files which we have created. Login to the control domain and restore it.

# ldm init-system -i config.xml

# ldm add-spconfig unixarencfg1

# ldm list-spconfig

factory-default

unixarenacfg1 (current)

2.To restore the specific ldom/primary domain configuration

# ldm init-system -i ldom_name.xml

# ldm add-spconfig unixarencfg2

# ldm list-spconfig

factory-default

unixarenacfg1

unixarenacfg2 (current)

3.To restore only the virtual service,

# ldm init-system -s -i filename.xml

-bash-3.2# ldm list-spconfig

factory-default

unixarenacfg1

unixarenacfg2[active on Reboot]
-bash-3.2# ldm add-spconfig unixarencfg3

-bash-3.2# ldm list-spconfig

factory-default

unixarenacfg1

unixarenacfg2

unixarenacfg2 (current)

You might also like