14
HP ServiceGuard Arun prasath S February, 2014

High availability - HP ServiceGuard

Embed Size (px)

DESCRIPTION

Would your business find it difficult to operate for a few hours or an entire day without access to core IT services? HP Serviceguard clustering software is the foundation of every Serviceguard business continuity solution. Serviceguard packages a critical service, an application or a database with its associated resources and monitors the entire package for faults in hardware, software, operating systems, virtualization layers, network, and storage. During a fault, Serviceguard gracefully shuts down the application, restarts it on an available server in the cluster, connects it to the appropriate storage device, and resumes normal operations, all in mere seconds. Serviceguard clusters remove single points of failure and deliver high availability with redundant hardware. HP Serviceguard packages a critical service such as an application or a database together with its associated resources, and monitors the entire package for any faults related to hardware, software, operating system, virtualization layer, virtual machine guests, network and storage.

Citation preview

Page 1: High availability - HP ServiceGuard

HP ServiceGuard Arun prasath S

February, 2014

Page 2: High availability - HP ServiceGuard

• No single point of failure• Negligible downtime

What is ‘High availability’ ?

What is ‘ServiceGuard’ ?

• HP’s software to create HA Clusters• Available for Linux and HP-UX

Page 3: High availability - HP ServiceGuard

ServiceGuard Architecture

Page 4: High availability - HP ServiceGuard

ServiceGuard - Daemons

• /usr/lbin/cmclconfd - Serviceguard Configuration Daemon• /usr/lbin/cmcld - Serviceguard Cluster Daemon• /usr/lbin/qs - Serviceguard Quorum Server Daemon• /usr/lbin/cmnetd - Serviceguard Network Manager daemon• /usr/lbin/cmlogd - Serviceguard Syslog Log Daemon

Page 5: High availability - HP ServiceGuard

Typical cluster

Page 6: High availability - HP ServiceGuard

Cluster after failover

Page 7: High availability - HP ServiceGuard

Package ? How it runs ?

Services + disk volumes + Floating IP Addresses + Other resources

Eg: httpd + ‘/disk/page/ ’ + 192.168.145.100

=Package

Package time line

Page 8: High availability - HP ServiceGuard

Clusters

192.168.145.12

192.168.145.10 192.168.145.11

192.168.145.13

192.168.145.100

Client

Page 9: High availability - HP ServiceGuard

Clusters have problems

“Split brain syndrome”

I am a cluster and I am going to access the

disk

I am a cluster and I am going to access the

disk

192.168.145.10 192.168.145.12192.168.145.11 192.168.145.13

Page 10: High availability - HP ServiceGuard

Solution #1 for Split brain syndrome

“Lock disk”

Page 11: High availability - HP ServiceGuard

Solution #2 for Split brain syndrome

“Quorum server”

Page 12: High availability - HP ServiceGuard

Demo architecture

192.168.145.11sglq

(Quorum server)192.168.145.9

sglx192.168.145.10

sglxa

sglx_cluster192.168.145.100

Client

‘Package’ on shared disk ( ‘DocumentRoot‘ location )

Page 13: High availability - HP ServiceGuard

Demo implementation flow

1. Setup hardware1. Install Redhat on 3 servers (sglx, sglxa, sqlxq)2. Setup redundant network and power connections 3. Setup a shared storage

2. Install ServiceGuard1. Install ServiceGuard packages in 2 servers (sglx and sglxa)2. Install quorum server packages in 1 server (sglxq)

3. Install Apache web server1. Install apache in the 2 servers (sglx and sglxa)2. Configured ‘DocumentRoot’ to shared storage location

4. Create and configure cluster configuration file 5. Create and configure package configuration file6. Apply configuration to broadcast changes7. Run cluster and packages

Page 14: High availability - HP ServiceGuard

Links

• Download link : https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SGLX-DEMO

• Manuals: http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/manualsResults/?sp4ts.oid=4162060&spf_p.tpst=psiContentResults&spf_p.prp_psiContentResults=wsrp-navigationalState%3Daction%253Dmanualslist%257Ccontentid%253DUser-Guide-%252528how-to-use%252529%257Clang%253Den&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken