|
runDeployment 유틸리티를 사용하기 전, 우선 서버에서 Java™ 런타임 환경의 위치를 제공하도록 텍스트 편집기로 편집해야 합니다. 예를 들어, Interact_home/jre 또는 Platform_home/jre 디렉토리 중 하나에 유틸리티에서 사용하도록 할 Java™ 런타임이 있는 경우, 두 디렉토리 중 하나를 경로로 지정할 수 있습니다. 또는 이 릴리스의 IBM 제품에서 사용할 수 있도록 지원되는 Java™ 런타임 환경에 경로를 제공할 수도 있습니다.
|
1.
|
대화식 채널 배포를 위해 deployment.properties 파일을 편집하고 있을 때는 이 예에서처럼 보안 SSL URL을 사용하도록 deploymentURL 특성을 수정하십시오.
|
2.
|
${JAVA_HOME}으로 시작하는 행에 다음 인수를 추가하도록 텍스트 편집기를 사용하여 runDeployment.sh 또는 runDeployment.bat 스크립트를 편집하십시오.
|
${JAVA_HOME}/bin/java -Djavax.net.ssl.trustStore=<TrustStorePath>
-cp ${CLASSPATH}com.unicacorp.Campaign.interact.deployment.tools.
InvokeDeploymentClient $1
###############################################################################
#
# The following properties feed into the InvokeDeploymentClient program.
# The program will look for a deploymentURL setting. The program will post a
# request against that url; all other settings are posted as parameters in
# that request. The program then checks the status of the deployment and
# returns back when the deployment is at a terminal state (or if the
# specified waitTime has been reached).
#
# the output of the program will be of this format:
# <STATE> : <Misc Detail>
#
# where state can be one of the following:
# ERROR
# RUNNING
# SUCCESS
#
# Misc Detail is data that would normally populate the status message area
# in the deployment gui of the IC summary page. NOTE: HTML tags may exist
# in the Misc Detail
#
###############################################################################
###############################################################################
# deploymentURL: url to the InvokeDeployment servlet that resides in Interact
# Design time. should be in the following format:
# http://dt_host:port/Campaign/interact/InvokeDeploymentServlet
###############################################################################
deploymentURL=http://localhost:7001/Campaign/interact/InvokeDeploymentServlet
###############################################################################
# dtLogin: this is the login that you would use to login to the Design Time if
# you had wanted to deploy the IC via the deployment gui inside the IC summary
# page.
###############################################################################
dtLogin=asm_admin
###############################################################################
# dtPW: this is the PW that goes along with the dtLogin
###############################################################################
dtPW=
###############################################################################
# icName: this is the name of the Interactive Channel that you want to deploy
###############################################################################
icName=ic1
###############################################################################
# partition: this is the name of the partition
###############################################################################
partition=partition1
###############################################################################
# request: this is the type of request that you want this tool to execute
# currently, there two behaviors. If the value is "deploy", then the deployment
# will be executed. All other values would cause the tool to simply return the
# status of the last deployment of the specified IC.
###############################################################################
request=deploy
###############################################################################
# serverGroup: this is the name of the server group that you would like to
# deploy the IC.
###############################################################################
serverGroup=defaultServerGroup
###############################################################################
# serverGroupType: this will indicate whether or not this deployment is going
# against production server group or a test server group. 1 denotes production
# 2 denotes test.
###############################################################################
serverGroupType=1
###############################################################################
# rtLogin: this is the account used to authenticate against the server group
# that you are deploying to.
###############################################################################
rtLogin=asm_admin
###############################################################################
# rtPW: this is the password associated to the rtLogin
###############################################################################
rtPW=
###############################################################################
# waitTime: Once the tool submits the deployment request, the tool will check
# the status of the deployment. If the deployment has not completed (or
# failed), then the tool will continue to poll the system for the status until
# a completed state has been reached, OR until the specified waitTime (in
# seconds) has been reached.
###############################################################################
waitTime=5
###############################################################################
# pollTime: If the status of a deployment is still in running state, then the
# tool will continue to check the status. It will sleep in between status
# checks a number of seconds based on the pollTime setting .
###############################################################################
pollTime=3
###############################################################################
# global: Setting to false will make the tool NOT deploy the global settings.
# Non-availability of the property will still deploy the global settings.
###############################################################################
global=true
Copyright IBM Corporation 2014. All Rights Reserved.
|