Support for Windows Azure Redis Cache

We have had a number of customers ask us if we support the new Azure Redis cache offering. The short answer is no, at least not yet, as this requires code changes in the product to support the new cache. We are looking at supporting Redis in the near future.

However, all is not lost, as Redis is not the only cache offering, and we do still support the Azure managed cache offering. This used to be visible in the UI, but you now have to use Azure PowerShell to create a managed cache, which you can then manage through the portal UI once created. Note that the managed cache offers the same uptime SLA as Redis, at 99.9%.

Follow the instructions below to create the cache, once it is up and running, you can return to the installation guide to continue setup. It's just the cache creation process that has changed.

Azure PowerShell Setup

Download & Install

First, download and install the Azure PowerShell package to your local machine:

  1. Go to http://go.microsoft.com/fwlink/p/?linkid=320376&clcid=0x409 to download the web installer
  2. Run the downloaded executable WindowsAzurePowerShell.3f.3f.3fnew.exe
  3. Follow the installer prompts to install with default options

Connecting to your Azure subscription

Once the PowerShell framework is installed, you first need to connect it to your Azure subscription. To do this:

  1. Launch Windows Azure PowerShell from the Start menu
  2. Run the following command Add-AzureAccount
  3. This will launch a browser window and prompt you to login. Login with the account you use to connect to your Azure subscription
  4. Once connected you will see the following in the PowerShell window

You can now create an Azure Managed Cache from the PowerShell window.

Cache Creation & Configuration

To create and configure a new managed cache, carry out the following steps:

  1. In the Azure PowerShell window, run the following command, replacing the location to match the location your HPRM virtual machine is running in: New-AzureManagedCache -Name hprmcache1 -Location "East US" -Sku Basic -Memory 128MB
  2. You will see the following response
  3. Note that the cache may take some time to create, in my case around 15 minutes. Once complete you will see the following in the PowerShell window
You can now access the cache through the Azure portal UI. Refer to the following HPRM Governance and Compliance SharePoint App Installation Guide appendices to continue cache configuration:
  • III. General administration tasks - Obtaining the Azure cache endpoint
  • III. General administration tasks - Obtaining the Azure access keys

That's it folks!