admin@glassfish.java.net

update-node-config changes node type

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

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