Live Migration VERITAS Cluster Server

18
Live Migration VERITAS Cluster Server

Transcript of Live Migration VERITAS Cluster Server

Page 1: Live Migration VERITAS Cluster Server

Live MigrationVERITAS Cluster Server

Page 2: Live Migration VERITAS Cluster Server

Planned Downtime is Painful…

• Gartner states 70% of application and database downtime is caused by planned outages..– Application Upgrades– OS Upgrades– Server Maintenance

• Sys-Admins perform maintenance after-hours and on weekends

“The biggest near-term customer pain-point I see is related to planned migrations and avoiding or reducing planned

downtime.” – Donna Scott, 2005 Gartner / VERITAS Interview

“The biggest near-term customer pain-point I see is related to planned migrations and avoiding or reducing planned

downtime.” – Donna Scott, 2005 Gartner / VERITAS Interview

Page 3: Live Migration VERITAS Cluster Server

VCS Live Migration Addresses Planned Downtime

• Live Migration provides stateful relocation of applications across physical servers

– Client connections remain uninterrupted during migration

• Business Value:– Perform server maintenance during normal business hours– Reduce associated Application Server outages– Increase server utilization through moving applications based on

changing resource requirements

“83% of customers considered the need to keep applications running during server maintenance an ‘absolute must do’ or important in their environment.”

– Tier 1 Research UC and Virtualization Survey, 2005

“83% of customers considered the need to keep applications running during server maintenance an ‘absolute must do’ or important in their environment.”

– Tier 1 Research UC and Virtualization Survey, 2005

Page 4: Live Migration VERITAS Cluster Server

Live Migration is an Evolution of HA• Provides a logical extension to the VCS paradigm:

• Non-application intrusive

• Uses native VCS agent framework

• Supports mission critical Oracle databases

• No competitive technology exists on the Solaris platform

App Servers

Database

Web

VCS Live Migration

• Targets market-leading App Server environments:

– IBM Websphere– BEA Weblogic

• Where Oracle databases are used on Solaris

Page 5: Live Migration VERITAS Cluster Server

Live Migration is a Key Enabler of a Dynamic Data Center

0.00

0.50

1.00

1.50

2.00

2.50

3.00

0:00

1:00

2:00

3:00

4:00

5:00

6:00

7:00

8:00

9:00

10:0

0

11:0

0

12:0

0

13:0

0

14:0

0

15:0

0

16:0

0

17:0

0

18:0

0

19:0

0

20:0

0

21:0

0

22:0

0

23:0

0

CPUs

Equ

ival

ent

Time

• Applications have variable and unpredictable demand

• Servers are over-provisioned to handle variableness and potential growth

• Live Migration can move applications based on changing resource requirements

“Since utility computing is more than just a server utilization strategy, the vision and promise of utility computing and the

dynamic data center cannot be complete without the capabilities provided by application virtualization such as stateful

application relocation.” – Tier 1 Research, 2005

“Since utility computing is more than just a server utilization strategy, the vision and promise of utility computing and the

dynamic data center cannot be complete without the capabilities provided by application virtualization such as stateful

application relocation.” – Tier 1 Research, 2005

Page 6: Live Migration VERITAS Cluster Server

Technology Behind VCS Live Migration

• Application virtualization enables application mobility..

• Virtualizes Application for Migration:

– Process– Memory– Network – File system

• A point-in-time snapshot of the database is taken during the Live Migration process

Page 7: Live Migration VERITAS Cluster Server

VCS Live MigrationThe Live Migration Process

1. Create the Application Container Process Virtualization Network Virtualization Temp File System Virtualization

2. Snapshot the Database Save State to Disk

3. Restore the Database

Page 8: Live Migration VERITAS Cluster Server

VCS Live MigrationInstall and Configure VCS with Oracle

Hardware

Operating System

VERITAS Cluster Server

Application Container

Oracle Database

2.

3.

1.

1. Install Oracle on the server using shared storage (SAN)

2. Configure Oracle with VCS

3. VCS starts Oracle within an Application Container

• VCS is not in the Oracle data path..

