• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ensure zero downtime

 
Fernando Franzini
Ranch Hand
Posts: 489
2
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers
My assignment has no information about traffic, number of enabled users and number of simultaneous user expected. The only explicit requirement is the availability. To ensure this all I design a clustered architecture with high availability. My concern now is related to the update time solution (redeploy). How could I update the solution without interrupting service? From what I understand today, I believe that is using proprietary extensions application server. Can someone help me with any tips?
Best Regards.
 
Rajeev Rnair
Ranch Hand
Posts: 308
Java Linux Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Fernando, all most all application servers provide options for HOT deployment so that you do not need to restart app server after a deployment
For example in J Boss AS, you only need to copy EAR or WAR file to the deploy folder, which will deploy the application automatically
For web services (Spring) redeployment on a Linux server, I normally kill the current process, copy the JAR files, and run the shell script to start the service
For high availability, app / db servers can be load balanced and clustered. You can use different RAID solutions for database servers / app servers etc. If one disk fails, next one picks up automatically
Also consider virtual servers using VMWare etc where there will be a host server and multiple guest servers.
Think about backups of virtual servers. Also scheduled hot / cold backups of databases
Good luck!
 
Fernando Franzini
Ranch Hand
Posts: 489
2
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
all most all application servers provide options for HOT deployment so that you do not need to restart app server after a deployment
For example in J Boss AS, you only need to copy EAR or WAR file to the deploy folder, which will deploy the application automatically

But that will stop solution for a few seconds losing active sessions from users. They need to re-authenticate....

For high availability, app / db servers can be load balanced and clustered. You can use different RAID solutions for database servers / app servers etc. If one disk fails, next one picks up automatically
Also consider virtual servers using VMWare etc where there will be a host server and multiple guest servers.
Think about backups of virtual servers. Also scheduled hot / cold backups of databases

OK....
 
Rajeev Rnair
Ranch Hand
Posts: 308
Java Linux Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fernando Franzini wrote:
But that will stop solution for a few seconds losing active sessions from users. They need to re-authenticate....
Not necessarilly, we do that for applications in JBoss which is authentcated by Tivoli Access Manager and it doesnt force users to re login
never tried in OAS though. we get a maintenance window and we use that for deployments etc even though it is a 24x7 app

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33716
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read up on "five nines". Literal 100% availability is prohibitively expensive. Coming close is what you want.
 
Fernando Franzini
Ranch Hand
Posts: 489
2
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Read up on "five nines". Literal 100% availability is prohibitively expensive. Coming close is what you want.

very interesting .. I had never heard about it.
Regards Jeanne.
 
Fernando Franzini
Ranch Hand
Posts: 489
2
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My assignament says "Availability is critical.....is must be available 24 hours a day during the week".
Do you think "five9s" is enough to solve this?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33716
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
24 hours a day during the week is different than 24x7. You could be down 48 hours a week and still meet their criteria! An important thing to think about when designing.
 
Fernando Franzini
Ranch Hand
Posts: 489
2
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
24 hours a day during the week is different than 24x7

Could you explain why is different
Regard.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33716
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fernando Franzini wrote:
24 hours a day during the week is different than 24x7

Could you explain why is different
Regard.

Because with the first I can have 10 hours of downtime on the weekend to deploy, take backups, have the system take a nap, whatever. But with the second one I can't do that.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic