It's all about the answers!

Ask a question

Create WAS ND envrionment w/ rafwEnvBuild.sh in Batch Mode


RODNEY CEPHAS (111) | asked Jul 08 '11, 9:57 a.m.
I am trying to generate a new BuildForge envrionment that creates a Deployment Manager profile and 2 managed WAS profiles in the process. All of the profiles need to be created on separate servers (Dmgr=xtsbfws0.ts.bcbssc.com, profile1=xtsbfws1.ts.bcbssc.com, profile2=xtsbfws2.ts.bcbssc.com). The profile name for the two managed profiles should both be be Custom01.

Below are the properties that I'm passing into the rafwEnvBuild.sh script. For some reason, the rafwEnvBuild.sh script thinks that I'm trying to deploy a STANDALONE (Base) enviornment. It throws an error that implies that a "BASE_NODE_NAME" must also be defined in the properties file. The exact error is listed in this post below the properties section.


Does anybody know how to generate a new Network Deployment WAS envirmonment with separate Dmgr and WAS servers using the rafwEnvBuild.sh in batch mode?



================================================================
This is the command I run:
================================================================
/opt/buildforge/rafw/bin/rafwEnvBuild.sh -b /opt/buildforge/rafw/work/xtsbfws0.properties



================================================================
This is the contents of xtsbfws0.properties
================================================================


IS_BASE=no
CELL_NAME=a70zxtsbfws0Cell01
ND_CELL_NAME=a70zxtsbfws0Cell01
CELL_TYPE=WAS
ND_HOST_NAME=xtsbfws0.ts.bcbssc.com
ND_NODE_NAME=a70zxtsbfws0CellManager01
ND_OS=Non-ZOS
ND_PROFILE_NAME=Dmgr01
ND_SOAP_PORT=8879
ND_STARTING_POINT=
ND_WAS_HOME=/opt/IBM/WebSphere/AppServer70
ND_WAS_PROF_HOME=/opt/wasprofiles/Dmgr01
PRIMARY_NODE=
PRODUCT_VERSION=WAS70
SSH_PORT=
TPL_HOME=product
USING_DB2=no
WAS_VERSION=70
OS_GROUP=wsfsaq
OS_PASSWORD=CLEAR_TEXT_PASSWORD
OS_USER=MY_OS_USER
WAS_PASSWORD=CLEAR_TEXT_PASSWORD
WAS_USERNAME=MY_WAS_USERNAME
ENABLE_SECURITY_AT_CREATION=false
ENVIRONMENT=xtsbfws0
ENVIRONMENT_CREATION_DATE=Fri Jul 01 11:32:30 EDT 2011
ENVIRONMENT_CREATION_USER=MY_WAS_USERNAME
IHS_VERSION=70
INSTALL_IHS=no
INSTALL_STATE=new
NODE1_BASE_STARTING_POINT=
NODE1_HOST_NAME=xtsbfws1.ts.bcbssc.com
NODE1_NODEAGENT_STARTING_POINT=
NODE1_NODE_NAME=a70zxtsbfws1Node01
NODE1_NODE_TYPE=WAS
NODE1_OS=Non-ZOS
NODE1_PROFILE_NAME=Custom01
NODE1_WAS_HOME=/opt/IBM/WebSphere/AppServer70
NODE1_WAS_PROF_HOME=/opt/wasprofiles/Custom01
NODE2_BASE_STARTING_POINT=
NODE2_HOST_NAME=xtsbfws2.ts.bcbssc.com
NODE2_NODEAGENT_STARTING_POINT=
NODE2_NODE_NAME=a70zxtsbfws2Node01
NODE2_NODE_TYPE=WAS
NODE2_OS=Non-ZOS
NODE2_PROFILE_NAME=Custom01
NODE2_WAS_HOME=/opt/IBM/WebSphere/AppServer70
NODE2_WAS_PROF_HOME=/opt/wasprofiles/Custom01
NUMBER_OF_NODES=2
NODES=a70zxtsbfws1Node01,a70zxtsbfws2Node01
CLUSTER1=cluster1
CLUSTER1_CLUSTER_NAME=cluster1
CLUSTER1_CLUSTER_NODES=a70zxtsbfws1Node01,a70zxtsbfws2Node01
CLUSTER1_CLUSTER_TYPE=WAS
CLUSTER1_PERNODE=2
CLUSTER1_PREFIX=server
CLUSTER1_TRANSPORT_NODE_INCREMENTOR=
CLUSTER1_TRANSPORT_STARTING_POINT=
NUMBER_OF_CLUSTERS=1
CLUSTERS=cluster1
NODE1_SERVERS_ON_NODE=server1,server3
NODE2_SERVERS_ON_NODE=server2,server4


