Upgrade to Enterprise Chef 11: StandaloneΒΆ

Note

To upgrade from an earlier version of Enterprise Chef to a newer version of Enterprise Chef, the steps are identical to the ones described below.

This topic describes the upgrade process from Private Chef to Enterprise Chef. The upgrade process will require downtime equal to the amount of time it takes to stop the machine, run dpkg or RPM Package Manager, and then upgrade the machine. The final step will remove older components and will destroy the data after the upgrade process is complete.

To upgrade to Enterprise Chef, do the following:

  1. Run the following command to make sure all services are in a sane state.

    $ private-chef-ctl reconfigure
    
  2. Stop the machine:

    $ private-chef-ctl stop
    
  3. Run dpkg or RPM Package Manager on the machines. For dpkg:

    $ dpkg -D10 -i <new package>
    

    where -D enables debugging and 10 creates output for each file that is processed during the upgrade. See the man pages for dpkg for more information about this option.

    For RPM Package Manager:

    $ rpm -Uvh <new package>
    
  4. Upgrade the machine with the following command:

    $ private-chef-ctl upgrade
    
  5. After the upgrade process is complete and everything is tested and verified to be working properly, clean up the machine by removing all of the old data:

    $ private-chef-ctl cleanup
    

    This process will remove old services, old data, messages about old services not running, and so on.

  6. Start Enterprise Chef:

    $ private-chef-ctl start