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-2/M12-2S Service Manual >
  9. 9.3.7 Statically Releasing the Root Complex From a Logical Domain

9.3.7 Statically Releasing the Root Complex From a Logical Domain


9.3.7 Statically Releasing the Root Complex From a Logical Domain
The operation of statically releasing the root complex from a logical domain must be performed from the control domain.
Before releasing the root complex, confirm that none of the devices in it is being used by the logical domain. For details, see the manual for the software being used.
For information on how resources are moved when the assignment of the root complex is statically released, see Figure 9-4.
Table 9-8 lists the procedure for statically releasing a root complex.
Table 9-8  Procedure for Statically Releasing a Root Complex
Step Operation Description Execution Location Command Used
1 Checking the assignment status of root complexes Control domain primary# ldm list-io
2 Setting delayed reconfiguration for the control domain or root domain releasing the root complex Control domain primary# ldm start-reconf <‌domain-name>‌
3 Releasing the root complex from the control domain or root domain Control domain primary# ldm remove-io <‌bus>‌ <‌domain-name>‌
4 Restarting Oracle Solaris on the control domain or root domain Control domain When delayed reconfiguration has been set for the control domain
primary# shutdown -i6 -g0 -y
When delayed reconfiguration has been set for the root domain
primary# ldm stop-domain -r <‌domain-name>‌
5 Confirming that the root complex was released from the logical domain Control domain primary# ldm list-io
The following example executes the commands for releasing the root complex from the logical domain guest.
  1. Check the assignment status of root complexes to logical domains.
    In this example, the root complex PCIE10 is assigned to the logical domain guest.
primary# ldm list-io
NAME TYPE BUS DOMAIN STATUS
---- ---- --- ------ ------

(Omitted)
PCIE9 BUS PCIE9 primary IOV
PCIE10 BUS PCIE10 guest IOV
PCIE11 BUS PCIE11 primary IOV
(Omitted)
  1. Set delayed reconfiguration for the control domain or root domain releasing the root complex.
    In this example, delayed reconfiguration is set for the root domain guest.
primary# ldm start-reconf guest
Initiating a delayed reconfiguration operation on the ldom domain.
All configuration changes for other domains are disabled until the ldom
domain reboots, at which time the new configuration for the ldom domain
will also take effect.
  1. Release the root complex from the control domain or root domain.
    Release the assignment of the root complex PCIE10 from the root domain guest.
primary# ldm remove-io PCIE10 guest
------------------------------------------------------------------------------

Notice: The ldom domain is in the process of a delayed reconfiguration.
Any changes made to the ldom domain will only take effect after it reboots.
------------------------------------------------------------------------------
  1. Restart Oracle Solaris on the control domain or root domain that is set for delayed reconfiguration.
    In this example, Oracle Solaris on the root domain guest is restarted.
primary# ldm stop-domain -r guest
------------------------------------------------------------------------------

Notice: The ldom domain is in the process of a delayed reconfiguration.
Any changes made to the ldom domain will only take effect after it reboots.
------------------------------------------------------------------------------

Reboot request sent to ldom
  1. Confirm that the root complex was released from the logical domain.
    Confirm that the root complex PCIE10 was released from guest.
primary# ldm list-io
NAME TYPE BUS DOMAIN STATUS
---- ---- --- ------ ------

(Omitted)
PCIE8 BUS PCIE8 primary IOV
PCIE9 BUS PCIE9 primary IOV
PCIE10 BUS PCIE10
PCIE11 BUS PCIE11 primary IOV
(Omitted)