Extended Storage User Guide
    • 15 May 2024
    • 2 Minutes to read
    • Dark
      Light
    • PDF

    Extended Storage User Guide

    • Dark
      Light
    • PDF

    Article summary

    STORAGE tab


    Extended Storage Functions

    Go to APPS:: ACTIVE:: EXTENDED STORAGE

    The left panel provides management options:

    • Shared side tab - Click Shared drop-down and select as needed. 
    • Configuration side-tab - Click Configuration drop-down and select as needed. 
    • Backups side-tab - On the Backups drop-down, select as needed. 
    • Templates side-tab - On Templates drop-down, select as needed. 

    Scrolling further down on the side panel shows the available enrolled devices.

    Side Panel Status: 

    • Storage shows used and available space.
    • Download shows the amount of downloads and the maximum allowed.

    Upgrade a Device with Extended Storage

    Devices may be upgraded using a shared image placed within the Extended Storage application as follows: Following are options to manage extended storage.

    1. Go to APPS :: ACTIVE :: EXTENDED STORAGE.
    2. In left panel, click Shared side-tab (displays available folders).
    3. On Shared drop-down, click Upload Files and select image and checksum files.
    4. Go to PROFILES:: TEMPLATE, click +Add (opens dialog).
    5. Enter Name and Description.
    6. On the Type drop-down, select Script.
    7. In the Code textbox, paste the following block:
      #!/bin/bash
      # Check if image and checksum exists on Extended storage if [ -f /var/local/file_manager/remote_file_system/extended_storage/Shared/nodegrid.iso ] &&   [ -f /var/local/file_manager/remote_file_system/extended_storage/Shared/nodegrid.md5 ]; then     # Files are located on Cloud storage, and it is better to download the files first instead of use direct    # inside the mounted folder    cp /var/local/file_manager/remote_file_system/extended_storage/Shared/nodegrid.iso /var/sw 2>/dev/null    RET_ISO=$?    cp /var/local/file_manager/remote_file_system/extended_storage/Shared/nodegrid.md5 /var/sw 2>/dev/null    RET_MD5=$?    if [ $RET_ISO != "0" ] || [ $RET_MD5 != "0" ]; then        echo "Failed to copy files"        exit 1    fi     ISO_MD5=$(md5sum /var/sw/nodegrid.iso | cut -d " " -f 1)    ISO_CHECKSUM=$(cat /var/sw/nodegrid.md5 | cut -d " " -f 1)     if [ $ISO_MD5 != $ISO_CHECKSUM ]; then        echo "Failed to verify checksum"        exit 1    fi     echo "Upgrading device..."    upgrade_software --local /var/sw/nodegrid.iso
      else    echo "Not able to find image or checksum file"    exit 1 fi
    8. Click Save.

    The script checks for the image and checksum within the shared folder, downloads both files to the target device, confirms the md5 checksum, and starts the upgrade process.

    Access Extended Storage Folders (WebUI)

    To access the extended storage folders directly on a Nodegrid device via the WebUI:

    1. Log into the device.
    2. Go to System :: Toolkit and click File Manager.
    3. Open the remote_file_system folder.
    4. Open extended_storage sub-folder.
    5. Two folders are available in this directory:
      • Shared – this folder is shared between all company devices.
      • Nameofdevice – this folder is only accessible by the device itself and the Extended Storage application on ZPE Cloud.
    6. Review contents, as needed.

    Access Extended Storage Folders (CLI)

    The extended storage folder can be accessed with a terminal session.

    1. Log into the device with the Console.
    2. To connect to the target device via ssh with root permission, execute:
      cd /var/locaddl/file_manager/remote_file_system/extended_storage
    3. The following options are available:
      • List contents
      • Read or copy content from extended storage (triggers a download from cloud storage to the device)
      • Write or copy content from Nodegrid to extended storage (triggers an upload from the device to cloud storage)
    4. The mv operation deletes the selected content from extended storage.

    DEVICES tab

    This tab presents storage details for individual devices. 

    Click STORAGE to display device's folders/files (displayed on STORAGE tab).

    SUBSCRIPTIONS tab

    This displays current subscriptions and status details. 

    1. As needed, click RENEW SUBSCRIPTION (displays dialog). 
    2. On Select Subscription drop-down, select one.
    3. In Type additional message (optional) textbox, add details.
    4. Click REQUEST (displays success dialog). 

    SETTINGS tab

    This provides configuration options for extended storage. 

    To modify settings, make changes, as needed.

    1. On the Backups menu, select Enable Save Device Backup checkbox.
    2. On the Notifications menu, select one or both:
      1. Notify when the total storage size reaches 80% checkbox.
      2. Notify when the total storage size reaches 100% checkbox.
    3. Click SAVE.



    Was this article helpful?

    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence