John Bailey [
http://community.jboss.org/people/johnbailey] created the discussion
"Re: Steps in building up the domain management architecture"
To view the discussion, visit:
http://community.jboss.org/message/560721#560721
--------------------------------------------------------------
The process I have laid out for booting the domain controller is as follows:
1. Server manager boots and parses the host.xml
2. If the domain controller local config exists it tells the process manager to launch the
DC
3. The DC boots, parses the domain, opens its interface for SM communication
4. The SM waits for the local DC to finish booting and connects to the DC
5. Once connected the SM registers itself with the DC
6. Once the SM is registered the DC passes the latest domain to the SM
7. Once the SM gets the updated domain, it launches the servers
Does this make sense? The question I have is whether to parse the domain in the SM and
pass it to the local DC, or only have the DC parse the domain? I am leaning to the DC
parsing the domain since it is in charge of it. The only issue is there is a little bit
of a delay in the SM starting the servers. This should be a fairly small delay, but it is
a delay. All the other (remote) SM processes will have to wait for the DC anyway, so it
seems better to me to have the local case act as much like the remote case as possible.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/560721#560721]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]