users@glassfish.java.net

Re: How does DAS findout that we create a node agent a machine?

From: Legolas Woodland <legolas.w_at_gmail.com>
Date: Wed, 18 Jun 2008 23:18:18 +0430

Hi, Thank you for the answer.

Please correct me about the following statement:

Usually all asadmin commands take a host and port parameters, but they are
the address of the application server which we like that the command affect
them. for example if i execute

"create-jdbc-connection-pool --host 192.65.36.69 --port 8989 ...."then it
will create the connection pool on the server which is running on the remote
computer, but now on my local host glassfish server, Am I correct about the
statement?

It is different for the create-node-agent command, because --port and --host
point to the DAS address instead of the address of the application server
which we want to create a node agent for it. <== Is it correct?

"generally we have two tyes of asadmin commands, remote commands and local
commands." If it is correct, what commands are remote and what commands are
local?

Thank you.


On 6/16/08, Sankar Neelakandan <Sankar.Neelakandan_at_sun.com> wrote:
>
> Hi Legolas,
> When you create nodeagent you mention --host and --port parameters to
> the asadmin command which will be used to communicate to DAS.
>
> asadmin create-node-agent --host ipaddress_or_hostname --port
> das_port_number node_agent_name
>
> -Sankar
>
> Legolas Woodland wrote:
>
> Hi Wolfram,
>
> Can you please tell me how does NA understand the IP address of the DAS?
>
> Should we tell it the DAS address beforehead?
>
> Thanks
>
> On 6/16/08, Wolfram Rittmeyer <w.rittmeyer_at_jsptutorial.org> wrote:
>>
>> Hi Legolas,
>>
>> actually it is the node agent who notifies the DAS of its creation. If the
>> DAS is down at the time of creation the NA retries periodically until the
>> intial contact has taken place.
>>
>>
>> --
>> Wolfram Rittmeyer
>>
>>
>> Legolas wood wrote:
>>
>>> Hi
>>> Thank you for reading my post.
>>> Can someone please explain how does DAS find out that we create a
>>> node-agent in one of our computers in the network?
>>> should we introduce the node agent to the DAS or there are some
>>> discovery mechanism in place?
>>>
>>> Thanks
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>