Page 9: Live Migration VERITAS Cluster Server

Operating System

Hardware

Application Container

VCS Live MigrationApplication Virtualization Container

Oracle Processes and Associated State

Forked Process

Forked Process

Temp File System

Virtualization

Process Virtualization

Network Virtualization

Terminology

• A snapshot is a point-in-time capture of an application’s processes and their associated state

• Application is captured live, active TCP connections are preserved

• Snapshots are saved to disk

Operating System

VERITAS Cluster Server

Application Container

Oracle Database

Page 10: Live Migration VERITAS Cluster Server

Application Container

VCS Live MigrationVirtualization of Process State

Hardware

Operating System

PID USER SIZE RES STATE TIME CPU COMMAND 6235 root 2280K 1528K cpu 0:00 0.30% top1051019 oracle 210M 9552K sleep 0:27 0.14% oracle1051029 oracle 207M 23M sleep 1:40 0.11% oracle 135 root 2400K 1720K sleep 1:09 0.11% inetd 292 root 2472K 2008K sleep 0:45 0.05% mibiisa 6034 root 1832K 1208K sleep 0:00 0.00% ksh1051023 oracle 206M 29M sleep 0:05 0.00% oracle 1 root 792K 376K sleep 0:04 0.00% init1051027 oracle 206M 15M sleep 0:01 0.00% oracle1051025 oracle 206M 15M sleep 0:01 0.00% oracle1051021 oracle 206M 11M sleep 0:01 0.00% oracle 138 daemon 2504K 1776K sleep 0:00 0.00% statd 295 root 1808K 1256K sleep 0:00 0.00% in.rlogind

PID USER SIZE RES STATE TIME CPU COMMAND 6235 root 2280K 1528K cpu 0:00 0.30% top1051019 oracle 210M 9552K sleep 0:27 0.14% oracle1051029 oracle 207M 23M sleep 1:40 0.11% oracle 135 root 2400K 1720K sleep 1:09 0.11% inetd 292 root 2472K 2008K sleep 0:45 0.05% mibiisa 6034 root 1832K 1208K sleep 0:00 0.00% ksh1051023 oracle 206M 29M sleep 0:05 0.00% oracle 1 root 792K 376K sleep 0:04 0.00% init1051027 oracle 206M 15M sleep 0:01 0.00% oracle1051025 oracle 206M 15M sleep 0:01 0.00% oracle1051021 oracle 206M 11M sleep 0:01 0.00% oracle 138 daemon 2504K 1776K sleep 0:00 0.00% statd 295 root 1808K 1256K sleep 0:00 0.00% in.rlogind

PID 1051019

Process State

Virtual Memory File

Virtual Memory File

Temp File System

Virtualization

Process Virtualization

Network Virtualization

PID 1051029

PID 1051023

PID 1051019

PID 1051027

PID 1051025

PID 1051021

Process Snaplist

Freeze Processes

and associated

memory segments

1.

2. w Save Process State to Disk

Oracle Processes and Associated State

VERITAS Cluster Server

Application Container

Oracle Database

Page 11: Live Migration VERITAS Cluster Server

Application Container

VCS Live MigrationVirtualization of Network State

Hardware

Temp File System

Virtualization

Process Virtualization

1. w Hold & Queue Active Connections

Oracle Processes and Associated State

TCP/IP

Connection Filter

Database Transaction

Network Interface

Network Virtualization

2. w Save Connection State to Disk

Connection Filter

• Migrates TCP connections

• ARP Handling

• Port / Seq # Translation

Operating System

VERITAS Cluster Server

Application Container

Oracle Database

Page 12: Live Migration VERITAS Cluster Server

Application Container

VCS Live MigrationVirtualization of Temp File System

Oracle Processes and Associated State

Temp File System

Virtualization

Process Virtualization

Network Virtualization

Hardware

/var

tmp

Temp File System

Multiplexer

Oracle temp System temp

App2 temp

• Multiplexer redirects specific local directories to shared storage

• Allows temp files to move with application

• Uses a distributed loopback file-system

