HP 3PAR Adaptive Flash Cache Configuration


Assumptions:

HP 3PAR Adaptive Flash Cache is a feature that uses SSDs for read cache. It can be used to maximize read hits and improve random read performance.
Flash Cache can be created in 16 GB increments.
Flash Cache is always created as fully allocated RAID 1 Logical Disks behind all nodes on the array
Feature can be enabled on entire system rather or on VVSet Mode.

We will activate on entire system:

Verify available space:
DC13PAR cli% showspace -p -devtype SSD -t r1 -ha mag
--Estimated(MB)---
RawFree              UsableFree
1896448                948224

Verify if Flash Cache is already configured:
DC13PAR cli% showflashcache

If is enabled you will see an output similar to:
                               -(MB)-
Node Mode  State     Size Used%
   0 SSD   normal   65536    41
   1 SSD   normal   65536    41
   2 SSD   normal   65536    45
   3 SSD   normal   65536    41
-------------------------------
   4 total         262144

And you should skip the createflashcache step.

If it`s not configured carry on with the next step:

Create 128 GB (or as much as you need) of Flash Cache for each node pair in the array:
DC13PAR cli% createflashcache 128g

Verify again with showflashcache and go to next step.

We will now enable Flash Cache on entire system, as stated at the beginning using following command:

DC13PAR cli% setflashcache enable sys:all








HP 3PAR Adaptive Flash Cache Configuration


Assumptions:

HP 3PAR Adaptive Flash Cache is a feature that uses SSDs for read cache. It can be used to maximize read hits and improve random read performance.
Flash Cache can be created in 16 GB increments.
Flash Cache is always created as fully allocated RAID 1 Logical Disks behind all nodes on the array
Feature can be enabled on entire system rather or on VVSet Mode.

We will activate on entire system:

Verify available space:
DC13PAR cli% showspace -p -devtype SSD -t r1 -ha mag
--Estimated(MB)---
RawFree              UsableFree
1896448                948224

Verify if Flash Cache is already configured:
DC13PAR cli% showflashcache

If is enabled you will see an output similar to:
                               -(MB)-
Node Mode  State     Size Used%
   0 SSD   normal   65536    41
   1 SSD   normal   65536    41
   2 SSD   normal   65536    45
   3 SSD   normal   65536    41
-------------------------------
   4 total         262144

And you should skip the createflashcache step.

If it`s not configured carry on with the next step:

Create 128 GB (or as much as you need) of Flash Cache for each node pair in the array:
DC13PAR cli% createflashcache 128g

Verify again with showflashcache and go to next step.

We will now enable Flash Cache on entire system, as stated at the beginning using following command:

DC13PAR cli% setflashcache enable sys:all








3PAR Remote Copy (RCIP) Basic Network Setup


Basic Network Setup for Remote Copy over IP on 3PAR


Setting up remote copy for 3PAR it`s easy and straight forward.
We are working on 8440 3PAR system, with 4 controller nodes.

Before doing any setup, your Remote Copy tab in CMC will look like in the picture bellow:

First, we need to connect to 3PAR CLI using administrator account:

Default credentials for 3PAR are:
Username: 3paradm
Password: 3pardata

Our systems have 4 RC ports, one on each node.

showport command will list all ports and their details:



If you execute showport -rcip comand you will get following answer:
DC13PAR cli% showport -rcip
There is no specified port information.

You need to setup IP details for each port as next step. Command for this task is:

controlport rcip addr <ip_address> <subnet_mask> <node:slot:port>

In our example:

DC13PAR cli% controlport rcip addr 10.244.77.200 255.255.255.192 0:3:1
Are you sure you want to change the address for 0:3:1?
select q=quit y=yes n=no: y
Remote Copy interface change successful.

Do the same for all interfaces (in our case, interfaces numbers are: 0:3:1, 1:3:1, 2:3:1 and 3:3:1) but don`t forget to change the IP address as each interface needs a different IP.

Execute startrcopy command to enable the RC engine.
DC13PAR cli% startrcopy

Now, if you run showport -rcip command you should get an output similar to:

DC13PAR cli% showport -rcip
N:S:P State ---HwAddr---        IPAddr         Netmask                Gateway  MTU  Rate Duplex AutoNeg
0:3:1 ready 3654B8CEC58D 10.244.77.200 255.255.255.192       -         1500 1Gbps   Full     Yes
1:3:1 ready 3654B8CEC8D5 10.244.77.201 255.255.255.192       -         1500 1Gbps   Full     Yes
2:3:1 ready 3654B8CEC4D9 10.244.77.202 255.255.255.192       -         1500 1Gbps   Full     Yes
3:3:1 ready 3654B8CEC7F9  10.244.77.203 255.255.255.192       -         1500 1Gbps   Full     Yes
----------------------------------------------------------------------------------------
    4

Notice there is no gateway set up. We need to add Gw details for each port. Command is:
controlport rcip gw <ip_address> <node:slot:port>

In our case: 

DC13PAR cli% controlport rcip gw 10.244.77.193 0:3:1
Are you sure you want to change the gateway for 0:3:1?
select q=quit y=yes n=no: y
Remote Copy interface change successful.

Running  showport -rcip command you should be able to see all details:

RO_DC1_135_3PAR_SYS cli% showport -rcip
N:S:P State ---HwAddr---        IPAddr         Netmask       Gateway  MTU  Rate Duplex AutoNeg
0:3:1 ready 3654B8CEC58D 10.244.77.200 255.255.255.192 10.246.99.192 1500 1Gbps   Full     Yes
1:3:1 ready 3654B8CEC8D5 10.244.77.201 255.255.255.192 10.246.99.192 1500 1Gbps   Full     Yes
2:3:1 ready 3654B8CEC4D9 10.244.77.202 255.255.255.192 10.246.99.192 1500 1Gbps   Full     Yes
3:3:1 ready 3654B8CEC7F9 10.244.77.203 255.255.255.192 10.246.99.192 1500 1Gbps   Full     Yes
----------------------------------------------------------------------------------------------
    4

Execute showrcopy command to check the status:

DC13PAR cli% showrcopy

Remote Copy System Information
Status: Started, Normal

At this point you should configure the secondary system similar to the primary one and test the connection between them.

Ping command to test the connection is:
controlport rcip ping <ip_addr> <node:slot:port>