An Oracle White Paper September 2010

Migrating Oracle Database from Veritas Storage Foundation to Oracle Automatic Storage Management (ASM)

..........................................5 Conclusion........................ 3 Oracle Automated Storage Management (ASM) ........................................................... 8 References...................................................................................... 4 Advantages in Migrating from Storage Foundation to Oracle ASM ...................... 8 .......... 4 Veritas Storage Foundation by Symantec .................................................................................Migrating Oracle Database from Veritas Storage Foundation to Oracle Automatic Storage Management (ASM) Introduction......................5 Migrating from Storage Foundation to Oracle ASM ....................................................

Migrating Oracle Database from Veritas Storage Foundation to Oracle Automatic Storage Management (ASM) Introduction This paper addresses migration of Oracle Database from Veritas Storage Foundation from Symantec to Oracle Automatic Storage Management (ASM). Oracle Recovery Manager (RMAN) is a supported tool which allows for database backup and recovery into a new environment. ASM combines a file system and volume manager which is designed to hold Oracle database files. Oracle supplies tools which can aid in database migration to Oracle ASM. Oracle Automatic Storage Management (ASM) is a feature in Oracle Database 10g and 11g that provides the database administrator with a simple storage management interface that is consistent across all server and storage platforms. It has been the choice in many high end applications and clusters. . An overview of ASM and examples of migrating from Oracle databases located on Storage Foundation Filesystems to Oracle ASM storage will be provided. However. RMAN will be used to backup a database built on a Storage Foundation filesystem and to migrate it to an ASM based database. Veritas Storage Foundation by Symantec has a history of being a popular third-party volume manager and file system. A migration from Veritas Storage Foundation to Oracle ASM can unify the administration and reduce overall licensing costs of an Oracle Database system. In an example later. ASM is a feature in Oracle Database that provides functionality similar to Veritas Storage Foundation . it is also a separately licensed product which is placed in the middle of the application and Operating System stack. To ease the transition.

ASM creates a much tighter relationship between the database and the hardware which allows the stack to adjust and balance as required. Detailed setup instructions are in the Oracle Real Application Cluster installation instructions. Asynchronous I/O is the default and stripe widths can be varied by ASM based on the information in the stripe. and RAID configurations such as mirroring can be used. Oracle ASM can be setup on Solaris using the standard Database Creation Assistant (dbca). is a powerful solution that can be considered as a replacement for Veritas Storage Foundation . disks can be added to a diskgroup. . • Oracle Database Enterprise Manager can manage ASM instances. Some of the benefits of ASM include: • Dynamic data redistribution. After that. • Support for standalone installation and for Oracle RAC • Journaling file system • Dynamic disk addition and removal. • Support for standalone and Oracle Real Application Clusters (RAC). disks are selected to be placed in the diskgroup which is a pool of disks that ASM will use for database storage. Oracle ASM. ASM combines a volume manager and filesystem together to run as a unified entity above system disks. Some of the similarities between Storage Foundation and ASM: • Cross platform compatibility. By contrast. However the licensing costs increase the Total Cost of Ownership (TCO). No separate languages required. • SQL interface for provisioning. • Multipathing support • RAID functionality Veritas Storage Foundation has been deployed in installations for volume disk management and clustering. Data is balanced when disks are added to the group.ASM allows Oracle Database to control functions which are often performed by the Operating System. The Symantec stack has very similar functionality to Oracle ASM. With ASM. Veritas Storage Foundation by Symantec Veritas Storage Foundation includes Veritas Volume Manager and the Veritas Filesystem along with tools to deploy and monitor large disk installations. which is integrated into the Oracle Database.Migrating Oracle Database from Veritas Storage Foundation to Oracle Automatic Storage Management (ASM) Oracle Automated Storage Management (ASM) As a feature introduced in Oracle Database 10g. • Cross platform compatibility with an identical interface between systems.

Oracle Recovery Manager (RMAN) is one such tool that contains specific commands for cloning databases across systems.Migrating Oracle Database from Veritas Storage Foundation to Oracle Automatic Storage Management (ASM) Advantages in Migrating from Storage Foundation to Oracle ASM Migrating from Storage Foundation to Oracle ASM should be considered for the following reasons: • Reduced overall licensing costs. The major functionality of Storage Foundation is included in Oracle ASM. Storage Foundation licensing is an added cost while Oracle ASM is included with the Oracle Database License. • Reduced dependency on third-party software. • Similar feature set. thus making the transition simpler. • Oracle Database provides a suite of tools to assist in migrating oracle databases. Oracle VM Server for SPARC (previously called Sun Logical Domains) was used to split the machines into smaller virtual machines. . Migrating from Storage Foundation to Oracle ASM Oracle Database provides tools to assist in database migration. The following example shows how RMAN can be used to migrate a database from a Storage Foundation based database to an Oracle ASM managed storage test environment For testing database migration. a pair of Oracle's Sun SPARC Enterprise T5120s were used.

