Deploying and undeploying an application to a specific server group via the CLI

In this recipe, we will learn how to deploy and undeploy an application using the CLI, and assign it to a specific server group. This recipe follows pretty much the same operation as executed in the previous recipe, but is specific to the CLI.

Getting ready

For this recipe, both the domain controller and host controllers should be up and running. For their configuration, please refer to the recipe Connecting the host controller to the domain controller in this chapter.

In this and the following recipe, we will need an application to test our configuration. For this recipe, we require the application named example which you can find in my GitHub repository. If you skipped ...

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.