Communities Content - Using BSA to provision Weblogicx

interestsauceInternet και Εφαρμογές Web

31 Οκτ 2013 (πριν από 3 χρόνια και 7 μήνες)

227 εμφανίσεις

Environment Introduction

The cl i ent
has an exi sti ng BSA framework for managi ng J2EE mi ddl eware envi ronments. That envi ronment has no
support for
Oracl e Webl ogi c i nstances
.

The
Objective

The sol uti on must provi de a framework for provi si oning and managi ng al l
Webl ogi c

i nstances wi th a secured
access control l ed envi ronment.
Functi onal i ty shoul d i ncl ude bi nary depl oyment and i nstal l, i nstance creati on,
i nstance confi gurati on capabi
lities
, compl i ance testi ng for standardi zati on and condi ti onal change as wel l as

change tracki ng.

Design Summary

BAA al l ows for the di stri buti on of the BMA engi ne wi thi n a Confi gurati on Object. The desi gn ensured that
Webl ogi c coul d be provi si oned to mul t
i pl e targets wi th the Admi ni strati on Node created fi rst fol l owed by member
nodes wi thi n the si ngl e domai n. The ARA_WL_PROPERTIES i nstance shoul d be created based on the appl i cation
name managed by the new domai n.

Scripts

Pl ease note the fol l owi ng scri pts were tested and functi onal but
were not used on a producti on envi ronment.

Script to
Commission a new
Weblogic

environment



Takes a popul ated properti es fi l e as i nput



Creates al l requi red workspace



Creates the ARA_WL_PROPER
TIES i nstance based on appl i cati on name



Creates an NSH Scri pt job to provi si on the envi ronment


#!/bin/nsh


#######################################################################

#Script to commission a new Weblogic environment.

#

#Scott Dunbar 08/05/12

#Version 1.0

#######################################################################

#set
-
eE

#set
-
x


#blcli_setoption serviceProfileName DEV

#blcli_setoption roleName
APPAdmins

#blcli_connect


fatal() {


echo

"$*"


exit 1

}


debug() {


echo

"DEBUG

:

$
*"

}


#########


TMP_FILE
=
"/tmp/instanceCommission.$$"


#Check if props file exits


PROPS_FILE
=
$1


if

[ !
-
f
"${PROPS_FILE}"

] ;
then


fatal
"Props

file

(${PROPS_FILE})

does

not

exist"

else


source ${PROPS_FILE}


if

[ $?
-
ne 0 ];
then


fatal
"Can

not

find

the

specified

properties

file"


fi


debug
"Props

file

(${PROPS_FILE})

exists"

fi


# Check all required variables set

if

[
-
z
"$_ApplicationName"

] ;
then


fatal Missing required parameter _ApplicationName

fi


if

[
-
z
"$_Environment"

] ;
then


fatal Missing required parameter _Environment

fi


if

[
-
z
"$_WeblogicRoot"

] ;
then


fatal Missing required parameter _WeblogicRoot

fi


if

[
-
z
"$_JavaHome"

] ;
then


fatal Missing required parameter _JavaHome

fi


if

[
-
z
"$_WeblogicVersion"

] ;
then


fatal Missing required parameter _WeblogicVersion

fi


if

[
-
z
"$_ApplicationVersion"

] ;
then


fatal Missing required parameter _ApplicationVersion

fi


if

[
-
z
"$_AdminServerHost"

] ;
then


fatal Missing required parameter _AdminServerHost

fi


if

[
-
z
"$_AdminServerBasePort"

] ;
then


fatal Missing required parameter _AdminServerBasePort

fi


if

[
-
z
"$_RTBGroup"

] ;
then


fatal Missing required parameter _RTBGroup

fi


if

[
-
z
"$_BTBGroup"

] ;
then


fatal Missing required parameter _BTBGroup

fi


if

[
-
z
"$_DomainUser"

] ;
then


fatal Missing required parameter _BwebUser

fi


_Environment
=
`echo $_Environment | tr '[:upper:]' '[:lower:]'`



#######################################################################

# Set some expected paramerters

#######################################################################

#HOSTNAME=$1

#HOSTNAME=`print $HOSTNAME|tr '[ ]' '[]'`

#echo "The target is [${HOSTNAME}]"



NshScriptPath
=
"/Weblogic/Common"

NshScriptName
=
"WeblogicInstanceProvision"

