I want to setup 2 centos servers to act as puppetservers with active-passive mode.
I am not sure the below plan is good to go , can any of you have a look in to it and suggest me ? - One puppet server is the CA master (Uses the Name :puppet ) - A second Puppet master ( Name :Puppet-passive ) using the CA master (Name:puppet) for SSL - Each puppet master has a cron to regularly do a 'git pull' of the puppet environment git repos to /etc/puppetlabs/code/environments so all agents use the same code. On the first puppetmaster (puppet) that will also be the CA master a)Install puppetserver b) In its /etc/puppetlabs/puppet/puppet.conf [main] section: - server = <its FQDN> - ca_server = <its FQDN> - Startup puppetserver on it - Put code into /etc/puppetlabs/code/environments - Configure it to be an agent to itself and ensure it successfully runs before proceeding On other master ( puppet-passive ): - Install puppetserver - Setup the git repos into /etc/puppetlabs/code/environments as you did for the CA master - In its /etc/puppetlabs/puppet/puppet.conf [main] section: - server = <its FQDN> - ca_server = <FQDN of CA master> - In its [agent] section, make its 'server' be the CA master and set the correct environment - Run the agent successfully (against the CA master), then make 'server' be its own FQDN, then run it successfully again But I am not sure how to failover from the active master server to passive one in case of a requirement. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/6fcffed5-ed0f-432e-b953-cc01c0da7d1e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.