Hosting Master In Multiple Vhosts (migrating port from 8140 -> 443)

85 views
Skip to first unread message

Alex

unread,
Dec 20, 2013, 9:05:33 AM12/20/13
to puppet...@googlegroups.com
Hi,

we want to migrate our puppet master to run on 443 rather than on 8140. We use Apache and Passenger.

To gracefully migrate, I want to setup two vhosts and host puppet on both ports for a short period of time. I know how to setup the vhosts but I am not sure whether the Puppet master stays stable in such a setup.

Are there any issues hosting the Puppet master in two Vhosts on the same Apache2 server?

Thanks,
Alex

Ramin K

unread,
Dec 20, 2013, 9:14:08 AM12/20/13
to puppet...@googlegroups.com
Only downside I can see is running more Rack processes than needed
because Passenger sees each vhost as a separate app.

You might also try something like the following in your vhost config.

Listen 443
Listen 8140
<VirtualHost *:443 *:8140>

Ramin

Alex

unread,
Dec 21, 2013, 8:22:32 AM12/21/13
to puppet...@googlegroups.com, ramin...@badapple.net
> <VirtualHost *:443 *:8140> 

That's indeed much smarter and works very well.

Thanks,
Alex

rohit....@globallogic.com

unread,
Mar 29, 2016, 8:11:44 AM3/29/16
to Puppet Users, ramin...@badapple.net
Hi tell me the location of file, I want change all communication held on 443 rather then 8140.
Reply all
Reply to author
Forward
0 new messages