#NshScriptName2=
"JBossInstanceStartStopThreads"

#NshScriptName3="JBossInstanceChangeSystem.sh"

BlPackageName1
=
"Weblogic_bwag.properties_File"

#BlPackageName2="StartStopThreads"

JobPath
=
"/Weblogic/ApplicationManagement"

DepotPath
=
"/Weblogic/ApplicationManagement"

CommonDep
otPath
=
"/Weblogic/Common"

DeployJobName
=
"Deploy_bwag.properties_${_ApplicationName}_${_Environment}"


DevComponentGroup
=
"/Weblogic/Application/Development"

UatComponentGroup
=
"/Weblogic/Application/UAT"

ProdComponentGroup
=
"/Weblogic/Application/Production"


ProdDeploymentGroup
=
"/Production/Application

Deployment"

DevDeploymentGroup
=
"/Development/Application

Deployment"

UatDeploymentGroup
=
"/UAT/Application

Deployment"



check_already_exists()

{


blcli_execute NSHScriptJob isJobExistsByGroupAndName
"
$JobPath
/${_ApplicationName}"

"Create_ApplicationEnv_${_ApplicationName}_${_Environment}"

2>&1 >/dev/null

if

[ $?
-
eq 0 ] ;
then


debug
"blcli

check

for

$JobPath
/${_ApplicationName}

Create_ApplicationEnv_${_ApplicationName}_${_Environment}

succeeded"


blcli_st
oreenv CHECK_RESULT


if

[
"x
$CHECK
_RESULT"

=
"xtrue"

] ;
then


fatal
"The

application

already

exists.

Exiting"


fi


debug
"blcli

check

for

$JobPath
/${_ApplicationName}

Create_ApplicationEnv_${_ApplicationName}_${_Environment}

succeeded

but

was

false"

fi


}



#########

#Create the Job workspace

#########

create_workspace ()

{

JOB_GROUP
=
"
$JobPath
/${_ApplicationName}"

blcli_execute JobGroup groupExists
"${JOB_GROUP}"

2>&1 >/dev/null

blcli_storeenv CHECK_RESULT

if

[
"x
$CHECK
_RESULT"

=
"xfalse"

];
then


blcli_execute JobGroup createGroupWithParentName
"${_ApplicationName}"

"
$JobPath
"

2>&1 >/dev/null


if

[ $?
-
ne 0 ];
then


fatal
"Problem

Creating

the

Job

Group

Folder

:

$err
"


fi


blcli_storeenv JOBGROUP_ID


echo

"Job

workspace

"
${_App
licationName}
"

created"

else


blcli_execute JobGroup groupNameToId
"${JOB_GROUP}"

2>&1 >/dev/null


blcli_storeenv JOBGROUP_ID

fi


#########

#Create the Depot workspace

#########

blcli_execute DepotGroup groupExists
"
$DepotPath
/${_ApplicationName}"

2>&
1
>/dev/null

blcli_storeenv CHECK_RESULT

if

[
"x
$CHECK
_RESULT"

=
"xfalse"

];
then


blcli_execute DepotGroup createGroupWithParentName
"${_ApplicationName}"

"
$DepotPath
"


if

[ $?
-
ne 0 ];
then


fatal
"Problem

Creating

the

Depot

Group

Folder

:

$err
"


fi


blcli_storeenv DEPOTGROUP_ID


echo

"Depot

workspace

"
${_ApplicationName}
"

created"


fi


}


#########

#Create the ARA_WL_PROPERTIES instance

#########

add_property_instance ()

{

PROPCLASS
=Class://SystemObject/ARA_WL_PROPERTIES

CONNECTOR_PORT
=
`
expr ${_AdminServerBasePort} + 2`


blcli_execute PropertyInstance createInstance
$PROPCLASS

${_ApplicationName}_${_Environment}
"WL

Instance

for

${_ApplicationName}"

if

[ $? != 0 ]

then


echo

"
\
nUnable

to

create

the

custom

property

class

for

instance

${_ApplicationName}:

$err
"


blcli_disconnect


exit 1

fi


blcli_execute PropertyInstance setOverriddenValue
$PROPCLASS
/${_ApplicationName}_${_Environment} ARA_APPSERVER_CONNECTOR_PORT
$CONNECTOR
_PORT

blcli_execute PropertyInstance se
tOverriddenValue
$PROPCLASS
/${_ApplicationName}_${_Environment} ARA_APPSERVER_HOST
${_AdminServerHost}.intranet.
aDomain
.com



}


#########

# Create the NSHScript Job to create Environment from existing Depot NSH
Scripts

#########

create_jobs()

{


JOB_GROUP
=
"
$JobPath
/${_ApplicationName}"

JOB_NAME1
=
"Configure_Admin_Node_${_ApplicationName}_${_Environment}"

JOB_NAME2
=
"Configure_Managed_Nodes_${_ApplicationName}_${_Environment}"


##########

#NSH Script Job for Admin Node


blcli_execute NSHScriptJob createNSHScr
iptJob
"${JOB_GROUP}"

"${JOB_NAME1}"

"Execute

Instance

Creation

script"

"
$NshScriptPath
"

"
$NshScriptName
"

"${_AdminServerHost}.intranet.
aDomain
.com"

40 2>&1 >/dev/null

if

[ $?
-
ne 0 ]

then


fatal
"
\
nUnable

to

create

the

NSHScript

Job

:

$err
"

fi

blcli_storeenv SCRIPTJOB1_ID


blcli_execute NSHScriptJob clearNSHScriptParameterValuesByGroupAndName
"${JOB_GROUP}"

"${JOB_NAME1}"

2>&1 >/dev/null


blcli_execute NSHScriptJob addNSHScriptParameterValueByGroupAndName
"${JOB_GROUP}"

"${JOB_NAME1}"

0 $_Domain
User 2>&1 >/dev/null

if

[ $?
-
ne 0 ]

then


fatal
"
\
nUnable

to

set

the

property

_DomainUser

:

$err
"

fi

blcli_execute NSHScriptJob addNSHScriptParameterValueByGroupAndName
"${JOB_GROUP}"

"${JOB_NAME1}"

1 $_Environment 2>&1 >/dev/null

if

[ $?
-
ne 0 ]

then


fatal
"
\
nUnable

to

set

the

property

_Environment

:

$err
"

fi

blcli_execute NSHScriptJob addNSHScriptParameterValueByGroupAndName
"${JOB_GROUP}"

"${JOB_NAME1}"

2 $_ApplicationName 2>&1 >/dev/null

if

[ $?
-
ne 0 ]

then


fatal
"
\
nUnable

to

set

the

property

_ApplicationName

:

$err
"

fi

blcli_execute NSHScriptJob addNSHScriptParameterValueByGroupAndName
"${JOB_GROUP}"

"${JOB_NAME1}"

3 $_ApplicationVersion 2>&1 >/dev/null

if

[ $?
-
ne 0 ]

then


fatal
"
\
nUnable

to

set

the

property

_
WeblogicRoot

:

$err
"

fi


echo

"Job

${JOB_NAME1}

created"

echo

""

echo

"
\
nScript

Job

"
$JobPath
/${JOB_NAME1}
"

has

been

created"


######

#NSH Script Job for Member nodes


blcli_execute NSHScriptJob createNSHScriptJob
"${JOB_GROUP}"

"${JOB_NAME2}"

"Execute

Instance

Creation

script"

"
$NshScriptPath
"

"
$NshScriptName
"

aServerHost.aDomain.com

40 2>&1 >/dev/null

if

[ $?
-
ne 0 ]

then


fatal
"
\
nUnable

to

create

the

NSHScript

Job

:

$err
"

fi

blcli_storeenv SCRIPTJOB2_ID

blcli_execute Job clearTargetServers
$SCRIPTJOB2
_ID 2>&1 >/dev/null

blcli_storeenv SCRIPTJOB2_ID


blcli_execute NSHScriptJob clearNSHScriptParameterValuesByGroupAndName
"${JOB_GROUP}"

"${JOB_NAME2}"

2>&1 >/dev/null


blcli_execute NSHScriptJob addNSHScriptParameterValueByGroupAndName
"${JOB_GR
OUP}"

"${JOB_NAME2}"

0 $_DomainUser 2>&1 >/dev/null

if

[ $?
-
ne 0 ]

then


fatal
"
\
nUnable

to

set

the

property

_DomainUser

:

$err
"

fi

blcli_execute NSHScriptJob addNSHScriptParameterValueByGroupAndName
"${JOB_GROUP}"

"${JOB_NAME2}"

1 $_Environment 2>&1 >/dev/null

if

