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.2.2 Checking the Assignment Status of I/O Devices

9.2.2 Checking the Assignment Status of I/O Devices


9.2.2 Checking the Assignment Status of I/O Devices
Log in to Oracle Solaris on the control domain to check the operation status of logical domains and the assignment status of resources such as I/O devices to logical domains.
For details on the commands used here, see "3.2  Operations and Commands Related to Logical Domain Configurations" in the Fujitsu SPARC M12 and Fujitsu M10/SPARC M10 Domain Configuration Guide.
  1. Check the operation status of logical domains.
    The following example shows execution of the command for checking the operation status of logical domains defined in the physical partition.
primary# ldm list-domain
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
primary          active     -n-cv-  UART    32    16G      0.0%  0.0%  5d 19h 26m‍    (*1)
guest            active     -n----  5000    32    16G      0.0%  0.0%  5d 18h 12m    (*2)
ldom             active     -n----  5001    64    32G      0.0%  0.0%  5d 19h 29m
primary#
*1 The control domain is in operation with 32 cores of virtual CPUs and 16 GB of memory assigned.
*2 The domain (guest) is in operation with 32 cores of virtual CPUs and 16 GB of memory assigned.
  1. Check the virtual services that are configured in the control domain.
    The following example shows execution of the command for checking the virtual services configured in the control domain.
primary# ldm list-services
VCC
    NAME‍           LDOM‍       PORT-RANGE
    primary-vcc0   primary    5000-5100‍    (*1)
VSW
    NAME         LDOM     MAC                NET-DEV  ID  DEVICE    LINKPROP  DEFAULT-VLAN-ID‍
    PVID          VID      MTU                MODE     INTER-VNET-LINK
    primary-vsw0  primary 00:14:4f:fb:e1:a8  net0     0   switch@0            1‍ (*2)‍
    1                      1500               on 
    primary-vsw4  primary  00:14:4f:f8:42:2f  net4     1   switch@1            1 (*3)‍
    1                      1500               on‍

VDS
    NAME          LDOM     VOLUME  OPTIONS  MPGROUP  DEVICE
    primary-vds0  primary  vdisk00                   /dev/zvol/dsk/rpool/export/ovm/vdisk00‍ (*4)
                           disk01‍                 ‍‍  /dev/zvol/dsk/rpool/export/ovm/vdisk01
                           vol_iso ro‍               ‍‍ /export/ovm/sol11u3_iso/sol-11_3-text-sparc.iso
                           vdisk10                   /dev/zvol/dsk/rpool/export/ovm/vdisk10
                           vdisk11                   /dev/zvol/dsk/rpool/export/ovm/vdisk11

#
*1 The set port number of a virtual console is in a range of 5000 to 5100.
*2 The physical LAN port net0 is assigned to the virtual switch primary-vsw0.
*3 The physical LAN port net4 is assigned to the virtual switch primary-vsw4.
*4 vdisk00 is assigned to the virtual disk service primary-vds0.
  1. Check the physical locations of the physical LAN ports.
    The following example shows execution of the command for checking the physical locations of the physical LAN ports.
# dladm show-phys -L
LINK              DEVICE       LOC
net0              ixgbe0       /BB0/CMUL‍    (*1)
net1              ixgbe1       /BB0/CMUL
net2              ixgbe2       /BB0/CMUU
net3              ixgbe3       /BB0/CMUU
(Omitted)
*1 The location of net0 is the on-board LAN of BB#00.
  1. Check the assignment status of resources to logical domains.
    The following example shows execution of the command for checking the resources assigned to a logical domain (domain name: guest).
# ldm list-bindings guest
NAME   STATE   FLAGS   CONS  VCPU  MEMORY  UTIL  NORM  UPTIME
guest  active  -n----  5000  32    16G     0.0%  0.0%  7d 18h 55m
        (Omitted)
NETWORK
    NAME   SERVICE               ID DEVICE    MAC               MODE PVID VID MTU MAXBW LINKPROP
    vnet0  primary-vsw0@primary  0  network@0 00:14:4f:f9:58:4e      1        1500 (*1)
       PEER                    MAC                 MODE  PVID   VID  MTU  MAXBW  LINKPROP
       primary-vsw0@primary    00:14:4f:fb:e1:a8         1           1500
    NAME   SERVICE               ID DEVICE    MAC               MODE PVID VID MTU MAXBW LINKPROP
    vnet1  primary-vsw4@primary  1  network@1 00:14:4f:fb:4d:fe      1        1500 (*1)
       PEER                    MAC                 MODE  PVID   VID  MTU  MAXBW  LINKPROP
       primary-vsw4@primary    00:14:4f:f8:42:2f         1           1500

DISK
       NAME      VOLUME                  TOUT   ID   DEVICE   SERVER    MPGROUP
       vdisk00   vdisk00@primary-vds0           0    disk@0   primary (*2)
        (Omitted)
*1 The virtual network interfaces vnet0 and vnet1 are assigned as shown.
*2 The virtual disk vdisk00 is assigned as shown.
  1. Check the assignment status of I/O devices.
    The following example shows execution of the command for checking the assignment status of I/O resources to logical domains.
# ldm list-io
NAME                                       TYPE   BUS      DOMAIN    STATUS
----                                       ----   ---      ------    ------

PCIE0                                      BUS    PCIE0    primary   IOV    (*1)
        (Omitted)
/BB0/PCI5                                  PCIE   PCIE3    ldom      OCC    (*2)
        (Omitted)
/BB0/CMUL/NET0/IOVNET.PF0                 PF     PCIE0    primary
/BB0/CMUL/NET0/IOVNET.PF0.VF0              VF     PCIE0    primary          (*3)
*1 The root complex PCIE0 is assigned as shown to the control domain.
*2 The PCIe endpoint of PCI slot #6 of BB#00 is assigned as shown to the logical domain ldom.
*3 An I/O device with the SR-IOV virtual function enabled is assigned as shown to the control domain.
To perform maintenance on a PCIe card, write down the results output by the ldm list-io command, because they will be needed later to restore the system after the maintenance.