Migrate Your High Availability Configuration to LCE 6.0.4 or Later

You can use this method to upgrade your LCE 4.8.4 deployment with high availability to LCE 6.0.4 or later, then re-configure high availability. To configure high availability for the first time in LCE 6.0.4 or later, see Configure High Availability. For more information about high availability configurations, see High Availability.

Note: If you are upgrading from a version of LCE earlier than 4.8.4, upgrade to LCE 4.8.4 before upgrading to LCE 6.0.4 or later.

Tip: If you have another node available, you can keep the former standby node offline to use as an emergency backup in case you encounter issues after migration. If you want to keep your former standby node as a backup:

  • Skip step three in the procedure below to keep LCE installed on the former standby node.
  • Use the third node as the standby node in your new high availability configuration after upgrading to LCE 6.0.4 or later.

To upgrade from LCE 4.8.4 to LCE 6.0.4 or later and re-configure high availability:

  1. Run the following commands on both the master node and the standby node to stop LCE:

    service stats stop

    /opt/lce/tools/stop_lce

    pkill -KILL keepalived 2>/dev/null

    LCE stops.

  2. (Optional) Make a copy of the master node activeDb.

  3. To remove LCE from the standby node, do the following:

    1. Run the following commands:

      rpm -e lce

      rm -rf /opt/lce/

    2. If you configured archiveDb, run the following command:

      rm -rf <archiveDb directory>

    3. If you moved activeDb from the default directory /opt/lice/db/, run the following command:

      rm -rf <activeDb directory>

    4. If you moved tracelogsDir from the default directory /opt/lce/admin/log, run the following command:

      rm -rf <tracelongsDir directory>

  4. At the standby node, run the following command:

    rpm -ivh lce-6.0.4-.....

  5. At the master node, run the following command:

    rpm -Uvh lce-6.0.4-.....

  6. Configure high availability on the master node and the standby node, as described in Configure High Availability.
  7. At the master node, run the following command:

    nohup /opt/lce/tools/migrateDB-overseer --migrate-all --clear-source-on-success &

    LCE migrates silos to the master node's activeDb and copies them to the standby node's activeDb.

What to do next: