Operating System - HP-UX
1822193 Members
3949 Online
109640 Solutions
New Discussion юеВ

Cluster failover check script

 
James Nowak
Occasional Contributor

Cluster failover check script

I am trying to write a script that checks the VGs of the various nodes to ensure that a package can fail over successfully without issue.

I need to accomplish these things:

- Ensuring the package can mount all of its filesystems in its /etc/cmcluster/package/package.fstab file

- Ensuring the package.fstab file is identical on all nodes

- Ensuring the package VGs are included in the cluster config

I'm looking for something I can cron for a weekly check or so.
Any help is appreciated.
6 REPLIES 6

Re: Cluster failover check script

James,

If its an option, why not just purchase HP's cluster consistency service, which will deliver an implementation of the Cluster Consistency Monitor. It checks the stuff you described plus much more, and I don't remember it being particularly expensive...

http://h20219.www2.hp.com/enterprise/downloads/ccmon-service-brief.pdf

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Geoff Wild
Honored Contributor

Re: Cluster failover check script

What you really need is CCMON:

http://h20219.www2.hp.com/enterprise/downloads/ccmon-service-brief.pdf

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Ralph Grothe
Honored Contributor

Re: Cluster failover check script

Interesting stuff this CCMON (haven't heard of it before) though I doubt if it is really that realistic to always being required to have an HP engineer fixing the baseline config.
For many of our clusters they quite frequently undergo continuous changes (from adding or removing disk storage to integration of new packages/services or total restructuring) which of course are performed by us Unix admins or even the database admins (of course those who have the experience of cluster maintenance and are trustworthy ;-)
Many of these modifications and enhancements are performed on Sundays or off business hours.
I would find it pretty limiting if I always had to fix an approval date with an HP engineer, as the contract seems to imply.
Madness, thy name is system administration
Geoff Wild
Honored Contributor

Re: Cluster failover check script

How it works is, you pay with 1 technical services day, they give you a license, then away you go - no need for HP to do anything after the original install. You can make template changes and so forth.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
melvyn burnard
Honored Contributor

Re: Cluster failover check script

CCMon is a piece of software that HP offer as part of a service ( I think th eproduct number is HA243A1, and covers a 2 node cluster, with one of installation, basic setup, and overview to the customer.
As there are so many different things, a basic configuration setup is done, a report generated, then something is added in, like a pacjage for SG, and the report rerun, to show you how you can make the changes.

Take a look here:
http://h71028.www7.hp.com/ERC/downloads/5982-8674EN.pdf?jumpid=reg_R1002_USEN
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
melvyn burnard
Honored Contributor

Re: Cluster failover check script

forgot to say, there are two variations, one is the Assesment, which is where a Consultant will come out, run the report, then remove the software. This uses a temporary license.
The other Service you pay for a permanent license and then you as the customer make any relevant changes and run the reports as and when you wish.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!