a standalone Veritas Storage Foundation filesystem was used to contain our test database. The guide is available at: http://download.com/docs/cd/B19306_01/backup.htm#i1006233 . Migrating the Veritas Storage Foundation database to ASM can be done using RMAN.4Ghz x 128 threads 3 Logical Domains: Control.oracle. 2 guest domains Drives 16 x 300G Two logical domains were setup in a two node Oracle RAC configuration using ASM on the storage array volume. 2 guest domains Memory 128G CPU 1. In another logical domain.102/b14191/rcmdupdb.Migrating Oracle Database from Veritas Storage Foundation to Oracle Automatic Storage Management (ASM) Figure 1: Test Environment Setup SUN SPARC ENTERPRISE T5120 SUN SPARC ENTERPRISE T5120 SUN STORAGE 6180 ARRAY Memory 128G CPU 1. A detailed guide is available in the Oracle Database Backup and Recovery Advanced User's Guide.4Ghz x 128 threads 3 Logical Domains: Control.

orapwd file=PWDdbclone. Run rman duplicate database commands. Copy over the backup files in the same directory structure from the origdb server to the clonedb server. A typical backup for origdb can be run as: $ rman RMAN> backup as copy format=’/backup/origdb/%U’ database plus archivelog.Migrating Oracle Database from Veritas Storage Foundation to Oracle Automatic Storage Management (ASM) The basic steps for a migration from Veritas Storage Foundation to Oracle ASM are as follows: • A new Oracle ASM instance must be started. 3. An oracle password file must be created to allow sysdba connection to the databases. • The duplicate database can then be used from ASM. Note it can be run on the same server or a remote server. $ rman . 4. As an example: CONNECT SYS/password AS SYSDBA The password is the one assigned by orapwd and the ORACLE_SID should be set to the remote instance. Use rman to make a complete backup of the database to be cloned.ora ENTRIES=30 Refer to Configuring Authentication in the Oracle Database documentation for further usage instructions on orapwd. 5. • The new instance is created using a modified initialization parameter file. The original database on Storage Foundation is origdb and the new ASM based database is clonedb: 1. Orapwd is the utility for creating password files. • Connection as sysdba must be established between the Veritas based database and the ASM database. verify connectivity between the instances. Detailed steps for a migration between two servers are listed below. Using sqlplus. 2. Note that the database must be in archivelog mode. • The databases are started and placed in proper states for RMAN • RMAN backup and duplication is performed.

pdf It is recommended that deployments are tested in an environment which closely resembles the production database environment before transitioning the actual database from Storage Foundation to ASM. An Oracle only hardware/software stack is easier to maintain while maintaining a similar feature set.oracle.com/docs/cd/E11882_01/backup. Migration is eased by using commonly used Oracle tools. Once a database has been migrated from Veritas Storage Foundation to Oracle ASM.com/docs/cd/E11882_01/backup. Conclusion Migrating a database from Veritas Storage Foundation to Oracle ASM is a simple task which can provide a significant upside by introducing a proven and reliable Oracle software solution for database storage while reducing licensing costs.112/e10643/toc. A good best practices guide is available here: http://www.ora' 6. the clonedb on ASM can then be started and used.oracle.htm .112/e10642/toc. When the duplicate command completes.com/technology/deploy/availability/pdf/asm_cloning.htm Oracle® Database Backup and Recovery Reference http://download.Migrating Oracle Database from Veritas Storage Foundation to Oracle Automatic Storage Management (ASM) RMAN> RMAN> connect target sys/oracle@orig connect auxiliary sys/oracle@clonedb RMAN> duplicate target database to clonedb pfile='initclonedb. Transitioning the database may have other difficulties. it will be running in a complete Oracle stack with the third party functionality removed and replaced with the integrated volume manager of ASM. References Oracle® Database Backup and Recovery User's http://download. Some other documents which cover cloning databases are available.oracle.

Inc. Opteron. and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. This document may not be reproduced or transmitted in any form or by any means. nor subject to any other warranties or conditions.A. Other names may be trademarks of their respective owners. Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores. whether expressed orally or implied in law.650. This document is not warranted to be error-free. CA 94065 U.7000 Fax: +1.S. the AMD logo. electronic or mechanical.com AMD. Oracle and/or its affiliates.650. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International. Worldwide Inquiries: Phone: +1. 0410 Oracle and Java are registered trademarks of Oracle and/or its affiliates. Ltd. .506. including implied warranties and conditions of merchantability or fitness for a particular purpose.506. without our prior written permission. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document.7200 oracle. UNIX is a registered trademark licensed through X/Open Company. for any purpose.Migrating Oracle Database from Veritas Storage Foundation to Oracle Automatic Storage Management (ASM) September 2010 Copyright © 2010. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation.

Sign up to vote on this title
UsefulNot useful