Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Step 1. Stop the Tomcat server

Linux

cd $AGENT_HOME

./StopFlexDeployHttpsAgent.sh

Windows

cd %AGENT_HOME%

StopFlexDeployHttpsAgent.bat

Step 2. Download HTTPS Agent software

Make sure that you have downloaded the latest version of the agent and unzip it into a temporary location (for example, /u01/software), so it can be accessed during the upgrade process. You can get download links from http://support.flexagon.com . Do not unzip the distribution directly into the AGENT_HOME directory so we can prevent unwanted file(s) or folder(s) from being overwritten.

Linux

mkdir /u01/software/agent
cd /u01/software/agent
unzip <download location path>/HttpsAgentTomcatComplete-6.5.x.x.zip

Windows

mkdir c:\u01\software\downloaded
cd c:\u01\software\downloaded
unzip <download location path>\HttpsAgentTomcatComplete-6.5.x.x.zip

Step 3. Backup Current Installation

Backup the current apache-tomcat-flexdeploy-https-agent folder. We will use this to reference the existing configuration.

This step is required. Otherwise your existing configuration will be lost later on.

Linux

cd $AGENT_HOME
mv apache-tomcat-flexdeploy-https-agent apache-tomcat-flexdeploy-https-agent-old

Windows

cd %AGENT_HOME%
rename apache-tomcat-flexdeploy-https-agent apache-tomcat-flexdeploy-https-agent-old

Step 4. Apply new version

Copy the apache-tomcat-flexdeploy-https-agent folder from the download.

Linux

cd $AGENT_HOME

cp -r /u01/software/agent/apache-tomcat-flexdeploy-https-agent .

Windows

cd %AGENT_HOME%

mkdir apache-tomcat-flexdeploy-https-agent
xcopy c:\u01\software\downloaded\apache-tomcat-flexdeploy-https-agent apache-tomcat-flexdeploy-https-agent /s

Step 5. Apply old configuration

You will need to apply the old configuration from the backup.

Linux

cd $AGENT_HOME

cp apache-tomcat-flexdeploy-https-agent-old/conf/server.xml apache-tomcat-flexdeploy-https-agent/conf/server.xml
cp apache-tomcat-flexdeploy-https-agent-old/conf/tomcat-users.xml apache-tomcat-flexdeploy-https-agent/conf/tomcat-users.xml

Windows

cd %AGENT_HOME%

copy apache-tomcat-flexdeploy-https-agent-old/conf/server.xml apache-tomcat-flexdeploy-https-agent/conf/server.xml
copy apache-tomcat-flexdeploy-https-agent-old/conf/tomcat-users.xml apache-tomcat-flexdeploy-https-agent/conf/tomcat-users.xml

Step 6. Start server

Linux

cd $AGENT_HOME

./StartFlexDeployHttpsAgent.sh

Windows

cd %AGENT_HOME%

StartFlexDeployHttpsAgent.bat

  • No labels