Operating System - HP-UX
1752805 Members
5488 Online
108789 Solutions
New Discussion юеВ

Re: package in serviceguard

 
SOLVED
Go to solution
Shivkumar
Super Advisor

package in serviceguard

Hi,

What is a package and how it is created in serviceguard ? Why it is required ?

Thanks,
Shiv
4 REPLIES 4
Arunvijai_4
Honored Contributor

Re: package in serviceguard

Hi Shiv,

Check this out
http://docs.hp.com/en/B3936-90100/ch06s01.html

Managing Serviceguard Twelfth Edition > Chapter 6. Configuring Packages and Their Services
Creating the Package Configuration

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Rajesh SB
Esteemed Contributor
Solution

Re: package in serviceguard

Hi Shiv,

MC Service Guard is High Availability Cluster Management Software. Which monitor for fault tolerance involves 2 levels configuaration.

1. H/W Failure Monitoring - LAN, FPU, Disks..
2. Application Monitoring- Failure monitor, attempt restart Here, We need to define Package. Which involves 2 configuration, 1 Package Configuration file and Package Control file. This is responible for application startup, stop and monitor in Cluster mode.

This is high level detail. You can go thru Managing MC Service Gaurd for details.

Thanks & Regards,
Rajesh

Steven E. Protter
Exalted Contributor

Re: package in serviceguard

Shalom Shiv,

A package is an application or daemon you want to be able to run on one or more nodes of a cluster to provide high avialability.

An example will help:

Oracle database.

The package will start the database and activate volume groups on shared storage so that if the database running on node A fails, it will be run on node b by serviceguard.

Packages are scripts with information SG needs to properly run an application highly available.

Often a floating ip address is associated with a package so that the users expecting to find a database on 192.168.0.10 always get it, no matter what physical node its actually running on.

Without a package SG is a daemon running, providing nothing but resource consumption to a system.

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
Chan 007
Honored Contributor

Re: package in serviceguard

Hi Shiv,

1. What is a package?
It can be single code or a huge Database/application or combination of applications, that you need to monitor due to business criticallity & able to move across servers( clustered nodes). In addition to that a package will have logical name, ip, volume group and lv info.

2. How is it created in SG?
You need to install HP-UX Mission Critical Operating Environment Components on your system. Depending on the organisations requirement you can have one/two... node(s) cluster. See the link
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=951261

3. Why required?
For example, see asnwer 1, you have many things in one package. So inorder to have a centralised management and flexibility.
When the package needs to start on the next node, all you do is just give one command
cmrunpkg -v it will do all in one go. otherwise you have to change Ip, then create vg, import vg, mount lv, start db, start app,. This takes more effort and taken more time.

Chan