Technical Knowledge Base

Unity Upgrade

Problem:

Unisphere displays the following Alert: 
A drive firmware upgrade (version xxxx) is now available for download

Customer wants assistance upgrading their Unity array

When logged into a Unity system via the Unisphere GUI, the array automatically scans for and notifies you if a new drive firmware update is available. If a firmware update is available, an alert message “A drive firmware upgrade (version xxxx) is now available for download” is displayed in the list of Alerts for each drive firmware requiring updating.

Advisory

DELL EMC recommend performing Unity OE code upgrade during a low production period. There shouldn't be any DU/DL during the upgrade however may slow things down and have higher CPU utilization during the upgrade.
Prior to upgrade cores/service should have at least 5GB free space. Usually deleting old data collects is the best way to free up that space.
If upgrading to 4.5 or 4.5.1 see KB - Dell EMC Unity: Replication Data Store Not Updating after 4.5.0 or 4.5.1 upgrade (User Correctable) https://support.emc.com/kb/531543
This article has been promoted as HVC on DELL EMC Community Network (DECN): https://community.emc.com/docs/DOC-56665

Steps to upgrade Unity OE code through Unisphere

Pre-work to be done by the customer prior to day of the upgrade

  1. Reboot each SP one at a time with a 10 minute gap between restarts
  2. Log into Unisphere with admin account or one with similar privileges
  3. Navigate to Settings > Software and Licenses > Software Upgrades
  4. Perform health checks

Upgrade

  1. Log into the primary SP
  2. Verify there is enough space to proceed (less than 80%)
df -k
  1. Move over to the peer SP and verify space
peer ssh
df -k
  1. Log into Unisphere as admin or equivalent user
  2. Go to the Settings menu
    ../../Work/Images/EMC/Unity/settings.png
  3. Navigate to Software and Licenses > Software Upgrade

    There are 3 options in here
          Perform Health Check
          Start Upgrade
          Download New Software

  4. Perform one last health check before beginning the upgrade

    If any errors are reported, STOP here and correct those issues. Any warnings need to be reviewed and a decision made on whether those should be addressed before or after the upgrade

  5. Download the software file if needed from: https://www.dell.com/support/home/en-us/product-support/product/unity-family/drivers

  6. If the customer is using replication and that has not been disabled to this point, instruct them to disable replication
  7. Click on Start Upgrade to launch the Upgrade Wizard
  8. Upload the Unity OE upgrade file
    ../../Work/Images/EMC/Unity/upload.png

    Once complete the file name will be shown to the right of the Choose File button
    After selecting Next the system will prepare the file for the upgrade, this can take up to 10 minutes.
    If the upgrade is cancelled after this step, delete the image from /var/tmp/upgrade on the primary SP.

  9. Configure Upgrade - Automatically Reboot Storage Processors is selected by default, this is the recommended setting so the upgrade can run through and the system will reboot the SPs as needed. Alternatively this can be unchecked and the update can be completed at a later time via the "Resume Upgrade" option.
    ../../Work/Images/EMC/Unity/config_upgrade.png

  10. Review Summary page, ensure installed version and new version are correct

    Best practice is to perform the upgrade with minimal I/O or with the system quiesced

  11. Select Finish to start the upgrade

  12. After upgrade is complete, refresh Unisphere and the new version should be displayed in Summary Tab > System View

Steps to upgrade the drive firmware

  1. Login to the Unity array via the Unisphere GUI.
  2. Select Update System Settings icon on the top right hand corner of the GUI.
  3. Select Drive Firmware under Software and Licenses
  4. Select Obtain Drive Firmware Online. It will take you to the download page for your system. Download the latest “Unity_Drive_Firmware_Package” version
  5. Select Install Drive Firmware
  6. Select Perform Health Checks

    Note: If the pre-update health check fails, you need to resolve the issue before performing an update. If the health check does not fail, but displays warning messages highlighting potential issues, you can check and correct these issues either before or after the update.

  7. Select Choose File and select the drive firmware package previously downloaded

  8. Select Next to upload the drive firmware package to the storage system
  9. Select Finish to install the drive firmware
  10. View the results and close

Note: the word “Disk” may be used instead of “Drive” in the Unisphere GUI depending on your version of software

Steps to upgrade Unity OE code through CLI (uemcli)

  1. Download the software file, if needed, from: https://www.dell.com/support/home/en-us/product-support/product/unity-family/drivers

Any client that supports uemcli can be used, Windows, Linux, Unity Console

If using the unity console
SSH to the managing SP
Move the image file via winSCP or sftp to the correct directory /cores/service
For OE 4.5+ move file to /cores/service/user
Copy the image to the peer SP

scp /cores/service/<upgrade_image> peer:/cores/service

OE 4.5+: scp /cores/service/user/<upgrade_image> peer:/cores/service/user
Delete the image from local SP

rm /cores/service/<image name>

OE 4.5+: rm /cores/service/user/<upgrade_image>

  1. Upload the image
uemcli -d <unity_management_ip> -u admin -securePassword -upload -f c:\data\<upgrade_image> upgrade

../../Work/Images/EMC/Unity/cli_upload.PNG

If using unity console
uemcli -d -u admin -securePassword -upload -f /cores/service/user/ upgrade

If the upgrade is cancelled after this step, delete the image from /var/tmp/upgrade on the primary SP.

  1. Verify the image candidate ID
uemcli -d <unity_management_ip> -u admin -securePassword /sys/soft/ver show

../../Work/Images/EMC/Unity/candidate_id.png

  1. Start the upgrade
uemcli -d <unity_management_ip> -u admin -securePassword /sys/soft/upgrade create -candId <CAND_ID>
  1. Monitor the upgrade
uemcli -d <unity_management_ip> -u admin -securePassword /sys/soft/upgrade show -detail
  1. Verify after completion from sp login
uemcli /sys/soft/ver show -detail
uemcli /sys/soft/upgrade show -detail

../../Work/Images/EMC/Unity/verify.png

Resources

How to Upgrade Dell EMC Unity OE code
Revision Matrix
Drive Firmware Upgrade Instructions and Information