Operating System - HP-UX
1834958 Members
1866 Online
110071 Solutions
New Discussion

Virtual IP ON rp 8400 unix server

 
David_492
Advisor

Virtual IP ON rp 8400 unix server

Dear all

i have HP UNIX SERVER WHICH partioned into two nodes node1 and node2 hardware partioning and each of those nodes has it's own primary and standby lan interfaces and they have the ip address as bellow

node 1
Primary IP :10.0.1.1
sTANDBY IP: 10.0.1.90
node2
Primary IP : 10.0.1.2
Standby IP : 10.0.1.80

AND I would like to apply one web server one of these two nodes let us say node one how can i define a virtual ip for the end user to go to web server so it can go to the primary interface first and incase of any failover it goes to standby interface ?
and is that possible i can apply two web server on both nodes at the same time?
Any suggestions
Thank you all
Note: the server has M/C service gaurd
2 REPLIES 2
James Randall
Frequent Advisor

Re: Virtual IP ON rp 8400 unix server

David,

If you are running MC/ServiceGuard as you state....Then DO NOT configure the second card with an IP address.

Configure MC/ServiceGuard to use the unconfigured card as the SECONDARY card - and MC/SG will MOVE the "Primary" IP address in the event of a lan failure.

Therefore you only need on Web Instance on 10.0.1.1 (for node 1) & 10.0.1.2 (for node 2)
No news is good news
Patrick Wallek
Honored Contributor

Re: Virtual IP ON rp 8400 unix server

Yes, all this is quite possible with MC/SG. Each SG package has its own IP address which people use to access it. When it fails over to another LAN card on the same machine or to the other machine, people still use the same IP address to access the package.

Judging from your questions, I would suggest you read through the MC/SG documentation. Therre are a lot of good documents here:
http://docs.hp.com/hpux/ha/index.html#ServiceGuard

I would also suggest that you consider taking an MC/SG class. You get to set up a cluster in a lab environment and experiment with LAN failover, package failover, etc.