50: IGEL Weekly: How to Use Buddy Update to Update IGEL OS

मई 11, 2022

The idea behind Buddy Update is to allow remote IGEL OS endpoints to update from a local Buddy Update Server vs. all remote devices contacting the IGEL OS UMS to download the new IGEL OS version. This results in much less bandwidth usage across slower WAN links.

सेबस्टियन पेरुसैट, आईजीईएल कम्युनिटी फेलो द्वारा प्रस्तुत।

इस वीडियो में, सेबेस्टियन आपको सिखाएगा कि कैसे:

  • परिचय
  • Topology
  • Create the Buddy Master role
  • Update the Buddy Master
  • Create the Buddy Slave role
  • Debug the Slave
  • Additional important information

होस्ट: पैट्रिक टोनर
सह-मेजबान: सेबेस्टियन पेरुसैट

The Problem Buddy Update Solves

IGEL OS firmware keeps growing. As more integrations and clients are built into the operating system, a current release is now close to three gigabytes. For an office with a handful of devices, sending that file to each one over a slow WAN link adds up quickly. A branch with many devices, each pulling the same large file from the UMS or a public server, can use all the available bandwidth and leave users unable to work. It also raises the risk that an update fails partway through because of a network problem.

Buddy Update addresses this. It is similar in idea to the branch caching feature found in Microsoft management tools, where devices share files locally instead of each one downloading from the data center.

यह काम किस प्रकार करता है

One or more devices at a location are chosen manually as the buddy master. The master downloads the firmware once. The other devices, called buddy slaves, then get their update from the master instead of the UMS or a public server. If a branch has a hundred devices, only one needs to pull the file across the WAN, and the other ninety-nine update locally.

It is a good fit for organizations with many remote locations and limited bandwidth, such as banks, retail, and other businesses with many branches. It is not a perfect answer for every network. Organizations that already operate a local server or a cloud-hosted repository for updates may prefer that approach, and the master role runs on a thin client, not a robust server.

Configuring the Buddy Master

Order matters. First, create a profile that enables the buddy update feature under the system firmware update settings. Optionally add a username and password that slaves must supply. The default is anonymous access. Then assign that profile to the master device before assigning the firmware update and starting the update.

The sequence is important because the master can only hold the update information if the master role was assigned before the update began. A common mistake is to assign the profile to a device that already runs the newest firmware, which leaves the master with nothing to share. The firmware must be pushed to it after the role is assigned, even if it is the same version.

A concurrent login limit should also be set. Many devices requesting the same file at the same moment, such as when all of them update at shutdown, can overload the master’s memory and CPU. An average of five to eight slaves per master is a comfortable range.

Configuring the Buddy Slaves and Network Considerations

On the update side, slaves use the same firmware update settings but select the buddy approach. Only FTP is supported for this feature at the moment, which some organizations cannot use because of security policies. Every firmware update is signed and checked, so the risk of someone altering a file is limited. Where FTP is not acceptable, an HTTP-authenticated repository is an alternative.

An automatic buddy detection option lets slaves find the master with a UDP broadcast. That broadcast stays within one network segment, so slaves must be in the same VLAN and subnet as their master. If the layout is more complex, the master’s IP address or host name can be entered in the server name field instead. Network segments that are far apart or routed across a WAN will not see the broadcast, by design, to avoid unwanted traffic.

Troubleshooting

IGEL OS includes a command that scans for a buddy update server, which shows whether a slave can reach its master. The IGEL community also maintains a command cheat sheet that covers many other useful terminal commands.

The most common problem is a device that still downloads from the UMS. Check whether the firmware update setting was assigned to a folder instead of the device. A setting applied at the folder level can override the profile on the device, and the buddy profile should be applied directly to the master device. Checking the device’s configuration under the firmware update settings will show what is being applied.

hi_INHindi