================================================================
This is the error I get:
================================================================


INFO /opt/buildforge/rafw/bin/rafwEnvBuild.sh -b /opt/buildforge/rafw/work//xtsbfws0.properties
INFO CRWFW0026I Starting new run with id 11jR
INFO Rational Automation Framework for WebSphere version 7.1.2 build 20101014-1857
INFO Using an environment template at:
INFO /opt/buildforge/rafw/product/templates/environments/WAS70_TEMPLATE/cells/WAS70_CELL
INFO key DB2_CLIENT_HOME not found, adding with default value
INFO Generating the cell /opt/buildforge/rafw/user/environments/xtsbfws0/cells/a70zxtsbfws0Cell01
INFO Creating Cluster: /opt/buildforge/rafw/user/environments/xtsbfws0/cells/a70zxtsbfws0Cell01/clusters/cluster1
INFO Creating Node: /opt/buildforge/rafw/user/environments/xtsbfws0/cells/a70zxtsbfws0Cell01/nodes/a70zxtsbfws1Node01
INFO Creating Server: /opt/buildforge/rafw/user/environments/xtsbfws0/cells/a70zxtsbfws0Cell01/nodes/a70zxtsbfws1Node01/servers/server1
INFO Creating Server: /opt/buildforge/rafw/user/environments/xtsbfws0/cells/a70zxtsbfws0Cell01/nodes/a70zxtsbfws1Node01/servers/server3
INFO Creating Node: /opt/buildforge/rafw/user/environments/xtsbfws0/cells/a70zxtsbfws0Cell01/nodes/a70zxtsbfws2Node01
INFO Creating Server: /opt/buildforge/rafw/user/environments/xtsbfws0/cells/a70zxtsbfws0Cell01/nodes/a70zxtsbfws2Node01/servers/server2
INFO Creating Server: /opt/buildforge/rafw/user/environments/xtsbfws0/cells/a70zxtsbfws0Cell01/nodes/a70zxtsbfws2Node01/servers/server4
INFO BUILD FAILED:exceptions.KeyError
INFO Details:BASE_NODE_NAME
INFO
ERROR FATAL ERROR: BuildForge::Ex::APIException: API: Authentication Error.
ERROR
ERROR FATAL ERROR: BuildForge::Ex::APIException: API: Access denied.
ERROR
ERROR FATAL ERROR: BuildForge::Ex::APIException: API: Access denied.
ERROR
ERROR FATAL ERROR: BuildForge::Ex::APIException: API: Access denied.
ERROR
ERROR FATAL ERROR: BuildForge::Ex::APIException: API: Access denied.
ERROR
ERROR FATAL ERROR: BuildForge::Ex::APIException: API: Access denied.
ERROR
ERROR FATAL ERROR: BuildForge::Ex::APIException: API: Access denied.
ERROR
ERROR FATAL ERROR: BuildForge::Ex::APIException: API: Access denied.
ERROR
ERROR FATAL ERROR: BuildForge::Ex::APIException: API: Access denied.
ERROR
ERROR FATAL ERROR: BuildForge::Ex::APIException: API: Access denied.
ERROR
ERROR FATAL ERROR: BuildForge::Ex::APIException: API: Access denied.
ERROR
ERROR FATAL ERROR: BuildForge::Ex::APIException: API: Access denied.

2 answers



permanent link
Sherard Howe (56) | answered Jul 08 '11, 2:47 p.m.
Please open a PMR as this question/issue is better handled in a PMR. A PMR can be opened using the SR tool, sending an email to sw_support@us.ibm.com or calling 1.800.IBM.SERV

permanent link
Timothy Robertson (216143) | answered Jul 18 '11, 10:32 a.m.
It looks like the the BF session got killed, this is usually caused by attempting to logon to the BF web ui using the same user that RAFW is using to create resources in BF. The user name is defined for RAFW in rafw_home/buildforge.properties

--tim

Your answer


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