Top Banner
Efficient Upgrades Steve Mallam, Sales Engineer
44

Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

Dec 14, 2015

Download

Documents

Joaquin Beeby
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

Efficient Upgrades

Steve Mallam, Sales Engineer

Page 2: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

• Highly available systems• 24/7/365• Service Level Agreements

• Mission critical operations

• Time sensitive work

• $$$£$

Upgrade Considerations

Page 3: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

• Efficient for the users• Not necessarily for you

• Need to be planned in advance

• Need to be appropriate for the application

Efficient Upgrades

Page 4: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

201x

• In-place installer upgrade

Basic Upgrade Process

• Application is down for the duration

Page 5: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

20122013

• In-place installer upgrade

Basic Upgrade Process

• Application is down for the duration

• Fall-back can be difficult

Page 6: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

2012

Parallel Installation

2013

• Install a second system alongside original

Page 7: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

2012

• In-place installer upgrade

Basic Upgrade Process

Page 8: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

2012

Parallel Installation

2013

• Install a second system alongside original

• Then cut over

Page 9: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

2012

• Need to ensure data is up-to-date

Parallel Installation

2013

• Install a second system alongside original

• Then cut over

Page 10: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

• Store data and code in separate databases

Separation of Data and Code

2012

DC

Page 11: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

2013

C

• Store data and code in separate databases

Separation of Data and Code

2012

DC

Page 12: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

2013

• Store data and code in separate databases

Separation of Data and Code

2012

DC C D

Page 13: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

2013

D

• Store data and code in separate databases

Separation of Data and Code

2012

DC C

Page 14: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M2M1

InterSystems’ High-Availability solution

Mirroring

M

• Clients connect to virtual IP

• Updates replicated across both instance

NB: For more details see “Mirroring for High Availability” academy

Page 15: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M2M1M1

InterSystems’ High-Availability solution

Mirroring

M

• Clients connect to virtual IP

• Updates replicated across both instances

• If M1 fails…

NB: For more details see “Mirroring for High Availability” academy

Page 16: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M1 M2

InterSystems’ High-Availability solution

Mirroring

M

• Clients connect to virtual IP

• Updates replicated across both instances

• If M1 fails…

• …M2 can take over

NB: For more details see “Mirroring for High Availability” academy

Page 17: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M2M1

How does this help us…?

• Upgrade BackupM1

Mirroring

M

Page 18: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M2

How does this help us…?

• Upgrade Backup

• Force failover M1

Mirroring

M

Page 19: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M2M1

How does this help us…?

• Upgrade Backup

• Force failover

• Upgrade (original) Primary

Mirroring

M

Page 20: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

How does this help us…?

• Upgrade Backup

• Force failover

• Upgrade (original) Primary

• (Optionally) fail back

M1 M2

Mirroring

M

Page 21: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

• Introduce one or more Application Servers that execute code

D

App1

Enterprise Cache Protocol (ECP)

App2

Solution for horizontal scaling

Page 22: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

• Introduce one or more Application Servers that execute code

• Can keep adding…

D

App1

Enterprise Cache Protocol (ECP)

App2 AppN…

Solution for horizontal scaling

Page 23: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M1 M2

Enterprise Cache Protocol (ECP)

M

Connection lost when mirror fails over

NB: For more details see “Mirroring for High Availability” academy

Page 24: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M2M1

Enterprise Cache Protocol (ECP)

M

Connection lost when mirror fails over

NB: For more details see “Mirroring for High Availability” academy

Page 25: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M1 M2

Enterprise Cache Protocol (ECP)

M

Connection lost when mirror fails over

NB: For more details see “Mirroring for High Availability” academy

Page 26: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M1 M2

App1

Enterprise Cache Protocol (ECP)

M

Connection lost when mirror fails over

• Introduce ECP

NB: For more details see “Mirroring for High Availability” academy

Page 27: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M2M1

App1

Enterprise Cache Protocol (ECP)

M

Connection lost when mirror fails over

