Veritas Volume Manager Conversion Tim Clemens Training and Consulting Louisville, KY 1-800-888-9028.

Slides:



Advertisements
Similar presentations
Hands-on RAID on Moxa Computer Prepared by: (40min) Date: mm-dd-yyyy.
Advertisements

INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
5 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Oracle High Availability Solutions RAC and Standby Database Copyright System Managers LLC 2008.
VCS I/O Fencing. I /O Fencing After completing this topic, you will be able to define I / O Fencing.
Solaris Volume Manager M. Desouky. RAID Overview SDS Software SDS Installation SDS User Interfaces MD State Database Concats & Stripes Mirrors Hot Spares.
Chapter 7: Configuring Disks. 2/24 Objectives Learn about disk and file system configuration in Vista Learn how to manage storage Learn about the additional.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Five Managing Disks and Data.
Backup and Recovery Part 1.
Oracle backup and recovery strategy
Introduction to Oracle Backup and Recovery
IS 4510 – Database Administration Module – 2 Database Backup 10/24/20141Compiled by: Zafar Iqbal Khan.
1 Copyright © 2009, Oracle. All rights reserved. Exploring the Oracle Database Architecture.
Selling the Database Edition for Oracle on HP-UX November 2000.
SANPoint Foundation Suite HA Robert Soderbery Sr. Director, Product Management VERITAS Software Corporation.
Chapter 2: Designing Physical Storage MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)
Database Administration TableSpace & Data File Management
1 SAM & OLAR. 2 Upon completion of this module, you will be able to: List significant changes to system administration tasks in HP-UX 11i Determine system.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Guide to Linux Installation and Administration, 2e 1 Chapter 9 Preparing for Emergencies.
Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services.
Module 9: Configuring Storage
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
© 2005 Mt Xia Technical Consulting Group - All Rights Reserved. HACMP – High Availability Introduction Presentation November, 2005.
7202ICT Database Administration Lecture 7 Managing Database Storage Part 2 Orale Concept Manuel Chapter 3 & 4.
Page 1 of John Wong CTO Twin Peaks Software Inc. Mirror File System A Multiple Server File System.
4.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 4: Organizing a Disk for Data.
MCTS Guide to Microsoft Windows Vista Chapter 4 Managing Disks.
Hp education services education.hp.com 50 LVM Problems Version C.00 H4264S Module 6 Slides.
1 Interface Two most common types of interfaces –SCSI: Small Computer Systems Interface (servers and high-performance desktops) –IDE/ATA: Integrated Drive.
Managing Disks and Drives Chapter 13 powered by dj.
Chapter 1 Managing Storage. Contents Understanding Partitioning Understanding LVM Understanding RAID Understanding Clustering and GFS Using Access Control.
MCTS Guide to Microsoft Windows 7
Selling the Storage Edition for Oracle November 2000.
Windows Server 2003 硬碟管理與磁碟機陣列 林寶森
Configuring Disk Devices. Module 4 – Configuring Disk Devices ♦ Overview This module deals with making partitions using fdisk, implementing RAID and Logical.
Tips & Tricks for Using LVM Effectively / Intro to VxVM Renay Gaye Hewlett-Packard
1 Week #10Business Continuity Backing Up Data Configuring Shadow Copies Providing Server and Service Availability.
Windows Vista Inside Out Chapter 28 - Chapter 28 - Managing Disks and Drives Last modified
LVM & Mirror 中国惠普有限公司支持服务事业部 QIAN Yun Elements of LVM (逻辑卷管理器) physical Volumes 物理卷 volume Group 卷组 logical Volumes 逻辑卷 VG01 lvol1 /dev/rdsk/c0t0d0.
Creating and Managing File Systems. Module 5 – Creating and Managing File Systems ♦ Overview This module deals with the structure of the file system,
5 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
IT Database Administration Section 09. Backup and Recovery Backup: The available options Full Consistent (cold) Backup Database shutdown, all files.
Technical Support Group Bangalore1. 2 What is Veritas Volume Manager Veritas Volume Manager is an Online Storage Management Tool that provide a logical.
Mark E. Fuller Senior Principal Instructor Oracle University Oracle Corporation.
6 Copyright © 2007, Oracle. All rights reserved. Managing Database Storage Structures.
Microsoft Windows XP Professional MCSE Exam
Lesson 20: Managing Local Storage MOAC : Configuring Windows 8.1.
Oracle 10g Automatic Storage Management Overview of ASM as a Storage Option for Oracle 10g.
Storage Management: MirrorDisk/UX, Online JFS Introduction LVM Striping Mirror Disk / UX – Basics Online Backups (lvsplit) Mirror Disk / UX – Advanced.

