71: IGEL Weekly: How to deploy IGEL OS firmware and custom partitions via Azure sftp

जनवरी 24, 2023

Written by Edwin ten Haaf, IGEL Community Member

More and more of our IGEL customers want to facilitate work from anywhere.

In the office they were familiar with using #IGELOS driven devices.  By providing end users with notebooks running IGEL OS or UD Pocket(IGEL  on a stick) user can safely and easily connect to their virtual  workplace.

The management backend (UMS) is managing these devices in the  local network.  connect to ICG and the  management backend connects to ICG and the devices can be managed as if  they were local.   

If you’re ICG is installed and configured well you can now manage  you’re devices outside the office. Deploy and update profiles, support  users with shadow functionality. One important part that has to be  configured separately is the distribution of IGEL OS firmware and Custom  Partitions (Additional Software running on the IGEL OS like MS Teams and  Zoom)

For this you need to point you’re devices to a remote https/sftp  location. Please read यहाँ how

होस्ट: एंडी व्हाइटसाइड
सह-मेजबान: सेबेस्टियन पेरुसैट

Managing IGEL Devices Outside the Office

Many organizations now want users to work from anywhere, often on notebooks running IGEL OS or on a UD Pocket, which is IGEL on a USB stick. The IGEL Cloud Gateway, or ICG, lets the Universal Management Suite (UMS) manage those devices outside the company network as though they were local. Profiles can be deployed, devices can be supported with shadowing, and settings can be updated.

One piece needs separate configuration: distribution of larger files. Firmware updates and custom partitions are far bigger than a few megabytes, so devices must be pointed at an external location where they can download them.

Firmware and Custom Partitions

Staying current on IGEL OS firmware matters even though the operating system is stable, because updates carry security fixes and client improvements. Custom partitions are the way to add software that is not part of the base firmware, such as Microsoft Teams, Zoom, or Chrome.

Administrators typically coordinate updates through UMS tasks or scheduled tasks, with the change applying at the next reboot or shutdown. Most initial deployments use a network method such as PXE or the deployment toolkit for SCCM, and a smaller share is done by hand with the OS Creator USB stick. Letting end users choose when to apply an update is not a standard feature today, so it would need to be scripted.

Why Use Azure SFTP

The simplest approach is to place the extracted firmware files on any web service and reference it in a profile. That works for basic cases. When load, traffic limits, or a proper file transfer protocol matter, SFTP is a better fit. Hosting the downloads on the same server as the ICG would function, but it is best to keep the management channel separate from download servers.

A guide from IGEL community member Edwin ten Haaf describes how to do this using the SFTP support in Azure Blob Storage. At the time it was a preview feature that had to be registered under the preview features in the Azure portal, and availability varied by region, so it is worth checking that the region you choose is both supported and close to your users.

Setting It Up

Create a storage account, and a standard performance tier is more than enough, even for a large number of devices. Under the advanced settings, enable the hierarchical namespace and then enable the SFTP protocol. Then add local users to a container, using an SSH password for authentication. SFTP runs over the standard SSH port, which is simpler to manage than FTPS, which uses a range of dynamic ports.

A sensible refinement is to separate users by purpose. One account handles uploads and management. A second account used by devices needs only read and list permissions, because it should never be able to change what it downloads. The home directory is set to the name of the container.

Testing Before Automating

Before building a profile, connect with an SFTP-capable client and confirm that the connection works. More importantly, actually download a file. A successful login shows a directory listing, but a failed download usually points to a permissions problem.

Keep the first test simple, with a plain username and an easy password, because complex special characters can be misread by some clients and make troubleshooting harder. Once the transfer works, strengthen the password. The same step-by-step approach applies in UMS, where a setting can be proven on a local device before it is pushed out as a profile, as long as the local change is cleaned up afterward. Proving each component in turn means that if something fails later, there are fewer places to look.

hi_INHindi