Ok I made some changes…. Figuring I was thinking about how this wrong. I moved mgmt.versionControl.servicesRepo to a shared NFS mount on both nodes.
I have hazelcast for service replication configured And the cas services are located in /etc/cas/config/services cas.serviceRegistry.json.location=file:/etc/cas/config/services anything that is added, removed or updated in /etc/cas/config/services on N1 gets updated on N2 and vice versa. (Hazelcast is working just fine.. I noticed odd behavior once… I had deleted a file I’d just created and it was not deleted on the other host.. five mintues later the file was recreated on the host I deleted it from) The cas-management application only will add a new entry in /etc/cas/config when you click publish. It will not update or delete in the /etc/cas/config directory. I’ve verified permissions and SELinux. If it’s something on my end let me know. If not I’ll wait for cas-mgmt RC5 ☺ Best, Erik Mallory Server Analyst Wichita State University From: "'Mallory, Erik' via CAS Community" <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Thursday, August 1, 2019 at 12:35 PM To: "[email protected]" <[email protected]> Subject: [cas-user] CAS Management 6.1 RC4 Hazelcast and services-repo Hello, I’ve tried a few different configurations with the new services-repo and hazelcast. I have two nodes N1 and N2 both have been configured in two ways: The first way: for both nodes mgmt.versionControl.servicesRepo=/etc/cas/services-repo cas.serviceRegistry.json.location=file:/etc/cas/config/services The management web interface deletes the service from /etc/cas/services-repo and does not remove it from /etc/cas/config/services/ and hazelcast will not propagate the changes. Edits and Adds work, just not deletes. The second way: for both nodes mgmt.versionControl.servicesRepo=/etc/cas/services-repo cas.serviceRegistry.json.location=file:/etc/cas/services-repo then Edits,Adds and DELETES work properly. However, if I am on N1 and I commit and publish changes the versionControl on N2 dutifully picks up the changes. So when I am on N2 in the management interface I have to commit and publish the changes. Please tell me If I’m missing a setting somewhere… Thanks, Erik Mallory Server Analyst Wichita State University -- - Website: https://apereo.github.io/cas<http://linkscanner3.wichita.edu:32224/?dmVyPTEuMDAxJiY1NmNkOTZkY2Y4ZGYzZjQ5Zj01RDQzMjM1MV84OTE5N18yMDE2MF8xJiYxODkzYzA0M2NiZTNiNGQ9MTIyMyYmdXJsPWh0dHBzJTNBJTJGJTJGYXBlcmVvJTJFZ2l0aHViJTJFaW8lMkZjYXM=> - Gitter Chatroom: https://gitter.im/apereo/cas<http://linkscanner3.wichita.edu:32224/?dmVyPTEuMDAxJiY0N2NiOTZjMWY4ZDEzYjEyZj01RDQzMjM1MV84OTE5N18yMDE2MF8xJiY4OGMzYjU4MzBiZTNiNGQ9MTIyMyYmdXJsPWh0dHBzJTNBJTJGJTJGZ2l0dGVyJTJFaW0lMkZhcGVyZW8lMkZjYXM=> - List Guidelines: https://goo.gl/1VRrw7<http://linkscanner3.wichita.edu:32224/?dmVyPTEuMDAxJiY1YmNiODdjM2E1ODI3OTEyZj01RDQzMjM1MV84OTE5N18yMDE2MF8xJiZlOTMzMTA0MzJiZDNiMWY9MTIyMyYmdXJsPWh0dHBzJTNBJTJGJTJGZ29vJTJFZ2wlMkYxVlJydzc=> - Contributions: https://goo.gl/mh7qDG<http://linkscanner3.wichita.edu:32224/?dmVyPTEuMDAxJiY1YmNiODdjM2E1ODI3OTEyZj01RDQzMjM1MV84OTE5N18yMDE2MF8xJiZlOTMzMTA0MzJiZDNiNDM9MTIyMyYmdXJsPWh0dHBzJTNBJTJGJTJGZ29vJTJFZ2wlMkZtaDdxREc=> --- 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 [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/47BC6362-BAE6-4472-A759-621231A6BAB2%40wichita.edu<http://linkscanner3.wichita.edu:32224/?dmVyPTEuMDAxJiY1Y2NhODNjMGY4ZGYzOTUyZj01RDQzMjM1MV84OTE5N18yMDE2MF8xJiZlOTAzYjA0MzZiZTc5MDE9MTIyMyYmdXJsPWh0dHBzJTNBJTJGJTJGZ3JvdXBzJTJFZ29vZ2xlJTJFY29tJTJGYSUyRmFwZXJlbyUyRW9yZyUyRmQlMkZtc2dpZCUyRmNhcy11c2VyJTJGNDdCQzYzNjItQkFFNi00NDcyLUE3NTktNjIxMjMxQTZCQUIyJTI1NDB3aWNoaXRhJTJFZWR1JTNGdXRtJTVGbWVkaXVtJTNEZW1haWwlMjZ1dG0lNUZzb3VyY2UlM0Rmb290ZXI=>. -- - 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/20F5B1AB-A9F1-4301-B862-D8FD1654D6F3%40wichita.edu.
