Using the Central File Store
The Central File Store and the Central File Server are used to store and distribute files that are associated with payloads. For example, .apk files in Software Payloads or OS update files could be stored in the Central File Store.
When you deploy a payload with a file associated with it, the smart device server receives a list of the files that it needs. The smart device server connects to the Central File Server and requests the files. The Central File Server connects to the File Store and sends the files to the smart device server. When the device checks in, it downloads the files from the smart device server.
By default, Avalanche locates the Central File Store on the same computer where the Enterprise Server is installed. However, you may choose to use a network drive or other location for storing files.
If a device checks in before the smart device server has finished retrieving the files, the server tells the device to try again in a few minutes.
Use the following sections to determine when and where to use the Central File Store.
When you use a manifest URL, all devices retrieve files directly from the location listed in the payload. This may not be practical if large files are pushed out to many devices simultaneously or if the network connection is low-quality.
When you use the Central File Store, the devices retrieve files from the smart device server they have been configured to connect to. When you have several smart device servers, this spreads traffic out to several servers. Using the Central File Store may also reduce reliance on a poor network connection.
How many files will be stored and their size are the most important factors in deciding where the Central File Store should be located. Some files, such as OS updates, can be very large. If you have a lot of files or if your files are very large, consider using a separate location for the Central File Store. If you don't have many files or if your files are small, you may want to keep the Central File Store in the default location for ease of management.
You must have a certificate for the server where the Central File Store is located. If you set up the Central File Store in the same location as a smart device server, you can use the same certificate for both.
Upgrading device enablers
After upgrading to Avalanche 6.2+, device enablers must be upgraded to 22.214.171.1243 or newer to work with the Central File Store and receive new or migrated file payloads.
1.Create a software payload for the new Avalanche device enabler using a manifest URL.
2.Add the payload to a profile and deploy it to devices.
Devices connect to Avalanche using the new enabler and can receive files from the Central File Store.
Using the Central File Store for a pre-6.2 payload
In previous versions of Avalanche, files were stored in the database. The upgrade process does not move those files out of the database, and they need to be copied manually after upgrading to Avalanche 6.2+. After moving the files to the Central File Store, payloads can be edited to use the hosted files.
1.Move the payload files into the Central File Store.
2.Edit the payload by clicking its name in the Available Payloads panel and selecting the desired file from the Central File Store.
3.Save the payload.
Use the following sections to configure the Central File Store and manage its files.
You must have a certificate for the server where the Central File Store is located. If you set up the Central File Store in the same location as a smart device server, you can use the same certificate for both. For information about obtaining a certificate, see Obtaining SSL Certificates.
To import a certificate
1.In the Avalanche console, navigate to Tools > Central FileStore > Configurations.
2.In the Central File Server HTTPS Certificate section, click Browse for Certificate File.
3.Locate the certificate's .pfx file and click Open.
4.Enter the password associated with the certificate in the Certificate Store Password text box.
5.In the Central File Server URL section, enter the public server address of your server. The default port for the Central File Store is 9000.
7.Perform a deployment.
All users with administrator privileges can edit the Central File Store settings, regardless of their home location.
The default port for the Central File Store is TCP 9000, but the port number may be configured during installation.
To edit the Central File Store settings
1.Navigate to Tools > Central FileStore > Configurations.
2.Configure the settings for the Central File Store.
4.Deploy the changes to all smart device servers.
The Central File Store has the following configuration options
FileStore UNC path
A network path to the location where you want the Central File Store. This path should be a dedicated path for the File Store. By default, this field is populated with a path local to the Enterprise Server. If you change this path after you begin storing files, everything in this folder is copied to the new location.
A username associated with an account that has permission to access the network location. This account is used to retrieve files from the File Store. The account must have write permissions, not read-only permissions.
A password associated with an account that has permission to access the network location.
Certificate Store (PFX/P12)
A certificate associated with the public address of the location of the Central File Store. If you have the Central File Store located at the same address as a smart device server, you can use the same certificate for both.
Certificate Store Password
The password associated with the certificate.
Public Server Address
The address and port for the Central File Store.
Add files to the Central File Store through the Avalanche Console. You must have administrator permissions in Avalanche in order to manage files in the Central File Store through the Avalanche Console. Files can also be added directly, using your preferred file browser and adequate credentials, but you will need to refresh the file tree by logging out and logging back in to the console.
To manage files in the Central File Store with the Avalanche Console
1.Click Tools > Central FileStore.
2.Use the buttons at the top of the page to create directories, rename files, delete files, import files, export files, and refresh the Central File Store.
Changes are automatically saved as you make them.
When you replace, delete, or rename files in the Central File Store, be sure to update any payloads using those files. The associated payloads do not update automatically.