Operating System - HP-UX
1826496 Members
2832 Online
109692 Solutions
New Discussion

Re: service guard question

 
sheevm
Regular Advisor

service guard question

Hi, All

Can we perform application failover in a service guard envirionment? Or is just for hardware failovers?

Thanks
Raji
be good and do good
10 REPLIES 10
A. Clay Stephenson
Acclaimed Contributor

Re: service guard question

You are essentially limited by your skill in writing the monitor and control scripts. If the application failure can be detected, the application can be restarted. Generally, your scripts should first try to restart on the same node because that will be faster than switching to another node. One of the problems you might encounter is that the application failure may be caused by data corruption so that even when failing over to an alternate node the data are still corrupt so that the application fails again.

If it ain't broke, I can fix that.
Kent Ostby
Honored Contributor

Re: service guard question

rajim --

Serviceguard packages are a mix of software and hardware.

Any service started up by ServiceGuard will be monitored by ServiceGuard and either restarted (if you set the variables that way) or seen as a sign to fail the package over.

Check the managing ServiceGuard manual :

http://docs.hp.com/en/B3936-90079/index.html

There is a section on configuring packages and services .. Chapter 6.

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Steven E. Protter
Exalted Contributor

Re: service guard question

Shalom Raji,

It depends on the application software, but errors can be detected and failover can occur on this basis.

Major applications like Oracle and NFS have serviceguard kits that include monitors that can fail over for software reasons.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
yunardi
Frequent Advisor

Re: service guard question

Hi Rajim,

Don be affraid to implement MC Service Guard. It's working for hardware, network, applications and database filover.

I think it will work with many applications and databases as long as you can start-stop it with command lines; because the script on service guard to start/stop application/database is base on command line.

I have implement Service Guard for Oracle Database, Web Methods and SAP Clusters.

Please also ask your application vendors, usually they have writing a script to make applications working with cluster.

Thx,
EKO
Nguyen Anh Tien
Honored Contributor

Re: service guard question

HI Raji
Service guard has it own service. You can declear as what ever you want so that It can run script or command to failover you application. Try to pay your attention to service so you will find it usefull
HTH
tienna
HP is simple
sheevm
Regular Advisor

Re: service guard question

Thanks all.

EKO,

We are planning to implement Service Guard on Webmethods and Oracle.

Appreciate any tips. Do we need any special service guard kit for Oracle and/or Webmethods?

Webmethods team talks about clustering without service guard. If we implement service guard do they still need to configure application failover? Or Application failover is integrated with the service guard?

Hope you can understand my question.

Thanks.
Raji
be good and do good
yunardi
Frequent Advisor

Re: service guard question

Dear Raji,

For oracle database, you can use oracle template from HP. It's contain some script for startup, shutdown and monitoring oracle database, and still need to configure depend on your system config and database config.

For WebMethods (I running this for CRM applications) there is some script too, but I have this from WebMethods vendors.

So I dont need to do a lot of configurations because the template is come from vendors.

Thx,
EKO
sheevm
Regular Advisor

Re: service guard question

Hi Eko,

Is it possible for you or anyone out there to provide a sample service guard package configuration/control script where ORACLE DB failover steps are inegrated?

Thanks
rajim
be good and do good
Sheriff Andy
Trusted Contributor

Re: service guard question

We had legato networker working as a SG package, as well as Oracle.

Just make sure that your startup scripts are incorporated in your package. I would work pretty close with your vendor on this.
sheevm
Regular Advisor

Re: service guard question

After reading all the responses, database and application monitoring, start/shutdown scripts either comes from the vendor or in-house developed.

Where and How you incorporate these scripes in the serviceguard?

Can someone give the example?

Thanks.

RajiM
be good and do good