跳转到主内容

通过网络启动 Data ONTAP 7- 模式系统

Views:
104
Visibility:
Public
Votes:
1
Category:
data-ontap-7
Specialty:
7dot
Last Updated:

适用场景

 Data ONTAP 7-模式

问题解答

网络启动概述

网络启动是一种操作步骤、可用作从HTTP或TFTP服务器上存储的NetApp软件映像启动Data ONTAP存储系统的另一种方法。网络启动通常用于促进特定的恢复场景。一些常见情形包括:更正失败的升级、修复失败的启动介质以及为当前硬件平台启动正确的内核。如果没有NetApp支持部门的指导、则不应执行本文中讨论的恢复操作。
以前、在启动ONTAP 1G时、内核会加载到内存中、并且不再依赖于启动设备、从而允许系统从网络启动内核运行。在Data ONTAP 8中、内核加载完毕后、仍需要访问启动设备。此外、Data ONTAP 8.X特殊启动菜单选项1和2 (正常启动和不使用/etc/rc的启动)也会被禁用。

如何
通过网络启动并注意事项以下是通过网络启动存储控制器的工具要求:

  • 访问RLM/BSP/SP或存储控制器的控制台
  • 访问HTTP服务器(8.0x及更高版本)或TFTP (7.3x&更低版本)
  • 可从 NetApp 支持站点 下载平台所需的Netboot内核文件[1] 。
  • 可从 NetApp 支持站点 下载平台所需的安装映像文件[2] 。
  • 建议使用控制器上的最新版本系统固件。
  • 要为网络启动过程配置的网络接口。
    根据所选的接口、可能需要一个可用的IP地址。

注意: 网络启动配置存储在固件环境中、在重新启动后不会持久保留。每次启动时、都必须手动配置网络接口。

选择网络接口:

在加载程序或CFE提示符 show devices 处、可以使用命令来确定哪些网络接口可能可用于网络启动。通常、可用接口仅为基于主板的接口。在以下特定于平台的示例中、e0a、e0b和e0M端口可供加载程序使用。e0M接口可用于网络启动过程;但是e0P接口不应使用。

LOADER-A> show devices
Device Name Description
----------- ---------------------------------------------------------
e0M IBA GE Slot 1801 v1351 (00-A0-98-32-65-35)

e0P IBA GE Slot 1800 v1351 (00-A0-98-32-65-34) -- Interface for ACP don’t use.
e0a IBA GE Slot 1701 v1351 (00-A0-98-32-65-33)
e0b IBA GE Slot 1700 v1351 (00-A0-98-32-65-32)

警告:如果将存储系统上唯一可用的接口配置为使用多模式或LACP VIF、则可能需要手动重新配置交换机端口和网络接口。

选定的网络接口取决于网络配置。对于大多数恢复情形、必须允许所选接口和IP通过HTTP、SSH或TFTP访问两个HA节点的公共IP地址。

警告:在尝试使用设置为1000兆位/秒的接口进行网络启动时、基于CFE (通用固件环境)的存储系统(200和3000系列)可能会遇到错误。

网络启动时出错

示例: 此平台的网络启动内核版本不正确

CFE> netboot tftp://10.61.33.230/7351_netboot.e
Loading: Failed.
Could not load tftp://10.61.33.230/7351_netboot.e: Not an ELF-format executable
*** command status = -11

-
LOADER-A> netboot tftp://10.61.33.230/netboot/kernel
Loading 10.61.33.230/netboot/kernel:.......Failed: Not a 64-bit executable
Could not load tftp://10.61.33.230/netboot/kernel: Not a 64-bit executable
Not a 64-bit executable (errcode=-45)

或-或-
LOADER-A> netboot tftp://10.61.33.230/kernel
Loading 10.61.33.230/kernel:.................Failed: Not a 32-bit executable
Could not load tftp://10.61.33.230/kernel: Not a 32-bit executable
*** command status = -12

解决方案:下载适用于您的平台的正确版本的网络启动内核。

示例: 错误-无法激活网络接口

LOADER-A> ifconfig e0M -addr=10.113.50.81 -mask=255.255.255.0 -gw=10.113.50.1
Could not activate network interface 'e0M': Error
*** command status = -1

解决方案:选定接口不可用于配置:检查show devices的输出。

示例: 路径不正确。

LOADER-A> netboot http://10.61.64.140/netboot/kernel
Loading 10.61.64.140/netboot/kernel: Failed: File not found Could not load http://10.61.64.140/netboot/kernel: File not found

