X

News, tips, partners, and perspectives for the Oracle Solaris operating system

  • January 28, 2019

Migrate Oracle Solaris 10 Physical Systems with ZFS root to Guest Domains in 3 Easy Steps

Sekhar Lakkapragada
Senior Principal Software Engineer

 

We are happy to announce that we now offer a new tool called ldmp2vz(1M) that can migrate Oracle Solaris 10 source systems with ZFS root. This tool has two commands; ldmp2vz_collect(1M) and ldmp2vz_convert(1M). These two commands enable migration of a sun4u or a sun4v Oracle Solaris 10 physical machine to an Oracle Solaris 10 guest domain on a system running Oracle Solaris 11 in the control domain as shown in this diagram.

 

 

 

Migration of the system is accomplished in three easy steps.

 

1. Collection: Run ldmp2vz_collect(1M) on the source machine to collect system image and configuration data. The resulting image file can be transmitted to the target system’s control domain or stored on an NFS server that is available on the target machine.

 

2. Preparation:  Create a new Oracle Solaris 10 guest domain on the SPARC target machine that is running Oracle Solaris 11 in the control domain, using any supported method. You can use ovmtdeploy(8), Jumpstart or install from Oracle Solaris DVD.

 

3. Conversion: Run ldmp2vz_convert(1M) inside the newly created Oracle Solaris 10 guest domain on the target machine. This command uses the system image from the source machine and restores the root file system and configuration data using Live Upgrade technology.  This process also replaces sun4u packages with the corresponding sun4v versions if needed.

 

 

 

The Oracle Solaris 10 guest domain on the target machine is now ready for application and data migration.

We documented a comprehensive end-to-end migration use case with an Oracle Solaris 10 source system that has a Database zone running Oracle Single Instance Database 12.1.0.2 and a Web zone running Apache web server. Application data on the source system is stored on ZFS, UFS and ASM raw disks and the document explains the process for transferring the data from the source machine to the Oracle Solaris 10 guest domain on the target system.

 

 

 

The ldmp2vz(1M) tool is available in Oracle VM Server for SPARC 3.2 Patch 151934-06. The migration use case document, titled Lift and Shift Guide – Migrating Workloads from Oracle Solaris 10 (ZFS) SPARC Systems to Oracle Solaris 10 Guest Domains, is available in the Lift and Shift Documentation Library

Join the discussion

Comments ( 6 )
  • George Davis Monday, January 28, 2019
    Wow! Thank you so much for putting this together. It has proven very successful at several of my customers when we first piloted it.
  • Pradeep Tuesday, January 29, 2019
    Nice. Is there any plan to automate the Solaris 10 to 11 migration because it will generate a lot of revenue for Oracle?
  • DavidH Friday, February 1, 2019
    Thank you so much for this!

    These missing utilities kept us from consolidating more physical systems 2 years back to newer hardware!

    Really need Solaris 10 to Solaris 11 migration utility... from UFS/ZFS!
  • Marcel Hofstetter JomaSoft Thursday, February 7, 2019
    Thanks. Nice Tools.

    My flar install fails with:

    Customizing system files
    - Mount points table (/etc/vfstab)
    - Network host addresses (/etc/hosts)
    - Environment variables (/etc/default/init)

    ERROR: Could not update /etc/default/init file

    What could be the cause?
  • Marty Rattner Monday, February 11, 2019
    Marcel,

    This issue might be related to locale settings in /etc/default/init. Check out this URL for a suggested workaround:
    http://schalwad.blogspot.com/2013/12/couldnt-set-locale-correctly.html
  • Eric Wednesday, March 6, 2019
    @DavidH,

    There are various ways to move from UFS to ZFS. The easiest is probably using live upgrade (LU). Though memory is I used custom scripts for UFS->ZFS, along with OS upgrades to avoid using LU due to cases it couldn't account for.
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.