135 Shutdown and Reboot Version A.01 H3064S Module 17 Slides.
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 4 Managing Disks.
A Case Study Julie J. Smith Wachovia Corporation Superdome Implementation at a Glance.
3 Copyright © 2007, Oracle. All rights reserved. Using the RMAN Recovery Catalog.
IBM eServer xSeries Technical Conference © IBM Corporation Session ID: O24 Steve Dobbelstein Lake Buena Vista, FL September 8-12, 2003 Enterprise.
1 CEG 2400 Fall 2012 Network Servers. 2 Network Servers Critical Network servers – Contain redundant components Power supplies Fans Memory CPU Hard Drives.
Installing VERITAS Cluster Server. Topic 1: Using the VERITAS Product Installer After completing this topic, you will be able to install VCS using the.
VCS Building Blocks. Topic 1: Cluster Terminology After completing this topic, you will be able to define clustering terminology.
3 Copyright © 2006, Oracle. All rights reserved. Installation and Administration Basics.
2 Copyright © 2006, Oracle. All rights reserved. RAC and Shared Storage.
Linux Filesystem Administration
L V M A Logical Volume Manager for Linux by Heinz Mauelshagen
(ITI310) SESSION 3: Using RAID Technology In Windows 2008 Server.
Cluster Disks and Cluster File Storage
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
VCS-257 Dumps Questions
Storage Virtualization
File Management.
Chapter 5 The Redo Log Files.
Presentation transcript:

Veritas Volume Manager Conversion Tim Clemens Training and Consulting Louisville, KY

Topics Veritas Volume Manager - VxVM LVM Cluster Volume Groups - Review Creating VxVM Cluster Disk Groups Package Configuration Changes Converting Volume Groups to Disk Groups

HP-UX 11i Versions HP-UX 11i 1.2 (B.11.11) –PA-RISC –MC/SG HP-UX 11i 1.5 (B.11.20) –Itanium Only –No MC/SG HP-UX 11i 1.6 (B.11.22) (6/10/02) –Itanium Only –MC/SG –Boots VxVM –No boot from LVM –VxVM 3.1 –CVM 3.2

Volume Manager Choices BaseAddon LVMVxVMVxVMCVM 16 Node ClusterYesYesYes4 Nodes Alternate-LinksStandbyNoActiveActive Exclusive ActivationYesYesYesYes Shared ActivationYesNoNoYes+ Cluster lock diskYesNoNoNo Multiple Heartbeat SubnetsYesYesYesNo Striped Mirrors or RAID5NoNoYesYes Additional LicensesNoNoYesYes

Primary Benefits of VxVM B9116AA - Additional License Dynamic Multipathing (DMP) –Active/Active primary and alternate paths (load balancing) Online Reallocation Hot Relocation Fast Mirror Resynchronization (FMR) Online Backup

Drawbacks of VxVM with SG Cannot be used as Cluster Lock –Use Quorum Server Must have a root disk group on every node –Can be use for data storage but not as a cluster volume –This is NOT the boot volume root disk group must be mirrored –Eliminate single point of failure

Veritas Volume Manager: Overview c1t2d0 c1t1d0 VM DISK disk01-02 PHYSICAL DISK disk02-02 disk02-01 disk01-01 disk01-02disk02-02 vol01-01 vol01-02 vol01 disk01-01 disk02-01 vol02 PLEX SUBDISK vol02-01 Mirrored Volume Striped Volume DISK GROUP datadg disk01 disk02

Comparison of Terms LVMVxVM Physical VolumeVM Disk Volume GroupDisk Group Logical VolumeVolume or Plex A VxVM Subdisk is a contiguous area of a VM Disk. Like an extent but much larger and can be varying sizes. A VxVM Plex is like a Logical Volume. It includes all mirrored/striped areas of various disks. LVM header => Private Region Export=> Deport

Install and Initialize VxVM All nodes of the cluster Install VxVM using swinstall Initialize VxVM with vxinstall utility –initializes directory structures –select disks for the root disk group –searches all I/O channels for all devices –prompts user after each I/O channel scan –detects disks with LVM headers –do NOT use the Quick Install...use custom

