admin@glassfish.java.net

Re: update-node-config changes node type

From: Paul M Davies (Oracle) <"Paul>
Date: Thu, 07 Apr 2011 10:52:48 -0700

Hi,
> Can I have more info? :)
Yes:
<http://download.oracle.com/docs/cd/E18930_01/html/821-2426/gksjd.html>-)

If you don't want the type of the node to change, use the subcommand
that matches the current type of the node:

    * For a CONFIG node, use update-node-config(1)
      <http://download.oracle.com/docs/cd/E18930_01/html/821-2433/update-node-config-1.html#update-node-config-1>
    * For an SSH node, use update-node-ssh(1)
      <http://download.oracle.com/docs/cd/E18930_01/html/821-2433/update-node-ssh-1.html#update-node-ssh-1>

Hope this helps,
-Paul
> 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
>> <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
>>
>>
>


-- 
Oracle <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 Oracle <http://www.oracle.com/commitment> 	Oracle is committed to 
developing practices and products that help protect the environment