Difference between revisions of "Rolling restart"

From Second Life Wiki
Jump to navigation Jump to search
(Replaced content with "{{#Widget:Redirect|url=/t5/English-Knowledge-Base/Grid-status/ta-p/837021}}")
 
Line 1: Line 1:
<noinclude>{{KBmaster}}</noinclude>
{{#Widget:Redirect|url=/t5/English-Knowledge-Base/Grid-status/ta-p/837021}}
 
== What is a "rolling restart"? ==
 
The Second Life world has thousands upon thousands of Regions running on a great many servers. Due to the sheer logistics involved with managing them, not to mention all our Residents who'd prefer Second Life to have as much uptime as possible, it's unfeasible to restart every Region at the same time when an upgrade needs to be deployed.
 
[[File:Region_restart.png]]
 
Think of a rolling restart like a wave: it doesn't occur everywhere simultaneously, but travels from one place to another. As some servers are restarting, others have already been restarted several minutes ago, and are coming online shortly. Thus, only a portion of Second Life is down at any one time. [http://status.secondlifegrid.net/2009/10/26/post782/ For example]:
 
: ''As with all of our server deploys, each region will be restarted once during one of the rolling restart periods. Most regions should be down no more than 5-10 minutes, although some fraction of the regions will take 20-30 minutes to upgrade. If your region stays down for more than 30 minutes, please contact support. Each region will receive warnings starting 5 minutes before that region is restarted.''
 
Rolling restarts usually apply to ''all'' of Second Life, including Private Regions.
 
Specific details of how a rolling restart proceeds are sometimes announced on our [http://status.secondlifegrid.net/ Grid Status Reports], and more details are on the [http://forums.secondlife.com/forumdisplay.php?f=348 Server Deploys forum].
 
== Technical details ==
 
Usage-specific terms:
 
* Colo - A colocation site which holds many racks of sims.
* Sim (or sim host) -  A computer (or server).
* Simulator - The binary that runs on a sim host.
* Regions - Run by a simulator.
 
Deploy process in a nutshell:
 
# New server code is prepared.
# Deploy day rolls around.
# The server code is compiled and the binaries are put into a tarball.
# The tarball is put on the Asset System.
# For each colo a BitTorrent tracker is started and the sim nodes start sucking down the tarball. That usually takes less than 1 hour.
# A command is sent out to have each sim unpack the tarball and get it ready for prime time. That takes another hour or so per colo.
# When it's time for the rolling restart, the grid is put into what's called "Startup Mode". That means that when a sim goes down, the system won't try to bring the region up on another host.  This way regions only get restarted once.
# While in startup mode, 200 sims are selected at a time and the following steps are taken:
## The simulator is shut down.
## The new binaries are installed.
## The simulator is restarted.
 
This is repeated until all (approximately) 6000 sims (as of this writing) have been processed.

Latest revision as of 07:07, 6 December 2011

Redirecting to http://community.secondlife.com/t5/English-Knowledge-Base/Grid-status/ta-p/837021