[
https://issues.jboss.org/browse/AS7-6754?page=com.atlassian.jira.plugin.s...
]
Emanuel Muckenhuber resolved AS7-6754.
--------------------------------------
Fix Version/s: 8.0.0.Alpha1
(was: Awaiting Volunteers)
Resolution: Done
The basic functionality is there. As a future improvement we should make this work with
domain rollout plans, however that requires some substantial changes.
add blocking option to start/stop/restart/reload 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: Emanuel Muckenhuber
Fix For: 8.0.0.Alpha1
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