Ubuntu 12.04 to 14.04 / Chef 11 to 12


#1

Hi All,

We are going to upgrade all our cheffesized Ubuntu servers from 12.04 to
14.04. The Chef environment has:

  1.   Chef-server
    
  2.   Chef-workstation
    
  3.   Git and Repo server
    
  4.   PXE / Cobbler server
    

The version of the chef-client in the environment is 11.06. What’s the best
way to upgrade servers (OS level) and the Chef-client?

Thanks

Mohammad


#2

Because the machines are managed with Chef, it’s probably easier and
safer to try replacing the 12.04 servers with new 14.04 servers rather
than upgrade them. Assuming there are multiple versions of the
machines offering the same services, you could stand up a new 14.04
machine with the same run list as the 12.04 ones and see how it
behaves. Having ServerSpec tests or Test Kitchen tooling in your
cookbook would make this really straightforward to evaluate. You could
run the new 14.04 machines in a “testing” environment before pushing
them to production.

Thanks,
Matt Ray
Director of Partner Integration :: Chef
matt@chef.io :: 512.731.2218
mattray :: GitHub :: IRC :: Twitter

On Tue, May 19, 2015 at 10:41 AM, Mohammad Fattahian
mfattahian@masterfile.com wrote:

Hi All,

We are going to upgrade all our cheffesized Ubuntu servers from 12.04 to
14.04. The Chef environment has:

  1.   Chef-server
    
  2.   Chef-workstation
    
  3.   Git and Repo server
    
  4.   PXE / Cobbler server
    

The version of the chef-client in the environment is 11.06. What’s the best
way to upgrade servers (OS level) and the Chef-client?

Thanks

Mohammad