The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: MOD_JK Failover not Working !!  (Read 9405 times)

saswata

  • Newbie
  • *
  • Offline Offline
  • Posts: 8
MOD_JK Failover not Working !!
« on: July 26, 2010, 03:37:18 PM »

Dear Experts,

    We have configured 64 bit Apache Server , 64 Bit MOD_JK to achieve Load Balancing and Failover between JBoss Server Instances in 64 Bit windows environment.

Load Balancing works fine , but FAILOVER is not working.

The following worker.properties file specifies , Redirect node for 21104 is 21105 and node 21105 is having activation= disabled. So , when Node 21104 dies, the requests should be served by node 21105.

But Node 21105 , is not getting activated.

WORKER.Properties :-

# Define list of workers that will be used
# for mapping requests
worker.list=loadbalancer,mystatus
# Define eapdfsnode21104
# modify the host as your host IP or DNS name.
worker.eapdfsnode21104.port=8009
worker.eapdfsnode21104.host=10.231.185.787
worker.eapdfsnode21104.type=ajp13
worker.eapdfsnode21104.lbfactor=1
#Define preferred failover redirection node for eapdfsnode21104
worker.eapdfsnode21104.redirect=eapdfsnode21105

#worker.eapdfsnode21104.ping_mode=P
#worker.eapdfsnode21104.ping_timeout=10000
#worker.eapdfsnode21104.connection_ping_interval=100
#worker.eapdfsnode21104.cachesize=10
#worker.eapdfsnode21104.cachesize OR worker.eapdfsnode21104.connection_pool_size can be used.

# Define eapdfsnode21105
# modify the host as your host IP or DNS name.
worker.eapdfsnode21105.port=8009
worker.eapdfsnode21105.host=10.231.185.567
worker.eapdfsnode21105.type=ajp13
worker.eapdfsnode21105.lbfactor=1
worker.eapdfsnode21105.activation=d
#worker.eapdfsnode21105.ping_mode=P
#worker.eapdfsnode21105.ping_timeout=10000
#worker.eapdfsnode21105.connection_ping_interval=100
#Define preferred failover redirection node for eapdfsnode21105
#worker.eapdfsnode21105.redirect=eapdfsnode21104
#worker.eapdfsnode21105.cachesize=10
#worker.eapdfsnode21105.cachesize OR worker.eapdfsnode21105.connection_pool_size can be used.


# Load-balancing behaviour
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=eapdfsnode21104,eapdfsnode21105
worker.loadbalancer.sticky_session=0
# Status worker for managing load balancer
worker.mystatus.type=status


Kindly suggest some solution .

Thanks & REgards
Saswata Mandal.
Logged

saswata

  • Newbie
  • *
  • Offline Offline
  • Posts: 8
Re: MOD_JK Failover not Working !!
« Reply #1 on: July 26, 2010, 04:40:32 PM »

The Apache Web Server , MOD_JK , and Node 21105 are in the same server.

Do Apache and MOD_JK cause problem while activating node in the same machine ?


Thanks & Regards
saswata mandal.
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 580
Re: MOD_JK Failover not Working !!
« Reply #2 on: July 27, 2010, 10:19:21 AM »

How did you setup the apache side with the failover? Plese post the relevant part from your httpd.conf
Logged

saswata

  • Newbie
  • *
  • Offline Offline
  • Posts: 8
Re: MOD_JK Failover not Working !!
« Reply #3 on: July 27, 2010, 12:40:06 PM »

How did you setup the apache side with the failover? Plese post the relevant part from your httpd.conf

I didn't do any configuration in the HTTPD.conf for Failover .

KIndly suggest what needs to be done .

Thanks & Regards
Saswata Mandal.
Logged

saswata

  • Newbie
  • *
  • Offline Offline
  • Posts: 8
Re: MOD_JK Failover not Working !!
« Reply #4 on: July 27, 2010, 02:05:30 PM »

The failover works fine in 32 Bit Windows Environment, with Windows 32 bit, Apache 32 bit & MOD_JK 32 Bit.

But ,

Failover does not work in 64 Bit Environment , with Windows 64 bit, Apache 64 bit & MOD_JK 64 Bit.

OR  Failover does not work in 64 Bit Environment , with Windows 64 bit, Apache 32 bit & MOD_JK 32 Bit.

Thanks & Regards
Saswata mandal.
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13