Ask Your Question
0

What is the process to upgrade puppet enterprise from 2.0.3 to 3.7 ?

asked 2014-12-15 10:13:57 -0500

Antoine gravatar image

Hello, I have read many release notes and upgrade warning of the several versions between PE 2.0.3 and the latest but i can't find a simple guide to do it.

Can you help me ?

Thanks, Antoine.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-12-15 20:14:58 -0500

cbarbour gravatar image

updated 2014-12-15 20:15:28 -0500

If you have a license for PE, the best thing to do is to reach out to the support team.

General upgrade process:

  1. Upgrade to the latest release of PE2
  2. Enable warnings.
  3. Address all warnings, especially warnings relating to variable inheritance.
  4. Install PE 3.7 on a separate infrastructure.
  5. Deploy Puppet code to PE 3.7 hosts.
  6. Manually or clone node classification from PE2 to PE3 infrastructure (or write a script.)
  7. Manually invoke agent on managed node against new masters.
    • Specify PE 3.7 master on command line.
    • Run in --noop mode
    • Ensure run succeeds
    • Analyze any pending changes for correctness.
  8. Migrate nodes to PE3 infrastructure using the server option in puppet.conf
  9. Shutdown PE 2.x infrastructure
  10. Final go/no-go evaluation
  11. Upgrade agents to PE 3.x

Tools that might help:

https://github.com/ripienaar/puppet-c...

Common issues:

  1. Ensure that your modules work with the latest release of stdlib and other bundled modules.
  2. If you are using variable inheritance anywhere expect it to break on PE3.

I strongly advise against upgrading the PE infrastructure in place. Bringing up new infrastructure on PE3 gives you the chance to roll-back the upgrade by retargeting your nodes at the PE2 infrastructure should things go wrong.

edit flag offensive delete link more
0

answered 2014-12-16 02:29:55 -0500

Antoine gravatar image

Exactely what i was looking for ! Thanks a lot cbarbour ! :)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-12-15 10:13:57 -0500

Seen: 38 times

Last updated: Dec 16 '14