Lessons from the time machine



Similar documents
Worldwide Managed Services for. 402 Amherst Street, Suite 300 Nashua, NH 03063, USA. Phone: e mail: holland@sciinc.com

Administering a Microsoft SQL Server 2000 Database

Administering a Microsoft SQL Server 2000 Database

SharePlex for Oracle How to replicate databases. Jeffrey Surretsky Solutions Architect

Administering a Microsoft SQL Server 2000 Database

Rdb Directions & Strategies

Dell AppAssure Universal Recovery

One Solution for Real-Time Data protection, Disaster Recovery & Migration

How To Use A Recoverypoint Server Appliance For A Disaster Recovery

Oracle Database 10g: Backup and Recovery 1-2

Upgrading Your SQL Server 2000 Database Administration (DBA) Skills to SQL Server 2008 DBA Skills Course 6317A: Three days; Instructor-Led

Course Outline: Course 6317: Upgrading Your SQL Server 2000 Database Administration (DBA) Skills to SQL Server 2008 DBA Skills

Contents. SnapComms Data Protection Recommendations

<Insert Picture Here> Oracle Rdb and Oracle Database on OpenVMS Product Update

Appendix A Core Concepts in SQL Server High Availability and Replication

CA ARCserve and CA XOsoft r12.5 Best Practices for protecting Microsoft SQL Server

Administering Microsoft SQL Server 2012 Databases

Advanced Server Virtualization: Vmware and Microsoft Platforms in the Virtual Data Center

VMware Cloud Environment

Installing and Configuring Windows Server Module Overview 14/05/2013. Lesson 1: Planning Windows Server 2008 Installation.

How to Migrate your Database to Oracle Exadata. Noam Cohen, Oracle DB Consultant, E&M Computing

Moving the Web Security Log Database

Module 14: Scalability and High Availability

RAID Utility User s Guide Instructions for setting up RAID volumes on a computer with a MacPro RAID Card or Xserve RAID Card.

Moving BidMagic to a new system (Backup / Restore Utility)

Facilitating Efficient Data Management by Craig S. Mullins

System Protection for Hyper-V Whitepaper

Upgrading Centricity Electronic Medical Record Service Packs on Microsoft Windows Server

6231A - Maintaining a Microsoft SQL Server 2008 Database

Global Search v.2.8 for Microsoft Dynamics CRM 4.0

Oracle 11g DBA Online Course - Smart Mind Online Training, Hyderabad. Oracle 11g DBA Online Training Course Content


MySQL Administration and Management Essentials

Administration guide. Host software WinCCU Installation. Complete gas volume and energy data management

Bigdata High Availability (HA) Architecture

The Sierra Clustered Database Engine, the technology at the heart of

EMC DOCUMENTUM xplore 1.1 DISASTER RECOVERY USING EMC NETWORKER

Library Recovery Center

Tushar Joshi Turtle Networks Ltd

Backup Types. Backup and Recovery. Categories of Failures. Issues. Logical. Cold. Hot. Physical With. Statement failure

Workflow Templates Library

SCALABILITY AND AVAILABILITY

DeltaV Virtualization High Availability and Disaster Recovery

SQL Server Administrator Introduction - 3 Days Objectives

inforouter V8.0 Server Migration Guide.

6231B: Maintaining a Microsoft SQL Server 2008 R2 Database

SQL Server 2008 Designing, Optimizing, and Maintaining a Database Session 1

Parallels Plesk Automation

Comparing Microsoft SQL Server 2005 Replication and DataXtend Remote Edition for Mobile and Distributed Applications

Oracle Database 10g: New Features for Administrators

Hyper-V Protection. User guide

An Oracle White Paper June High Performance Connectors for Load and Access of Data from Hadoop to Oracle Database

Storage Design for High Capacity and Long Term Storage. DLF Spring Forum, Raleigh, NC May 6, Balancing Cost, Complexity, and Fault Tolerance

Backup & Disaster Recovery Options

DAS to SAN Migration Using a Storage Concentrator

Maintaining a Microsoft SQL Server 2008 Database

