I can see from my network tools that nothing is listening on port 9999 on my "master" machine. Is there something switch that turns that on in WildFly?
On Wednesday, June 23, 2021 at 1:18:11 PM UTC-5 Eric Hodges wrote:
One more problem I ran into with that walkthrough:In the section that configures the "security-realm" on the "slave", there's this reference to a key store:<keystore path="server.keystore" relative-to="jboss.domain.config.dir" keystore-password="jbossas" alias="jboss" key-password="jbossas"/>but my WildFly doesn't have that keystore, and there are no instructions in the walkthrough for creating it.
On Wednesday, June 23, 2021 at 1:06:46 PM UTC-5 Eric Hodges wrote:
I have successfully configured a WildFly 22 domain controller, three servers and three server groups. They are all running on the same machine right now. I need to move one of the servers to another machine.I found this document, which looks promising:
When I follow those instructions, I get to the "Dry Run" section and my "slave" fails to connect to my "master". Such loaded terms.The instructions for configuring the slave's host.xml's domain-controller are confusing. They show two different ways to configure it:<domain-controller><remote protocol="remote" host="10.211.55.7" port="9999" /></domain-controller>and<domain-controller><remote security-realm="ManagementRealm" ><discovery-options><static-discovery name="master-native" protocol="remote" host="10.211.55.7" port="9999" /><static-discovery name="master-https" protocol="https-remoting" host="10.211.55.7" port="9993" security-realm="ManagementRealm"/><static-discovery name="master-http" protocol="http-remoting" host="10.211.55.7" port="9990" /></discovery-options></remote></domain-controller>The 2nd way fails to execute because the attribute "security-realm" isn't allowed on the "static-discovery" element.Any tips about diagnosing why my "slave" can't connect to my "master"? I can ping the "master"'s IP address from the "slave". I have firewalls disabled.Is there another document that I should be looking at?
--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/9962ac92-05fc-4f19-8a9b-a47b0bc470d0n%40googlegroups.com.
Thanks, Ken.
I thought that might be the case.My primary's management interface is on 9990.When I try port 9990 on the secondary's domain-controller's remote element, I get a connection timeout exception:[Host Controller] 15:36:21,566 WARN [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0001: Could not connect to remote domain controller remote://###.###.###.###:9990: java.net.ConnectException: WFLYPRT0023: Could not connect to remote://###.###.###.###:9990. The connection timed outThe secondary tries that several times, then gives up like this:[Host Controller] 15:36:52,149 WARN [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0147: No domain controller discovery options remain.[Host Controller] 15:36:52,149 ERROR [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0002: Could not connect to master. Error was: java.lang.IllegalStateException: WFLYHC0120: Tried all domain controller discovery option(s) but unable to connect[Host Controller] 15:36:52,149 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0178: Aborting with exit code 99I don't see anything in the primary's log when the secondary is trying to connect.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/f74da37e-45cf-4452-a225-967daa440bc4n%40googlegroups.com.
Thank you!(1) This is on Windows, but I can use Get-NetTCPConnection to see that 9990 is bound to an external IP address (the same one I can ping from the secondary server).(2) This fails, but I don't understand the command. Shouldn't the --controller address be the primary's IP?
When I use the primary's IP, I get prompted for a user name and password.$ ./jboss-cli.sh -c --controller=###.###.###.###:9990
Authenticating against security realm: ManagementRealm
Username: