2020-03-27 20:40:16 +00:00
|
|
|
|
Run rolling CAP upgrades from CAPsMAN
|
|
|
|
|
=====================================
|
|
|
|
|
|
2023-01-10 13:45:27 +00:00
|
|
|
|
[⬅️ Go back to main README](../README.md)
|
2020-03-27 20:40:16 +00:00
|
|
|
|
|
2022-02-12 12:05:56 +00:00
|
|
|
|
> ℹ️ **Info**: This script can not be used on its own but requires the base
|
2022-02-11 22:34:39 +00:00
|
|
|
|
> installation. See [main README](../README.md) for details.
|
2021-05-03 13:07:50 +00:00
|
|
|
|
|
2020-03-27 20:40:16 +00:00
|
|
|
|
Description
|
|
|
|
|
-----------
|
|
|
|
|
|
2020-04-07 11:30:27 +00:00
|
|
|
|
CAPsMAN can upgrade CAP devices. This script runs a rolling upgrade for
|
2020-03-27 20:40:16 +00:00
|
|
|
|
out-of-date CAP devices. The idea is to have just a fraction of devices
|
|
|
|
|
reboot at a time, having the others to serve wireless connectivity.
|
|
|
|
|
|
2020-04-07 11:30:27 +00:00
|
|
|
|
Note that the script does not wait for the CAPs to reconnect, it just defers
|
|
|
|
|
the upgrade commands. The more CAPs you have the more will upgrade in
|
|
|
|
|
parallel.
|
2020-03-27 20:40:16 +00:00
|
|
|
|
|
|
|
|
|
Requirements and installation
|
|
|
|
|
-----------------------------
|
|
|
|
|
|
2023-11-14 09:28:12 +00:00
|
|
|
|
Just install the script on CAPsMAN device.
|
|
|
|
|
Depending on whether you use `wifi` package (`/interface/wifi`), `wifiwave2`
|
|
|
|
|
package (`/interface/wifiwave2`) or legacy wifi with CAPsMAN (`/caps-man`)
|
|
|
|
|
you need to install a different script.
|
2020-03-27 20:40:16 +00:00
|
|
|
|
|
2023-11-14 09:28:12 +00:00
|
|
|
|
For `wifi` (RouterOS 7.13 and later):
|
|
|
|
|
|
|
|
|
|
$ScriptInstallUpdate capsman-rolling-upgrade.wifi;
|
|
|
|
|
|
|
|
|
|
For `wifiwave2` (up to RouterOS 7.12):
|
2023-08-07 11:11:14 +00:00
|
|
|
|
|
|
|
|
|
$ScriptInstallUpdate capsman-rolling-upgrade.wifiwave2;
|
|
|
|
|
|
|
|
|
|
For legacy CAPsMAN:
|
|
|
|
|
|
|
|
|
|
$ScriptInstallUpdate capsman-rolling-upgrade.capsman;
|
2020-03-27 20:40:16 +00:00
|
|
|
|
|
|
|
|
|
Usage and invocation
|
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
|
|
This script is intended as an add-on to
|
|
|
|
|
[capsman-download-packages](capsman-download-packages.md), being invoked by
|
|
|
|
|
that script when required.
|
|
|
|
|
|
|
|
|
|
Alternatively run it manually:
|
|
|
|
|
|
2023-11-14 09:28:12 +00:00
|
|
|
|
/system/script/run capsman-rolling-upgrade.wifi;
|
2020-03-27 20:40:16 +00:00
|
|
|
|
|
|
|
|
|
See also
|
|
|
|
|
--------
|
|
|
|
|
|
|
|
|
|
* [Download packages for CAP upgrade from CAPsMAN](capsman-download-packages.md)
|
|
|
|
|
|
|
|
|
|
---
|
2023-01-10 13:45:27 +00:00
|
|
|
|
[⬅️ Go back to main README](../README.md)
|
|
|
|
|
[⬆️ Go back to top](#top)
|