-
Bug
-
Resolution: Done
-
Blocker
-
7.1.1.Final
-
None
This command from the CLI results in shutdown of the DC (note there is no registered host named "bogus"):
$ ./jboss-cli.sh -c
[domain@localhost:9999 /] /host=bogus:shutdown
To maintain history, following is the original JIRA description, but the --cached-dc stuff below is not really relevant. Starting the slave with --cached-dc just meant it didn't register with the DC the CLI is connecting to at $DOMAIN_CONTROLLER_HOST:$DOMAIN_CONTROLLER_PORT, so the effect is the same as my host=bogus example above.
NOTE: this is related to AS7-4281 (see https://issues.jboss.org/browse/AS7-4281?focusedCommentId=12682058&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12682058 )
when a slave host is started with -cached-dc option, executing "jboss-cli.sh -c command=/host=$SLAVE_HOSTNAME:shutdown --controller=$DOMAIN_CONTROLLER_HOST:$DOMAIN_CONTROLLER_PORT --user=$HOSTNAME --password=$PASSWORD" will stop the Domain Controller instead stopping slave host. If I execute the same command without using --cached-dc option when starting slave host, it will shutdown the slave host as I expected. I am not really sure about what should do this command (stopping DC or slave -I think it should stop slave host) but it's kind of weird the behaviour depending on the --cached-dc option.
- is related to
-
WFCORE-317 Failed to start server when -backup -cached-dc are used together
- Resolved
-
WFCORE-316 Slave host does not register to DC when starting with --cached-dc and DC is available
- Resolved