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-1 Service Manual >
  9. 5.6.2 Saving Logical Domain Configuration Information and OpenBoot PROM Environment Variables

5.6.2 Saving Logical Domain Configuration Information and OpenBoot PROM Environment Variables


5.6.2 Saving Logical Domain Configuration Information and OpenBoot PROM Environment Variables
You can save the logical domain configuration information for each physical partition in an XML file. To save the logical domain configuration information in an XML file, log in to the control domain of the physical partition to perform the work.
This section shows the procedure for saving logical domain configuration information.
  1. Switch to the control domain console of the target physical partition from the XSCF shell.
  2. Execute the ldm ls-spconfig command to confirm that the current logical domain configuration information has already been saved on the XSCF.
    In the following example, the current configuration information is set in test1.
primary# ldm ls-spconfig
factory-default
test1 [current]
test2
  1. If the current configuration information has not been saved on the XSCF, save it with the ldm add-spconfig command.
    In the following example, the configuration information is saved in test3 by the ldm add-spconfig command, and the ldm ls-spconfig command is used to confirm that the information is set in test3.
primary# ldm add-spconfig test3
primary# ldm ls-spconfig
factory-default
test1
test2
test3 [current]
  1. Execute ldm list-constraints -x to save the logical domain configuration information in an XML file.
    This shows an example of saving it in /ldm-set1.xml.
primary# ldm list-constraints -x > /ldm-set1.xml
  1. Execute the more command or a command with a similar function to confirm that the configuration information is saved in an XML file.
primary# more /ldm-set1.xml
<?xml version="1.0"?>
<LDM_interfaceversion="1.3" xmlns:xsi=http://www.w3.org/2001/XMLSchema-instancce>
  1. To be prepared in case the saved file is lost, back up the file on other media, etc.
  1. If the SR-IOV function was used to assign a virtual function (VF) to a domain, execute ldm list-io -l to record the following information that has been set for each VF:
    - For a Fibre Channel HBA: port-wwn and node-wwn information that was set when the VF was created

    - For an Ethernet interface: MAC address that was set when the VF was created
[Example]
primary# ldm list-io -l
NAME TYPE BUS DOMAIN STATUS
---- ---- --- ------ ------

:
/SYS/PCI0/IOVFC.PF0.VF0 VF PCIE0 XXXXX
[pci@8100/pci@4/pci@0/pci@9/SUNW,qlc@0,2]
Class properties [FIBRECHANNEL]
port-wwn = 10:00:00:14:4f:f8:38:99
node-wwn = 20:00:00:14:4f:f8:38:99
bw-percent = 0
:
/SYS/PCI1/IOVNET.PF0.VF0 VF PCIE1 XXXXX
[pci@8200/pci@4/pci@0/pci@8/network@0,80]
Class properties [NETWORK]
mac-addr = 00:14:4f:f8:b2:73
mtu = 1500
:
  1. Stop the logical domains and put them in the OpenBoot PROM state.
    Before powering off the system, follow the appropriate procedure to stop the logical domains, and execute the ldm unbind command to place them in the inactive state.
primary# shutdown -i0 -g0 -y
  1. Execute the printenv command to confirm the OpenBoot PROM environment variables, and save the output data.
    If there is any item omitted with "...", check the item again.
{0} ok printenv boot-device
boot-device = /pci@8100/pci@4/pci@0/pci@0/scsi@0/disk@p0,0