10.6.2 Incorporating an I/O Device Into the Physical Partition by Using the Hot Plug Function
10.6.2 Incorporating an I/O Device Into the Physical Partition by Using the Hot Plug Function
This section describes the flow of the procedure for incorporating an I/O device by using the hot plug function.
To use the hot plug function, the hotplug service of Oracle Solaris must be enabled. Check the status of the hotplug service. If it is disabled, perform the following step to enable the service. You can use the hot plug function only on the control domain and root domain.
To use the hot plug function, the hotplug service of Oracle Solaris must be enabled. Check the status of the hotplug service. If it is disabled, perform the following step to enable the service. You can use the hot plug function only on the control domain and root domain.
# svcs hotplug ← If the STATE is disabled, enable the service. # svcadm enable hotplug ← Enables the hotplug service. |
For details on cfgadm used here, see "Dynamically Configuring Devices" in the Managing Devices in Oracle Solaris for the Oracle Solaris version used.
Note - To perform maintenance on a PCIe card by using the hot plug function, see "Appendix B Cards That Support PCI Hot Plug and Dynamic Reconfiguration" in the Fujitsu SPARC M12 PCI Card Installation Guide to check whether the card can use PCI Hot Plug. |
When incorporating a PCIe card
Install a PCIe card in the target PCI slot, and perform the following procedure to incorporate it into a logical domain.
- Log in to Oracle Solaris.
Log in to the logical domain (control domain or root domain) into which the target PCIe card will be incorporated.
The following steps are not necessary when you are replacing the PCIe card.
When adding a PCIe card, see the following example of the command executed to blink the ATTENTION LED of the PCI slot into which the PCIe card will be mounted.
# cfgadm -x led=attn,mode=blink BB#0-PCI#0 (*1) # |
*1 The ATTENTION LED on BB#0-PCI#0 is blinking. |
- Mount the PCIe card in the SPARC M12-2/M12-2S.
Mount the PCIe card in the SPARC M12-2/M12-2S by using the procedure described in "Chapter 12 Maintaining PCIe Cards."
- From Oracle Solaris, check the mounting status of the PCIe card.
The following example checks that the PCIe card is mounted in BB#0-PCI#0.
# cfgadm -a Ap_Id Type Receptacle Occupant Condition BB#0-PCI#0 unknown disconnected unconfigured unknown |
- Supply power to the mounted PCIe card.
The following example executes the cfgadm command with the connect option in Oracle Solaris on the control domain or root domain, to start power supply to the PCIe card mounted in BB#0-PCI#0.
# cfgadm -c connect BB#0-PCI#0 # |
- Incorporate the PCIe card into the logical domain.
The following example executes the cfgadm command with the configure option in Oracle Solaris on the control domain or root domain, to incorporate the PCIe card mounted in BB#0-PCI#0 into the Oracle Solaris device configuration.
# cfgadm -c configure BB#0-PCI#0 # |
- Confirm that the PCIe card has been incorporated into the device configuration.
The following example executes the cfgadm command with the -a option in Oracle Solaris on the control domain or root domain, to confirm that the PCIe card mounted in BB#0-PCI#0 has been incorporated into the Oracle Solaris device configuration.
# cfgadm -a Ap_Id Type Receptacle Occupant Condition BB#0-PCI#0 pci-pci/hp connected configured ok |
- Turn off the ATTENTION LED.
The following example turns off the ATTENTION LED of BB#-PCI#0.
# cfgadm -x led=attn,mode=off BB#0-PCI#0 # |
Hereinafter, assign the I/O resources of the PCIe card to the guest domain or I/O domain. Assign the I/O resources as appropriate for the I/O configuration of the target logical domain, by referencing "10.7 Incorporating I/O Resources Into a Logical Domain."
Note - Dynamic reconfiguration of the PCIe endpoint device is supported by the combination of XCP 2230 or later and Oracle VM Server for SPARC 3.1.1.1 or later. |
When incorporating the HDD/SSD
- Log in to Oracle Solaris.
Log in to the logical domain (control domain or root domain) into which the HDD/SSD will be incorporated. - Mount the HDD/SSD in the SPARC M12-2/M12-2S.
Mount the HDD/SSD in the SPARC M12-2/M12-2S, by using the procedure described in "Chapter 15 Maintaining Internal Storage."
After mounting the HDD/SSD, wait until the READY LED on the HDD/SSD starts to blink and then comes on. - Check the status of the mounted HDD/SSD.
In Oracle Solaris on the control domain or root domain, execute the cfgadm command with the -al option to check the status of the mounted HDD/SSD. If the HDD/SSD has failed to be incorporated and configured is not shown, perform step 4.
The following example checks that the HDD/SSD whose Ap_Id is c2::dsk/c2t500003294281B50C6d0 is mounted.
# cfgadm -al Ap_Id Type Receptacle Occupant Condition (Omitted) c2 scsi-sas connected configured unknown c2::dsk/c2t50000394281B50C6d0 disk connected configured unknown c2::es/ses0 ESI connected configured unknown c2::smp/expd0 smp connected configured unknown c3 scsi-sas connected unconfigured unknown c4 scsi-sas connected unconfigured unknown c5 fc connected unconfigured unknown c6 fc connected unconfigured unknown c7 scsi-sas connected unconfigured unknown (Omitted) |
- Incorporate the mounted HDD/SSD into Oracle Solaris.a. The following example executes the cfgadm command with the -c configure option in Oracle Solaris on the control domain or root domain, to incorporate the mounted HDD/SSD into the Oracle Solaris device configuration.
# cfgadm -c configure <Ap_Id> |
- b. Execute the cfgadm command with the -al option to check that the mounted HDD/SSD is recognized in the Oracle Solaris device configuration.
- Check that the mounted HDD/SSD's CHECK LED is turned off.
Execute the cfgadm command to turn off the mounted HDD/SSD's CHECK LED if the CHECK LED is still blinking.
# cfgadm -x led=fault,mode=off <Ap_Id> |
Hereinafter, assign the I/O resources of the HDD/SSD to the guest domain or I/O domain. Assign the I/O resources of the HDD/SSD as appropriate for the disk configuration of the target logical domain.
< Previous Page | Next Page >