admin@glassfish.java.net

Re: update-node-config changes node type

From: Bobby Bissett <bobby.bissett_at_oracle.com>
Date: Thu, 7 Apr 2011 13:55:53 -0400

Ah, I see now there are two subcommands: update-node-config and update-node-ssh. Ok, that makes more sense.

Sorry 'bout that.

Am curious though, why would someone want to switch an SSH node to CONFIG or vice versa?

On Apr 7, 2011, at 1:46 PM, 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
>
> On Apr 7, 2011, at 1:35 PM, Paul M Davies (Oracle) wrote:
>
>> Yes.
>>
>> 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>
>> 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> Oracle is committed to developing practices and products that help protect the environment
>>
>