Stopping and starting server groups via the Web Console
In this recipe, we will learn how to stop and start an entire server group using the Web Console. Since a server can belong to more than one server group, you might want to stop or start all servers at once, and thus stop or start the server group.
Getting ready
To be able to follow this recipe, we need to have completed the previous one. Thus, before we can begin, we need to start the master server and the slaves slave-1
and slave-2
. In three different terminals, navigate to the $WILDFLY_HOME
, and run the following commands:
$ ./bin/domain.sh -Djboss.domain.base.dir=master
../bin/domain.sh -Djboss.domain.base.dir=slave-1 -Djboss.domain.master.address=127.0.0.1
../bin/domain.sh -Djboss.domain.base.dir=slave-2 ...
Get WildFly Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.