• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Ensure zero downtime

 
Ranch Hand
Posts: 497
2
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 310
1
Oracle Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 497
2
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 310
1
Oracle Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 497
2
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 497
2
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 497
2
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic