Skip to main content
Version: 25.3.0

Deployment

Deployment script waratek-deploy.sh can handle deployments of the Waratek Agent. The script can handle the following use cases:

  1. Fresh install
  2. Upgrade to the latest version
  3. 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

  1. Extract /opt/waratek-java-agent-x.y.z-bN under /opt.

  2. Make the script waratek-deploy.sh executable.

    chmod +x /opt/waratek-java-agent-x.y.z-bN/script/waratek-deploy.sh
  3. 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.
  4. You should have the /opt/waratek symlink if the script runs successfully.

Check the Waratek Agent Version

  1. Go to /opt/waratek-java-agent-x.y.z-bN/agent.

  2. Run the following command.

    unzip -q -c core.jar META-INF/MANIFEST.MF
  3. 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