Hi there,

Yup no problem, we are all helping each other at this group here :)

> it seems to me you need to fix this: 07-Nov-2019 05:57:51.789 WARNING 
[main] com.hazelcast.instance.HazelcastInstanceFactory.null
To David: I tried not fixing this warning and Hazelcast is still working. 
Although we do need to fix it at some point, but seems like it is not the 
factor that fatally affect Hazelcast.

> instantname.... need to be different per server
I would like to apology about this statement, I actually tried configured 
the instantName as `localhost` in both of my CAS server and it works just 
fine, seems like no need to use different name.

> If it is possible could you please share your env details
I am afraid I can't share most of the detail for you, because of security 
concern and part of the architecture is not configured by me...



I do built an complete working CAS 6.1.1 and Hazelcast example on github, 
but I built it using *docker *and *docker-compose* so you would need to 
installed both for you to test out my example.

If you are interested, you can check it out here: 
https://github.com/NgSekLong/SelectUrCAS/tree/test_hazelcast_example_20191108

And start the example using:
docker-compose -f docker-compose.yml -f 
./source/authentication/json-whitelist/docker-compose.yml -f 
./source/ticket-registry/hazelcast/docker-compose.yml -f 
./source/cas-client/phpcas/docker-compose.yml -f 
./source/service-registry/json-1001/docker-compose.yml -f 
./source/nginx-load-balancer/docker-compose.yml up --scale cas_server=2

And you should see 2 cas servers, 1 nginx server, and 1 phpcas client by 
executing this command: *docker ps -a*
CONTAINER ID        IMAGE                        COMMAND                  
 CREATED             STATUS              PORTS                            
NAMES
7abb965242fb        nginx:1.17                   "nginx -g 'daemon of…"    
54 seconds ago      Up 48 seconds       80/tcp, 0.0.0.0:8443->8443/tcp  
 project-all-cas_nginx_1
51e7bef94e28        project-all-cas_cas_server   "/bin/sh -c \"/cas-ov…"  
 59 seconds ago      Up 54 seconds       8080/tcp, 8443/tcp              
 project-all-cas_cas_server_2
1465fbbe230f        project-all-cas_phpcas       "docker-php-entrypoi…"    
59 seconds ago      Up 52 seconds       0.0.0.0:51515->80/tcp            
project-all-cas_phpcas_1
4a3194e0a187        project-all-cas_cas_server   "/bin/sh -c \"/cas-ov…"  
 59 seconds ago      Up 54 seconds       8080/tcp, 8443/tcp              
 project-all-cas_cas_server_1

- Add *127.0.0.1 cas.example.org* into your host file
- Go to *http://cas.example.org:51515/*  and click Log In

You can use *docker stop* and *docker start* to mimic server each server 
down one by one.

See if the above helps you...

Cheers!
Andy




-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/57c93b39-e8c9-412d-8a8f-b4774e76f438%40apereo.org.

Reply via email to