nodes do not appear in mod_cluster listing
Hi
Thanks in advance for any assistance.
I am using a DEV environment, JBoss EAP 7.3.2 GA, standalone deployment using standalone-ha.xml as the config file.
I am also using jbcs 2.4.37.
OS=RHEL 7.7
Contents of my mod_cluster.conf:
[apch@lnx-07 conf.d]$ cat mod_cluster.conf
mod_proxy_balancer should be disabled when mod_cluster is used
LoadModule proxy_cluster_module modules/mod_proxy_cluster.so
LoadModule cluster_slotmem_module modules/mod_cluster_slotmem.so
LoadModule manager_module modules/mod_manager.so
LoadModule advertise_module modules/mod_advertise.so
MemManagerFile /u01/apache/jbcs-httpd24-2.4/httpd/cache/mod_cluster
Listen 6666
PersistSlots on
DirectoryIndex disabled
Require all granted
ServerAdvertise on
EnableMCPMReceive
SetHandler mod_cluster-manager
Require all granted
ManagerBalancerName JBCSBalancer
Content og error_log when starting jbcs:
[apch@lnx07 logs]$ cat error_log
[Thu Feb 04 11:45:27.623678 2021] [core:notice] [pid 8553] SELinux policy enabled; httpd running as context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[Thu Feb 04 11:45:27.627573 2021] [:notice] [pid 8553] ModSecurity for Apache/2.9.2 (http://www.modsecurity.org/) configured.
[Thu Feb 04 11:45:27.627588 2021] [:notice] [pid 8553] ModSecurity: APR compiled version="1.6.3-63"; loaded version="1.6.3-63"
[Thu Feb 04 11:45:27.627611 2021] [:notice] [pid 8553] ModSecurity: PCRE compiled version="8.32 "; loaded version="8.32 2012-11-30"
[Thu Feb 04 11:45:27.627620 2021] [:notice] [pid 8553] ModSecurity: LUA compiled version="Lua 5.1"
[Thu Feb 04 11:45:27.627627 2021] [:notice] [pid 8553] ModSecurity: LIBXML compiled version="2.9.1"
[Thu Feb 04 11:45:27.627634 2021] [:notice] [pid 8553] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Thu Feb 04 11:45:27.708742 2021] [ssl:warn] [pid 8554] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Feb 04 11:45:27.782792 2021] [:notice] [pid 8554] Advertise initialized for process 8554
[Thu Feb 04 11:45:27.796512 2021] [mpm_prefork:notice] [pid 8554] AH00163: Apache/2.4.37 (Red Hat) (Release 33.jbcs.el7-GA) OpenSSL/1.1.1 mod_cluster/1.3.12.Final-9 configured -- resuming normal operations
[Thu Feb 04 11:45:27.796575 2021] [core:notice] [pid 8554] AH00094: Command line: '/u01/apache/jbcs-httpd24-2.4/httpd/sbin/httpd -f /u01/apache/jbcs-httpd24-2.4/httpd/conf/httpd.conf -E /u01/apache/jbcs-httpd24-2.4/httpd/logs/httpd.log'
Partial contents of standalone-ha.xml:
[jboss@lnx07 configuration]$ cat standalone-ha.xml
....
....
Partial contents of server.log:
[jboss@lnx07 logs]$ cat server.log
2021-02-04 11:43:35,144 INFO [org.jboss.modcluster] (ServerService Thread Pool -- 82) MODCLUSTER000001: Initializing mod_cluster version 1.4.1.Final-redhat-00001
2021-02-04 11:43:35,210 INFO [org.jboss.modcluster] (ServerService Thread Pool -- 82) MODCLUSTER000032: Listening to proxy advertisements on /224.0.1.105:23364
2021-02-04 11:43:35,073 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow AJP listener ajp listening on xx.xxx.xx.121:8009
2021-02-04 11:43:36,823 INFO [org.jboss.as.patching] (MSC service thread 1-4) WFLYPAT0050: JBoss EAP cumulative patch ID is: jboss-eap-7.3.2.CP, one-off patches include: none
2021-02-04 11:43:36,932 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) WFLYDS0013: Started FileSystemDeploymentService for directory /u01/redhat/jboss/EAP-7-standalone/standalone/deployments
2021-02-04 11:43:37,040 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow HTTPS listener https listening on xx.xxx.xx.121:8443
2021-02-04 11:43:37,481 INFO [org.jboss.ws.common.management] (MSC service thread 1-1) JBWS022052: Starting JBossWS 5.3.0.Final-redhat-00001 (Apache CXF 3.3.5.redhat-00001)
2021-02-04 11:43:37,938 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
2021-02-04 11:43:37,944 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: JBoss EAP 7.3.2.GA (WildFly Core 10.1.11.Final-redhat-00001) started in 15166ms - Started 326 of 662 services (451 services are lazy, passive or on-demand)
2021-02-04 11:43:37,970 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://xx.xxx.xx.121:9990/management
2021-02-04 11:43:37,971 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://xx.xxx.xx.121:9990
I will upload a screenshot which shows the mod_cluster page is displayed when running http://ip_address:port/mod_cluster_manager
I just can't see the node in the list.
I have not tried a static proxy list, that would be my next step, but thought I would reach out to the wider community first, see if this is easily fixed.
Thanks
Andy