Go to main content

Lift and Shift Guide - Migrating Workloads from Oracle Solaris 10 SPARC Systems to Oracle Solaris 10 Branded Zones

Exit Print View

Updated: February 2020
 
 

Verify the Solaris 10 Branded Zone Configuration

  1. Verify that the branded zone is installed.
    root@TargetGlobal# zoneadm list -vc
      ID NAME             STATUS      PATH                         BRAND      IP
       0 global           running     /                            solaris    shared
       - TargetS10bz      installed   /zones/TargetS10bz           solaris10  excl
    
  2. In a separate terminal window, log into the zone's console.

    This console will display messages as the zone boots (next step).

    root@TargetGlobal# zlogin -C TargetS10bz

    Note -  Once booted, you can use the zlogin command to log directly into the branded zone.
  3. (If needed) Shut down the source system.

    If the target branded zone uses the same network identity as the source system, shut down the source system to prevent conflicts on the network.

    If the target branded zone is configured with a different network identity, you do not need to shut down the source system at this time.

  4. In the original terminal window, boot the branded zone.
    root@TargetGlobal# zoneadm -z TargetS10bz boot
  5. Verify that the branded zone is running.
    root@TargetGlobal# zoneadm list -vc
      ID NAME             STATUS      PATH                         BRAND      IP
       0 global           running     /                            solaris    shared
       8 TargetS10bz      running     /zones/TargetS10bz           solaris10  excl
  6. Log into the branded zone.
    root@TargetGlobal# zlogin TargetS10bz
  7. List the branded zone's system architecture.
    rootTargetS10bz# uname -a
    SunOS TargetS10bz 5.10 Generic_Virtual sun4v sparc sun4v
  8. List the branded zone's processors
    rootTargetS10bz# psrinfo -pv
    The physical processor has 32 virtual processors (16-47)
      SPARC-S7 (chipid 0, clock 4267 MHz)
  9. List the branded zone's file systems.
    rootTargetS10bz# df -h
    Filesystem             Size   Used  Available Capacity  Mounted on
    rpool/ROOT/zbe-0       293G   4.6G       275G     2%    /
    rpool/ROOT/zbe-0/var   293G    14G       275G     5%    /var
    /.SUNWnative/lib       892G   5.0G       887G     1%    /.SUNWnative/lib
    /.SUNWnative/platform
                           892G   5.0G       887G     1%    /.SUNWnative/platform
    /.SUNWnative/sbin      892G   5.0G       887G     1%    /.SUNWnative/sbin
    /.SUNWnative/usr       892G   5.0G       887G     1%    /.SUNWnative/usr
    /dev                     0K     0K         0K     0%    /dev
    /oradata               197G    13G       182G     7%    /oradata
    /u01                   148G   2.3G       144G     2%    /u01
    proc                     0K     0K         0K     0%    /proc
    ctfs                     0K     0K         0K     0%    /system/contract
    mnttab                   0K     0K         0K     0%    /etc/mnttab
    swap                    64G   268M        64G     1%    /etc/svc/volatile
    fd                       0K     0K         0K     0%    /dev/fd
    swap                    64G   268M        64G     1%    /tmp
    /etc/svc/volatile/      64G   268M        64G     1%    /var/run
    rpool/export           293G    32K       275G     1%    /export
    rpool/export/home      293G   5.2M       275G     1%    /export/home
    rpool                  293G    31K       275G     1%    /rpool
  10. List the swap configuration.
    rootTargetS10bz# swap -l
    swapfile             dev  swaplo blocks   free
    /dev/swap            0,0      16 134217728 133640208
  11. Verify the branded zone's memory configuration.
    rootTargetS10bz# prtconf |grep -i mem
    prtconf: devinfo facility not available
    Memory size: 65536 Megabytes
  12. Verify the branded zone's network parameters.
    rootTargetS10bz# ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    vnic0: flags=100001000863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4,PHYSRUNNING> mtu 1500 index 2
            inet 192.0.2.120 netmask fffffe00 broadcast 192.0.3.255
            ether 2:8:20:df:e0:73
    
    rootTargetS10bz# cat /etc/hosts
    #
    # Internet host table
    #
    127.0.0.1       localhost
    ::1     localhost
    192.0.2.120  TargetS10bz      loghost
    
    rootTargetS10bz# ls -l /etc/hostname*
    -rw-r--r--   1 root     root          11 Jul 16 16:12 /etc/hostname.vnic0
    
    rootTargetS10bz# cat /etc/hostname.vnic0
    TargetS10bz
  13. Log into the branded zone's database as the oracle user and check the database user environment.
    rootTargetS10bz# su - oracle1
    Oracle Corporation      SunOS 5.10      Generic Patch   January 2005
    
    oracle1@TargetS10bz$ id
    uid=100(oracle1) gid=10010(dba)
    
    oracle1@TargetS10bz$ pwd
    /export/home/oracle1
    
    oracle1@TargetS10bz$ ls
    db.env        oraInventory