Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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..

0 votes



5 answers

Permanent link
You will need to create the cluster directory

/opt/rational/buildforge/rafw/user/environments/sandbox7_internal/cells/int-sbox-cell/clusters/internal88 and place your cluster.properties file in that directory.

--tim

0 votes


Permanent link
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

0 votes


Permanent link
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

0 votes


Permanent link
Thanks Tim,

I wish the RAFW can do this as part of the action. I will implement those as part of the custom actions.

0 votes


Permanent link
Agreed, I can't give you any specifics on a public forum, but I can say we have heard this from a handful of users and are working to address the pain point. Thanks for the feedback!

--tim

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 29 '11, 11:23 a.m.

Question was seen: 6,557 times

Last updated: Apr 29 '11, 11:23 a.m.

Confirmation Cancel Confirm