LVM Cluster Volume Groups - Review Create VG on any node of the cluster –mkdir /dev/vg01_A; mknod /dev/vg01_A/group c 64 0x1a0000 –pvcreate /dev/rdsk/c2t12d0 (repeat for each disk) –vgcreate vg01_A /dev/dsk/c2t12d0 /dev/dsk/c1t12d0... Create needed Logical Volumes and Filesystems –lvcreate -L m 1 -n A_lvol1 vg01_A –newfs -F vxfs /dev/vg01_A/rA_lvol1 Deactivate and set cluster flag (cluster must be running) –vgchange -a n vg01_A; vgchange -c y vg01_A Pretend to export VG creating Map file –vgexport -v -p -s -m /tmp/vg01_A.map vg01_A

LVM Cluster Volume Groups - Review Continued Import VG onto other nodes that may run the package (package nodes) –mkdir /dev/vg01_A; mknod /dev/vg01_A/group c 64 0x1a0000 –vgimport -v -s -m /tmp/vg01_A.map vg01_A Create needed mount points on package nodes –mkdir /mntpnt Volume Groups are already “known” to all package nodes. Their Name, VGID, and disks are listed in /etc/lvmtab. Their devices files are created in /dev/. Package control scripts “activate” them with vgchange.

Creating VxVM Cluster Disk Groups Initialize Disks –vxdisksetup -i c0t9d0 (repeat for each) (/usr/lib/vxvm/bin) Use pvremove to remove the LVM header May need pvcreate -f and then pvremove Create Disk Group –vxdg init dg01_A c0t9d0 c1t9d0 –To view use: vxdg list and/or vxprint -g Create Volumes and Filesystems –vxassist -g dg01_A make A_vol m –newfs -F vxfs /dev/vx/rdsk/dg01_A/A_vol01

Veritas Volume Manager Storage Administrator - VMSA Start the VMSA server –nohup /opt/HPvmsa/bin/vmsa_server & Stop the VMSA server –/opt/HPvmsa/bin/vmsa_server -k To configure auto start of VMSA server at boot-time –/opt/HPvmsa/bin/autostart on Java VMSA GUI –/opt/HPvmsa/bin/vmsa

Select Uninitialized Disks

Scan for Added Disks

Select: Disks >> Add

Specify Disk Group

Create a Volume File >> New >> Volume

Can Assign Volume to Specific Disks

View Volume Layout Select: Volumes >> Show Layout...

Volume Layout View

Add a Filesystems

Creating VxVM Cluster Disk Groups Continued Deport disk group from originating node –vxdg deport dg01_A Enable vxconfigd on all other package nodes –vxdctl enable –Causes vxconfigd to recognize the new disk groups Import new disks groups on needed nodes and test –vxdg import dg01_A –mkdir /mntpnt After testing, deport disk groups –umount /mntpnt –vxdg deport dg01_A –vxvol -g dg01_A startall –mount /dev/vx/dsk/dg01_A/A_lvol1

Testing Volumes without the Cluster LVM –vgchange -a e (cluster running) –vgchange -c n ; vgchange -a y (cluster down) –fsck, mount /dev/vg01_A/A_lvol1 /mntpnt –umount /mntpnt –vgchange -a n –vgchange -c y (when cluster is running) VxVM –vxdg import dg01_A –vxvol -g dg01_A startall –fsck, mount /dev/vx/dsk/dg01_A/A_vol01 /mntpnt –umount /mntpnt –vxdg deport dg01_A

Package Configuration Only change is in the control script –No need to re-apply configuration –VXVM_DG[x] VXVM_DG[0]=dg01_A VXVM_DG[1]=dg01_B –VXVOL VXVOL="vxvol -g \$DiskGroup [-o bg] startall" –LV[x], FS[x], FS_MOUNT_OPT[x] –FS_MOUNT_RETRY_COUNT –FS_UMOUNT_COUNT

