NetApp ADP (Advanced drive partitioning) 介绍

本文主要对NetApp的ADP概念做个介绍,并简单介绍如何使用ADP(Advanced drive partitioning)。今天有朋友在对NetApp FAS2650系统做维护的时候,发现disk show 出来的内容多了很多,每个磁盘都有三行,表示不解,来询问原因。借此机会,这里把NetApp的ADP做个简单总结。

ADP是在OnTAP 版本 8.3.1以后引入的新功能,目的是为了解决长期被竞争对手诟病的问题,磁盘可用率低的问题。以前的版本,Ontap必须要有一个root卷,用来保存一些配置信息,这个root卷要放到volume 0上,按照NetApp的RAID 特点,每个控制器至少需要3个磁盘(RAID4或者RAID DP)来做root卷。这样,如果客户总的磁盘数不多,就显得非常浪费了。当然,你也可以在volume 0 上保存客户数据,但一般不建议这样做。

ADP就是为了解决这个问题而诞生的,他把root卷分布到更多的磁盘上,每个磁盘取一小块空间,这样就不需要单独的三个物理磁盘来做root 卷了。

ADP 有ADP V1和ADP V2两个版本

  • 早期的platform 仅仅支持ADP V1 on HDDs
  • 中端产品仅仅通过bootarg的方式来支持HD的ADPV1
  • 所有的平台都支持SSD上的ADPV2

有两种root data partiton的方式,如下所示: 

Root data partition

每个node都必须有一个root aggrgate,用来保存系统的配置信息。Root aggregate 也必须有raid type。如果采用RAID-DP,则至少需要一个data disk和2个parity  disks。太浪费空间了。

Root data partition 技术就是解决这种浪费空间的技术,在每个数据盘上预留一点区域用来存放root aggregate,其他区域用来保存 data aggregate.

 

可以看出,磁盘越多,root aggregate 占用的空间越少。

root-data-data partitioning.

如下图所示:一个很小的root partition,然后两个一样大小的data partition。

  • root-data partitioning 技术可以用于FAS25系列,FAS9000, FAS 8200 和FAS8000系列。
  • 而root-data-data partitioning 技术是仅用于所有的全闪系统(All Flash系统)

Data ONTAP 版本 9.2 以后,在boot menu中的一个新功能

这个功能会把所有的数据都擦除,让 node到出厂设置的状态。如果是NSE系统(就是加密系统),在执行ADP动作之前要把所有的disk的FIPS还有MSID KEY给擦除了。

*************************************************

* Advanced Drive Partitioning Boot Menu Options *

*************************************************

(9a) Unpartition all disks and remove their ownership information.

(9b) Clean configuration and initialize node with partitioned disks.

(9c) Clean configuration and initialize node with whole disks.

(9d) Reboot the node.

(9e) Return to main boot menu.

  • 9a: 如果系统配置了 partitioned disks,如果你想重新初始化系统到其他的配置。

 在每个HA的node上执行,依次执行。

• Removes existing aggregates owned by this controller

• Destroys the existing partitions owned by this controller

• Removes ownership from all locally owned disks

  • 9b:这个必须是在9a执行完毕以后来执行的。HA上的node依次执行

• Performs a wipe-clean of configuration   清除配置信息

• Automatically assigns local disk ownership and determines partition layout (data, parity, and spares) 自动分配本地磁盘的ownership和partition的layout

• Reinitializes the controller with partitioned disks   重新初始化控制器的partitioned磁盘

 System is configured with whole disks and you need to configure it for root-data partitioning

 System is incorrectly configured for root-data partitioning and you need to correct it

 There is an AFF platform or a FAS platform with only SSDs attached that is configured for root-data

partitioning and you can reinitialize it with root-data-data partitioning to gain increased storage efficiency

  • 9c:这个仅仅是在当一个node是从cluster中remove出来,而且没有加入到其他cluster中

也必须子执行完9a以后才可以执行这个。

########## WARNING ##########

All configuration data will be deleted and the node will be

initialized with whole disks. Existing disk partitions must

be removed from all disks (9a) attached to this node and

its HA partner (and DR/DR-AUX partner nodes if applicable).

The HA partner (and DR/DR-AUX partner nodes if applicable) must

be waiting at the boot menu or already initialized with whole

disks (9c).

Do you still want to continue (yes/no)? no

no

WholeDiskInit: Aborting Whole Disk Init operation

bootarg.bootmenu.selection is ||

这里HA partner必须在boot menu或者已经用9c initialize过了。去另外一个控制器,将其boot到Boot menu菜单,然后再回到A控,继续做9c的动作。

9c以后,系统重启,开始做 wipe filer procedure.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
SDK(软件开发工具包)是一种开发工具,用于帮助开发人员在创建应用程序时与特定的软件或硬件进行交互。NetApp是一家专注于数据存储技术的公司,其产品包括存储设备和软件。 NetApp提供了一个特定的SDK,用于监控其存储设备。通过使用这个SDK,开发人员可以获取关于存储设备的信息,比如存储容量、性能指标、配置和状态等。开发人员可以编写自己的应用程序来利用这些信息,以便更好地监控和管理NetApp存储设备。 利用NetApp的SDK可以实现以下功能: 1. 实时监控:通过调用SDK提供的接口,开发人员可以实时获取存储设备的运行状态,包括CPU使用率、内存使用率、磁盘使用率等指标。这些信息可以用于实时监控和诊断存储设备的性能。 2. 历史数据分析:SDK还提供了获取历史数据的功能,开发人员可以获取存储设备在一段时间内的各种指标数据,并通过分析这些数据来了解存储设备的使用趋势和性能变化。 3. 配置管理:通过调用SDK提供的接口,开发人员可以读取和修改存储设备的配置信息。这样,他们可以通过编写自己的应用程序来管理存储设备的配置,如添加卷、修改存储策略等。 总之,通过使用NetApp的SDK,开发人员可以轻松地实现对NetApp存储设备的监控和管理。这样,他们可以更好地了解存储设备的性能和状态,并进行相应的调整和优化。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值