Unable to create new cluster.
I have /opt/rational/buildforge/rafw/user/environments/sandbox7_internal/cells/int-sbox-cell/cluster.properties defined with the following:
CLUSTER_NAME=internal88
NODES=int-sbox-w1
PREFIX=internal88_
PER_NODE=1
WEIGHT=2
As I execute the action to create a new cluster. I got the following.
/opt/rational/buildforge/rafw/bin $ ./rafw.sh -e sandbox7_internal -c int-sbox-cell -u internal88 -t was_common_configure_create_cluster
Rational Automation Framework for WebSphere version 7.1.2.0.1 build 20101117-1227
CRWFW0026I Starting new run with id 11fD
CRWFW0015I Connected to 's0vdcl7p5'
CRWFW0013I Creating list of files already on the target system
Apache Ant version 1.7.0 compiled on December 13 2006
Buildfile: /opt/rafw/user/environments/sandbox7_internal/cells/int-sbox-cell/clusters/internal88/build.xml does not exist!
Build failed
CRWFW0059I Getting File logs/sandbox7_internal/cells/int-sbox-cell/nodes/int-sbox-w1/custom_was_common_configue_restart_node.log
CRWFW0059I Getting File logs/sandbox7_internal/cells/int-sbox-cell/nodes/int-sbox-w1/custom_was_common_configue_restart_node.trace
CRWFW7070I Disconnected from 's0vdcl7p5'
--------
Do I need to create a directory first and copy some build.xml from somewhere?
Please advise..
CLUSTER_NAME=internal88
NODES=int-sbox-w1
PREFIX=internal88_
PER_NODE=1
WEIGHT=2
As I execute the action to create a new cluster. I got the following.
/opt/rational/buildforge/rafw/bin $ ./rafw.sh -e sandbox7_internal -c int-sbox-cell -u internal88 -t was_common_configure_create_cluster
Rational Automation Framework for WebSphere version 7.1.2.0.1 build 20101117-1227
CRWFW0026I Starting new run with id 11fD
CRWFW0015I Connected to 's0vdcl7p5'
CRWFW0013I Creating list of files already on the target system
Apache Ant version 1.7.0 compiled on December 13 2006
Buildfile: /opt/rafw/user/environments/sandbox7_internal/cells/int-sbox-cell/clusters/internal88/build.xml does not exist!
Build failed
CRWFW0059I Getting File logs/sandbox7_internal/cells/int-sbox-cell/nodes/int-sbox-w1/custom_was_common_configue_restart_node.log
CRWFW0059I Getting File logs/sandbox7_internal/cells/int-sbox-cell/nodes/int-sbox-w1/custom_was_common_configue_restart_node.trace
CRWFW7070I Disconnected from 's0vdcl7p5'
--------
Do I need to create a directory first and copy some build.xml from somewhere?
Please advise..
5 answers
It is not working..
/opt/rational/buildforge/rafw/user/environments/TEST/cells/int-sbox-cell/clusters/internal88 $ cat cluster.properties
CLUSTER_NAME=internal88
NODES=int-sbox-w1
PREFIX=internal88_
PER_NODE=1
WEIGHT=2
bfadmin @ s0vdcl6p7:
/opt/rational/buildforge/rafw/user/environments/TEST/cells/int-sbox-cell/clusters/internal88 $
It is still asking for a build.xml file.
Can I just copy that build.xml from some where
/opt/rational/buildforge/rafw/user/environments/TEST/cells/int-sbox-cell/clusters/internal88 $ cat cluster.properties
CLUSTER_NAME=internal88
NODES=int-sbox-w1
PREFIX=internal88_
PER_NODE=1
WEIGHT=2
bfadmin @ s0vdcl6p7:
/opt/rational/buildforge/rafw/user/environments/TEST/cells/int-sbox-cell/clusters/internal88 $
It is still asking for a build.xml file.
Can I just copy that build.xml from some where
Sorry, I'd assumed you had the cluster definition and just had the cluster.properties in the wrong place, but yes, you will need the entire cluster structure and data will need to be there. There are a few ways to do this.
1) Copy from anther cluster def in the same tree
2) Copy from the rafw_home/product/templates/environments/WAS<VER>_TEMPLATE/cells/WAS<VER>_CELL/clusters/WAS<VER>_CLUSTER replacing all the @token@ the wizard normally does.
3) Create a dummy env/cell with a the cluster name you want and copy that cluster directory from the dummy env/cell to the actual env cell.
--tim
1) Copy from anther cluster def in the same tree
2) Copy from the rafw_home/product/templates/environments/WAS<VER>_TEMPLATE/cells/WAS<VER>_CELL/clusters/WAS<VER>_CLUSTER replacing all the @token@ the wizard normally does.
3) Create a dummy env/cell with a the cluster name you want and copy that cluster directory from the dummy env/cell to the actual env cell.
--tim