https://netapp.github.io/openstack/
2. Continuous Operations with OpenStack’s File-Share Service (Manila)
https://www.youtube.com/watch?v=Mvhx1gRgUUI
https://www.youtube.com/watch?v=5YZPHc2y7XY
Linux Toolkits Blog is a scratch-pad of tips and findings on Linux
netapp-cluster1::*> network port show Auto-Negot Duplex Speed (Mbps) Node Port Role Link MTU Admin/Oper Admin/Oper Admin/Oper ------ ------ ------------ ---- ----- ----------- ---------- ------------ netapp-cluster1-01 a0a data down 1500 true/- auto/- auto/- e0a data up 1500 true/true full/full auto/1000 e0b data up 1500 true/true full/full auto/1000 e0c data up 1500 true/true full/full auto/100 e0d data up 1500 true/true full/full auto/10002. If you have a LIF that should be on that node; do the following: The purpose is to let another node within the cluster to be the home-node for the data and mgmt while you up and down the interface group
netapp-cluster1::*> net int modify -vserver vs_StorageVNode11 -lif vs_StorageVNode11_data1 -home-node netapp-cluster1-02 -home-port a0a netapp-cluster1::*> net int modify -vserver vs_StorageVNode11 -lif vs_StorageVNode11_mgmt1 -home-node netapp-cluster1-02 -home-port a0a net int revert *3. Remove the Interface Group from the -port e0c and down and up the e0c port
netapp-cluster1::*> ifgrp remove-port -node netapp-cluster1-01 -ifgrp a0a -port e0c netapp-cluster1::*> net port modify -node netapp-cluster1-01 -port e0c -up-admin false netapp-cluster1::*> net port modify -node netapp-cluster1-01 -port e0c -up-admin true netapp-cluster1::*> net port show -node netapp-cluster1-01 -port a0a,e0cOnce If e0c shows up and at auto/1000, add the interface and return the interface group back to netap-cluster-01
netapp-cluster1::*> ifgrp add-port -node netapp-cluster1-01 -ifgrp a0a -port e0c netapp-cluster1::*> net port show -node netapp-cluster1-01 -port a0a netapp-cluster1::*> net int modify -vserver vs_StorageVNode11 -lif vs_StorageVNode11_data1 -home-node netapp-cluster1-01 -home-port a0a netapp-cluster1::*> net int modify -vserver vs_StorageVNode11 -lif vs_StorageVNode11_mgmt1 -home-node netapp-cluster1-01 -home-port a0a netapp-cluster1::*> net int revert *
node1::> node run –node node1 node1::> options flexscale.enable on node1::>options flexscale.enable flexscale.enable pcs you should see this node1::>options flexscale.pcs_size 330GB based on 3 x 200GB SSD RAID4
node1::>stats show -p flexscale-accessNetApp recommends issuing this command through an SSH connection and logging the output throughout the observation period because you want to capture and observe the peak performance of the system and the cache. This output can also be easily imported into spreadsheet software, graphed, and so on. This process initially provides information on the “cold” state of the emulated cache. That is, no data is in the cache at the start of the test, and the cache is filled as the workload runs. The best time to observe the emulated cache is once it is filled, or “warmed”, as this will be the point when it enters a steady state. Filling the emulated cache can take a considerable amount of time and depends greatly on the workload. References:
netapp-cluster1::> statistics show-periodic cluster:summary: cluster.cluster: 9/9/2014 09:33:29 cpu total data data data cluster cluster cluster disk disk busy ops nfs-ops cifs-ops busy recv sent busy recv sent read write ---- -------- -------- -------- ---- -------- -------- ------- -------- -------- -------- -------- 5% 303 303 0 2% 4.86MB 223KB 0% 1.16MB 1.17MB 685KB 571KB 5% 312 312 0 3% 8.27MB 359KB 0% 1.11MB 1001KB 679KB 39.4KB 8% 300 300 0 2% 7.29MB 495KB 0% 2.87MB 3.30MB 2.66MB 59.1KB 6% 158 158 0 1% 3.53MB 168KB 0% 2.16MB 1.51MB 2.71MB 11.1MB 5% 184 184 0 2% 4.48MB 1.22MB 0% 1.99MB 1.97MB 1.21MB 10.9MB 5% 213 213 0 1% 2.82MB 222KB 0% 902KB 749KB 240KB 671KB 3% 144 144 0 1% 2.32MB 762KB 0% 559KB 685KB 96.6KB 15.8KB 4% 199 199 0 1% 3.73MB 881KB 0% 796KB 715KB 390KB 39.6KB 7% 164 164 0 1% 4.49MB 365KB 0% 2.34MB 2.43MB 2.52MB 8.33MB 7% 115 115 0 2% 4.07MB 154KB 0% 1.23MB 1.25MB 2.41MB 9.80MB 3% 224 224 0 1% 2.72MB 163KB 0% 1.80MB 721KB 407KB 996KB 4% 220 220 0 1% 4.38MB 1.32MB 0% 451KB 1.54MB 199KB 110KB 5% 124 124 0 1% 2.97MB 157KB 0% 315KB 273KB 251KB 15.8KB 7% 153 153 0 0% 1.76MB 139KB 0% 220KB 268KB 2.54MB 1.28MB 4% 120 120 0 0% 1.30MB 80.4KB 0% 417KB 325KB 2.86MB 13.9MB cluster:summary: cluster.cluster: 9/9/2014 09:34:01 cpu total data data data cluster cluster cluster disk disk busy ops nfs-ops cifs-ops busy recv sent busy recv sent read write ---- -------- -------- -------- ---- -------- -------- ------- -------- -------- -------- -------- Minimums: 3% 115 115 0 0% 1.30MB 80.4KB 0% 220KB 268KB 96.6KB 15.8KB Averages for 15 samples: 5% 195 195 0 1% 3.93MB 451KB 0% 1.22MB 1.19MB 1.32MB 3.84MB Maximums: 8% 312 312 0 3% 8.27MB 1.32MB 0% 2.87MB 3.30MB 2.86MB 13.9MB
My-NetApp-Cluster::> cluster show Node Health Eligibility --------------------- ------- ------------ cluster1-01 true true cluster1-02 true true cluster1-03 true true cluster1-04 true true 4 entries were displayed.
My-NetApp-Cluster::> run -node cluster1-01 vol status -f RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks) --------- ------ ------------- ---- ---- ---- ----- -------------- -------------- failed 0a.00.12 0a 0 12 SA:A - BSAS 7200 1695466/3472315904 1695759/3472914816 failed 0b.00.9 0b 0 9 SA:B - BSAS 7200 1695466/3472315904 1695759/3472914816
My-NetApp-Cluster::> run -node cluster1-01 sysconfig -a NetApp Release 8.2P2 Cluster-Mode: Sat Jul 20 20:31:47 PDT 2013 ..... ..... .....
My-NetApp-Cluster::> storage disk show -spare Original Owner: acai-cluster1-01 Checksum Compatibility: block Usable Physical Disk HA Shelf Bay Chan Pool Type RPM Size Size Owner --------------- ------------ ---- ------ ----- ------ -------- -------- -------- cluster1-01:0b.00.9 0b 0 9 B Pool0 BSAS 7200 1.62TB 1.62TB cluster1-01 Original Owner: cluster1-02 Checksum Compatibility: block Usable Physical Disk HA Shelf Bay Chan Pool Type RPM Size Size Owner --------------- ------------ ---- ------ ----- ------ -------- -------- -------- cluster1-02:0a.00.7 0a 0 7 B Pool0 BSAS 7200 1.62TB 1.62TB cluster1-02 ..... .....
My-NetApp-Cluster::> storage disk show -container-type unassigned Usable Container Disk Size Shelf Bay Type Position Aggregate Owner ---------------- ---------- ----- --- ----------- ---------- --------- -------- cluster1-01:0b.00.9 1.62TB 0 9 spare present - cluster1-01 cluster1-02:0a.00.7 1.62TB 0 7 spare present - cluster1-02
My-NetApp-Cluster::> storage disk assign -disk cluster1-01:0b.00.9 -owner cluster1-01
# cp -avp /home/.snapshot/nightly.0/home/mysite/recover_my_folder /home/mysite/
Controller-A> disk show -n
DISK OWNER POOL ------ ------- ------ 0a.76 Not Owned NONE
Controller-A> disk assign 0a.76
Controller-A> disk assign 0a.76 -s unowned -f