Chef updates its feature and services frequently in order to make our automation process up to date. We require to upgrade our current system with the latest one.
Version upgradation is simpler when it comes to upgradation of the Chef server 0.10.x to Chef server 11.x. For this to be done, install the Chef server and then transfer all the data from the older server to the new one. Data can't be moved directly.
Some knife subcommands have to be used for the upgradation, as the database for Chef server 0.10.x is CouchDB and the database for Chef server 11.x is PostgreSQL. The knife subcommands are:
Knife download Knife list Knife upload
These are used to download the data from the Chef server 0.10.x and upload on the Chef server 11.x. This approach solves the data storage problem.
Now, we need to install the latest version of the knife-essentials
plugin:
$ gem install knife-essentials