Go to main content

Lift and Shift Guide - Moving Oracle Solaris 10 Guest Domains to SPARC Servers Running Oracle Solaris 11

Exit Print View

Updated: February 2020
 
 

Review the Target Control Domain Services

Use this procedure to verify that the target system recognizes the shifted guest domain

  1. On the control domain, list the logical domains.

    In this example, the new solaris10 guest domain is listed.

    root@TargetControlDomain# ldm ls
    NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
    primary          active     -n-cv-  UART    16    32G      0.1%  0.1%  15d 15h 47m
    solaris10        active     -n----  5001    80    128G     0.0%  0.0%  1h 16m

  2. List the logical domain services.
    root@TargetControlDomain# ldm ls-services
    VCC
        NAME         LDOM         PORT-RANGE
        ovmt-vcc0    primary      5001-5100
    
    VSW
        NAME         LDOM         MACADDRESS          NET-DEV   DVID|PVID|VIDs
        ----         ----         ----------          -------   --------------
        primary-vsw0 primary      01:00:5E:90:10:72   aggr0     1|1|--
    
    VDS
        NAME         LDOM         VOLUME         OPTIONS  MPGROUP  DEVICE
        ovmt-vds0    primary      solaris10-vol0                  /dev/rdsk/c0t600144F09F2C0BFD00005A2865A20004d0s2
                                  solaris10-vol1                  /dev/rdsk/c0t600144F09F2C0BFD00005A2865B50005d0s2
                                  solaris10-vol2                  /dev/rdsk/c0t600144F09F2C0BFD00005A2865C30006d0s2
                                  solaris10-vol3                  /dev/rdsk/c0t600144F09F2C0BFD00005A2865D30007d0s2
                                  solaris10-vol4                  /dev/rdsk/c0t600144F09F2C0BFD00005A2865E20008d0s2
                                  solaris10-vol5                  /dev/rdsk/c0t600144F09F2C0BFD00005A2865F40009d0s2

  3. List the target system's network information.
    root@TargetControlDomain# ldm ls -o net
    NAME
    primary
    
    MAC
        01:00:5E:90:10:e6
    
    VSW
        NAME         MACADDRESS          NET-DEV   DVID|PVID|VIDs
        ----         ----------          -------   --------------
        primary-vsw0 01:00:5E:90:10:72   aggr0     1|1|--
                DEVICE          :switch@0        ID   :0
                LINKPROP        :phys-state      MTU  :1500
                INTER-VNET-LINK :on/auto         MODE :--
                VSW-RELAY-MODE  :local
    
    ------------------------------------------------------------------------------
    NAME
    solaris10
    
    MAC
        01:00:5E:90:10:3b
    
    NETWORK
        NAME         SERVICE                MACADDRESS          PVID|PVLAN|VIDs
        ----         -------                ----------          ---------------
        vnet0        primary-vsw0@primary   01:00:5E:90:10:da   1|--|--
                DEVICE     :network@0       ID   :0
                LINKPROP   :--              MTU  :1500
                MAXBW      :--              MODE :--
                CUSTOM     :disable
                PRIORITY   :--              COS  :--
                PROTECTION :--

  4. Check target guest domain's virtual disk configuration.
    1. List the target system's virtual disk information.

      The number of virtual disks and the disk IDs assigned to each of the guest domain's disk devices must match the source guest domain's configuration (obtained in Obtain Configuration Details from the Source Control Domain).

      In this example, the guest domain (solaris10) number of disks, disk devices and ID assignments match the source guest domain configuration.

      root@TargetControlDomain# ldm ls -o disk
      NAME
      primary
      
      VDS
          NAME         VOLUME         OPTIONS  MPGROUP  DEVICE
          ovmt-vds0    solaris10-vol0                  /dev/rdsk/c0t600144F09F2C0BFD00005A2865A20004d0s2
                       solaris10-vol1                  /dev/rdsk/c0t600144F09F2C0BFD00005A2865B50005d0s2
                       solaris10-vol2                  /dev/rdsk/c0t600144F09F2C0BFD00005A2865C30006d0s2
                       solaris10-vol3                  /dev/rdsk/c0t600144F09F2C0BFD00005A2865D30007d0s2
                       solaris10-vol4                  /dev/rdsk/c0t600144F09F2C0BFD00005A2865E20008d0s2
                       solaris10-vol5                  /dev/rdsk/c0t600144F09F2C0BFD00005A2865F40009d0s2
      
      ------------------------------------------------------------------------------
      NAME
      solaris10
      
      DISK
          NAME         VOLUME                 TOUT ID   DEVICE  SERVER         MPGROUP
          vdisk0       solaris10-vol0@ovmt-vds0      0    disk@0  primary
          vdisk1       solaris10-vol1@ovmt-vds0      1    disk@1  primary
          vdisk2       solaris10-vol2@ovmt-vds0      2    disk@2  primary
          vdisk3       solaris10-vol3@ovmt-vds0      3    disk@3  primary
          vdisk4       solaris10-vol4@ovmt-vds0      4    disk@4  primary
          vdisk5       solaris10-vol5@ovmt-vds0      5    disk@5  primary

    2. If there is a mismatch, correct the ID assignments by removing and reattaching each non-matching virtual disk.
      1. Stop the guest domain.

        # ldm stop-domain guest_domain_name

      2. Run these commands for each virtual disk that requires an ID reassignment.

        # ldm rm-vdisk vdisk_name target_guest_domain

        # ldm add-vdisk id=ID vdisk_name volumename

      3. Start the guest domain.

        # ldm start-domain guest_domain_name

  5. List the target system's CPU resources.
    root@TargetControlDomain# ldm ls -o core
    NAME
    primary
    
    CORE
        CID    CPUSET
        0      (0, 1, 2, 3, 4, 5, 6, 7)
        1      (8, 9, 10, 11, 12, 13, 14, 15)
    
    ------------------------------------------------------------------------------
    NAME
    solaris10
    
    CORE
        CID    CPUSET
        2      (16, 17, 18, 19, 20, 21, 22, 23)
        3      (24, 25, 26, 27, 28, 29, 30, 31)
        64     (512, 513, 514, 515, 516, 517, 518, 519)
        65     (520, 521, 522, 523, 524, 525, 526, 527)
        66     (528, 529, 530, 531, 532, 533, 534, 535)
        67     (536, 537, 538, 539, 540, 541, 542, 543)
        72     (576, 577, 578, 579, 580, 581, 582, 583)
        73     (584, 585, 586, 587, 588, 589, 590, 591)
        74     (592, 593, 594, 595, 596, 597, 598, 599)
        75     (600, 601, 602, 603, 604, 605, 606, 607)
    

  6. List the control domain's data links.
    root@TargetControlDomain# dladm show-link
    
    LINK                CLASS     MTU    STATE    OVER
    net3                phys      1500   down     --
    net4                phys      1500   up       --
    net1                phys      1500   down     --
    net2                phys      1500   up       --
    net0                phys      1500   up       --
    aggr0               aggr      1500   up       net0 net2
    net6                phys      1500   up       --
    ldoms-vsw0.vport0   vnic      1500   up       aggr0      <<<<< This link will be used by the guest domain (solaris10)