Book Image

WildFly Configuration, Deployment, and Administration

Book Image

WildFly Configuration, Deployment, and Administration

Overview of this book

Table of Contents (19 chapters)
WildFly Configuration, Deployment, and Administration Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Mod_cluster


Mod_cluster management can be carried out using the following CLI operations:

  • List the connected proxies:

    /subsystem=modcluster:list-proxies
    
  • Show proxies' information:

    /subsystem=modcluster:read-proxies-info
    
  • Add a proxy to the cluster:

    /subsystem=modcluster:add-proxy(host= CP15-022, port=9999)
    
  • Remove a proxy:

    /subsystem=modcluster:remove-proxy(host=CP15-022, port=9999)
    
  • Add a web context:

    /subsystem=modcluster:enable-context(context=/myapp, virtualhost=default-host)
    
  • Disable a web context:

    /subsystem=modcluster:disable-context(context=/myapp, virtualhost=default-host)
    
  • Stop a web context:

    /subsystem=modcluster:stop-context(context=/myapp, virtualhost=default-host, waittime=50)