[jboss-jira] [JBoss JIRA] (AS7-6754) add blocking option to start/stop/restart commands for server groups
Brad Maxwell (JIRA)
jira-events at lists.jboss.org
Fri Mar 22 12:25:41 EDT 2013
[ https://issues.jboss.org/browse/AS7-6754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brad Maxwell updated AS7-6754:
------------------------------
Description:
In domain mode, it is possible to block when restarting individual servers, this would be a useful enhancement to add the blocking option to the start/stop/restart of server groups. This option would be useful when writing management scripts to know when the servers have complete the operation.
/host=master/server-config=example-server1:restart(blocking=true)
/host=master/server-config=example-server1:stop(blocking=true)
/host=master/server-config=example-server1:start(blocking=true)
domain mode
These would benefit from a blocking option
/:restart-servers
/:stop-servers
/:start-servers
As well as these
/server-group=main-server-group:restart-servers()
/server-group=main-server-group:stop-servers()
/server-group=main-server-group:start-servers()
standalone mode:
In standalone mode, there is shutdown with a restart option, this would also benefit from adding a blocking argument when restarting or shutting down
:shutdown(restart=true)
It looks like :reload() does not have a blocking option either, reload essentially is restarting the server, from a scripting perspective there is not a nice way to call reload then then perform some other commands, currently you have to do a sleep and then try to invoke a command catch an exception and try again later. So :reload(blocking=true) would also be useful.
was:
In domain mode, it is possible to block when restarting individual servers, this would be a useful enhancement to add the blocking option to the start/stop/restart of server groups. This option would be useful when writing management scripts to know when the servers have complete the operation.
/host=master/server-config=example-server1:restart(blocking=true)
/host=master/server-config=example-server1:stop(blocking=true)
/host=master/server-config=example-server1:start(blocking=true)
domain mode
These would benefit from a blocking option
/:restart-servers
/:stop-servers
/:start-servers
As well as these
/server-group=main-server-group:restart-servers()
/server-group=main-server-group:stop-servers()
/server-group=main-server-group:start-servers()
standalone mode:
In standalone mode, there is shutdown with a restart option, this would also benefit from adding a blocking argument when restarting or shutting down
:shutdown(restart=true)
> add blocking option to start/stop/restart commands for server groups
> --------------------------------------------------------------------
>
> Key: AS7-6754
> URL: https://issues.jboss.org/browse/AS7-6754
> Project: Application Server 7
> Issue Type: Enhancement
> Components: Domain Management
> Affects Versions: EAP 6.1.0.Alpha (7.2.0.Final)
> Reporter: Brad Maxwell
> Assignee: Brian Stansberry
> Fix For: Awaiting Volunteers
>
>
> In domain mode, it is possible to block when restarting individual servers, this would be a useful enhancement to add the blocking option to the start/stop/restart of server groups. This option would be useful when writing management scripts to know when the servers have complete the operation.
> /host=master/server-config=example-server1:restart(blocking=true)
> /host=master/server-config=example-server1:stop(blocking=true)
> /host=master/server-config=example-server1:start(blocking=true)
> domain mode
> These would benefit from a blocking option
> /:restart-servers
> /:stop-servers
> /:start-servers
> As well as these
> /server-group=main-server-group:restart-servers()
> /server-group=main-server-group:stop-servers()
> /server-group=main-server-group:start-servers()
> standalone mode:
> In standalone mode, there is shutdown with a restart option, this would also benefit from adding a blocking argument when restarting or shutting down
> :shutdown(restart=true)
> It looks like :reload() does not have a blocking option either, reload essentially is restarting the server, from a scripting perspective there is not a nice way to call reload then then perform some other commands, currently you have to do a sleep and then try to invoke a command catch an exception and try again later. So :reload(blocking=true) would also be useful.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list