admin@glassfish.java.net

Re: where is node-agent-ref set?

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Fri, 04 Jun 2010 13:28:25 -0700

On 6/4/2010 1:05 PM, Carla Mott wrote:
>
> Hi,
>
> I see that when I create an instance the server element associate with
> that instance has a node-ref-agent attribute. I need to add a
> node-ref attribute which points to the appropriate node element in
> domain.xml. That node element has information about ssh if it has
> been setup and which is info I need. I see that node-agent-ref is my
> current host if I don't specify anything when I create the instance.
> We were thinking that if no node ref was specified then we would
> assume that there is no ssh info and the command would be run
> locally. Is that going to be a problem?
Yes that will be a problem. See ListInstancesCommand. DAS needs to
know where the instance is running.
> If so we would required that a node element is created as part of the
> create-instance command that has the localhost info and the instance
> points to that node.
>
> Thanks,
> Carla
>

-- 
Byron Nevins  -  Oracle Corporation
Home: 650-359-1290
Cell: 650-784-4123
Sierra: 209-295-2188