Oracle Database Migration From Solaris To Linux On Nutanix
Oracle Database Migration From Solaris To Linux On Nutanix
Copyright
Copyright 2018 Nutanix, Inc.
Nutanix, Inc.
1740 Technology Drive, Suite 150
San Jose, CA 95110
All rights reserved. This product is protected by U.S. and international copyright and intellectual
property laws.
Nutanix is a trademark of Nutanix, Inc. in the United States and/or other jurisdictions. All other
marks and names mentioned herein may be trademarks of their respective companies.
Copyright | 2
Oracle Database Migration from Solaris to Linux on Nutanix
Contents
1. Executive Summary................................................................................ 4
2. Introduction..............................................................................................5
2.1. Audience........................................................................................................................ 5
2.2. Purpose..........................................................................................................................5
7. Conclusion............................................................................................. 20
Appendix......................................................................................................................... 21
About Nutanix......................................................................................................................21
List of Figures................................................................................................................22
List of Tables................................................................................................................. 23
3
Oracle Database Migration from Solaris to Linux on Nutanix
1. Executive Summary
This technical note describes how to migrate an Oracle database deployed on Oracle Solaris to
Linux running on the Nutanix Enterprise Cloud. Migrating your Oracle databases can help you
simplify system support by consolidating vendors and can enhance capabilities such as backup,
disaster recovery, snapshots, and clones.
The Nutanix Enterprise Cloud provides a complete datacenter infrastructure solution for Oracle
databases. Deploying Oracle databases on Nutanix eliminates the complexities of a traditional
multitier datacenter environment. Whether you are virtualizing critical or tier-1 Oracle databases
or situating them on bare metal, Nutanix solutions bring the predictable performance, scalability,
and cost benefits of web-scale architecture to your database environments.
With excellent linear scaling, as well as great random read and write and sequential storage
performance, the Nutanix platform can support transactional and analytical databases
simultaneously, all while using the hypervisor of your choice, including VMware vSphere,
Microsoft Hyper-V, Citrix XenServer, or Nutanix AHV. Using Nutanix Volumes, Nutanix supports
bare metal Oracle database instances or VMs (using a single instance of either Oracle Database
or Oracle RAC), delivering the benefits of web-scale engineering to all Oracle database
environments.
The Nutanix solution delivers powerful self-healing, data protection, and disaster recovery
capabilities to keep your databases and applications running and your critical data well protected.
It also allows near-instantaneous local and remote backups, using snapshots to offload Recovery
Manager (RMAN) backups to tape, disk, or a WORM (write once, read many) device for offsite
backup. This functionality satisfies Sarbanes-Oxley (SOX) compliance, a key consideration for
many enterprises. Nutanix also enables one-click cloning so that administrators can easily and
quickly apply these snapshots to refresh a test or development Oracle instance from production.
1. Executive Summary | 4
Oracle Database Migration from Solaris to Linux on Nutanix
2. Introduction
2.1. Audience
This technical note is part of the Nutanix Solutions Library for Oracle and is intended for
individuals designing Nutanix solutions for Oracle Database or Oracle Real Application Cluster
(RAC).
2.2. Purpose
This document details a method for migrating an Oracle database deployed on Oracle Solaris to
Linux running on the Nutanix Enterprise Cloud.
Unless otherwise stated, the solution described in this document is valid on all supported AOS
releases.
Version
Published Notes
Number
1.0 October 2017 Original publication.
1.1 October 2018 Updated Nutanix overview.
2. Introduction | 5
Oracle Database Migration from Solaris to Linux on Nutanix
• Support for Oracle Automatic Storage Management (ASM) without any caveats or restrictions.
Note: These instructions cover only one of several available methods you can use
in this situation—it may not be the right method for your specific environment. Check
the Oracle Support website for other methods for converting Oracle from Solaris to
Linux.
6.1. Setup
• Source database
Solaris 11 on Solaris SPARC (64-bit) (big-endian format) with the ZFS file system.
• Destination database
Oracle Linux 7.3 x86_64 (little-endian format) with Oracle ASM disk groups.
Prerequisites:
• Both the source and destination database versions must be 12c Release 1 (12.1) or later.
• Set the COMPATIBLE parameter in the SPFILE of the source database and the destination
database to 12.0.0 or higher.
• Tablespaces are transported in read-only mode, unless you use the ALLOW INCONSISTENT
clause in the BACKUP command.
• Complete the DBMS_TTS.TRANSPORT_SET_CHECK procedure to check for dependencies.
If the TRANSPORT_SET_VIOLATIONS view contains rows corresponding to the specified
tablespaces, then you must resolve the dependencies before creating the cross-platform
backup.
• The source database must be in ARCHIVELOG mode.
• A user for RMAN backup must have SYSBACKUP privileges in both the source and
destination databases.
6.2. Example
In this example, we have a database with two user tablespaces (EMPTS and HRTS) on Solaris
that we want to migrate to a Linux VM running on a Nutanix cluster.
• Run the DBMS_TTS.TRANSPORT_SET_CHECK procedure to check for dependencies for
EMPTS and HRTS tablespaces.
• Create an RMAN backup user on both the source and destination databases.
• Connect to RMAN on the source database and put both tablespaces in read-only mode.
Figure 6: Connect to RMAN on the Source Database and Put Tablespaces in Read-Only Mode
• Run RMAN backups of both tablespaces. Be sure to use the RMAN option TO PLATFORM.
• Copy the backup files to the Linux server. Alternatively, you can create an NFS share that you
can mount on both servers and use to share the backup files.
• Connect to RMAN and restore the tablespaces. Make sure that you have specified the
keyword foreign.
• Verify that the process has restored both tablespaces and change them to read/write.
7. Conclusion
The Nutanix Enterprise Cloud provides a web-scale architecture that allows business-critical
applications such as Oracle to take full advantage of low-latency storage performance and linear
scalability, high availability, and simplified management. With the new RMAN feature in Oracle
12c, you can effortlessly migrate Oracle databases across platforms, making it easier than ever
to get started on Nutanix.
We hope that the sample procedure outlined in this technical note empowers you to begin
moving Oracle user tablespaces from Solaris to Linux on Nutanix. By shifting their workloads to
Nutanix, DBAs and system administrators can achieve a lower TCO and eliminate the complexity
of constantly managing and optimizing their underlying compute and storage in a multitier
architecture.
Engage with Nutanix experts on the Nutanix Next Community, on Twitter @nutanix, or at your
local Nutanix Connect User Groups to learn more about the benefits of the Nutanix Enterprise
Cloud for Oracle databases and other business-critical applications. Send us an email at
[email protected] to set up your own customized briefing, including sizing, TCO analysis, data
protection, and disaster recovery design.
7. Conclusion | 20
Oracle Database Migration from Solaris to Linux on Nutanix
Appendix
About Nutanix
Nutanix makes infrastructure invisible, elevating IT to focus on the applications and services that
power their business. The Nutanix Enterprise Cloud OS leverages web-scale engineering and
consumer-grade design to natively converge compute, virtualization, and storage into a resilient,
software-defined solution with rich machine intelligence. The result is predictable performance,
cloud-like infrastructure consumption, robust security, and seamless application mobility for a
broad range of enterprise applications. Learn more at www.nutanix.com or follow us on Twitter
@nutanix.
Appendix | 21
Oracle Database Migration from Solaris to Linux on Nutanix
List of Figures
Figure 1: Nutanix Enterprise Cloud................................................................................... 6
Figure 6: Connect to RMAN on the Source Database and Put Tablespaces in Read-
Only Mode................................................................................................................... 13
22
Oracle Database Migration from Solaris to Linux on Nutanix
List of Tables
Table 1: Document Version History.................................................................................. 5
23