跳转到主内容

磁带预留的最佳实践是什么?

Views:
21
Visibility:
Public
Votes:
0
Category:
ndmp
Specialty:
dp
Last Updated:

适用场景

  • ONTAP 9
  • Data ONTAP 8 7-模式

问题解答

  • ONTAP 在直接连接的磁带驱动器和磁带库上使用的SCSI命令集中支持多种预留方法。
  • 预留可以防止多个存储控制器和备份服务器与磁带子系统发生不必要的交互。
  • 磁带驱动器或介质更换器将拒绝没有正确预留访问权限的服务器发出的命令、从而使磁带或更换器的状态和位置保持不变。
  • 最佳实践是使用客户的备份应用程序和基础架构可以支持的最高级别预留。按首选项顺序:
  1. 持久预留—很难错误删除;通过错误恢复保持不变
  2. SCSI (经典)预留—更易于因错误和/或错误恢复而删除
  3. 无预留—每个服务器本身—数据可能会发生加密/丢失
  • 直接连接的单端口磁带驱动器不需要预留、因为这些设备不会与其他控制器或服务器共享。
  • 并非所有应用程序软件包都能使用永久性预留、并非所有磁带子系统硬件都能处理永久性预留、因此NetApp还支持使用旧模式的SCSI预留/释放命令。在更高的SCSI命令标准中、这些命令已正式弃用、但许多驱动器仍会正确执行它们。
  • 了解基础架构是确定最佳预留方法的关键。有关备份软件、磁带驱动器和库的信息、请参见供应商文档、以确定哪种方法适用于基础架构。可能需要进行一些试用并出现一些错误。
  • storage controller options tape.reservations命令用于选择Data ONTAP 在后续磁带或介质更换器操作中使用的预留方法。此操作为全局操作、设置选项后、适用场景 将启动所有磁带操作。更确切地说、当打开磁带驱动器或介质更换器时、此选项将有效、并确定在关闭之前在该设备上使用的预留方法。

options tape.reservations -不带任何参数可显示当前设置
options tape.reservations persistent -启用持久预留
options tape.reservations scsi -启用传统SCSI预留
options tape.reservations off -禁用Data ONTAP 使用预留

追加信息

附加信息 _text

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.