Update; Restore - Lightware MX2-8x8-DH-4DPio-A User Manual

Multimedia matrix switcher
Table of Contents

Advertisement

 
10. Firmware Update
10.8.5. Update
This command can be used to update the firmware of the devices.
Command
LightwareDeviceUpdaterV2_CLI.cmd update [options]
Options
Option
-p
or
--package
The path of the firmware package file
-i
or
--ip
List of IP addresses of devices to be updated
-n
or
--hostName
List of host names of devices to be updated
Folder to create device configuration backup at.
-b
or
--backupFolder
Default: USER_HOME/.ldu2/backup
-f
or
--factoryDefault
Apply factory reset during device update. Default: false
-r
or
--reportProgress
Report update progress in percent. Default: false
Certain LFP2 packages have features that can be applied at
Package-specific options
this command; see the
ATTENTION!

The configuration is restored automatically if the factory default option is not applied in the
update command. In that case, there is no need to run the restore command after the update.
Example
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>LightwareDeviceUpdaterV2_CLI.cmd update --ip
192.168.1.12 --package C:\Firmwares\mx2-standalone_v1.7.0b17.lfp2 --reportProgress
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>lib\jre\bin\java.exe -jar lib\ldu2.jar update --ip
192.168.1.12 --package C:\Firmwares\mx2-standalone_v1.7.0b17.lfp2 --reportProgress
[2021-05-12 08:59:36.336] [ INFO] [
[2021-05-12 08:59:39.409] [ INFO] [
[2021-05-12 08:59:39.628] [ INFO] [
package.
[2021-05-12 08:59:40.025] [ INFO] [
192.168.1.12] - Package version: 1.3.2b3
[2021-05-12 08:59:40.092] [ INFO] [
192.168.1.12] - Login functionality is currently not enabled.
[2021-05-12 08:59:40.129] [ INFO] [
192.168.1.12] - Creating backup of device settings...
[2021-05-12 08:59:43.582] [ INFO] [
192.168.1.12] - Backup HTTP enable properties
[2021-05-12 08:59:44.638] [ INFO] [ProgressReporter] - Progress: 2%
[2021-05-12 08:59:46.111] [ INFO] [
192.168.1.12] - HTTP and HTTP post have got enabled on port 80
[2021-05-12 08:59:46.319] [ INFO] [
192.168.1.12] - No miniweb file is found on the device.
[2021-05-12 08:59:48.890] [ INFO] [
192.168.1.12] - HTTP and HTTP post properties have got restored on port 80
[2021-05-12 08:59:48.897] [ INFO] [
192.168.1.12] - Switching device into bootload mode...
[2021-05-12 08:59:49.640] [ INFO] [ProgressReporter] - Progress: 5%
[...]
The lines containing "ProgressReporter" can be enabled optionally. If it is enabled, the current state is
displayed in every 5 seconds.
Description
one of them is
mandatory
Package Options
section.
main] - Device IPs: [192.168.1.12]
main] - All the selected devices are accessible over the network.
main] - All the selected devices are compatible with the specified
Applied firmware package: v1.9.0 | LDC software: v2.6.2b3
MX2 Standalone Matrix Switcher series – User's Manual
10.8.6. Restore
Restores device configuration from a backup file.

TIPS AND TRICKS:
Configuration cloning by CLI).
Command
LightwareDeviceUpdaterV2_CLI.cmd restore [options]
Required?
Options
yes
Option
-i
or
--ip
-n
or
--hostName
optional
-b
or
--backupFile
optional
optional
-k
or
--keepOriginalIp
optional

ATTENTION!
update command. In that case, there is no need to run the restore command after the update.
Example
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>LightwareDeviceUpdaterV2_CLI.cmd restore --ip
192.168.1.12 --backupFile C:\mybackup.lw3 --keepOriginalIp
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>lib\jre\bin\java.exe -jar lib\ldu2.jar restore --ip
192.168.1.12 --backupFile C:\mybackup.lw3 --keepOriginalIp
[2021-05-12 10:49:36.412] [ INFO] [
[2021-05-12 10:49:36.425] [ INFO] [
INFO:

The firmware package checks the backup data before the restoration procedure, and if it is
necessary, a conversion is applied to avoid incompatibility problems between the firmware versions. In
that case, two backup files are created: the original, and a new one with "_converted" suffix. Using the last
one for restoring is recommended.
This command can be used for uploading a configuration to numerous devices (aka
Description
List of IP addresses of devices to be updated
List of host names of devices to be updated
The path of the configuration backup file
Do not override the network settings of the device with the ones
in the backup file. It comes in handy when multiple devices'
configuration is being restored from a single backup file.
Default: false
The configuration is restored automatically if the factory default option is not applied in the
main] - Executing configuration restore...
main] - Device IPs: [192.168.1.12]
109
Required?
one of them is
mandatory
yes
optional

Advertisement

Table of Contents
loading

Table of Contents