Installing a new package, Pre-upgrade/post-upgrade scripts, 319 34.13.6. pre-upgrade/post-upgrade scripts – RuggedCom RuggedRouter RX1100 User Manual
Page 319

34. Maintaining The Router
Revision 1.14.3
319
RX1000/RX1100™
Note
If the currently installed version of ROX predates release 1.14.1, the upgrade procedure must be
done in two stages.
While the first stage Webmin upgrade is in progress, there will be no visual feedback from the system,
since the web interface itself will be shut down. This upgrade lasts up to 5 minutes, after which time,
it is recommended to click refresh to verify that the Webmin upgrade has completed correctly. Once
the upgrade has completed, it may be necessary to log in if the session timeout has expired in the
meantime.
34.13.5. Installing A New Package
Figure 34.46. Installing A New Package
The Install A New Package feature uploads and installs packages to the router.
Select the From local file option if you have already moved the package to the router through http,
ftp or scp. You may either enter the full path from the root directory to the package or use the file
selector (
) to identify the package.
Select the From uploaded file option if you have the file locally on your workstation. You may either
enter the location of the file on your local file system browse selector (
) to identify
the package.
Select the From ftp or http URL if you know the network address of the package.
Complete the installation by selecting the install button.
34.13.6. Pre-upgrade/Post-upgrade scripts
The pre-upgrade and post-upgrade scripting feature allows you to execute defined scripts on the
router both before and after a software system upgrade. The scripts execute before and after an
actual upgrade only, and not a "dry run", during which the packages to be updated are shown and
not actually updated.
In the course of an upgrade, the router will download the scripts from the same location as is configured
via the Change Repository Server page. The script files named:
• pre-upgrade-user will be downloaded by the router and executed immediately prior to
beginning the upgrade process. Note that in the case where a two-stage upgrade procedure
is required, the pre-upgrade script will only be executed immediately prior to the second stage
of the upgrade.