Skip to main content

6.4.3 Work to Return the Physical I/O Device to the I/O Domain


6.4.3 Work to Return the Physical I/O Device to the I/O Domain
If you released the I/O device assigned to an I/O domain before maintenance according to "2) Deleting the assignment of the I/O" of "5.5.1 Releasing the Link Card or PCIe Card Using PCI Hot Plug (PHP)" or "5.5.2 Releasing the Link Card or PCIe Card Using Physical Partition Dynamic Reconfiguration (DR)," return the physical I/O device (PCIe end point device) to its original state.
The PCIe slot is automatically assigned to the root domain. So, to reassign it to the I/O domain, first release it from the root domain and then assign it.
Table 6-3  Differences in the Procedure According to Whether the Dynamic Reconfiguration Function for PCIe End Point Devices is Used
 
-: Unnecessary
Item Task Command Dynamic Reconfiguration
is Used (*1)
Dynamic Reconfiguration
is Not Used
1 Enabling the hotplug service svcadm enable hotplug Perform Perform (*2)
2 Setting the root domain in delayed reconfiguration mode ldm start-reconf - Perform
3 Removing the physical I/O from the root domain ldm remove-io Perform Perform
4 Restarting the root domain shutdown -i6 -g0 -y - Perform
5 Assigning the physical I/O to the root domain ldm add-io Perform Perform
6 Starting the I/O domain ldm start-domain - Perform
7 Disabling the hotplug service svcadm disable hotplug Perform Perform (*2)
*1 Dynamic reconfiguration for PCIe end point devices is supported by XCP 2230 or later and Oracle VM Server for SPARC 3.1.1.1 or later.
*2 If dynamic reconfiguration for PCIe end point devices is not used, the hotplug service operates whether it is enabled or disabled.
  1. If the hotplug service is disabled for the I/O and root domains, execute the svcadm enable hotplug command to enable the hotplug service.
# svcadm enable hotplug
  1. Transition the root domain to delayed reconfiguration mode.
    This step is unnecessary if the dynamic reconfiguration function for PCIe end point devices is used. Perform step 5.
# ldm start-reconf <root domain name>
  1. Remove the physical I/O device from the root domain.
# ldm remove-io <‌device name>‌ <‌root domain name>‌
  1. Log in to the root domain, and restart Oracle Solaris on the root domain.
    This step is unnecessary if the dynamic reconfiguration function for PCIe end point devices is used. Perform step 5.
# telnet localhost <port number>
...
# shutdown -i6 -g0 -y
  1. Assign the physical I/O device to the I/O domain.
# ldm add-io <‌device name>‌ <‌I/O domain name>‌
  1. Start the I/O domain.
    This step is unnecessary if the dynamic reconfiguration function for PCIe end point devices is used. Perform step 7.
# ldm start <I/O domain name>
  1. If you need to disable the hotplug service for the I/O and root domains, disable the hotplug service.
# svcadm disable hotplug