O'Reilly logo

WildFly Cookbook by Luigi Fugaro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

  1. $ ./bin/domain.sh -Djboss.domain.base.dir=master.
  2. ./bin/domain.sh -Djboss.domain.base.dir=slave-1 -Djboss.domain.master.address=127.0.0.1.
  3. ./bin/domain.sh -Djboss.domain.base.dir=slave-2 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required