Re: multiple installations on the same macine

2014-10-29 Thread Baptiste
On Tue, Oct 28, 2014 at 8:13 PM, Lukas Tribus luky...@hotmail.com wrote:
 One reason for that would be to separate the flow and configuration of
 different systems.
 If i use the same installation for multiple systems (propelled by
 different teams and agendas)
 then each time the config file is touched, all systems are likely to be
 affected and hence the changes would need to be tested against all
 their requirements.
 However if i use the same server but different instances, my changes to
 the configuration would be impacting only the corresponding system.

 If thats the issue then I would suggest to install it to different boxes or 
 VMs.

 Otherwise, HAproxy can be started or installed multiple times without
 any problem, but you will have to adjust configurations, init-scripts, etc, 
 for
 example to use unique PID files.

 You probably also want different chroot paths.


 Lukas



Note that if you do so, HAProxy can collect information from
environment variables.
This may help :)

Baptiste



RE: multiple installations on the same macine

2014-10-28 Thread Lukas Tribus
Hi Jeff,


 could i install multiple instances of HAProxy on one machine?

Why would you do that exactly? Please explain, because I feel
like you are doing it for the wrong reasons. Maybe what you
are trying to achieve can be done more efficiently.



 How?

Would you like to *install* multiple instances, or would you
just like to *start* multiple instances with different configurations?



Lukas

  


RE: multiple installations on the same macine

2014-10-28 Thread jeff saremi
One reason for that would be to separate the flow and configuration of 
different systems.
If i use the same installation for multiple systems (propelled by different 
teams and agendas)then each time the config file is touched, all systems are 
likely to be affected and hence the changes would need to be tested against all 
their requirements.However if i use the same server but different instances, my 
changes to the configuration would be impacting only the corresponding system.

 From: luky...@hotmail.com
 To: jeffsar...@hotmail.com; haproxy@formilux.org
 Subject: RE: multiple installations on the same macine
 Date: Tue, 28 Oct 2014 19:17:52 +0100
 
 Hi Jeff,
 
 
  could i install multiple instances of HAProxy on one machine?
 
 Why would you do that exactly? Please explain, because I feel
 like you are doing it for the wrong reasons. Maybe what you
 are trying to achieve can be done more efficiently.
 
 
 
  How?
 
 Would you like to *install* multiple instances, or would you
 just like to *start* multiple instances with different configurations?
 
 
 
 Lukas
 
 
  

RE: multiple installations on the same macine

2014-10-28 Thread Lukas Tribus
 One reason for that would be to separate the flow and configuration of  
 different systems. 
 If i use the same installation for multiple systems (propelled by  
 different teams and agendas) 
 then each time the config file is touched, all systems are likely to be  
 affected and hence the changes would need to be tested against all  
 their requirements. 
 However if i use the same server but different instances, my changes to  
 the configuration would be impacting only the corresponding system. 

If thats the issue then I would suggest to install it to different boxes or VMs.

Otherwise, HAproxy can be started or installed multiple times without
any problem, but you will have to adjust configurations, init-scripts, etc, for
example to use unique PID files.

You probably also want different chroot paths.


Lukas