SlideShare a Scribd company logo
1 of 15
Migration process:
How to add a secondary server to
a running Prodco JMS server
TheLem ns.c m Prodco
Producers Consumers
The present JMS server
JMS1
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
Producers Consumers
Why this procedure works
JMS1
Every consumer has at least
one load sharing partner.
Each queue of messages has at least two consumers.
Add new JMS server
JMS1
Producers Consumers
JMS2
Configure as Active member of a fault tolerant pair of JMS servers
The new JMS server is connected to SAN shared storage
Add new JMS server
JMS1
Producers Consumers
JMS2
Configure as Active member of a fault tolerant pair of JMS servers
The new JMS server is connected to SAN shared storage
Shared storage device
Add new secondary JMS server
Producers Consumers
JMS2
Configure a new server instance running on the same machine
as the original JMS server
JMS1
JMS2b
Migrate half the consumers
Producers Consumers
Move some of the consumers to the new server
Consumers
JMS2
JMS1
JMS2b
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
Migrate the producers
ProducersConsumers
All producers are now connected to the fault tolerant pair
Consumers
JMS1
JMS2b
JMS2
Allow the server to empty of data
ProducersConsumers Consumers
JMS2b
JMS1
JMS2
Migrate the remaining consumers
Producers
Move the remaining consumers to the new server
All consumers are now connected to the fault tolerant pair
Consumers
JMS1
JMS2b
JMS2
Turn the old server off
Producers Consumers
JMS1
JMS2b
JMS2
Finished
Producers
JMS2b
Consumers
JMS2
Running normally
Producers
JMS2b
Consumers
JMS2

More Related Content

Viewers also liked (8)

Joe P Audio Donation Fund
Joe P Audio Donation FundJoe P Audio Donation Fund
Joe P Audio Donation Fund
 
How to make tea
How to make teaHow to make tea
How to make tea
 
Jean Messner Art 2010 Landscapes
Jean Messner Art 2010 LandscapesJean Messner Art 2010 Landscapes
Jean Messner Art 2010 Landscapes
 
JMS01
JMS01JMS01
JMS01
 
Silicon Valley I Miti Da Sfatare
Silicon Valley I Miti Da SfatareSilicon Valley I Miti Da Sfatare
Silicon Valley I Miti Da Sfatare
 
600030 2008 N
600030 2008 N600030 2008 N
600030 2008 N
 
Khazi Sox A
Khazi Sox AKhazi Sox A
Khazi Sox A
 
Aj USA Inc
Aj USA IncAj USA Inc
Aj USA Inc
 

Similar to Migration process3

Similar to Migration process3 (11)

JMS-Java Message Service
JMS-Java Message ServiceJMS-Java Message Service
JMS-Java Message Service
 
JMS - Java Messaging Service
JMS - Java Messaging ServiceJMS - Java Messaging Service
JMS - Java Messaging Service
 
Bpminto
BpmintoBpminto
Bpminto
 
Bpminto
BpmintoBpminto
Bpminto
 
jms-integration
jms-integrationjms-integration
jms-integration
 
Mule jms
Mule   jmsMule   jms
Mule jms
 
Jms queues
Jms queuesJms queues
Jms queues
 
Building and Scaling a WebSockets Pubsub System
Building and Scaling a WebSockets Pubsub SystemBuilding and Scaling a WebSockets Pubsub System
Building and Scaling a WebSockets Pubsub System
 
ActiveMQ interview Questions and Answers
ActiveMQ interview Questions and AnswersActiveMQ interview Questions and Answers
ActiveMQ interview Questions and Answers
 
Messaging in Java
Messaging in JavaMessaging in Java
Messaging in Java
 
Lessons Learnt Implementing High-Performance Integration using SAP PI
Lessons Learnt Implementing High-Performance Integration using SAP PILessons Learnt Implementing High-Performance Integration using SAP PI
Lessons Learnt Implementing High-Performance Integration using SAP PI
 

Recently uploaded

Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 

Recently uploaded (20)

Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
BT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptx
BT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptxBT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptx
BT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptx
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 

Migration process3

  • 1. Migration process: How to add a secondary server to a running Prodco JMS server TheLem ns.c m Prodco
  • 3. 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
  • 4. Producers Consumers Why this procedure works JMS1 Every consumer has at least one load sharing partner. Each queue of messages has at least two consumers.
  • 5. Add new JMS server JMS1 Producers Consumers JMS2 Configure as Active member of a fault tolerant pair of JMS servers The new JMS server is connected to SAN shared storage
  • 6. Add new JMS server JMS1 Producers Consumers JMS2 Configure as Active member of a fault tolerant pair of JMS servers The new JMS server is connected to SAN shared storage Shared storage device
  • 7. Add new secondary JMS server Producers Consumers JMS2 Configure a new server instance running on the same machine as the original JMS server JMS1 JMS2b
  • 8. Migrate half the consumers Producers Consumers Move some of the consumers to the new server Consumers JMS2 JMS1 JMS2b
  • 9. 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
  • 10. Migrate the producers ProducersConsumers All producers are now connected to the fault tolerant pair Consumers JMS1 JMS2b JMS2
  • 11. Allow the server to empty of data ProducersConsumers Consumers JMS2b JMS1 JMS2
  • 12. Migrate the remaining consumers Producers Move the remaining consumers to the new server All consumers are now connected to the fault tolerant pair Consumers JMS1 JMS2b JMS2
  • 13. Turn the old server off Producers Consumers JMS1 JMS2b JMS2