[ $?
-
ne 0 ]

then


fatal
"
\
nUnable

to

set

the

property

_Environment

:

$err
"

fi

blcli_execute NSHScriptJob addNSHScriptParameterValueByGroupAndName
"${JOB_GROUP}"

"${JOB_NAME2}"

2 $_ApplicationName 2>&1 >
/dev/null

if

[ $?
-
ne 0 ]

then


fatal
"
\
nUnable

to

set

the

property

_ApplicationName

:

$err
"

fi

blcli_execute NSHScriptJob addNSHScriptParameterValueByGroupAndName
"${JOB_GROUP}"

"${JOB_NAME2}"

3 $_ApplicationVersion 2>&1 >/dev/null

if

[ $?
-
ne 0
]

then


fatal
"
\
nUnable

to

set

the

property

_WeblogicRoot

:

$err
"

fi


echo

"Job

${JOB_NAME2}

created"

echo

""

echo

"
\
nScript

Job

"
$JobPath
/${JOB_NAME2}
"

has

been

created"


###########################

#Create the deploy bwag.properties

file deploy job


blcli_execute BlPackage getDBKeyByGroupAndName
"
$CommonDepotPath
"

"
$BlPackageName1
"

if

[ $?
-
ne 0 ]

then


fatal
"
\
nUnable

to

file

the

bwag.properties

BLPackage

:

$err
"

fi

blcli_storeenv BLPACKAGE_ID


blcli_execute DeployJob
createDeployJob
"
$DeployJobName
"

$JOBGROUP
_ID
$BLPACKAGE
_ID
"${_AdminServerHost}.intranet.
aDomain
.com"

false

true

false

if

[ $? != 0 ]

then


fatal
"
\
nUnable

to

create

the

Deploy

Job

:

$err
"

fi

#blcli_storeenv DEPLOYJOB1_ID

#blcli_execute Job
clearTargetServers $DEPLOYJOB1_ID

blcli_storeenv DEPLOYJOB1_ID


blcli_execute DeployJob setOverriddenParameterValue
"
$JobPath
/${_ApplicationName}"

"
$DeployJobName
"

_applicationName
${_ApplicationName}

if

[ $? != 0 ]

then


fatal
"
\
nUnable

to

set

the

_
ApplicationName

property"

fi

blcli_execute DeployJob setOverriddenParameterValue
"
$JobPath
/${_ApplicationName}"

"
$DeployJobName
"

_weblogicVersion
${_WeblogicVersion}

if

[ $? != 0 ]

then


fatal
"
\
nUnable

to

set

the

_WeblogicVersion

property"

fi

blcli_execut
e DeployJob setOverriddenParameterValue
"
$JobPath
/${_ApplicationName}"

"
$DeployJobName
"

_javaHome ${_JavaHome}

if

[ $? != 0 ]

then


fatal
"
\
nUnable

to

set

the

_JavaHome

property"

fi

blcli_execute DeployJob setOverriddenParameterValue
"
$JobPath
/${_
ApplicationName}"

"
$DeployJobName
"

_weblogicRoot
${_WeblogicRoot}

if

[ $? != 0 ]

then


fatal
"
\
nUnable

to

set

the

_WeblogicRoot

property"

fi

blcli_execute DeployJob setOverriddenParameterValue
"
$JobPath
/${_ApplicationName}"

"
$DeployJobName
"

_applicationVer
sion
${_ApplicationVersion}

if

[ $? != 0 ]

then


fatal
"
\
nUnable

to

set

the

_ApplicationVersion

property"

fi

blcli_execute DeployJob setOverriddenParameterValue
"
$JobPath
/${_ApplicationName}"

"
$DeployJobName
"

_adminServerHost
${_AdminServerHost}

if

[ $? != 0 ]

then


fatal
"
\
nUnable

to

set

the

_AdminServerHost

property"

fi

blcli_execute DeployJob setOverriddenParameterValue
"
$JobPath
/${_ApplicationName}"

"
$DeployJobName
"

_adminServerBasePort
${_AdminServerBasePort}

if

[ $? != 0 ]

then


fatal
"
\
nUnabl
e

to

set

the

_AdminServerBasePort

property"

fi

blcli_execute DeployJob setOverriddenParameterValue
"
$JobPath
/${_ApplicationName}"

"
$DeployJobName
"

_BTBGroup ${_BTBGroup}

