Hello Mladen,

Great, now my cluster hot standby works as aspected. Thanks for your quick help!
Current support of redirect is enough for me.


<http://dict.leo.org/se?lp=ende&p=/Mn4k.&search=enough>The domain redirect use case to startup very save a next software generation
is working with the existing domain concept.


You have two tomcat cluster domains.
Two Apaches and three tomcat instances at every cluster domain.

worker.nodeA01.domain=A0
worker.nodeA02.domain=A0
worker.nodeA03.domain=A0
worker.nodeB01.domain=B0
worker.nodeB02.domain=B0
worker.nodeB03.domain=B0
worker.list=lb,status
worker.lb.balance_workers=nodeA01,nodeA02,nodeA03,nodeB01,nodeB02,nodeB03
worker.lb.type=lb
worker.status.type=status

Now you want start a new software generation under high load

Start the new Instance A1x, B1x
change the workers.properties at apache A and B
gracefull restart the apaches.

worker.nodeA01.domain=A0
worker.nodeA01.disabled=True
worker.nodeA02.domain=A0
worker.nodeA02.disabled=True
worker.nodeA03.domain=A0
worker.nodeA03.disabled=True
worker.nodeB01.domain=B0
worker.nodeB01.disabled=True
worker.nodeB02.domain=B0
worker.nodeB02.disabled=True
worker.nodeB03.domain=B0
worker.nodeB03.disabled=True
worker.nodeA11.domain=A1
worker.nodeA12.domain=A1
worker.nodeA13.domain=A1
worker.nodeB11.domain=B1
worker.nodeB12.domain=B1
worker.nodeB13.domain=B1
worker.list=lb,status
worker.lb.balance_workers=nodeA11,nodeA12,nodeA13,nodeB11,nodeB12,nodeB13,nodeA01,nodeA02,nodeA03,nodeB01,nodeB02,nodeB03
worker.lb.type=lb
worker.status.type=status

Old Session A0x, B0x working very well for old existing session and replicated backup.
All new sessions goes to A1x,B1x nodes
After a some times, the admin can drop the old nodes (A0x, B0x) with zero sessions active and than remove the
A0x and B0x workers.


How can I force a autoreloading with update the workers.properties, without gracefull restart the apache?

Thanks very much,
Peter

Mladen Turk schrieb:

Mladen Turk wrote:

You will still need the redirect for hot-standby to work.
It's just like for workers, except that instead worker
name the domain is used, so you can have multiple
failover boxes.


Sorry, It won't failover to domain, so:


worker.node1.domain=A worker.node1.redirect=node3

worker.node2.domain=A
worker.node2.redirect=node3

worker.node3.domain=A
worker.node3.disabled=True

I'll see if and how a failover redirection
for hot standby can be made to a group of workers.
Not sure if this will have any real world usage, but
it can be made.
Convince me why would someone need 5 boxes not doing
anything just in case. I mean, a single one should be
enough ;).

Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to