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 Guest Domain Services

Use this procedure to review the newly created target guest domain.

  1. Log into the new guest domain on the target system.

    Note -  For the commands that are performed on the target guest domain, the prompt displays the name of the source guest domain, because the guest domain still has the original configuration from the source system.

    In this example, the listen_addr property of the SMF service svc:/ldoms/vntsd is set to the default of localhost, so localhost is used with the telnet command. If your listen_addr is set to something different, specify the host name accordingly.

    root@TargetControlDomain# telnet localhost 5001
    
    Trying TargetGuestDomain_IP_Address...
    Connected to TargetControlDomain.
    Escape character is '^]'.
    Connecting to console "solaris10" in group "solaris10" ....
    Press ~? for control options ..
    TargetGuestDomain console login: root
    Password:
    Last login: Tue Feb 13 09:50:01 on console
    Oracle Corporation      SunOS 5.10      Generic Patch   January 2005

    You might see these types of messages on the console. The messages are expected because Database (ASM) environment on the source was disabled before the start of the archive process. Subsequent steps enable the database (ASM) services.

    WARNING: pool 'u01' could not be loaded as it was last accessed by another system (host: SourceGuestDomain hostid: 0x00fbb157)
    Not waiting for filesystem containing /u01/app/oracle1/product/12.1.0/grid/bin/crsctl because Oracle HA daemon is not enabled.
    root: Oracle Cluster Ready Services startup disabled.
    root: Could not access /var/opt/oracle/scls_scr/SourceGuestDomain/oracle1/ohasdstr.
    

  2. List the guest domain's ZFS storage pools.

    In this example, the zpool u01 hosting the database/asm is not listed. This is expected, because the ovmtdeploy process only mounts the root disk (rpool).

    This example is performed on the target guest domain.

    SourceGuestDomain:/# zpool list
    NAME   SIZE  ALLOC  FREE  CAP  HEALTH  ALTROOT
    rpool  298G  39.2G  259G  13%  ONLINE  -

  3. Check the status of the ZFS storage pool.
    SourceGuestDomain:/# zpool status
     pool: rpool
     state: ONLINE
     scan: resilvered 9.71M in 0h0m with 0 errors on Fri Feb  14 18:56:07 2018
    config:
    
            NAME        STATE     READ WRITE CKSUM
            rpool       ONLINE       0     0     0
              mirror-0  ONLINE       0     0     0
                c0d0s0  ONLINE       0     0     0
                c0d1s0  ONLINE       0     0     0

  4. List the guest domain's disks.
    SourceGuestDomain:/# format
    
    Searching for disks...done
    
    AVAILABLE DISK SELECTIONS:
           0. c0d0 <SUN-ZFSStorage7420-1.0 cyl 9749 alt 2 hd 254 sec 254>
              /virtual-devices@100/channel-devices@200/disk@0
           1. c0d1 <SUN-ZFSStorage7420-1.0 cyl 9749 alt 2 hd 254 sec 254>
              /virtual-devices@100/channel-devices@200/disk@1
           2. c0d2 <SUN-ZFS Storage 7355-1.0-150.00GB>
              /virtual-devices@100/channel-devices@200/disk@2
           3. c0d3 <SUN-ZFS Storage 7355-1.0-150.00GB>
              /virtual-devices@100/channel-devices@200/disk@3
           4. c0d4 <SUN-ZFS Storage 7355-1.0-200.00GB>
              /virtual-devices@100/channel-devices@200/disk@4
           5. c0d5 <SUN-ZFS Storage 7355-1.0-200.00GB>
              /virtual-devices@100/channel-devices@200/disk@5
    Specify disk (enter its number): CTRL-C

  5. Check the state of the u01 pool.

    In this example, the u01 pool is online, indicating that the database/ASM can be enabled.

    This example verifies that the target guest domain recognizes the u01 pool.


    Note -  The other 2 disks (c0d4 and c0d5) are for the ASM, and are usable in an ASM disk group only after the ASM is started.
    SourceGuestDomain:/# zpool import
    
    pool: u01
        id: 7027624999306136701
     state: ONLINE
    status: The pool was last accessed by another system.
    action: The pool can be imported using its name or numeric identifier and
            the '-f' flag.
       see: http://www.sun.com/msg/ZFS-8000-EY
    config:
            u01         ONLINE
              mirror-0  ONLINE
                c0d2    ONLINE
                c0d3    ONLINE

  6. Check the guest domain's network topology.

    In this example, the IP address under the Gateway column indicates that the network topology has been copied as-is from the source environment.

    SourceGuestDomain:/# netstat -rn
    Routing Table: IPv4
    Destination       Gateway           Flags  Ref   Use   Interface
    ----------------- ----------------- ----- ----- ------ ---------
    default           192.0.2.1         UG     1      582
    192.0.2.0         192.0.2.100       U      1      130   vnet0
    224.0.0.0         192.0.2.100       U      1        0   vnet0
    127.0.0.1         127.0.0.1         UH     4       81   lo0
    

    The target system is on different subnet than the source system, therefore the guest domain must be reconfigured. See Reconfigure the Target Guest Domain.