This action might not be possible to undo. Are you sure you want to continue?
Migrating Oracle Database from Veritas Storage Foundation to Oracle Automatic Storage Management (ASM)
........ 8 ............................................................................... 4 Advantages in Migrating from Storage Foundation to Oracle ASM ............................................................. 8 References........5 Conclusion......Migrating Oracle Database from Veritas Storage Foundation to Oracle Automatic Storage Management (ASM) Introduction................................................................................................................................................................................................................... 3 Oracle Automated Storage Management (ASM) .... 4 Veritas Storage Foundation by Symantec ...............5 Migrating from Storage Foundation to Oracle ASM ......
Oracle Recovery Manager (RMAN) is a supported tool which allows for database backup and recovery into a new environment. 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.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). . ASM is a feature in Oracle Database that provides functionality similar to Veritas Storage Foundation . To ease the transition. Veritas Storage Foundation by Symantec has a history of being a popular third-party volume manager and file system. it is also a separately licensed product which is placed in the middle of the application and Operating System stack. ASM combines a file system and volume manager which is designed to hold Oracle database files. RMAN will be used to backup a database built on a Storage Foundation filesystem and to migrate it to an ASM based database. In an example later. A migration from Veritas Storage Foundation to Oracle ASM can unify the administration and reduce overall licensing costs of an Oracle Database system. 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. Oracle supplies tools which can aid in database migration to Oracle ASM.
ASM creates a much tighter relationship between the database and the hardware which allows the stack to adjust and balance as required. . Oracle ASM can be setup on Solaris using the standard Database Creation Assistant (dbca). By contrast. and RAID configurations such as mirroring can be used. is a powerful solution that can be considered as a replacement for Veritas Storage Foundation . which is integrated into the Oracle Database. • Cross platform compatibility with an identical interface between systems. disks are selected to be placed in the diskgroup which is a pool of disks that ASM will use for database storage. • Support for standalone installation and for Oracle RAC • Journaling file system • Dynamic disk addition and removal. With ASM. • Support for standalone and Oracle Real Application Clusters (RAC). ASM combines a volume manager and filesystem together to run as a unified entity above system disks.ASM allows Oracle Database to control functions which are often performed by the Operating System. However the licensing costs increase the Total Cost of Ownership (TCO). No separate languages required. After that. • Oracle Database Enterprise Manager can manage ASM instances. disks can be added to a diskgroup.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. Data is balanced when disks are added to the group. The Symantec stack has very similar functionality to Oracle ASM. Asynchronous I/O is the default and stripe widths can be varied by ASM based on the information in the stripe. Some of the benefits of ASM include: • Dynamic data redistribution. 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. • Multipathing support • RAID functionality Veritas Storage Foundation has been deployed in installations for volume disk management and clustering. Some of the similarities between Storage Foundation and ASM: • Cross platform compatibility. Detailed setup instructions are in the Oracle Real Application Cluster installation instructions. • SQL interface for provisioning. Oracle ASM.
Storage Foundation licensing is an added cost while Oracle ASM is included with the Oracle Database License. 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. • Reduced dependency on third-party software. a pair of Oracle's Sun SPARC Enterprise T5120s were used.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. Migrating from Storage Foundation to Oracle ASM Oracle Database provides tools to assist in database migration. The major functionality of Storage Foundation is included in Oracle ASM. • Similar feature set. Oracle VM Server for SPARC (previously called Sun Logical Domains) was used to split the machines into smaller virtual machines. • Oracle Database provides a suite of tools to assist in migrating oracle databases. thus making the transition simpler. . Oracle Recovery Manager (RMAN) is one such tool that contains specific commands for cloning databases across systems.
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. In another logical domain.htm#i1006233 .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.102/b14191/rcmdupdb. Migrating the Veritas Storage Foundation database to ASM can be done using RMAN. a standalone Veritas Storage Foundation filesystem was used to contain our test database.com/docs/cd/B19306_01/backup. 2 guest domains Memory 128G CPU 1.oracle. A detailed guide is available in the Oracle Database Backup and Recovery Advanced User's Guide.4Ghz x 128 threads 3 Logical Domains: Control.4Ghz x 128 threads 3 Logical Domains: Control. The guide is available at: http://download.
Use rman to make a complete backup of the database to be cloned. 5. Run rman duplicate database commands.ora ENTRIES=30 Refer to Configuring Authentication in the Oracle Database documentation for further usage instructions on orapwd. 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. verify connectivity between the instances. orapwd file=PWDdbclone. 3. 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.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. • The new instance is created using a modified initialization parameter file. • Connection as sysdba must be established between the Veritas based database and the ASM database. $ rman . Using sqlplus. 4. An oracle password file must be created to allow sysdba connection to the databases. 2. Note it can be run on the same server or a remote server. Copy over the backup files in the same directory structure from the origdb server to the clonedb server. • The duplicate database can then be used from ASM. A typical backup for origdb can be run as: $ rman RMAN> backup as copy format=’/backup/origdb/%U’ database plus archivelog. Orapwd is the utility for creating password files. The original database on Storage Foundation is origdb and the new ASM based database is clonedb: 1. Detailed steps for a migration between two servers are listed below.
A good best practices guide is available here: http://www. Transitioning the database may have other difficulties.112/e10642/toc.112/e10643/toc.htm . References Oracle® Database Backup and Recovery User's http://download.com/docs/cd/E11882_01/backup. Some other documents which cover cloning databases are available.com/technology/deploy/availability/pdf/asm_cloning.oracle. 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.oracle. Migration is eased by using commonly used Oracle tools. it will be running in a complete Oracle stack with the third party functionality removed and replaced with the integrated volume manager of ASM.oracle. An Oracle only hardware/software stack is easier to maintain while maintaining a similar feature set.ora' 6. the clonedb on ASM can then be started and used.htm Oracle® Database Backup and Recovery Reference http://download.com/docs/cd/E11882_01/backup.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. When the duplicate command completes.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. Once a database has been migrated from Veritas Storage Foundation to Oracle ASM.
Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores. the AMD logo. CA 94065 U.7000 Fax: +1. Inc. All rights reserved.650.com AMD.Migrating Oracle Database from Veritas Storage Foundation to Oracle Automatic Storage Management (ASM) September 2010 Copyright © 2010.506. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International. including implied warranties and conditions of merchantability or fitness for a particular purpose. electronic or mechanical.7200 oracle. for any purpose. and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices.A.506. nor subject to any other warranties or conditions. whether expressed orally or implied in law. Ltd. Opteron. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document may not be reproduced or transmitted in any form or by any means. 0410 Oracle and Java are registered trademarks of Oracle and/or its affiliates.650. UNIX is a registered trademark licensed through X/Open Company. . without our prior written permission. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation.S. Worldwide Inquiries: Phone: +1. This document is not warranted to be error-free. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. Other names may be trademarks of their respective owners. Oracle and/or its affiliates.
This action might not be possible to undo. Are you sure you want to continue?