Example Control Script Entries VGCHANGE="vgchange -a e" VXVOL="vxvol -g \$DiskGroup -o bg startall" VG[0]="vg01_A" VG[1]="vg02_A" VXVM_DG[0]=dg01_A VXVM_DG[1]=dg02_A LV[0]=/dev/vg01_A/dbA1; FS[0]=/dbA1; FS_MOUNT_OPT[0]="-o delaylog" LV[1]=/dev/vg01_A/dbA2; FS[1]=/dbA2; FS_MOUNT_OPT[1]="-o delaylog" LV[2]=/dev/vg02_A/dbA3; FS[2]=/dbA3; FS_MOUNT_OPT[2]="-o delaylog" LV[3]=/dev/vg02_A/dbA4; FS[3]=/dbA4; FS_MOUNT_OPT[3]="-o delaylog" LV[4]=/dev/vx/dsk/dg01_A/dbA5 FS[4]=/dbA5; FS_MOUNT_OPT[4]="-o delaylog" LV[5]=/dev/vx/dsk/db01_A/dbA6 FS[5]=/dbA6; FS_MOUNT_OPT[5]="-o delaylog" LV[6]=/dev/vx/dsk/dg02_A/dbA7 FS[6]=/dbA7; FS_MOUNT_OPT[6]="-o delaylog" LV[7]=/dev/vx/dsk/dg02_A/dbA8 FS[7]=/dbA8; FS_MOUNT_OPT[7]="-o delaylog"

Limits of vxvmconvert Remove cluster flag from VG insufficient Private Space for conversion error LVM system volume group (vg00) cannot be converted (vxvmconvert detects LIF as created by mkboot) VG containing /usr cannot be converted Dump & primary swap VGs cannot be converted Cluster lock VG cannot be converted Disks with bad blocks relocated in LVM’s header (no bad block relocation feature in VxVM)

Issues VxVM private region must fit into existing LVM header regions Mirrored LVM volumes with MWC will be converted to VxVM with Dirty Region Logging. DRL reserves space from the user area. LVM header data is stored in the root filesystem If VG contains swap space, reboot is required to release it

Process Shutdown the cluster package (cmhaltpkg) Remove the cluster flag (vgchange -c n ) Activate the VG (vgchange -a y ) User data backup vgcfgbackup (vgcfgbackup ) vxvmconvert (analysis...option 1) vxvmconvert (convert...option 2) deport disk group (vxdg deport ) import / deport on remaining cluster nodes (vxdg import ; vxdg deport )

Process Continued Modify Package Control Script –Was: VG[n]=“LVM Volume Group” VG[0]=vgali1 –Becomes: VXVM_DG[n]=“VxVM Disk Group” VXVM_DG[0]=dgali1 –Was: LV[n]=“LVM Logical Volume” LV[0]=/dev/vgali1/db1_al –Becomes: LV[n]=“VxVM Volume” LV[0]=/dev/dgali1/db1_al Export VG definitions from remaining nodes vgexport

Rollback and Soft Links Can rollback if VxVM names remain unchanged Use name translation stored in /etc/vx/reconfig.d/ /.trans # grep -v '^#' thisfile | while read lvm vxvm; do # mkdir -p `dirname $lvm` > /dev/null # ln -s $vxvm $lvm # done # /dev/vgali1/ali1dbs /dev/vx/dsk/dgali1/ali1dbs /dev/vgali1/rali1dbs /dev/vx/rdsk/dgali1/ali1dbs /dev/vgali1/ali1trace /dev/vx/dsk/dgali1/ali1trace /dev/vgali1/rali1trace /dev/vx/rdsk/dgali1/ali1trace /dev/vgali1/db1_al /dev/vx/dsk/dgali1/db1_al /dev/vgali1/rdb1_al /dev/vx/rdsk/dgali1/db1_al

Rollback Can rollback if VxVM names remain unchanged Use name translation stored in /etc/vx/reconfig.d/ /.trans # grep -v '^#' thisfile | while read lvm vxvm; do # mkdir -p `dirname $lvm` > /dev/null # ln -s $vxvm $lvm # done # /dev/vgali1/ali1dbs /dev/vx/dsk/dgali1/ali1dbs /dev/vgali1/rali1dbs /dev/vx/rdsk/dgali1/ali1dbs /dev/vgali1/ali1trace /dev/vx/dsk/dgali1/ali1trace /dev/vgali1/rali1trace /dev/vx/rdsk/dgali1/ali1trace /dev/vgali1/db1_al /dev/vx/dsk/dgali1/db1_al /dev/vgali1/rdb1_al /dev/vx/rdsk/dgali1/db1_al

Oracle Raw Logical Volumes Can rollback if VxVM names remain unchanged Use name translation stored in /etc/vx/reconfig.d/ /.trans SQL> select file_name from dba_data_files where file_name like '/dev/vgali1/%'; FILE_NAME /dev/vgali1/rdb1_al /dev/vgali1/rdb2_al /dev/vgali1/rdb3_al SQL> alter database rename file '/dev/vgali1/rdb1_al' to '/dev/vx/rdsk/dgali1/db1_al';