Created
June 8, 2016 06:47
-
-
Save stuartwdouglas/5e157cffa18676df28691c6088ce2b25 to your computer and use it in GitHub Desktop.
Commands to get mod_cluster running
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:stop-servers | |
/server-group=lb:add(profile=load-balancer, socket-binding-group=load-balancer-sockets) | |
/host=master/server-config=la:add(group=lb) | |
/server-group=ha:add(profile=ha, socket-binding-group=ha-sockets) | |
/host=master/server-config=s1:add(group=ha, socket-binding-port-offset=100) | |
deploy ~/workspace/modcluster-example/load-balancing-demo/target/clustering-demo.war --server-groups=ha | |
/server-group=ha:start-servers | |
/server-group=lb:start-servers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment