admin@glassfish.java.net

The different methods of nodes creation

From: Elena Asarina <elena.asarina_at_oracle.com>
Date: Wed, 04 Aug 2010 17:32:13 -0700

All,

I would like to discuss the nodes creations in v3.1. I can count at
least four different types of nodes creations:
1) Preconfigured node localhost on DAS machine.
2) A default node with machine name that was created on remote machine
via create-local-instance.
3) create-node-config
4) create-node-ssh.

The way how nodes were created, affected how instances later can be
created for that node. It means:
1) if a node was created using create-node-config, then only
create-local-instance supposedly can be used (not sure only for first
instance for this node or for all instances for this node);
2) if a node was created on remote machine via create-local-instance,
then according to Joe, for that node the instances always have to be
created using create-local-instance command.

I believe that this picture is very confusing. For example, for node
that was created on remote machine via create-local-instance, how users
can remember that for that particular node instances can be created
only locally.

I believe that this design has to be simplified. My proposals:
1) Do not create a node on remote machine via create-local-instance.
2) Following the general concept, create only two commands create-node
and create-local-node.
3) The way how the node was crested should not affect the way how
instances for that node will be created remotely or locally.


Thank you,

Elena

P.S. I kind of started that discussion opening bugs:

https://glassfish.dev.java.net/issues/show_bug.cgi?id=12846
https://glassfish.dev.java.net/issues/show_bug.cgi?id=12855