1. w Temp files relocate with application

Operating System

VERITAS Cluster Server

Application Container

Oracle Database

Page 13: Live Migration VERITAS Cluster Server

VCS Live MigrationSummary: The Live Migration Process

Hardware

Operating System

VERITAS Cluster Server

Hardware

Operating System

VERITAS Cluster Server

Application Container

Oracle DatabasePID USER SIZE RES STATE TIME CPU COMMAND6235 root 2280K 1528K cpu 0:00 0.30% top

1051019 oracle 210M 9552K sleep 0:27 0.14% oracle1051029 oracle 207M 23M sleep 1:40 0.11% oracle

135 root 2400K 1720K sleep 1:09 0.11% inetd292 root 2472K 2008K sleep 0:45 0.05% mibiisa

6034 root 1832K 1208K sleep 0:00 0.00% ksh1051023 oracle 206M 29M sleep 0:05 0.00% oracle

1 root 792K 376K sleep 0:04 0.00% init1051027 oracle 206M 15M sleep 0:01 0.00% oracle1051025 oracle 206M 15M sleep 0:01 0.00% oracle1051021 oracle 206M 11M sleep 0:01 0.00% oracle

138 daemon 2504K 1776K sleep 0:00 0.00% statd295 root 1808K 1256K sleep 0:00 0.00% in.rlogind

1. Snapshot Process and Memory State

• Save State to Disk

2. Snapshot Active Network Connections

• Save Connection State to Disk

3. Dismount Filesystem

4. Re-mount Filesystem on Secondary Host

Primary Secondary

Application Container

Oracle DatabasePID USER SIZE RES STATE TIME CPU COMMAND6235 root 2280K 1528K cpu 0:00 0.30% top

1051019 oracle 210M 9552K sleep 0:27 0.14% oracle1051029 oracle 207M 23M sleep 1:40 0.11% oracle

135 root 2400K 1720K sleep 1:09 0.11% inetd292 root 2472K 2008K sleep 0:45 0.05% mibiisa

6034 root 1832K 1208K sleep 0:00 0.00% ksh1051023 oracle 206M 29M sleep 0:05 0.00% oracle

1 root 792K 376K sleep 0:04 0.00% init1051027 oracle 206M 15M sleep 0:01 0.00% oracle1051025 oracle 206M 15M sleep 0:01 0.00% oracle1051021 oracle 206M 11M sleep 0:01 0.00% oracle

138 daemon 2504K 1776K sleep 0:00 0.00% statd295 root 1808K 1256K sleep 0:00 0.00% in.rlogind

5. Page Fault Process and Memory state into Secondary Host

6. Resume TCP Connections

Page 14: Live Migration VERITAS Cluster Server

VCS Live MigrationSummary: The Live Migration Process

1. Create the Application Container2. Snapshot the Database

Freeze Processes and Memory Save State to Disk

Queue and Hold Active Connections Save State to Disk

3. Restore the Database Redirect File System Locations Page Fault Process and Memory state into

secondary node Resume TCP connections

Page 15: Live Migration VERITAS Cluster Server

Capabilities and Platform Support

Capabilities:• Integrated into VCS Java GUI for

seamless look & feel• Wizard-based configuration• Upgrade existing Oracle configuration• Generic ‘native OS’ services support, for

connection persistence of FTP, NFS, etc (TBD)

Platform and Application Support:• Solaris 9 / Oracle 9 (CAP)• Plus Solaris 10 / Oracle 10 (Planned for

GA)

Page 16: Live Migration VERITAS Cluster Server

CAP and Release Timeframe

Customer Access Program:• Begins in August 2005• Based in VCS 4.1 for Solaris• We are accepting customers now..

• http://cap.veritas.com

Release Timeframe:• Full release with or near UxRT 5.0 (Q2 ’06)• Support for Database Editions

Page 17: Live Migration VERITAS Cluster Server

&ANSWERS

QUESTIONS

Page 18: Live Migration VERITAS Cluster Server

VCS Product Marketing / Management:

Minakshi [email protected]

James [email protected]

Contacts