admin@glassfish.java.net

Re: update-node-config changes node type

From: Ludovic Champenois <ludovic.champenois_at_oracle.com>
Date: Thu, 07 Apr 2011 10:50:01 -0700

On 4/7/11 10:46 AM, Bobby Bissett wrote:
> Can I have more info? :)
>
> It seems like this would break my cluster. For instance, if I just
> changed the installation location of the server, why should the node
> type change?
>
> Thanks,
> Bobby
I would agree with Bobb there...Changing the node type as a side effect
of a nodehost name is not what I would expect.

Ludo
>
> On Apr 7, 2011, at 1:35 PM, Paul M Davies (Oracle) wrote:
>
>> Yes
>> <http://download.oracle.com/docs/cd/E18930_01/html/821-2426/gksjd.html#gkski>.
>>
>> On 04/07/11 10:31, Bobby Bissett wrote:
>>> Hi all,
>>>
>>> Is is normal that update-node-config changes the node type from SSH to config?
>>>
>>> hostname% grep adc ../domains/domain1/config/domain.xml
>>> <node node-host="adc6140797" name="node1" type="SSH" install-dir="/usr/local/bobby/glassfish3">
>>> <node node-host="adc2171212" name="node2" type="SSH" install-dir="/usr/local/bobby/glassfish3">
>>>
>>> hostname% ./asadmin update-node-config --nodehost adc2171212x node2
>>> Command update-node-config executed successfully.
>>>
>>> hostname% grep adc ../domains/domain1/config/domain.xml
>>> <node node-host="adc6140797" name="node1" type="SSH" install-dir="/usr/local/bobby/glassfish3">
>>> <node node-host="adc2171212x" name="node2" type="CONFIG" install-dir="/usr/local/bobby/glassfish3">
>>>
>>> I'm trying to understand how this fits into a cluster upgrade and the SSH->CONFIG part confuses me.
>>>
>>> Thanks,
>>> Bobby
>>>
>>>
>>
>>
>> --
>>
>>
>>
>> <oracle_sig_logo.gif> <http://www.oracle.com/>
>> Paul Davies| Principal Technical Writer| +1.408.276.3413
>> Oracle GlassFish Server Documentation
>> 4140 Network Circle, Santa Clara CA 95054, USA
>>
>> <green-for-email-sig_0.gif> <http://www.oracle.com/commitment>
>> Oracle is committed to developing practices and products that help
>> protect the environment
>>
>>
>