The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » GlassFish

Thread: HA on two machines in Active-Standby mode

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 2 - Last Post: Dec 19, 2008 2:01 AM by: anzy
anzy

Posts: 51
HA on two machines in Active-Standby mode
Posted: Nov 25, 2008 3:56 AM
  Click to reply to this thread Reply

From glassifsh's HA docs what I could make out is that the servers participating in HA have to be running in lb mode thus mandatorily supporting HA in actiove -active mode.
What if my application can run in active-active mode because of few components facing cynch issues but I still wnat them to be part of HA with other server taking up the responsibility only if one goes down.

To be precise if I have 5 applications(.war) to deploy,3 are to be needed in active-active and 2 in active-stand by mode.
How do I ahieve this, does glassfish support it ?

Regards
Anshul

pankaj jairath
Re: HA on two machines in Active-Standby mode
Posted: Nov 25, 2008 4:10 AM   in response to: anzy
  Click to reply to this thread Reply

Hello,

Ensure that your other 2 active-stand by applications are disabled from
being load balanced. Primarily these would be deployed on application
server cluster however, HTTP Load Balancer would treat them as disabled
for load balancing; thus preventing any access to them till these
applications are enabled for load balancing.

While setting up your systems, use asadmin disable-http-lb-application,
and export the load balancer configuration file using asadmin
export-http-lb-config / or using the auto-apply feature to apply the
changes to loadbalancer.

regards
Pankaj

glassfish@javadesktop.org wrote:
> From glassifsh's HA docs what I could make out is that the servers participating in HA have to be running in lb mode thus mandatorily supporting HA in actiove -active mode.
> What if my application can run in active-active mode because of few components facing cynch issues but I still wnat them to be part of HA with other server taking up the responsibility only if one goes down.
>
> To be precise if I have 5 applications(.war) to deploy,3 are to be needed in active-active and 2 in active-stand by mode.
> How do I ahieve this, does glassfish support it ?
>
> Regards
> Anshul
> [Message sent by forum member 'anzy' (anzy)]
>
> http://forums.java.net/jive/thread.jspa?messageID=318603
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net


anzy

Posts: 51
Re: HA on two machines in Active-Standby mode
Posted: Dec 19, 2008 2:01 AM   in response to: pankaj jairath
  Click to reply to this thread Reply

But if I disable the application, how will the failover happen between / active and standby.
And what did you mean by auto apply ?




 XML java.net RSS