Deploying a Major Server Upgrade on the Cloud

725 views

Published on

RightScale Webinar: January 22, 2009 – This webinar continues our exploration of how to manage deployments on the cloud. What happens when you need to perform a major software upgrade – either application software or underlying system software? We demonstrate how much easier and more efficient it is to perform maintenance tasks on the cloud using the RightScale Cloud Management Platform. And we also show how you can stay in control through the entire process.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
725
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 08/14/08
  • 08/14/08 eliminate
  • Design once a year, we talked about architecture in our last webinar… on the web Deploy more often, we ’ve shown how quickly you can deploy those architectures on the cloud using RightScale. Earlier in the fall we showed how to deploy with MySQL and today you will see it again. Focus of today is on the daily tasks of managing those deployments.
  • Here are some of the frequent tasks. Talk to Rolling upgrade … Failure response can be set up to be automatic or achieved manually. We have 3 examples to show you and to demonstrate today.
  • Here are some of the frequent tasks. Talk to Rolling upgrade … Failure response can be set up to be automatic or achieved manually. We have 3 examples to show you and to demonstrate today.
  • 08/14/08
  • 08/14/08
  • Deploying a Major Server Upgrade on the Cloud

    1. 1. Best Practices in the Cloud: Managing the Deployment Life Cycle - Part 2 Watch the video of this webinar
    2. 2. Agenda <ul><li>Welcome to RightScale </li></ul><ul><li>Ongoing Management Tasks </li></ul><ul><li>Demo 1: Server Failure </li></ul><ul><li>Demo 2: Major System Upgrade </li></ul><ul><li>Q&A – Getting Started </li></ul><ul><li>Please use chat to ask questions anytime! </li></ul>
    3. 3. Your Panel Today <ul><li>Michael Crandell – CEO </li></ul><ul><li>Thorsten von Eicken - CTO </li></ul><ul><li>Ed Goldberg – RightScale Evangelist </li></ul><ul><li>Matthew Small – Sr. Account Manager </li></ul><ul><li>Eugene Gimelberg – Sr. Software Engineer </li></ul>
    4. 4. Cloud Deployment Life Cycle
    5. 5. Ongoing Management Tasks
    6. 6. Response To Server Failure RightScaleDemo.com Master Slave App Srvr App Srvr Load bal Load bal replication
    7. 7. Response To Server Failure RightScaleDemo.com Master Slave App Srvr App Srvr Load bal Load bal Clone failing server config Launch and assign EIP at boot 1 App Srvr Load bal clone rightscaledemo.com. IN A 75.101.145.173 rightscaledemo.com. IN A 75.101.135.166 replication
    8. 8. Response To Server Failure Clone working server Launch and assign EIP 1 2 Connect new app server to master Cross connect app servers RightScaleDemo.com Master Slave App Srvr App Srvr Load bal Load bal App Srvr Load bal connect replication
    9. 9. Ongoing Management Tasks
    10. 10. Deploy Major System Update RightScaleDemo.com Master Slave App Srvr App Srvr Load bal Load bal replication
    11. 11. Deploy Major System Update Clone servers Launch w/out assigning EIP 1 RightScaleDemo.com Master Slave App Srvr App Srvr Load bal Load bal App Srvr Load bal App Srvr Load bal add clone replication
    12. 12. Upgrade Strategies <ul><li>In-place update of servers </li></ul><ul><ul><li>Quick and easy </li></ul></ul><ul><ul><li>Good for simple code updates </li></ul></ul><ul><ul><li>Avoid when changing system/library files </li></ul></ul><ul><li>Relaunch fresh servers </li></ul><ul><ul><li>More involved but cleaner </li></ul></ul><ul><ul><li>Good when rolling out major update, or changing system/library files </li></ul></ul>
    13. 13. Clone vs. add server <ul><li>Clone </li></ul><ul><ul><li>Copies all server-specific settings </li></ul></ul><ul><ul><li>EIPs, hostnames, disabled scripts, … </li></ul></ul><ul><ul><li>Good when replacing a server as-is </li></ul></ul><ul><li>Add </li></ul><ul><ul><li>Creates a fresh server from template </li></ul></ul><ul><ul><li>Inherits deployment settings, need to manually set server-specifics </li></ul></ul><ul><ul><li>Good when server template has changed </li></ul></ul>
    14. 14. System update step-by-step <ul><li>Launch replacement servers </li></ul><ul><li>Quick test of replacement servers </li></ul><ul><li>Run any pre-upgrade DB migrations </li></ul><ul><li>Put maintenance page up </li></ul><ul><li>Halt old server processes </li></ul><ul><li>Run DB migrations </li></ul><ul><li>Start new server processes </li></ul><ul><li>Test new servers </li></ul><ul><li>Switch EIPs from old to new servers </li></ul><ul><li>Test site, watch log files </li></ul><ul><li>Run post-upgrade DB migrations </li></ul><ul><li>Terminate old servers when convenient </li></ul>
    15. 15. Deploy Major System Update Clone servers Launch w/out assigning EIP 1 RightScaleDemo.com Master Slave App Srvr App Srvr Load bal Load bal App Srvr Load bal App Srvr Load bal 2 Ensure new servers are ready Run database migrations connect launch launch replication
    16. 16. Deploy Major System Update Clone servers Launch w/out assigning EIP 1 RightScaleDemo.com Master Slave App Srvr App Srvr Load bal Load bal App Srvr Load bal App Srvr Load bal 2 Ensure new server are ready Run database migrations 3 Test new servers Switch over by reassigning EIPs ec2-12-22-3-45.c-1.amazonaws.com test replication
    17. 17. Deploy Major System Update Clone servers Launch w/out assigning EIP 1 RightScaleDemo.com Master Slave App Srvr App Srvr Load bal Load bal App Srvr Load bal App Srvr Load bal 2 Ensure new server are ready Run database migrations 3 Test new servers Switch over by reassigning EIPs reassign replication
    18. 18. Cloud Principle #1: grab the next one! <ul><li>Database management </li></ul><ul><ul><li>Always roll forward, never fail-back </li></ul></ul><ul><ul><li>Animoto upgraded large->XL @600 servers </li></ul></ul><ul><li>App server management </li></ul><ul><ul><li>Always roll forward, never fix in-place </li></ul></ul><ul><ul><li>www1 bust? Launch www3! Then troubleshoot </li></ul></ul><ul><li>Smart sysadmins have the urge to fix…  </li></ul>
    19. 19. Managing Cloud Deployments <ul><li>Resources On Demand </li></ul><ul><li>More Automation </li></ul><ul><li>Less Administration </li></ul><ul><li>Full Control </li></ul>
    20. 20. Q&A - Getting Started <ul><li>Contact a RightScale representative for a live demo or request presentation slides at: </li></ul><ul><ul><ul><li>[email_address] </li></ul></ul></ul><ul><ul><ul><li>(866) 720 – 0208 </li></ul></ul></ul><ul><li>Sign up for a free developer account at: RightScale.com/FreeTrial </li></ul><ul><li>Check out our documentation & tutorials at: http://wiki.rightscale.com </li></ul><ul><li>Check out our blog at: http://blog.rightscale.com </li></ul>Thank you for listening!
    21. 21. Best Practices in the Cloud: Managing the Deployment Life Cycle – Part 2

    ×