Operating System - HP-UX
1819807 Members
2804 Online
109607 Solutions
New Discussion юеВ

replace with stationary or heartbeat ipMC-SERVICE GUARD

 
???_185
Regular Advisor

replace with stationary or heartbeat ipMC-SERVICE GUARD

I'v known virtual IP have to been replaced with stationary or heartbeat IP when these failed.
But I can find virtual IP in /etc/rc.config.d/netconf?
where is this virtual IP configured?
5 REPLIES 5
Rajeev  Shukla
Honored Contributor

Re: replace with stationary or heartbeat ipMC-SERVICE GUARD

The static IP address for the heartbeat are configured in the cluster config file in /etc/cmcluster and virtual IP address of the packages are configured in package scripts in /etc/cmcluster/ directory
Tvs
Regular Advisor

Re: replace with stationary or heartbeat ipMC-SERVICE GUARD

hi,

by command line u can add a virtual ip like this

# ifconfig lan0:0 ipaddress netmask ( for creating virtual ip using the lan0)

or u can add these to /etc/rc.confgi.d/netconf file and in that instead of INTERFACE_NAME[0]="lan0"
put INTERFACE_NAME[0]="lan0:0"

regards

tvs
Mark Nieuwboer
Esteemed Contributor

Re: replace with stationary or heartbeat ipMC-SERVICE GUARD

Hi Zungwon,

Maybe i don't understand you right.
But what i read is that when your heartbeat/stationary failed you don't know which virtueel ip its get.
It don't if your heartbeat failed your cluster is going down.
You can prevent this to make the stationary also a heartbeat. it doesn't garentee succes buts better then nothing.

grtz. mark
???_185
Regular Advisor

Re: replace with stationary or heartbeat ipMC-SERVICE GUARD

while I looking over mc/service guard configuration, I am curious RESOURCE NAME,RESOURCE_POLLING_INTERVAL not using so on~
can I ask you to way when does these being used to?
Arunvijai_4
Honored Contributor

Re: replace with stationary or heartbeat ipMC-SERVICE GUARD

Hello,

Take a look at the template file for usage of these variables,

http://docs.hp.com/en/B3936-90053/ch06s01.html

[Managing MC/ServiceGuard > 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"