Book Image

Wildfly Cookbook

Book Image

Wildfly Cookbook

Overview of this book

Table of Contents (23 chapters)
WildFly Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

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 -Djboss.domain.master.address=127.0.0.1.

Now that everything is up and running, let's move ahead.

How to do it…

  1. Open your browser and point it to the Admin Console: http://localhost:9990.

  2. Enter the username and password (wildfly and...