I’m sorry I couldn’t think of a fancy title for this post, but did you know you can configure FAST Cache with naviseccli? I can’t remember whether I’ve talked about this before or not. So just go with it. This one’s quick and dirty, by the way. I won’t be talking about where you should be putting your EFDs in the array. That really depends on the model array you have and the number of EFDs at your disposal. But don’t just go and slap them in any old way. Please, think of the children.
To use FAST Cache, you’ll need:
- The FAST Cache enabler installed;
- EFD disks that are not in a RAID group or Storage Pool;
- To have configured the FAST Cache (duh);
- The correct number of disks for the model of CLARiiON or VNX you’re configuring; and
- To have enabled FAST Cache for the RAID group LUNs and/or the pools with LUNs that will use FAST Cache.
Basically, you can run the following switches after the standard naviseccli -h sp-ip-address
cache -fast -create – this creates FAST Cache.
cache -fast -destroy – this destroys FAST Cache.
cache -fast -info – this displays FAST Cache information.
When you create FAST Cache, you have the following options:
cache -fast -create -disks disksList [-rtype raidtype] [-mode ro|rw] [-o]
Here is what the options mean:
-disks disksList – You need to specify what disks you’re adding, or it no worky. Also, pay close attention to the order in which you bind the disks.
-mode ro|rw – The ro is read only mode and rw is readwrite mode.
-rtype raidtype – I don’t know why this is in here, but valid RAID types are disk and r_1.
-o – Just do it and stop asking questions!
naviseccli cache -fast -create -disks 0_1_6 1_1_6 -mode rw -rtype r_1
In this example I’ve used disks on Bus 0, Enclosure 1, Disk 6 and Bus 1, Enclosure 1, Disk 6.
Need info about what’s going on? Use the following command:
cache -fast -info [-disks] [-status] [-perfData]
I think -perfdata is one of the more interesting options here.
