Deployment
Deployment script waratek-deploy.sh
can handle deployments of the Waratek Agent. The script can handle the following use cases:
- Fresh install
- Upgrade to the latest version
- Rollback to the previous version
This script allows you to upgrade or rollback the product while retaining your existing config in the conf_x
folder.
The deployment script supports *nix only and doesn’t support Windows.
Fresh Install
-
Extract
/opt/waratek-java-agent-x.y.z-bN
under/opt
. -
Make the script
waratek-deploy.sh
executable.chmod +x /opt/waratek-java-agent-x.y.z-bN/script/waratek-deploy.sh
-
Run the script
waratek-deploy.sh
./opt/waratek-java-agent-x.y.z-bN/script/waratek-deploy.sh
Available Installed Products:
[1] /opt/waratek-java-agent-x.y.z-bN
[0] Exit/Stop
Choose the Product Version you wish to use [0 to exit]: 1
You chose 1
[INFO] /opt/waratek-java-agent-x.y.z-bN is now the active product. -
You should have the
/opt/waratek
symlink if the script runs successfully.
Check the Waratek Agent Version
-
Go to
/opt/waratek-java-agent-x.y.z-bN/agent
. -
Run the following command.
unzip -q -c core.jar META-INF/MANIFEST.MF
-
You should get the Waratek Agent version x.y.z like the following.
Manifest-Version: 1.0
Time-Zone: Etc/UCT
Implementation-Version: xxxxxx
Created-By: x.x.x_xx (Sun Microsystems Inc.)
Product-Type: Release
Creation-Timestamp: xxxx-xx-xx_xx-xx-xx
Jarfile-Name: core.jar
ARMR-Language-Versions-Supported: x.x,x.x...,x.x
Oceanic-Version: x.y.z-bxxx-xxxxxxxxxxxx