Overview

The StorSimple updates features allow you to easily keep your StorSimple device up-to-date. Depending on the update type, you can apply updates to the device via the Azure classic portal or via the Windows PowerShell interface. This tutorial describes the update types and how to install each of them.

You can apply two types of device updates:

  • Regular (or Normal mode) updates
  • Maintenance mode updates

You can install regular updates via the Azure classic portal or Windows PowerShell; however, you must use Windows PowerShell to install Maintenance mode updates.

Each update type is described separately, below.

Regular updates

Regular updates are non-disruptive updates that can be installed when the device is in Normal mode. These updates are applied through the Microsoft Update website to each device controller.

Important:

A controller failover may occur during the update process. However, this will not affect system availability or operation.

  • For details on how to install regular updates via the Azure classic portal, see [Install regular updates via the Azure classic portal(#install-regular-updates-via-the-azure-classic-portal).

  • You can also install regular updates via Windows PowerShell for StorSimple. For details, seeInstall regular updates via Windows PowerShell for StorSimple.

Maintenance mode updates

Maintenance Mode updates are disruptive updates such as disk firmware upgrades. These updates require the device to be put into Maintenance mode. For details, see Step 2: Enter Maintenance mode. You cannot use the Azure classic portal to install Maintenance mode updates. Instead, you must use Windows PowerShell for StorSimple.

For details on how to install Maintenance mode updates, see Install Maintenance mode updates via Windows PowerShell for StorSimple.

Important:

Maintenance mode updates must be applied separately to each controller.

Install regular updates via the Azure classic portal

You can use the Azure classic portal to apply updates to your StorSimple device.

To install regular updates via the Azure classic portal

  1. On the Devices page, select the device on which you want to install updates.

  2. Navigate to Devices > Maintenance and scroll down to Software Updates.

  3. To check for updates, click Check Updates at the bottom of the page.

  4. You will see a message if software updates are available. Click Install Updates to begin updating the device.

    You will be notified when the update is successfully installed.

Install regular updates via Windows PowerShell for StorSimple

Alternatively, you can use Windows PowerShell for StorSimple to apply regular (Normal mode) updates.

Important:

Although you can install regular updates using Windows PowerShell for StorSimple, we strongly recommend that you install regular updates through the Azure classic portal. Beginning with Update 1, pre-checks will be performed prior to installing updates from the portal. These pre-checks will preempt failures and ensure a smoother experience.

To install regular updates via Windows PowerShell for StorSimple

  1. Open the device serial console and select option 1, Log in with full access. Type the password. The default password is Password1.

  2. At the command prompt, type:

    Get-HcsUpdateAvailability

    You will be notified if updates are available and whether the updates are disruptive or non-disruptive.

  3. At the command prompt, type:

    Start-HcsUpdate

    The update process will start.

Important:

 

  • This command applies only to regular updates. You run this command on only one controller, but both controllers will be updated.
  • You may notice a controller failover during the update process; however, the failover will not affect system availability or operation.

Install Maintenance mode updates via Windows PowerShell for StorSimple

You use Windows PowerShell for StorSimple to apply Maintenance mode updates to your StorSimple device. All I/O requests are paused in this mode. Services such as non-volatile random access memory (NVRAM) or the clustering service are also stopped. Both controllers are rebooted when you enter or exit this mode. When you exit this mode, all the services will resume and should be healthy. (This may take a few minutes.)

If you need to apply Maintenance mode updates, you will receive an alert through the Azure classic portal that you have updates that must be installed. This alert will include instructions for using Windows PowerShell for StorSimple to install the updates. After you update your device, use the same procedure to change the device to Regular mode. For step-by-step instructions, see Step 4: Exit Maintenance mode.

Important:

 

  • Before entering Maintenance mode, verify that both device controllers are healthy by checking the Hardware Status on the Maintenance page in the Azure classic portal. If the controller is not healthy, contact Microsoft Support for the next steps. For more information, go to Contact Microsoft Support.
  • When you are in Maintenance mode, you need to apply the update first on one controller and then on the other controller.

Step 1: Connect to the serial console

First, use an application such as PuTTY to access the serial console. The following procedure explains how to use PuTTY to connect to the serial console.

To connect through the serial console

  1. Connect your serial cable to the device (directly or through a USB-serial adapter).

  2. Open the Control Panel, and then open the Device Manager.

  3. Identify the COM port as shown in the following illustration.

    Connecting through serial console

  4. Start PuTTY.

  5. In the right pane, change the Connection type to Serial.

  6. In the right pane, type the appropriate COM port. Make sure that the serial configuration parameters are set as follows:

    • Speed: 115,200
    • Data bits: 8
    • Stop bits: 1
    • Parity: None
    • Flow control: None

    These settings are shown in the following illustration.

    PuTTY settings

    Note:

    If the default flow control setting does not work, try setting the flow control to XON/XOFF.

  7. Click Open to start a serial session.

Step 2: Enter Maintenance mode

After you connect to the console, determine whether there are updates to install, and enter Maintenance mode to install them.

To enter Maintenance mode

  1. In the serial console menu, choose option 1, Log in with full access.

  2. Type the password. The default password is Password1.

  3. At the command prompt, type

    Enter-HcsMaintenanceMode

  4. You will see a warning message telling you that Maintenance mode will disrupt all I/O requests and sever the connection to the Azure classic portal, and you will be prompted for confirmation. Type Y to enter Maintenance mode.

    Both controllers will restart. When the restart is complete, another message will appear indicating that the device is in Maintenance mode.

Step 3: Install your updates

Next, install your updates.

To install Maintenance mode updates via Windows PowerShell for StorSimple

  1. If you haven't done so already, access the device serial console and select option 1, Log in with full access.

  2. Type the password. The default password is Password1.

  3. At the command prompt, type:

    Get-HcsUpdateAvailability

  4. You will be notified if updates are available and whether the updates are disruptive or non-disruptive. To apply disruptive updates, you need to put the device into Maintenance mode. See Step 2: Enter Maintenance mode for instructions.

  5. When your device is in Maintenance mode, at the command prompt, type: Start-HcsUpdate

  6. You will be prompted for confirmation. After you confirm the updates, they will be installed on the controller that you are currently accessing. After the updates are installed, the controller will restart.

  7. Monitor the status of updates. Type:

    Get-HcsUpdateStatus

    If the RunInProgress is True, the update is still in progress. If RunInProgress is False, it indicates that the update has completed.

  8. When the update is installed on the current controller and it has restarted, connect to the other controller and perform steps 1 through 6.

  9. After both controllers are updated, exit Maintenance mode. See Step 4: Exit Maintenance mode for instructions.

Step 4: Exit Maintenance mode

Finally, exit Maintenance mode.

To exit Maintenance mode

  1. At the command prompt type:

    Exit-HcsMaintenanceMode

  2. A warning message and a confirmation message will appear. Type Y to exit Maintenance mode.

    Both controllers will restart. When the restart is complete, another message will appear indicating that the device is in Normal mode.

Install hotfixes via Windows PowerShell for StorSimple

Unlike updates for Microsoft Azure StorSimple, hotfixes are installed from a shared folder. As with updates, there are two types of hotfixes:

  • Regular hotfixes
  • Maintenance mode hotfixes

The following procedures explain how to use Windows PowerShell for StorSimple to install regular and Maintenance mode hotfixes.

To install regular hotfixes via Windows PowerShell for StorSimple

  1. Connect to the device serial console. For more information, see Step 1: Connect to the serial console.

  2. In the serial console menu, select option 1, Log in with full access. Type the password. The default password is Password1.

  3. At the command prompt, type:

    Start-HcsHotfix

    Important:

     

    • This command applies only to regular hotfixes. You run this command on only one controller, but both controllers will be updated.
    • You may notice a controller failover during the update process; however, the failover will not affect system availability or operation.
  4. When prompted, supply the path to the network shared folder that contains the hotfix files.

  5. You will be prompted for confirmation. Type Y to proceed with the hotfix installation.

To install Maintenance mode hotfixes via Windows PowerShell for StorSimple

Important:

In Maintenance mode, you need to apply the hotfix first on one controller and then on the other controller.

  1. Place the device into Maintenance mode. See Step 2: Enter Maintenance mode for instructions on how to enter Maintenance mode.

  2. To apply the hotfix, type:

    Start-HcsHotfix

  3. When prompted, supply the path to the network shared folder that contains the hotfix files.

  4. You will be prompted for confirmation. Type Y to proceed with the hotfix installation.

  5. After you have applied the hotfix on one controller, log on to the other controller. Apply the hotfix as you did for the previous controller.

  6. After the hotfixes are applied, exit Maintenance mode. See Step 4: Exit Maintenance modefor instructions.

What happens to updates if you perform a factory reset of the device?

If a device is reset to factory settings, then all the updates are lost. After the factory-reset device is registered and configured, you will need to manually install updates through the Azure classic portal and/or Windows PowerShell for StorSimple. For more information about factory reset, see Reset the device to factory default settings.

Next steps