mardi 14 février 2012

Websphere Application Server v7 - rename node

Firstly,
cd into /opt/IBM/wasnd/profiles/instancename/bin
./renameNode.sh [dmgr] [SOAP port] [new name]

For obscure reasons, I had errors restarting the node agent...So my fix was to checks the logs and I found that I must copy manually file "node-metadata.properties" from dmgr profile to remote node , in instance profile.

for example:
1) machine A
/opt/IBM/websphere/AppServer/V7R0/wasnd/profiles/Dmgr01/config/cells/company_cell/nodes/wcsmachineB_node/node-metadata.properties

to

2) machine B
/opt/IBM/websphere/AppServer/V7R0/wasnd/profiles/wcsb2cprd/config/cells/company_cell/nodes/wcsmachineB_node

(in red, it is personalized folders)