跳转到主内容

向现有聚合添加磁盘的最佳实践是什么?

Views:
1,661
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
perf
Last Updated:

​ ​ ​  

适用于

  • ONTAP 9
  • FAS 系统

回答

警告:

  • 本文适用于硬盘驱动器磁盘 (HDD) 聚合,但不得对 SSD 聚合、FabricPool 或 Cloud Volumes ONTAP (CVO) 聚合进行重新分配。
  • 对于 CVO,请创建一个新的聚合,卷移动现有卷,并在腾空后销毁现有聚合。
  • 即使在执行磁盘固件更新并将效率尽最大努力更改为后台之后,由于聚合上的磁盘利用率而导致的高延迟也需要向聚合中添加更多磁盘。
  • 为了获得最佳性能,建议向现有 RAID 组中添加大小相同的新 RAID 组。
    • 如果无法添加新的 RAID 组,则至少应同时向现有 RAID 组添加三个或更多磁盘。
    • 这允许存储系统跨多个磁盘写入新数据。
  • 必须进行强制重新分配以跨 RAID 组均匀分布数据,否则大多数新写入将进入新磁盘,导致工作负载不平衡。
    • 如果未完成重新分配,性能将变得更差,statit 将如下所示。
    • 最终,WAFL 将自行修复,但后台流程的资源由 ONTAP 控制,这取决于外部工作负载,因此可能需要数月才能完成。
::> set advanced ::*> node run -node node_1 statit -b /* wait 60s */ ::*> node run -node node_1 statit -e ... disk ut% xfers ureads--chain-usecs writes--chain-usecs cpreads-chain-usecs greads--chain-usecs gwrites-chain-usecs /aggr_data/plex0/rg0: 0a.10.6 32 84.50 0.16 3.65 5014 40.70 58.65 357 43.63 55.17 217 0.00 .... . 0.00 .... . 0a.10.8 32 83.93 0.17 3.55 4777 40.51 58.94 356 43.25 55.71 216 0.00 .... . 0.00 .... . 0a.10.10 51 111.80 29.66 10.65 1862 26.92 29.12 772 55.22 14.13 677 0.00 .... . 0.00 .... . 0a.10.12 52 112.22 30.35 10.71 1825 26.91 29.93 735 54.96 14.16 689 0.00 .... . 0.00 .... . 0a.10.14 53 112.81 30.63 10.34 1956 27.08 29.59 777 55.10 14.31 697 0.00 .... . 0.00 .... . 0a.10.16 54 114.66 31.85 10.76 1902 27.46 30.05 783 55.34 14.45 680 0.00 .... . 0.00 .... . 0a.10.18 53 114.26 30.45 11.23 1781 27.84 30.42 784 55.97 14.68 675 0.00 .... . 0.00 .... . 0a.10.20 52 113.79 29.10 8.11 2510 27.69 30.14 744 56.99 14.33 673 0.00 .... . 0.00 .... . 0a.10.24 53 116.80 29.56 8.08 2443 28.82 30.73 754 58.41 14.49 657 0.00 .... . 0.00 .... . 0a.10.26 54 117.57 31.09 8.67 2353 28.63 30.12 752 57.85 14.49 661 0.00 .... . 0.00 .... . 0a.10.28 55 118.71 30.31 9.07 2323 29.45 30.87 752 58.95 14.71 661 0.00 .... . 0.00 .... . 0a.10.30 50 106.95 28.86 8.86 2197 24.60 29.18 704 53.49 14.21 668 0.00 .... . 0.00 .... . 0a.10.36 78 154.61 48.59 11.54 2426 45.44 39.71 863 50.57 20.24 479 0.00 .... . 0.00 .... . 0a.10.38 75 158.05 61.35 8.91 2969 39.69 29.13 914 47.01 15.24 666 0.00 .... . 0.00 .... . 0a.10.40 75 156.63 60.31 9.21 2918 39.65 29.75 903 46.67 15.51 680 0.00 .... . 0.00 .... . 0a.10.42 75 158.28 60.53 9.48 2803 40.21 29.83 896 47.54 15.47 666 0.00 .... . 0.00 .... . 0a.10.44 76 159.14 67.07 7.15 3959 38.21 39.97 682 43.86 19.47 572 0.00 .... . 0.00 .... .
应如何完成重新分配?

这 必须与您的客户团队一起考虑。

FlexVol
  • 强制重新分配忽略优化阈值,并将数据完全重写到磁盘,这与正常的重新分配过程不同。
  • 虽然这改进了布局,但由于聚合上的负载过大,常规使用 [-force|-f [true]] reallocate 不是最佳做法
  • 此外,由于所有数据都经过优化,因此除非同时使用物理重新分配方法 ([ -space-optimized|-p [true] ]),否则无法对具有现有 Snapshot 副本的卷运行强制重新分配。
    • cluster::> reallocate start -vserver svm0 -path /vol/vol1 -f true -p true
    • 一次可以运行一个作业,如果存在性能开销,则可以添加第二个作业。
FlexGroups
  • 重新分配可以在聚合级别上完成,但通常在磁盘周期上成本高昂,需要几天或几周的时间。
  • 无法进行卷重新分配,因此需要进行聚合重新分配:
    • cluster::> storage aggregate reallocation start -once true -aggregate <aggr_name>
卷移动
需要考虑的重要事项
  • 最好在 Active IQ Unified Manager 中查看聚合下的性能,然后查看节点下的性能,以确定最安静的时间,例如下午 5 点后或周末。
  • 重新分配将导致额外的开销,因此必须考虑到这一点。
    • 据估计,这会导致每个作业 10-30% 的性能开销,但这只是一个估计,可能会花费更多或更少的时间。
    • 在磁盘利用率较高的情况下,一种更可衡量的方法是首先处理最繁忙的卷,然后在聚合中处理最安静的卷。

 

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.