Solaris LDOM

root@edus005:~# ldm list
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active     -n-c--  UART    64    65024M   0.1%  10m
root@edus005:~# ldm add-vconscon port-range=5000-5100 primary-console primary
root@edus005:~# svcadm enable vntsd
root@edus005:~# svcs vntsd
STATE          STIME    FMRI
online          9:10:00 svc:/ldoms/vntsd:default

root@edus005:~# ldm set-vcpu 4 primary
root@edus005:~# ldm start-reconf primary
Initiating a delayed reconfiguration operation on the primary domain.
All configuration changes for other domains are disabled until the primary
domain reboots, at which time the new configuration for the primary domain
will also take effect.
root@edus005:~# ldm set-memory 8192m primary
------------------------------------------------------------------------------
Notice: The primary domain is in the process of a delayed reconfiguration.
Any changes made to the primary domain will only take effect after it reboots.
------------------------------------------------------------------------------
root@edus005:~# ldm add-config initial
root@edus005:~# shutdown -y -go -i6


root@edus005:~# dladm show-phys
LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE
net5              Ethernet             unknown    0      unknown   nxge1
net3              Ethernet             unknown    0      unknown   igb3
net4              Ethernet             unknown    0      unknown   nxge0
net0              Ethernet             up         1000   full      igb0
net6              Ethernet             unknown    0      unknown   nxge2
net7              Ethernet             unknown    0      unknown   nxge3
net1              Ethernet             unknown    0      unknown   igb1
net2              Ethernet             unknown    0      unknown   igb2
net8              Ethernet             up         10     full      usbecm2
root@edus005:~# ldm add-vsw net-dev=net0 primary-vsw0 primary
root@edus005:~# ldm list-bindings primary
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active     -n-cv-  UART    4     8G       0.3%  27m

UUID
    c1dc05ec-a696-cf81-f77f-b26c5eddaf6a

MAC
    00:21:28:e8:f8:94

HOSTID
    0x85e8f894

CONTROL
    failure-policy=ignore
    extended-mapin-space=off
    cpu-arch=native
    rc-add-policy=
    shutdown-group=0

DEPENDENCY
    master=

CORE
    CID    CPUSET
    0      (0, 1, 2, 3)

VCPU
    VID    PID    CID    UTIL STRAND
    0      0      0      0.9%   100%
    1      1      0      0.4%   100%
    2      2      0      0.5%   100%
    3      3      0      0.2%   100%

MEMORY
    RA               PA               SIZE           
    0x20000000       0x20000000       8G

CONSTRAINT
    threading=max-throughput

VARIABLES
    boot-device=/pci@400/pci@2/pci@0/pci@4/scsi@0/disk@w5000cca0129abe01,0:a disk net
    keyboard-layout=US-English
    pm_boot_policy=disabled=1;ttfc=0;ttmr=0;

IO
    DEVICE                           PSEUDONYM        OPTIONS
    pci@400                          pci_0          
    niu@480                          niu_0          
    pci@400/pci@1/pci@0/pci@8        /SYS/MB/RISER0/PCIE0
    pci@400/pci@2/pci@0/pci@8        /SYS/MB/RISER1/PCIE1
    pci@400/pci@1/pci@0/pci@6        /SYS/MB/RISER2/PCIE2
    pci@400/pci@2/pci@0/pci@c        /SYS/MB/RISER0/PCIE3
    pci@400/pci@1/pci@0/pci@0        /SYS/MB/RISER1/PCIE4
    pci@400/pci@2/pci@0/pci@a        /SYS/MB/RISER2/PCIE5
    pci@400/pci@1/pci@0/pci@4        /SYS/MB/SASHBA0
    pci@400/pci@2/pci@0/pci@4        /SYS/MB/SASHBA1
    pci@400/pci@2/pci@0/pci@6        /SYS/MB/NET0   
    pci@400/pci@2/pci@0/pci@7        /SYS/MB/NET2   
VCC
    NAME             PORT-RANGE
    primary-console  5000-5100

VSW
    NAME             MAC               NET-DEV   ID   DEVICE     LINKPROP   DEFAULT-VLAN-ID PVID VID                  MTU   MODE   INTER-VNET-LINK
    primary-vsw0     00:14:4f:fa:2d:de net0      0    switch@0              1               1                         1500         on        

VCONS
    NAME             SERVICE                     PORT   LOGGING
                     UART

more details:

http://docs.oracle.com/cd/E35434_01/html/E23807/ldomssoftware.html#scrolltoc
http://thegeekdiary.com/ldoms-ovm-for-sparc-command-line-reference-cheat-sheet/


# fcinfo hba-port
HBA Port WWN: 21000024ff34750c
        OS Device Name: /dev/cfg/c9
        Manufacturer: QLogic Corp.
        Model: 371-4325-02
        Firmware Version: 05.06.04
        FCode/BIOS Version:  BIOS: 2.02; fcode: 2.03; EFI: 2.01;
        Serial Number: 0402L00-1128979611
        Driver Name: qlc
        Driver Version: 20120717-4.01
        Type: N-port
        State: online
        Supported Speeds: 2Gb 4Gb 8Gb
        Current Speed: 8Gb
        Node WWN: 20000024ff34750c
HBA Port WWN: 21000024ff34750d
        OS Device Name: /dev/cfg/c10
        Manufacturer: QLogic Corp.
        Model: 371-4325-02
        Firmware Version: 05.06.04
        FCode/BIOS Version:  BIOS: 2.02; fcode: 2.03; EFI: 2.01;
        Serial Number: 0402L00-1128979611
        Driver Name: qlc
        Driver Version: 20120717-4.01
        Type: N-port
        State: offline
        Supported Speeds: 2Gb 4Gb 8Gb
        Current Speed: not established
        Node WWN: 20000024ff34750d
HBA Port WWN: 21000024ff34750a
        OS Device Name: /dev/cfg/c1
        Manufacturer: QLogic Corp.
        Model: 371-4325-02
        Firmware Version: 05.06.04
        FCode/BIOS Version:  BIOS: 2.02; fcode: 2.03; EFI: 2.01;
        Serial Number: 0402L00-1128979610
        Driver Name: qlc
        Driver Version: 20120717-4.01
        Type: N-port
        State: online
        Supported Speeds: 2Gb 4Gb 8Gb
        Current Speed: 8Gb
        Node WWN: 20000024ff34750a
HBA Port WWN: 21000024ff34750b
        OS Device Name: /dev/cfg/c6
        Manufacturer: QLogic Corp.
        Model: 371-4325-02
        Firmware Version: 05.06.04
        FCode/BIOS Version:  BIOS: 2.02; fcode: 2.03; EFI: 2.01;
        Serial Number: 0402L00-1128979610
        Driver Name: qlc
        Driver Version: 20120717-4.01
        Type: unknown
        State: offline
        Supported Speeds: 2Gb 4Gb 8Gb
        Current Speed: not established
        Node WWN: 20000024ff34750b
#

To scan new hardware
# cfgadm -al

Comments

Popular posts from this blog

VIOS TIPs

Configure Solaris 10 LDOM on Solaris 11.4

Change P410i from HBA mode to Raid mdoe