Operating System - HP-UX
1826616 Members
3224 Online
109695 Solutions
New Discussion

Serviceguarding powermart.

 
Jarle Bjorgeengen
Trusted Contributor

Serviceguarding powermart.

Hi,

has anyone successfully packaged the application Powermart from Component Software.

It seems like this app. doesn't like to go through the package ip by default, but have to go to the node address to get it to work . (Not much point in serviceguarding then :-))

Feedback appreciated.

Rgds Jarle
6 REPLIES 6
John Poff
Honored Contributor

Re: Serviceguarding powermart.

Hi Jarle,

When you say 'node address', do you mean MAC address, or do you mean that it looks for the IP address of the node that is running the package?

JP
Stuart Abramson_2
Honored Contributor

Re: Serviceguarding powermart.

I've never done PowerMart.

But here's how do it in general:

1. Build "empty" cluster with shared disks, shared VGs, NIC-card failover etc; but with no apps in packages.

2. Then install the application on the floating IP address hostname. Many applications ask "what is my hostname?", and you put in "floating hostname".

3. Then you go back and fill in "customer-defined run commands", etc.

If it doesn't ask you have a problem. Here are two ideas:

1. Do a search of the entire system for references to hostnames and IP addresses. If you find them, then you change them. If they are in binaries, then you have a problem, but usually they are in scripts.

2. Here's an idea, that we had to do once: Build the primary system on the LAN with the FLOATING IP ADDRESS. Install the Application. Then CHANGE the hostname to the proper hostname and build the cluster/package "under the application" with the floating IP address.

Here's something else to watch:

LICENSES: Some applications read the System ID or hostname for licensing. You will then have to install some kind of temporary license on the adaptive node when the application fails over. You have to do this with SAP.
Jarle Bjorgeengen
Trusted Contributor

Re: Serviceguarding powermart.

John , I mean the node IP.

Stuart good point with the floating hostname. I can't recall how to use a "floating" hostname in serviceguard. Can you give me a hint ?

Rgds Jarle
Stuart Abramson_2
Honored Contributor

Re: Serviceguarding powermart.

1. Every package has a package control script. It usually has a the name: .cntl.

2. In the package control script you set package variables, like:
VG[0]=vgsapa
LV[0]="/dev/vgsapa/lvol1"; FS[0]="/usr/sap/PA1/DVEBMGS00"
IP[0]=151.208.28.50
SUBNET[0]=151.208.28.0

IP[0] is the "floating IP address" associated with the package.

3. In your /etc/hosts or DNS you have an entry like:

151.208.28.50 package_IP

so that you can "log into" or reference the package by it's IP address. That's your "floating hostname". That's probably my term not HP's.

Wherever the package moves, from primary to adaptive node, you can still reference the package application by the "floating IP address" or it's associated "floating" hostname.
Sridhar Bhaskarla
Honored Contributor

Re: Serviceguarding powermart.

Hi Jarle,

I didn't work on Powermart but I know there are some softwares that look for literal hostname. Tuxedo is one such but it has got it's own clustering. If this software does the same, then it's difficult to get it configured into ServiceGuard.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Jarle Bjorgeengen
Trusted Contributor

Re: Serviceguarding powermart.

OK,

thanks for your replies clarifications guys.

Jarle