Leave a Comment:
6 comments
Hi,
Learnt a lot. Great post!!!
I am new with using floating IP address in the cluster for sever migration, I request you to please provide me some inputs.
I am trying to implement ‘server migration’ using WebLogic 10.3 on our application. We are not using any proxy plug-in for load balancing, we are concentrating mainly on HA & Failover.
The planned cluster architecture is as follows:
• 2 managed servers (MS1 & MS2)
• 2 machines(Machine1 & Machine2 are two Linux machines with static IP each)
• MS1 on Machine1 and MS2 on Machine2 (all are clustered)
• 1 admin server outside the cluster running on Machine1
• Using SAN storage for persistence.
• We have a static IP for each machine.
• ‘war’ and ‘ear’ deployed to the cluster
• We don’t have an issue even if web app does not failover.
Q1. Is server migration possible if proxy plug-in is not used?
Q2. How to create and configure the floating IP? should there be one floating IP for each machine?
Q3. What IP should be used in the listen address section of MS1 and MS2. Should this be the floating IP?
Q4. We have an external application which communicates with the WLS application(.ear deployed) using IP:Port. Will it be able to access using the same IP:port even after server migration.
Please provide your inputs and suggestions, it would be of great help!
Thank you,
Pradeep
@ Pradeep,
Q1. Is server migration possible if proxy plug-in is not used?
A1: Yes whole server migration is possible with or without proxy plug-in
Q2. How to create and configure the floating IP? should there be one floating IP for each machine?
Yes there should be one floating IP (VIP) on each server. Start Server which you wish to configure on floating IP (VIP).
You can float IP manually or configure your clusterware application (veritas, HP-clusterware, Linux Cluster) to migrate IP in case of machine crash to another available machine.
check enable VIP in SOA Admin server http://download.oracle.com/docs/cd/E14571_01/core.1111/e12036/create_domain.htm#BABBEJED
and 4.22 manually failing admin server to another machine at
http://download.oracle.com/docs/cd/E14571_01/core.1111/e12036/create_domain.htm#BABHAHIA
Q3. What IP should be used in the listen address section of MS1 and MS2. Should this be the floating IP?
A3: Yes, this should be floating IP
Q4. We have an external application which communicates with the WLS application(.ear deployed) using IP:Port. Will it be able to access using the same IP:port even after server migration.
A4: Yes this is the whole purpose of using floating IP (VIP).
ReplyHi Atul,
Thanks so much for your quick responce.
Need more help:
“Start Server which you wish to configure on floating IP (VIP)”
What do you mean by this statement?
About Q3) We have MS1 assigned to Machine1 and MS2 assigned to Machine2. So should the VIP of machine1 be assigned to MS1 and VIP of machine2 be assigned to MS2?
@ WLSRocks
Q1: “Start Server which you wish to configure on floating IP (VIP)” What do you mean by this statement?
A1: When you create managed server it prompts you for server name , enter VIP name there and not * (which means start service on all IPs) . This means that if there are two IPs on machine (actual main IP and floating IP ) then managed server will start in floating IP only and not on all IPs on that machine.
Do let me know if this is not clear .
To be more precise , create domain -> In the Configure Managed Servers screen -> change “listen address” for MS1 and MS2 to floating IP (This means that managed servers can be migrated as whole server to another machine including floating IP )
ReplyHi from Colombia:
Great tutorial, i´ve a question. Mine machines have SunOs 10, in Oracle documentation says what machines with solaris zones have issues in whole server migration ¿do you know something? i´ve been searching but i haven´t found anything what issues are….In this moment i´m setting my two machines, thanks in advance
Reply