6.4.4 Work to Restore the SR-IOV Function
6.4.4 Work to Restore the SR-IOV Function
Suppose that the virtual function (VF) using the SR-IOV function was removed or destroyed 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 "2) Deleting the assignment of the I/O" of "5.5.2 Releasing the Link Card or PCIe Card Using Physical Partition Dynamic Reconfiguration (DR)" before maintenance. Based on the retained output results of the ldm list-io command, create and assign the virtual function to the domain again.
-: Unnecessary |
||||
---|---|---|---|---|
Item | Task | Command | Dynamic SR-IOV Function is Used (*1) |
Static SR-IOV Function is Used |
1 | Enabling the hotplug service | svcadm enable hotplug | Perform | Perform (*2) |
2 | Setting the root domain of the PF in delayed reconfiguration mode | ldm start-reconf | - | Perform |
3 | Creating the VF | ldm create-vf | Perform | Perform |
4 | Assigning the VF to the I/O domain | ldm add-io | Perform | Perform |
5 | Restarting the root domain | shutdown -i6 -g0 -y | - | Perform |
6 | Starting the I/O domain | start-domain | - | Perform |
7 | Disabling the hotplug service | svcadm disable hotplug | Perform | Perform (*2) |
*1 Dynamic reconfiguration for the virtual function of SR-IOV is supported by XCP 2210 or later and Oracle VM Server for SPARC 3.1 or later. *2 If static reconfiguration for the virtual function of SR-IOV is used, the hotplug service operates whether it is enabled or disabled. |
- 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 |
- Transition the root domain that has the assigned physical function (PF) to delayed reconfiguration mode.
This step is unnecessary if the dynamic SR-IOV function is used. Perform step 3.
# ldm start-reconf <root domain name> |
- Create the virtual function.
# ldm create-vf <PF name> |
- Assign the virtual function (VF) to the I/O domain.
# ldm add-io <VF name> <I/O domain name> |
- Log in to the root domain, and restart Oracle Solaris.
This step is unnecessary if the dynamic SR-IOV function is used. Perform step 7.
# telnet localhost <port name> ... # shutdown -i6 -g0 -y |
- Start the I/O domain.
# ldm start <I/O domain name> |
- If you need to disable the hotplug service for the I/O and root domains, disable the hotplug service.
# svcadm disable hotplug |
- If virtual devices of a guest domain have been kept unused or the redundant configuration was released before maintenance, resume the use of the virtual devices or set the redundant configuration again.
For details on the work, see the manual for the application being used. - Confirm that the status of the physical I/O device is the same as before maintenance.
# ldm list-io |
- Confirm that the operating condition of the logical domain remains unchanged.
# ldm list-domain |
< Previous Page | Next Page >