Hi,
I’m trying to configure a DAS programmatically so that new nodes can add themselves to a cluster.
I can create a new node agent + server from the DomainConfig object via the following:
DomainRoot root = getDomainRoot();
DomainConfig config = root.getDomainConfig();
config.createConfigConfig(nodeName+"-config", new HashMap<String, String>());
StandaloneServerConfig ssConfig = config.createStandaloneServerConfig(nodeName, nodeName+"-agent", nodeName+"-config", sConfig.getProperties());
However how are you able to start the new node agent? It seems like starting a server instance associated with the agent needs to have the agent already running.
Many thanks in advance!
s
[Message sent by forum member 'smoss']
http://forums.java.net/jive/thread.jspa?messageID=394643