users@glassfish.java.net

Re: Glassfish installation help. Nodeagent.

From: <glassfish_at_javadesktop.org>
Date: Tue, 02 Dec 2008 12:45:33 PST

Why do you want to use setup-cluster.xml for this? For GlassFish configuration part of the entire
setup, this ant-build-file is a wrapper over asadmin commands that do the real work. So, my best
suggestion would be to just look into:

- asadmin create-node-agent --user XXX --passwordfile YYY --host ZZZ --port PPP <name>

This assumes that you have installed and configured GlassFish on a given machine, at least once. The ZZZ and PPP refer to the whereabouts of the DAS (domain admin server) to
which this node-agent will be attached.

If you insist on doing it via setup-cluster.xml, you will need to muster courage to refactor it
such that it does what is needed for bin/* config/* files and then gives a call to asadmin
create-node-agent.

Hope that helps.

-Kedar
[Message sent by forum member 'km' (km)]

http://forums.java.net/jive/thread.jspa?messageID=319640