if

[ $? != 0 ]

then


fatal
"
\
nUnable

to

set

the

_BTBGroup

property"

fi

blcli_execute
DeployJob setOverriddenParameterValue
"
$JobPath
/${_ApplicationName}"

"
$DeployJobName
"

_RTBGroup ${_RTBGroup}

if

[ $? != 0 ]

then


fatal
"
\
nUnable

to

set

the

_RTBGroup

property"

fi


#######

#Add non essential properties if they have been set.


if

[ !
-
z ${_Patches} ] ;
then


blcli_execute DeployJob setOverriddenParameterValue
"
$JobPath
/${_ApplicationName}"

"
$DeployJobName
"

_patches ${_Patches}


if

[ $? != 0 ] ;
then



fatal
"
\
nUnable

to

set

the

_Patches

property"


fi

fi

# Add managed node hosts if

the value is populated

if

[ !
-
z ${_ManagedNodeHosts} ] ;
then


blcli_execute DeployJob setOverriddenParameterValue
"
$JobPath
/${_ApplicationName}"

"
$DeployJobName
"

_managedNodeHosts
${_ManagedNodeHosts}


for

SERVER
in

${_ManagedNodeHosts} ;
do



blcli_execute Job addTargetServer
$SCRIPTJOB2
_ID
"
$SERVER
.intranet.
aDomain
.com"



blcli_execute Job addTargetServer
$DEPLOYJOB1
_ID
"
$SERVER
.intranet.
aDomain
.com"


done


if

[ $? != 0 ] ;
then



fatal
"
\
nUnable

to

set

the

_ManagedNodeHosts

property"


fi

fi

i
f

[ !
-
z ${_ManagedNodeBasePorts} ] ;
then


blcli_execute DeployJob setOverriddenParameterValue
"
$JobPath
/${_ApplicationName}"

"
$DeployJobName
"

_managedNodeBasePorts
${_ManagedNodeBasePorts}


if

[ $? != 0 ] ;
then



fatal
"
\
nUnable

to

set

the

_
ManagedNodeBasePorts

property"


fi

fi

if

[ !
-
z ${_MulticastPort} ] ;
then


blcli_execute DeployJob setOverriddenParameterValue
"
$JobPath
/${_ApplicationName}"

"
$DeployJobName
"

_multicastPort
${_MulticastPort}


if

[ $? != 0 ] ;
then



fatal
"
\
nUnable

to

set

the

_MulticastPort

property"


fi

fi

if

[ !
-
z ${_MulticastAddress} ] ;
then


blcli_execute DeployJob setOverriddenParameterValue
"
$JobPath
/${_ApplicationName}"

"
$DeployJobName
"

_multicastAddress
${_MulticastAddress}


if

[ $? != 0 ] ;
then



fatal
"
\
nUnable

to

set

the

_MulticastAddress

property"


fi

fi

if

[ !
-
z ${_WebOpsgroup} ] ;
then


blcli_execute DeployJob setOverriddenParameterValue
"
$JobPath
/${_ApplicationName}"

"
$DeployJobName
"

_webOpsgroup ${_WebOpsgroup}


if

[ $? != 0 ] ;
then



fatal
"
\
nUna
ble

to

set

the

_WebOpsgroup

property"


fi

fi

if

[ !
-
z ${_DomainUser} ] ;
then


blcli_execute DeployJob setOverriddenParameterValue
"
$JobPath
/${_ApplicationName}"

"
$DeployJobName
"

_domainUser ${_DomainUser}


if

[ $? != 0 ] ;
then



fatal
"
\
nUnable

to

set

the

_DomainUser

property"


fi

fi


echo

"Job

${DeployJobName}

created"

echo

""

echo

"
\
nScript

Job

$JobPath
/
${DeployJobName}

has

been

created"


################

#Create the batch job


blcli_execute BatchJob createBatchJob
"Provision_${_ApplicationName
}_${_Environment}"

$JOBGROUP
_ID
$DEPLOYJOB1
_ID
false

true

false

if

[ $? != 0 ] ;
then



fatal
"
\
nUnable

to

set

the

_DomainUser

property"

fi

blcli_storeenv BATCHJOB_ID


blcli_execute BatchJob addMemberJobByJobKey
$BATCHJOB
_ID
$SCRIPTJOB1
_ID

blcli_storeenv

BATCHJOB_ID

