Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-16383

JBoss EAP in suspend mode + modcluster

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • mod_cluster
    • None
    • Hide

      1. Disable advertise from mod_cluster:

      <subsystem xmlns="urn:jboss:domain:modcluster:5.0">
      	<proxy name="default" advertise="false" advertise-socket="modcluster" listener="ajp" proxies="proxy1">
      

      2. Use the CLI commands to suspend or start a instance/server group in suspend mode. The requests return 503 instead of 404.

      starting in suspend mode

      /server-group=<server-group>:start-servers(start-mode=suspend)
      /server-group=<server-group>:restart-servers(start-mode=suspend)
      /host=<host>/server-config=<instance>:start(start-mode=suspend)
      /host=<host>/server-config=<instance>:restart(start-mode=suspend)
      /host=<host>/server=<instance>:start(start-mode=suspend)
      /host=<host>/server=<instance>:restart(start-mode=suspend)
      /host=<>
      

      suspending servers

      /server-group=<server-group>:suspend-servers
      /host=<host>/server-config=<instance>:suspend
      /host=<host>/server=<instance>:suspend
      
      Show
      1. Disable advertise from mod_cluster: <subsystem xmlns= "urn:jboss:domain:modcluster:5.0" > <proxy name= " default " advertise= " false " advertise-socket= "modcluster" listener= "ajp" proxies= "proxy1" > 2. Use the CLI commands to suspend or start a instance/server group in suspend mode. The requests return 503 instead of 404. starting in suspend mode /server-group=<server-group>:start-servers(start-mode=suspend) /server-group=<server-group>:restart-servers(start-mode=suspend) /host=<host>/server-config=<instance>:start(start-mode=suspend) /host=<host>/server-config=<instance>:restart(start-mode=suspend) /host=<host>/server=<instance>:start(start-mode=suspend) /host=<host>/server=<instance>:restart(start-mode=suspend) /host=<> suspending servers /server-group=<server-group>:suspend-servers /host=<host>/server-config=<instance>:suspend /host=<host>/server=<instance>:suspend
    • ---
    • ---

      • Starting/restarting JBoss in suspend mode as fixed in EAPSUP-199 is enabling the contexts to mod_cluster if advertise is disabled.
      • Suspending a running JBoss instance is not disabling the application contexts from mod_cluster. It was working before with JBEAP-18610. (it is reproduced with advertise enabled).

            thofman Tomas Hofman
            thofman Tomas Hofman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: