5.6.3 Saving the logical domain configuration information and OpenBoot PROM environment variables
5.6.3 Saving the logical domain configuration information and OpenBoot PROM environment variables
You can save the configuration information of the logical domains by physical partition in an XML file. If you save the configuration information of the logical domains in an XML file, log in to the control domain of the physical partition and perform the work.
The following shows the procedure for saving the configuration information of the logical domains.
- Switch to the control domain console of the target physical partition from the XSCF shell.
- Execute the ldm ls-spconfig command to confirm that the current configuration information of the logical domains was already saved in the XSCF.
In the following example, the current configuration information is set in test1.
primary# ldm ls-spconfig factory-default test1 [current] test2 |
- If the current configuration information is not saved in XSCF, execute the ldm add-spconfig command to save it.
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] |
- Execute ldm list-constraints -x to save the configuration information of the logical domains in an XML file.
This shows an example of saving it in /ldm-set1.xml.
primary# ldm list-constraints -x > /ldm-set1.xml |
- 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> |
- To be prepared in case the saved file is lost, back up the file in another medium, etc.
- 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@8000/pci@4/pci@0/pci@8/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@8100/pci@4/pci@0/pci@1/network@0,80] Class properties [NETWORK] mac-addr = 00:14:4f:f8:b2:73 mtu = 1500 : |
- Stop the logical domains and put them in the OpenBoot PROM state.
Before powering off the system, stop the logical domains by following an appropriate procedure and perform the ldm unbind command to put them in inactive state.
primary# shutdown -i0 -g0 -y |
- 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@8000/pci@4/pci@0/pci@0/scsi@0/disk@p0,0 |
< Previous Page | Next Page >