blcli_execute BatchJob addMemberJobByJobKey
$BATCHJOB
_ID
$SCRIPTJOB2
_ID

blcli_storeenv BATCHJOB_ID


echo

"Job

Provision_${_ApplicationName}_${_Environment}

created"

echo

""

echo

"
\
nScript

Job

$JobPath
/Provision_${_ApplicationName}_${_Environme
nt}

has

been

created"


echo

"
\
nPlease

run

the

instanceProvision

script

to

assign

targets

and

execute

the

deployment"

echo

""


}



#########

# MAIN SCRIPT

#########


check_already_exists


create_workspace


add_property_instance


create_jobs




Script to
Provision a new Weblogic environment



Takes a popul ated properti es fi l e as i nput



Creates al l requi red workspace



Creates the ARA_WL_PROPERTIES i nstance based on appl i cati on name



Creates an NSH Scri pt job to provi si on the envi ronment


#!bin/nsh


#######################################################################

#Script to execute deploy job of JBoss install binaries

#

#Scott Dunbar 22/05/12

#Version 1.0

#######################################################################

#set
-
eE

#set
-
x


# ONLY NEEDED IF RUNNING OUTSIDE OF THE GUI

#blcred cred
-
acquire
-
profile DEV
-
username RBACAdmin
-
password password

#blcli_setoption serviceProfileName DEV

#blcli_setoption roleName
APPAdmins

#blcli_connect


#Process

# 1. Capture Job ID of existing insta
nce deployment job

# 2. Pass in Deployment Group

# 3. Execute job and return job run results



#######################################################################

# Set some expected paramerters

#########################################################
##############

TARGET
=
`fqdn`

TARGET
=
`print $TARGET|tr '[ ]' '[]'`

echo

"The

target

is

[
${TARGET}
]"


_DomainUser
=
$1

_Environment
=
$2

_ApplicationName
=
$3

_ApplicationVersion
=
$4



echo

"_DomainUser=
$1
"

echo

"_Environment=
$2
"

echo

"_ApplicationName=
$3
"

echo

"_
ApplicationVersion=
$4
"


ProdDeploymentGroup
=
"/Production/Application

Deployment"

UatDeploymentGroup
=
"/UAT/Application

Deployment"

DevDeploymentGroup
=
"/Development/Application

Deployment"


InstanceTemplatePath
=
"/Redhat

Tomcat/Instance"

InstanceTemplateName
=
TomcatInstance

ApplicationTemplatePath
=
"/Redhat

Tomcat/Application"

ApplicationTemplateName
=TomcatApplication

TrackChangeTemplatePath
=
"/Redhat

Tomcat/TrackChange"

TrackChangeTemplateName
=TomcatTrackChange


CommonJobPath
=
"/Redhad

Tomcat/Common"


_Environmen
t
=
`echo $_Environment | tr '[:upper:]' '[:lower:]'`

case

${_Environment}
in


production )
_EnvironmentCaseSensitive
=
"production"






_EnvironmentMakeDomainOrNode
=
"prod"


;;


uat )
_EnvironmentCaseSensitive
=
"UAT"





=
_
EnvironmentMakeDomainOrNode
=
"uat"


;;


development )
_EnvironmentCaseSensitive
=
"development"





_EnvironmentMakeDomainOrNode
=
"dev"


;;

esac


deploy_weblogic_instance ()

{

_DomainUser
=
`echo $_DomainUser | tr '[:upper:]' '[
:lower:]'`

echo

"sudo

-
u

${_DomainUser}

/apps/bwag/wlutils/bin/makeDomainOrNode

-
e

${_EnvironmentMakeDomainOrNode}

-
n

${_ApplicationName}

-
v

${_ApplicationVersion}

-
d"

nexec
-
e
sudo

-
u ${_DomainUser} /apps/bwag/wlutils/bin/makeDomainOrNode
-
e
${_
EnvironmentMakeDomainOrNode}
-
n ${_ApplicationName}
-
v
${_ApplicationVersion}
-
d

nexec
-
e
sudo

-
u ${_DomainUser}
/apps/bwag/applications/weblogic/${_ApplicationName}/domains/${_ApplicationVe
rsion}/bin/wlctrl start

}


#

# MAIN SCRIPT

#



#create_component

#
NOTE
-

we are not creating components as the BAA component templates should
do this as part of discovery job


deploy_weblogic_instance