解决方案:仔细检查路径并提供正确的路径。最好添加:"注: 路径是相对于tcp/http根目录设置的路径。例如、在上面的示例中、如果10.61.64.140上的http根目录为/etc/http、则netboot将在目录中查找 /etc/http/netboot 文件kernel。'

示例: options http.admin.enable off (取决于版本)

netboot http://10.61.64.140/na_admin/netboot/kernel
Loading 10.61.64.140/na_admin/netboot/kernel:Failed: Network protocol error
Could not load http://10.61.64.140/na_admin/netboot/kernel: Network protocol error
Network protocol error (errcode=-22)

或-
Loading: Failed: Socket is not connected
Could not load http://10.61.64.140/na_admin/netboot/ Socket is not connected
*** command status = -39

解决方案:用于网络启动的IP地址重复-或-选项 http.admin.enable 未启用。使用启用选项 options http.admin.enable on

示例: 传输中断

LOADER-A> netboot tftp://10.61.33.230/kernel
Loading 10.61.33.230/kernel:.......0x100000/3386728 0x53b000/3222096 0x84da50/1190096 Entry at 0x80148250
Found 10.61.33.230/platform.rc
Loading 10.61.33.230/platform.ko:.0x971000/546300 0xa99e60/514368 0x9f6600/17192 0xb177a0/29592 0x9fa928/1272 0xb1eb38/3816 0x9fae20/52267 0xa07a50/69035 0xa18800/1464 0xb1fa20/4392 0xa18db8/248 0xb20b48/744 0xa18eb0/968 0xb20e30/2904 0xa19278/128 0xb21988/384 0xa19300/130208 0xb21b08/138192 0xa38fa0/425 0xa5d500/8307 0xa99d73/237 0xa5f578/122208 0xa7d2d8/117403
Loading 10.61.33.230/rootfs.img.uzip:............................................0xb44000/14957240
Loading 10.61.33.230/platfs.img.uzip:Failed.: Timeout occurred
Failed.
Could not load tftp://10.61.33.230/kernel: Timeout occurred

解决方案:重新尝试传输。

示例: 尝试netboot 8.2时、BIOS版本不正确

LOADER-A> netboot tftp://10.61.33.230/kernel
Loading 10.61.33.230/kernel:.......0x100000/3386728 0x53b000/3222096 0x84da50/1190096 Entry at 0x80148250
Found 10.61.33.230/platform.rc
Loading 10.61.33.230/platform.ko:.0x971000/546300 0xa99e60/514368 0x9f6600/17192 0xb177a0/29592 0x9fa928/1272 0xb1eb38/3816 0x9fae20/52267 0xa07a50/69035 0xa18800/1464 0xb1fa20/4392 0xa18db8/248 0xb20b48/744 0xa18eb0/968 0xb20e30/2904 0xa19278/128 0xb21988/384 0xa19300/130208 0xb21b08/138192 0xa38fa0/425 0xa5d500/8307 0xa99d73/237 0xa5f578/122208 0xa7d2d8/117403
Loading 10.61.33.230/rootfs.img.uzip:............................................0xb44000/14957240
Loading 10.61.33.230/platfs.img.uzip:Failed.: Timeout occurred

Warning: /sbin/mount_nfs returned 60.
NFS netboot support has been deprecated.  If you did not
expect to see this prompt, ensure the system BIOS and
LOADER firmware are up to date.  Also be sure to follow a
supported netboot procedure.
Enter the NFS path for rootfs.img:

解决方案: 将系统固件升级到8.2支持的版本,请参阅BIOS 兼容性列表。

注: 使用PAM1和PCI-e适配器卡的FAS3140/3160/3170可能会在NetBoot操作步骤期间报告资源冲突错误。

升级期间失败在升级
到次要或主要Data ONTAP版本期间、可能需要通过网络启动存储控制器才能从故障中恢复。具体的恢复步骤取决于系统的当前状态、Data ONTAP版本和故障模式。请联系支持部门以帮助从错误中恢复。

还原

从Data ONTAP的一个主要版本还原到另一个主要版本时、必须执行一组非常具体的步骤才能正确还原系统。最常见的情况是、在完成所有步骤之前重新启动系统、以便正确还原系统。发生此错误时、可能会报告RAID标签错误、如以下输出中所示。要解决此问题、可能需要网络启动、请联系支持部门以了解所需的恢复步骤。

启动 介质

NetApp存储系统中的启动介质是特定于平台的、并且是基于CF卡或USB的设备。如果需要更换启动设备、请参阅适用于您的平台和Data ONTAP版本的启动设备更换文档。

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.