![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Technical Instruction Sure Solution 1019720.1 : How to Replace the Motherboard or Service Processor in a Logical Domain (LDom) Environment
PreviouslyPublishedAs 244546 Applies to:SPARC T5-4 - Version All Versions to All Versions [Release All Releases]Netra SPARC T5-1B Server Module - Version All Versions to All Versions [Release All Releases] Sun Blade T6320 Server Module - Version Not Applicable and later Sun Fire T2000 Server - Version Not Applicable and later Sun Netra T5220 Server - Version Not Applicable and later All Platforms GoalThis document details how to backup and recover the Oracle VM for SPARC (aka LDom) environment following the replacement of the service processor or motherboard in a CMT capable system. Depending on platform type the LDom configuration is stored within the Service Processor or Motherboard/Main Module - when these components are replaced the LDom configuration will be lost; [T1000, T2000, Netra T2000] Stored within the /persist filesystem residing on the Service Processor [T5x20, T5x40, Sun Blade T63x0, Netra T5xx0] Stored within Host Data Flash embedded on the Service Processor [T3-1, T3-2, T3-1B, Netra T3-1, T4-1, T4-2, T4-1B, Netra T4-x, T5-2, T5-1B] Stored within Host data Flash embedded on the System Board [T3-4, T4-4, T5-4, T5-8 S7-2, S7-2L, T7-1, T7-2, T7-4] Stored within Host Data Flash embedded on the Main Module (Motherboard). This procedure explains the steps needed to recover the Logical Domains in a basic LDom configuration. It does not include procedures for recovery of Solaris ZFS or Veritas Storage management. Sometimes it is not possible to save the LDom configuration prior to the System Board, Main Module or SP replacement. Refer to doc 1464421.1 for the steps on How-To restore LDom config after loss of (or not saved) configuration. Please note: From Oracle VM for SPARC 3.0 onwards the 'master' LDom configuration is saved to the Solaris host (/var/opt/SUNWldm/bootsets) in addition to Host Data Flash. On SPARC T5 and newer, in the event of losing host data flash (such as following a Motherboard or Main Module replacement) the configs stored in /var/opt/SUNWldm/bootsets will be copied back via the SP by ldmd once services start during host initialization.
Once ldmd has copied the configs of /var/opt/SUNWldm/bootsets back to the SP, the most recent config needs to be selected by "ldm set-spconfig {configname}", followed by a powercycle of the system to activate the desired bootset/config.
Caution - Always save your stable configuration to the SP and save it as XML.
As an alternative way to Back Up and Restore the LDom configuration, you may consider to use the references below for SP backup and restore instructions: References, ILOM 3.2 and 4.x SP backup and restore instructions:
SolutionThe method used to backup and recover your Oracle VM for SPARC (aka LDom) configuration depends on which version of Oracle VM for SPARC you are running: Oracle VM for SPARC 2.0 and later only:The backup and recovery process for Oracle VM for SPARC 2.0 and later is documented in the Oracle VM for SPARC administration guide: Oracle VM for SPARC 2.0 Administration Guide > Saving Domain Configurations for Future Rebuilding Oracle VM for SPARC 2.1 Administration Guide > Saving Domain Configurations for Future Rebuilding Oracle VM for SPARC 2.2 Administration Guide > Saving Domain Configurations for Future Rebuilding Oracle VM for SPARC 3.0 Administration Guide > Saving Domain Configurations for Future Rebuilding Oracle VM for SPARC 3.1 Administration Guide > Saving Domain Configurations The procedure is the same for Oracle VM for SPARC 2.0, 2.1, 2.2, 3.0, 3.1, 3.2 and 3.3. The links provided above are just for convenience.
Oracle VM for SPARC 1.3 and earlier only:
Only continue beyond this point if you are running Oracle VM for SPARC 1.3 and lower.
This section provides a basic example of recovering your Oracle VM for SPARC (aka LDom's) 1.3 and lower configuration as per the documentation at Logical Domains 1.3 Administration Guide > Saving Logical Domain Configurations for Future Rebuilding
Note: If the system has an I/O domain, the 'ldm init-system' command might require additional manual intervention and a special procedure Please see info at: http://docs.oracle.com/cd/E38405_01/html/E38409/bugsaffectingldoms.html#LDSRNbug7158496 ldm init-system Command Might Not Correctly Restore a Domain Configuration on Which Physical I/O Changes Have Been Made
AppendixOutput from command: VERSION 1.1
DOMAIN|name=primary|state=active|flags=normal,control,vio-service|cons=SP|ncpu=8|mem=4294967296|util=12.8|uptime=684412|softstate=Solaris running VCPU |vid=0|pid=0|util= 17|strand=100 |vid=1|pid=1|util=0.4|strand=100 |vid=2|pid=2|util=0.4|strand=100 vid=3|pid=3|util=0.4|strand=100 |vid=4|pid=4|util= 81|strand=100 |vid=5|pid=5|util=1.5|strand=100 |vid=6|pid=6|util=2.1|strand=100 |vid=7|pid=7|util=0.0|strand=100 MAU |id=0|cpuset=0,1,2,3,4,5,6,7 MEMORY |ra=0x8000000|pa=0x8000000|size=4294967296 IO |dev=pci@0|alias=pci |dev=niu@80|alias=niu VCC|name=primary-vcc0|nclients=1|port-range=5000-5100 VSW|name=primary-vsw0|nclients=1|mac-addr=00:14:4f:fb:6f:f9|net-dev=e1000g0|dev=switch@0|mode= VDS|name=primary-vds0|nclients=1 |vol=vol1|opts=|dev=/dev/dsk/c1t1d0s2 VLDC|name=primary-vldc3|nclients=7 VLDC|name=primary-vldc0|nclients=4 VLDCC|name=ds|service=primary-vldc0@primary|desc=domain-services VLDCC|name=vldcc2|service=SP|desc=spfma VLDCC|name=vldcc1|service=primary-vldc0@primary|desc=ldmfma VCONS|type=SP DOMAIN|name=guest1|state=active|flags=normal|cons=5000|ncpu=8|mem=4294967296|util=0.1|uptime=512444|softstate=Solaris running VCPU |vid=0|pid=8|util= 75|strand=100 |vid=1|pid=9|util= 49|strand=100 |vid=2|pid=10|util= 11|strand=100 |vid=3|pid=11|util=0.0|strand=100 |vid=4|pid=12|util=100|strand=100 |vid=5|pid=13|util=0.0|strand=100 |vid=6|pid=14|util=0.0|strand=100 |vid=7|pid=15|util=0.0|strand=100 MEMORY |ra=0x8000000|pa=0x108000000|size=4294967296 VARIABLES |auto-boot?=true |boot-device=vdisk1 |keyboard-layout=US-English VNET|name=vnet1|dev=network@0|service=primary-vsw0@primary|mac-addr=00:14:4f:f9:15:9e VDISK|name=vdisk1|vol=vol1@primary-vds0|dev=disk@0|server=primary VLDCC|name=ds|service=primary-vldc0@primary|desc=domain-services VCONS|group=guest1|service=primary-vcc0@primary|port=5000
Output from <?xml version="1.0"?>
<LDM_interface version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="./schemas/combined-v3.xsd" xmlns:ovf="./schemas/envelope" xmlns:rasd="./schemas/CIM_ResourceAllocationSettingData" xmlns:vssd="./schemas/CIM_VirtualSystemSettingData" xmlns:gprop="./schemas/GenericProperty" xmlns:bind="./schemas/Binding"> <data version="3.0"> <Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" ovf:id="primary"> <Section xsi:type="ovf:ResourceAllocationSection_Type"> <Item> <rasd:OtherResourceType>ldom_info</rasd:OtherResourceType> <rasd:Address>00:14:4f:ab:e3:16</rasd:Address> </Item> </Section> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>cpu</rasd:OtherResourceType> <rasd:AllocationUnits>8</rasd:AllocationUnits> </Item> </Section> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>mau</rasd:OtherResourceType> <rasd:AllocationUnits>1</rasd:AllocationUnits> </Item> </Section> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>memory</rasd:OtherResourceType> <rasd:AllocationUnits>4G</rasd:AllocationUnits> </Item> </Section> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>physio_device</rasd:OtherResourceType> <gprop:GenericProperty key="name">pci@0</gprop:GenericProperty> </Item> </Section> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>physio_device</rasd:OtherResourceType> <gprop:GenericProperty key="name">niu@80</gprop:GenericProperty> </Item> </Section> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>vsw</rasd:OtherResourceType> <rasd:Address>auto-allocated</rasd:Address> <gprop:GenericProperty key="service_name">primary-vsw0</gprop:GenericProperty> <gprop:GenericProperty key="dev_path">e1000g0</gprop:GenericProperty> </Item> </Section> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>vcc</rasd:OtherResourceType> <gprop:GenericProperty key="service_name">primary-vcc0</gprop:GenericProperty> <gprop:GenericProperty key="min_port">5000</gprop:GenericProperty> <gprop:GenericProperty key="max_port">5100</gprop:GenericProperty> </Item> </Section> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>vds</rasd:OtherResourceType> <gprop:GenericProperty key="service_name">primary-vds0</gprop:GenericProperty> </Item> </Section> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>vds_volume</rasd:OtherResourceType> <gprop:GenericProperty key="vol_name">vol1</gprop:GenericProperty> <gprop:GenericProperty key="block_dev">/dev/dsk/c1t1d0s2</gprop:GenericProperty> <gprop:GenericProperty key="service_name">primary-vds0</gprop:GenericProperty> </Item> </Section> </Content> </Envelope> </data> </LDM_interface>
Contents of the file /var/opt/SUNWldm/ldom-db.xml <?xml version="1.0"?>
<ldom_database version="3.0"> <ldom> <ldom_name>primary</ldom_name> <cpu> <number>8</number> </cpu> <mau> <number>1</number> </mau> <memory> <size>4294967296</size> </memory> <io> <io_instance> <iodevice>pci@0</iodevice> <bypass_mode>0</bypass_mode> </io_instance> <io_instance> <iodevice>niu@80</iodevice> <bypass_mode>0</bypass_mode> </io_instance> </io> <mac_address>0x00144fabe316</mac_address> <vsw> <vsw_instance> <service_name>primary-vsw0</service_name> <mac_address>0x00144ffb6ff9</mac_address> <dev_path>e1000g0</dev_path> <mode/> </vsw_instance> </vsw> <network/> <vds> <vds_instance> <service_name>primary-vds0</service_name> <vds_volumes> <vds_volume> <block_dev>/dev/dsk/c1t1d0s2</block_dev> <vol_name>vol1</vol_name> <vol_opts/> </vds_volume> </vds_volumes> </vds_instance> </vds> <disk/> <vcc> <vcc_instance> <service_name>primary-vcc0</service_name> <min_port>5000</min_port> <max_port>5100</max_port> </vcc_instance> </vcc> <console/> <vdpcs/> <vdpcc/> <variables/> <options/> </ldom> <ldom> <ldom_name>guest1</ldom_name> <cpu> <number>8</number> </cpu> <mau><number>0</number> </mau> <memory> <size>4294967296</size> </memory> <io/> <mac_address>0x00144ffab8f0</mac_address> <vsw/> <network> <network_instance> <vnet_name>vnet1</vnet_name> <service_name>primary-vsw0</service_name> <mac_address>0x00144ff9159e</mac_address> <mtu>1500</mtu> </network_instance> </network> <vds/> <disk> <disk_instance> <vdisk_name>vdisk1</vdisk_name> <service_name>primary-vds0</service_name> <vol_name>vol1</vol_name> <timeout>-1</timeout> </disk_instance> </disk> <vcc/> <console> <console_instance> <service_name>primary-vcc0</service_name> <group>guest1</group> <port>5000</port> </console_instance> </console> <vdpcs/> <vdpcc/> <variables> <var> <name>auto-boot?</name> <value>true</value> </var> <var> <name>boot-device</name> <value>vdisk1</value> </var> <var> <name>keyboard-layout</name> <value>US-English</value> </var> </variables> <options/> </ldom> </ldom_database>
NOTE: To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Community (MOSC) for Solaris Installation, Booting and Patching at:
References<NOTE:1464421.1> - Configuration, Save & Restore Setup and Troubleshooting of Oracle VM Server for SPARC (LDom)<NOTE:1367098.1> - Oracle VM Server for SPARC (LDoms) Document Index Attachments This solution has no attachment |
||||||||||||
|