• Introduce ECP

• When mirror fails

NB: For more details see “Mirroring for High Availability” academy

Page 28: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M1 M2

App1

Enterprise Cache Protocol (ECP)

M

Connection lost when mirror fails over

• Introduce ECP

• When mirror fails

• ECP maintains connection

NB: For more details see “Mirroring for High Availability” academy

Page 29: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M1 M2

App1

• Still need to upgrade the Application Server…

Enterprise Cache Protocol (ECP)

M

Connection lost when mirror fails over

• Introduce ECP

• When mirror fails

• ECP maintains connection

NB: For more details see “Mirroring for High Availability” academy

Page 30: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

S

M1C

M2C

A truly robust solution

• Mount code in separate instance

Minimal Downtime Upgrades

App1

M

App2LoadBalancer

C

NB: For full details of this process see “Minimal Downtime Upgrades” academy

Page 31: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

SC

M1C

M2C

A truly robust solution

• Mount code in separate instance

• Recompile

Minimal Downtime Upgrades

App1

M

App2LoadBalancer

NB: For full details of this process see “Minimal Downtime Upgrades” academy

Page 32: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

SC

M1C

M2C

A truly robust solution

• Mount code in separate instance

• Recompile

• Mount on both mirror servers

Minimal Downtime Upgrades

App1

M

App2LoadBalancer

C C

NB: For full details of this process see “Minimal Downtime Upgrades” academy

Page 33: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

App1

M1C

M2C

Upgrade App1

• Shutdown App1

• Upgrade

Minimal Downtime Upgrades

M

App2LoadBalancer

C C

Page 34: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

App1

M1C

M2C

Upgrade App1

• Shutdown App1

• Upgrade

• Switch to new code

• Restart App1

Minimal Downtime Upgrades

M

App2LoadBalancer

C C

Page 35: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

App2App1

M1C

M2C

Repeat for App 2

• Shutdown App2

• Upgrade

Minimal Downtime Upgrades

M

LoadBalancer

C C

Page 36: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

Repeat for App 2

• Shutdown App2

• Upgrade

• Switch to new code

• Restart App2App2App1

M1 M2C

Minimal Downtime Upgrades

M

LoadBalancer

C C

Page 37: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M2Upgrade Mirrors

• Prevent failover

• Upgrade Mirror2

M1M1

App2App1

Minimal Downtime Upgrades

M

LoadBalancer

C C

Page 38: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M1Upgrade Mirrors

• Prevent failover

• Upgrade Mirror2

• Force failover

M2C

M2

App2App1

Minimal Downtime Upgrades

M

LoadBalancer

C C

Page 39: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

M1Upgrade Mirrors

• Prevent failover

• Upgrade Mirror2

• Force failover

• Prevent failover

• Upgrade Mirror1

M2C

M2

App2App1

Minimal Downtime Upgrades

M

LoadBalancer

C C

Page 40: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

• In-place upgrades

• Parallel installations

• Separation of code and data

• Mirroring

• ECP

Summary

Page 41: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

Upgrade Mirrors

• Prevent failover

• Upgrade Mirror2

• Force failover

• Prevent failover

• Upgrade Mirror1

• (Optionally) fail back to Mirror 1

Application has NEVER been down!

M2M1

App2App1

Minimal Downtime Upgrades

M

LoadBalancer

C C

Page 42: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

• Understand user needs

• Determine how you will handle upgrades

• Design the system to support the approach

• Speak to us!

Recommendations

Page 43: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

• Mirroring for High Availability• Tuesday @ 11:00 • Wednesday @ 08:30

• Minimum Downtime Upgrades• Monday @ 16:30• Tuesday @ 08:30• Wednesday @ 14:00

Follow-On Academies

Orlando M

Orlando N

Page 44: Efficient Upgrades Steve Mallam, Sales Engineer. Highly available systems 24/7/365 Service Level Agreements Mission critical operations Time sensitive.

Efficient Upgrades

Steve Mallam, Sales Engineer