mod02_Introduction to MCServiceGuard

advertisement
Introduction to
MC/ServiceGuard
H6487S I.02
Module 2
Introducing MC/ServiceGuard
System B
System A
pkgA
root
root
mirror
pkgA
pkgA
mirror
pkgB
mirror
pkgB
pkgB
mirror
hub
H6487S I.02
© 2003 Hewlett-Packard Development Company, L.P.
2
High Availability with MC/ServiceGuard
System B
System A
pkgA
root
root
mirror
pkgA
mirror
pkgB
mirror
pkgB
pkgA
pkgB
mirror
hub
H6487S I.02
© 2003 Hewlett-Packard Development Company, L.P.
3
Features and Benefits of MC/ServiceGuard
Features
Benefits
• Highly Available Cluster ( applications
recover to alternate nodes in < 60
seconds)
• LAN failure protection (fast local switch to
standby LAN adapter inside same node)
• Application Packages allow all resources
for a package to be defined in one place
• Automatic cluster reconfiguration after a
node failure
• Intelligent cluster reconfiguration after a
node failure
• No idle resources
• Facilitates online hardware and software
updates
• Applications remain available to users,
even after a hardware or software failure
• LAN card failures do not cause an
application outage
• Applications can be moved easily and
transparently without client reconfiguration
• No manual user intervention is needed to
recover from a node failure
• Data integrity is preserved during a node
failure (i.e. no “split-brain” syndromes)
• Every node runs a production application
• Applications available during hardware
and software upgrades
• Flexible load balancing during failover
• Mixed Series 800 class nodes
H6487S I.02
© 2003 Hewlett-Packard Development Company, L.P.
4
How MC/ServiceGuard Works
Lan 0
Bridge
Bridge
Lan 1
Package
A
Package
D
Package
C
Root2
Root1
Package
E
Package
B
Root3
Package
F
Node1
Node2
Root2
Mirror
Node3
Package A
Disk
Package B
Disk
Package C
Disk
Package D
Disk
Package E
Disk
Package F
Disk
Package A
Mirror
Package B
Mirror
Package C
Mirror
Package D
Mirror
Package E
Mirror
Package F
Mirror
Volume Groups and Mirrors
H6487S I.02
© 2003 Hewlett-Packard Development Company, L.P.
5
MC/ServiceGuard Packages
• Simple, flexible
• Packages group all the resources for an
applications, including:
– volume group
– IP address
– service process
pkgA
pkgB
pkgC
• Packages are the entities
that are managed and
moved within a cluster
environment
Service Processes:
App_Process_1
App_Process_2
Middleware_1
Middleware_2
Volume Groups:
/dev/vg01
/dev/vg02
IP Address:
156.152.194.134
H6487S I.02
© 2003 Hewlett-Packard Development Company, L.P.
6
Redistributing Application Packages
• Balancing workload after
a node failure
• Minimizes impact on remaining
nodes
pkgE
pkgF
pkgA
pkg
G
pkgB
pkgH
pkgA
pkgB
pkgI
pkgC
pkgJ
If Node 1 fails...
H6487S I.02
pkgC
© 2003 Hewlett-Packard Development Company, L.P.
7
Minimizing Planned Downtime
• Move packages to alternate
nodes.
• Perform hardware or software
upgrades, maintenance.
• Move packages back.
Backward compatibility:
• OS
• MC/ServiceGuard
Upgrade
from
HP-UX 11.00
to
HP-UX 11i
HP-UX 11.00
E
F
A
Upgrade
from
HP-UX 11.00
to
HP-UX 11i
A
G
B
H
B
I
J
HP-UX 11.00
G
C
HP-UX 11i
C
D
I
J
HP-UX 11.00
E
HP-UX 11.00
H6487S I.02
H
HP-UX 11.00
© 2003 Hewlett-Packard Development Company, L.P.
8
MC/ServiceGuard Bundle/Products
• MC/ServiceGuard is bundled using Software Distributor.
• MC/ServiceGuard must be installed on every node in the cluster.
MC/ServiceGuard Cluster Monitor
Product
Bundle - B3935DA
Package Manager
Product
H6487S I.02
EMS
Product
MC/SG
Toolkits
MC/SG
Patches
SGMgr
Product
© 2003 Hewlett-Packard Development Company, L.P.
9
Download