DB2 9 for LUW Advanced Database Recovery CL492; 4 days, Instructor-led

How to Back Up and Restore an ACT! Database Answer ID 19211

Designing, Optimizing and Maintaining a Database Administrative Solution for Microsoft SQL Server 2008

Best Practices for Upgrading to SQL Server 2012

SQL Server Training Course Content

Netezza PureData System Administration Course

Leveraging Virtualization for Disaster Recovery in Your Growing Business

Frontstream CRM Pro to Pro Upgrade Guide (Note: This guide is ONLY applicable for upgrading from Pro to Pro)

More enhanced features.

New Security Options in DB2 for z/os Release 9 and 10

VIPERVAULT STORAGECRAFT SHADOWPROTECT SETUP GUIDE

SOLUTION GUIDE AND BEST PRACTICES

Getting Started With RAID

Automation Engine AE Server management

Introduction. There are several bits of information that must be moved:

Techniques for implementing & running robust and reliable DB-centric Grid Applications

Keystone 600N5 SERVER and STAND-ALONE INSTALLATION INSTRUCTIONS

Sawmill Log Analyzer Best Practices!! Page 1 of 6. Sawmill Log Analyzer Best Practices

Archive Backup System for. for OpenVMS Installation Guide

Moving the TRITON Reporting Databases

Deploying Exchange Server 2007 SP1 on Windows Server 2008

Installation / Migration Guide for Windows 2000/2003 Servers

SSIS Scaling and Performance

MS Design, Optimize and Maintain Database for Microsoft SQL Server 2008

AVLOR SERVER CLOUD RECOVERY

ORACLE DATABASE 10G ENTERPRISE EDITION

Managing and Maintaining Windows Server 2008 Servers

SQL Server Upgrading to. and Beyond ABSTRACT: By Andy McDermid

Why Plan B DR? Benefits of Plan B Disaster Recovery Service:

Product: DQ Order Manager Release Notes

DBMS / Business Intelligence, SQL Server

VirtualCenter Database Maintenance VirtualCenter 2.0.x and Microsoft SQL Server

Practical Cassandra. Vitalii

Enhancements of ETERNUS DX / SF

Symantec Backup Exec Blueprints

Cross Platform Transportable Tablespaces Migration in Oracle 11g

Online Transaction Processing in SQL Server 2008

Cloud Attached Storage

Chapter 13 File and Database Systems

Transcription:

Worldwide Managed Services for OpenVMS and Rdb Lessons from the time machine Software Concepts International, LLC 402 Amherst Street, Suite 300 Nashua, NH 03063, USA Phone: 603-879-9022 e-mail: holland@sciinc.com www.sciinc.com

About Software Concepts International, LLC Questions to Consider How to Upgrade to Rdb V7.2 Moving Your Data Validating the Moved Data Cutting Over to New System Questions and Feedback World class managed services for OpenVMS 2

About Software Concepts International The leading provider of managed services for Rdb, DBMS and OpenVMS 24+ years in the business Performed many, many, many successful Rdb, DBMS and OpenVMS migrations from VAX Alpha, VAX Integrity and Alpha Integrity. Worldwide support World class managed services for OpenVMS 3

About Software Concepts International, LLC Questions to Consider How to Upgrade to Rdb V7.2 Moving Your Data Validating the Moved Data Cutting Over to New System Questions and Feedback World class managed services for OpenVMS 4

1. What version of Rdb are you on now? 2. Are you physically ymoving the database to new storage? (Are you moving the database to new storage or a new system?) World class managed services for OpenVMS 5

This means Rdb on Integrity and Rdb on Alpha share the exact same on disk structures (the data is the same) iff you are running Rdb v7.2 on Alpha and you are operating in a mixed architecture Alpha/Integrity cluster then Congratulations! Your (database) migration is complete! (you may still have to migrate your application). World class managed services for OpenVMS 6

In it s simplest form*, upgrading to Rdb v7.2 is as easy as using RMU/CONVERT to (now, the small print ) *This assumes that: update the RDB root file..fast! Done! Thank you for your time 1. The database is NOT being moved to new storage. 2. The source database is already at Rdb v7.0 or v7.1 3. The prior database convert has been committed. World class managed services for OpenVMS 7

