[
https://issues.jboss.org/browse/MODCLUSTER-430?page=com.atlassian.jira.pl...
]
Jean-Frederic Clere edited comment on MODCLUSTER-430 at 4/11/19 11:43 AM:
--------------------------------------------------------------------------
[~mbabacek] Please retest...
I have tested with the following:
+++
CreateBalancers 0 / 2 (try 0 or 2)
<VirtualHost 10.36.116.185:8000>
ServerName 10.36.116.185
ErrorLog "logs/error_log.10.36.116.185"
CustomLog "logs/access_log.10.36.116.185" common
ProxyRequests Off
</VirtualHost>
<VirtualHost 192.168.1.35:8000>
ServerName 192.168.1.35
ErrorLog "logs/error_log.192.168.1.35"
CustomLog "logs/access_log.192.168.1.35" common
ProxyRequests Off
</VirtualHost>
+++
And it is working basically if you have no proxy directive in the VirtualHost the
VirtualHost is ignored by mod_cluster... So the main server is used instead.
was (Author: jfclere):
[~mbabacek] Please retest...
I have tested with the following:
+++
CreateBalancers 0 / 2
# VirtualHost...
<VirtualHost 10.36.116.185:8000>
ServerName 10.36.116.185
ErrorLog "logs/error_log.10.36.116.185"
CustomLog "logs/access_log.10.36.116.185" common
ProxyRequests Off
</VirtualHost>
<VirtualHost 192.168.1.35:8000>
ServerName 192.168.1.35
ErrorLog "logs/error_log.192.168.1.35"
CustomLog "logs/access_log.192.168.1.35" common
ProxyRequests Off
</VirtualHost>
+++
And it is working basically if you have no proxy directive in the VirtualHost the
VirtualHost is ignored by mod_cluster... So the main server is used instead.
CreateBalancers behave the same with option 0 or 2
--------------------------------------------------
Key: MODCLUSTER-430
URL:
https://issues.jboss.org/browse/MODCLUSTER-430
Project: mod_cluster
Issue Type: Bug
Components: Native (httpd modules)
Affects Versions: 1.3.0.Final, 1.2.9.Final
Environment: RHEL 6.4.0
Apache HTTPD 2.4.10
JBoss 6.1.1
Mod_cluster 1.3.0 Final
Reporter: John Jerome
Assignee: Michal Karm
Priority: Major
The directive CreateBalancers with directive 0 or 2 creates the balancers on all httpd
vhosts.
With option 2, the balancers should be created on the main server only, not in the
vhosts.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)