wiki:puppet/running-operating-system-updates

Version 2 (modified by Daniel Kahn Gillmor, 7 years ago) (diff)

--

Running operating system updates

Support team members with root access on all servers can help with running operating system updates (apt-get update && apt-get dist-upgrade).

Using freepuppet, there are two ways to do this:

  • Upgrade one or more servers serially:
    freepuppet-helper au:viewsic
    freepuppet-helper au:mosh
    
  • Upgrade multiple servers simultaneously:
    • Ensure you have cluster ssh installed:
      apt-get install clusterssh
      
    • Use freepuppet helper. The following example will open a series of 12 simultaneous ssh connections to mosh servers. There will be one window to type a command that will be executed on all servers at the same time. Type: apt-get update followed by apt-get dist-upgrade. Once it is complete on all servers, type: exit. Once all connections are closed, it will open the next 12 until all mosh servers have been opened.
      freepuppet-helper ce:mosh
      

Whenever possible, run updates after 10:00 pm America/New_York during the working week or anytime on the weekend.