migration process3
TRANSCRIPT
![Page 1: Migration process3](https://reader036.vdocument.in/reader036/viewer/2022083002/55861f4ed8b42a88428b502e/html5/thumbnails/1.jpg)
Migration process:How to add a secondary
server to a running Prodco JMS server
TheLem ns.c m Prodco
![Page 2: Migration process3](https://reader036.vdocument.in/reader036/viewer/2022083002/55861f4ed8b42a88428b502e/html5/thumbnails/2.jpg)
Producers Consumers
The present JMS server
JMS1
![Page 3: Migration process3](https://reader036.vdocument.in/reader036/viewer/2022083002/55861f4ed8b42a88428b502e/html5/thumbnails/3.jpg)
Producers Consumers
Why this procedure works
JMS1
All messages are held in JMS queues on a fast internal disk
In general you can’t add a fault tolerant partner to a running server,but in this case all messages are held in JMS queues
![Page 4: Migration process3](https://reader036.vdocument.in/reader036/viewer/2022083002/55861f4ed8b42a88428b502e/html5/thumbnails/4.jpg)
Producers Consumers
Why this procedure works
JMS1
Every consumer has at leastone load sharing partner.
Each queue of messages has at least two consumers.
![Page 5: Migration process3](https://reader036.vdocument.in/reader036/viewer/2022083002/55861f4ed8b42a88428b502e/html5/thumbnails/5.jpg)
Add new JMS server
JMS1
Producers Consumers
JMS2
Configure as Active member of a fault tolerant pair of JMS serversThe new JMS server is connected to SAN shared storage
![Page 6: Migration process3](https://reader036.vdocument.in/reader036/viewer/2022083002/55861f4ed8b42a88428b502e/html5/thumbnails/6.jpg)
Add new JMS server
JMS1
Producers Consumers
JMS2
Configure as Active member of a fault tolerant pair of JMS serversThe new JMS server is connected to SAN shared storage
Shared storage device
![Page 7: Migration process3](https://reader036.vdocument.in/reader036/viewer/2022083002/55861f4ed8b42a88428b502e/html5/thumbnails/7.jpg)
Add new secondary JMS server
Producers Consumers
JMS2
Configure a new server instance running on the same machineas the original JMS server
JMS1
JMS2b
![Page 8: Migration process3](https://reader036.vdocument.in/reader036/viewer/2022083002/55861f4ed8b42a88428b502e/html5/thumbnails/8.jpg)
Migrate half the consumers
Producers Consumers
Move some of the consumers to the new server
Consumers
JMS2
JMS1
JMS2b
![Page 9: Migration process3](https://reader036.vdocument.in/reader036/viewer/2022083002/55861f4ed8b42a88428b502e/html5/thumbnails/9.jpg)
Migrate half the consumers
Producers Consumers Consumers
JMS2
Consumers are reconfigured so that JMS2 is their primary
server and JMS2b is secondary
Move some of the consumers to the new server
JMS1
JMS2b
![Page 10: Migration process3](https://reader036.vdocument.in/reader036/viewer/2022083002/55861f4ed8b42a88428b502e/html5/thumbnails/10.jpg)
Migrate the producers
ProducersConsumers
All producers are now connected to the fault tolerant pair
Consumers
JMS1
JMS2b
JMS2
![Page 11: Migration process3](https://reader036.vdocument.in/reader036/viewer/2022083002/55861f4ed8b42a88428b502e/html5/thumbnails/11.jpg)
Allow the server to empty of data
ProducersConsumers Consumers
JMS2b
JMS1
JMS2
![Page 12: Migration process3](https://reader036.vdocument.in/reader036/viewer/2022083002/55861f4ed8b42a88428b502e/html5/thumbnails/12.jpg)
Migrate the remaining consumers
Producers
Move the remaining consumers to the new serverAll consumers are now connected to the fault tolerant pair
Consumers
JMS1
JMS2b
JMS2
![Page 13: Migration process3](https://reader036.vdocument.in/reader036/viewer/2022083002/55861f4ed8b42a88428b502e/html5/thumbnails/13.jpg)
Turn the old server off
Producers Consumers
JMS1
JMS2b
JMS2
![Page 14: Migration process3](https://reader036.vdocument.in/reader036/viewer/2022083002/55861f4ed8b42a88428b502e/html5/thumbnails/14.jpg)
Finished
Producers
JMS2b
Consumers
JMS2
![Page 15: Migration process3](https://reader036.vdocument.in/reader036/viewer/2022083002/55861f4ed8b42a88428b502e/html5/thumbnails/15.jpg)
Running normally
Producers
JMS2b
Consumers
JMS2