Remote Upgrade
You can remotely upgrade the appliance software on a LogLogic LMI appliance or a LogLogic EVA instance from a computer with Windows, Linux, or macOS platform. This method is applicable in the following scenarios:
| Category | Applicable to | Not applicable to |
|---|---|---|
| Number of appliances | One appliance at a time | Multiple appliances at a time |
| Setup |
|
LogLogic EVA on cloud and container platforms:
|
Before you begin On the computer where you invoke the upgrade procedure, ensure that the following requirements are met:
- The computer can access the target appliance remotely via SSH, and must not have any settings that might interrupt the process, such as sleep mode or battery-saver mode.
- Python version 3 and the supported Paramiko library must be installed on the computer.
- Continuous power supply and network connectivity must be available till the process completes.
- Procedure
- Log in to the computer from where you want to perform the upgrade.
- (Optional) To perform a dry run of the command before actually performing the upgrade, add the --dry-run option with the command:
$> ./remote_upgrade.py --host
<IP_address_of_LMI_appliance>--upgrade-file<filename_of_tar_file>--dry-runThe dry run does not start the upgrade process; it checks the SSH connection to the target appliance and retrieves the versions of LogLogic LMI and LogLogic LSP on the target appliance.
- Run the upgrade command in the following format:
$> ./remote_upgrade.py --host
<IP_address_of_LMI_appliance>--upgrade-file<filename_of_tar_file>For example:
$> ./remote_upgrade.py --host 192.0.2.81 --upgrade-file loglogic-lmi-6.4.0-fileupgrade.tar
Note: To upgrade an HA pair, provide the public IP address of the pair. If the IP address is not a public address, the upgrade process stops.The remote upgrade script performs the following tasks:
- Uploads the
.tarfile to the LogLogic LMI appliance or LogLogic EVA instance. If the.tarfile exists on the appliance, then this step is skipped. - Runs the health check script. If any check fails, the upgrade process stops.
- Performs the software upgrade on the LogLogic LMI appliance or LogLogic EVA instance.
- Uploads the
ResultAfter the upgrade is completed:
- The appliance restarts.
- A log file is saved at the same location where the script is run.
- The state of Advanced Features before the upgrade are retained on the appliance after the upgrade.
What to do nextFor more information about the upgrade events, see the log file.