Skip to end of metadata
Go to start of metadata

Overview

This page describes the process to upgrade your Xray HA cluster.

When upgrading an Xray HA cluster, you'll need to:

  1. Stop all nodes in the cluster and any externalized databases.
  2. Upgrade and Start the first Xray node. Start any externalized databases before initializing Xray.
  3. Upgrade and Start the additional nodes in the cluster.
Page Contents

 


Docker Installation

  1. Stop all services and third party software from each one of the running nodes:

    ./xray stop all

    Stop any externalized databases before starting the upgrade process.

  2. Download the new script from the Xray Download Page, and copy it into each node

  3. Upgrade the first node:

    ./xray upgrade
  4. Start Xray on the first node:

    ./xray start all

    Which is my primary node?

    The "installer.info" file will specify the primary node as "XRAY_FIRST_NODE".

    Start any externalized databases before initializing Xray.

  5. Upgrade Xray on additional cluster nodes:

    ./xray upgrade
  6. Start Xray on additional cluster nodes:

    ./xray start all

Linux Installation

  1. Stop all services and third party software from each one of the running nodes:

    /opt/jfrog/xray/scripts/xray.sh stop all

    Stop any externalized databases before starting the upgrade process.

  2. Download the new installer from the Xray Download Page

  3. Extract the downloaded installation archive:

    tar -xzf xray-<linux-flavor>-latest.tar.gz
  4. Run the installation script on the first node:

    ./installXray-<linux-flavor>.sh

    Which is my primary node?

    The "installer.info" file will specify the primary node as "XRAY_FIRST_NODE".

  5. Start Xray on the first node:

    ./xray start all

    Start any externalized databases before initializing Xray.

  6. Repeat steps 2 through 5 for all additional cluster nodes.


  • No labels