[jboss-jira] [JBoss JIRA] (WFCORE-1531) The HC shutdown operation should accept a restart-servers param like reload does

Brian Stansberry (JIRA) issues at jboss.org
Fri Mar 10 13:40:00 EST 2017


     [ https://issues.jboss.org/browse/WFCORE-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFCORE-1531:
-------------------------------------
    Labels: domain-mode  (was: )


> The HC shutdown operation should accept a restart-servers param like reload does
> --------------------------------------------------------------------------------
>
>                 Key: WFCORE-1531
>                 URL: https://issues.jboss.org/browse/WFCORE-1531
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: CLI, Domain Management
>            Reporter: Brian Stansberry
>              Labels: domain-mode
>
> If a user uses a management op to restart the HC, e.g. one of these:
> {code}          
> [domain at localhost:9990 /] /host=master:shutdown(restart=true) 
> {"outcome" => "success"} 
> [domain at localhost:9990 /] shutdown --host=master --restart=true
> {code}
> then they should also be able to configure restart-servers=false so the servers remain alive and reconnect to the HC when the PC spawns a new one.
> Doing "kill -9 <hc_pid>" works fine, with the PC spawning a new HC and the servers reconnecting, so it seems the main thing here is adding the parameter and wiring in the mechanicsm such that the ServerInventory doesn't stop the servers. Perhaps the same thing can be done as HostProcessReloadHandler does, using HostRunningModeControl.setRestartMode().



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list