What if you are running Rdb v6.1 or earlier? What if the database is being physically moved to new storage? What if the new storage is not available from the old hardware? What if downtime is not unlimited? World class managed services for OpenVMS 8

1. How to upgrade Rdb versions 2. Is the data moving World class managed services for OpenVMS 9

About Software Concepts International, LLC Questions to Consider How to Upgrade to Rdb V7.2 Moving Your Data Validating the Moved Data Cutting Over to New System Questions and Feedback World class managed services for OpenVMS 10

Depends on: Your prior version 5.0 and before 5.1 to 6.1 7.0 to 7.1 Your prior hardware VAX Alpha The chosen upgrade method RMU/CONVERT or RMU/BACKUP & RESTORE EXPORT/IMPORT or UNLOAD/LOAD World class managed services for OpenVMS 11

There are multiple upgrade options 1. RMU/CONVERT 2. RMU/BACKUP RESTORE 3. SQL EXPORT IMPORT 4. RMU/UNLOAD CREATE LOAD World class managed services for OpenVMS 12

Rdb 7.2 (Alpha or Integrity) Rdb 7.0 (VAX or Alpha) Rdb v7.1 (Alpha) Rdb v5.1, v6.0 or v6.1 (VAX or Alpha) Rdb v3.0 5.0 (VAX) World class managed services for OpenVMS 13

1. Fast Benefits Limitations 1. Does not move data to new storage 2. Must follow Convert Upgrade Path (may need intermediate versions of Rdb) 3. Prior convert must have been committed World class managed services for OpenVMS 14

Benefits 1. Ability to move data to new storage 2. Preserves prior database version intact t (assuming you do not need to drop the old database for space) Limitations 1. Time to backup 2. Time to restore 3. Time to move backup file to new system/storage (if not available directly) 4. Storage space for backup World class managed services for OpenVMS 15

Benefits Limitations 3. An exact copy of the 5. An exact copy of the user user storage areas storage areas (no risk) (no improvement) 6. Must follow Restore Upgrade Path (may need intermediate versions of Rdb) 7. Prior convert must have been committed. World class managed services for OpenVMS 16

Upgrade and Move Rdb 7.2 (Alpha or Integrity) Rdb 7.0 (VAX or Alpha) Rdb v7.1 (Alpha) Rdb v5.1, v6.0 or v6.1 (VAX or Alpha) Rdb v3.0 5.0 (VAX) World class managed services for OpenVMS 17

Benefits 1. Ability to move data to new storage 2. Restructures t the database tb (Rebuilds indexes, places data based on current storage maps) 3. Ability to make some physical changes during the import 4. Preserves prior version of the database intact (assuming that you do not need to drop the old database for space) 5. Can migrate directly to v7.2 World class managed services for OpenVMS Limitations 1. Time to export 2. Time to import 3. Time to move export file to new storage (if not available directly) 4. Storage space for export 18

Benefits Limitationsit ti 1. Ability to move data to new storage 2. Restructures the database 3. Ability to make physical and logical changes to the database 4. Loads of target database may start as unloads complete (parallel unload/load) 5. Can migrate directly to v7.2 1. Time to unload 2. Time to load 3. Storage space for unload files 4. Complexity World class managed services for OpenVMS 19

About Software Concepts International, LLC Questions to Consider How to Upgrade to Rdb V7.2 Moving Your Data Validating the Moved Data Cutting Over to New System Questions and Feedback World class managed services for OpenVMS 20

Is the database being moved to different storage? Are the old and new systems part of the same OpenVMS cluster? If moving to new storage, is the new storage accessible to the old system, if yes, how? Cluster available storage DECnet TCPIP World class managed services for OpenVMS 21

1. RMU/BACKUP RESTORE 2. SQL EXPORT IMPORT 3. RMU/UNLOAD CREATE LOAD 4. HOT STANDBY or warm spare (Physical AIJ synchronization) i 5. LOGMINER (Logical AIJ synchronization) 6. OpenVMS volume shadowing (using Dissimilar Device Shadowing) World class managed services for OpenVMS 22

Key points: CONVERTS are FAST MOVES are slow Need to MOVE the data to the new system first, THEN convert at cutover. World class managed services for OpenVMS 23

Move database before cutover, and apply transactions to database on target storage: *Applying AIJs *Hot standby Logminer + JCC loader At cutover, apply final transactions, and perform Rdb v7.2 conversion *Source and target systems must be running the same version of Rdb. World class managed services for OpenVMS 24

Source (old) system Target (new) system database AIJ AIJ database AIJ AIJ RMU- /BACKUP db backup db backup RMU- /RESTORE World class managed services for OpenVMS 25

repeat RMU /BACKUP /AFTER RMU /RECOVER database AIJ AIJ Aij back Aij back database AIJ AIJ Rdb Hot-standby or Logminer + JCC loader may also be used! World class managed services for OpenVMS 26

but, I m running Rdb v6.1* on my old system, and Rdb v6.1 is not available on the new system? Can I still use the fast move technique? Yes! * Any version of Rdb prior to v7.2 (v3.x, v4.x, v5.x, v6.x, v7.0, v7.1) World class managed services for OpenVMS 27

Only Rdb v7.2 runs on Integrity (can t apply AIJs) Must have access to prior versions Cluster member? VAX or Alpha emulator World class managed services for OpenVMS 28

One creative solution to this problem is through the use of VAX or Alpha virtualization software to create a VAX or Alpha environment that runs on the new Hardware. Integrity Server OpenVMS v8.3x Rdb v7.2x VAX or Alpha Virtualization (Software) OpenVMS v6.2 Rdb v6.1 World class managed services for OpenVMS 29

repeat Virtual RMU /BACKUP /AFTER RMU /RECOVER Virtual VAX / Alpha database AIJ AIJ Aij back Aij back database AIJ AIJ World class managed services for OpenVMS 30

About Software Concepts International, LLC Questions to Consider How to Upgrade to Rdb V7.2 Moving Your Data Validating the Moved Data Cutting Over to New System Questions and Feedback World class managed services for OpenVMS 31

How do I know that the data was not changed during the migration? Depending on the method used for migration, and the type of data, this may be a real issue or it may only be an exercise for the truly paranoid. World class managed services for OpenVMS 32

1. RMU/verify <target db> if failure, verify source db (perhaps the source was also bad) 2. Use RMU/Analyze on both source and target databases to obtain row counts compare row counts by table. Note: If export/import or unload/load was used to move the database and tables are horizontally partitioned, you need to aggregate row-counts by table before comparing results. World class managed services for OpenVMS 33

3. Perform application audit totals (compare column totals for key tables/columns) 4. For the truly paranoid unload all tables to individual files, sort, and checksum each unload file compare source/target checksums. 5. Database Protections (RMU and SQL) Be careful of different identifier values on new server Three areas to verify RMU Privileges database root SQL Privileges database root Database Table and Object Privileges World class managed services for OpenVMS 34

Data is placed in the target database according current storage map definitions (which may have been modified since the data was originally stored in the source database). For tables that are horizontally partitioned, the placement of the data in the target database may be in different storage areas than that of the source database. This is due to partition definitions that were changed in the source database after the data was originally inserted. Note: This is not an issue if upgrade was a performed with RMU/convert or RMU/restore World class managed services for OpenVMS 35

Example Partitioning Results: World class managed services for OpenVMS

Results with Subtotals: World class managed services for OpenVMS

In some older versions of Rdb, EXPORT was not able to process views that referenced system relations. Result: Export would fail Solution: Drop the views prior to Export World class managed services for OpenVMS 38

About Software Concepts International, LLC Questions to Consider How to Upgrade to Rdb V7.2 Moving Your Data Validating the Moved Data Cutting Over to New System Questions and Feedback World class managed services for OpenVMS 39

1. Shutdown application 2. Close database 3. Execute migration/upgrade 4. Validate results 5. Test application 6. Open to users World class managed services for OpenVMS 40

Worldwide Managed Services for OpenVMS and Rdb World class managed services for OpenVMS 41