跳转到主内容

如何通过网络启动集群模式Data ONTAP 8.1 (及更高版本)

Views:
106
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
7dot
Last Updated:

执行

执行

适用场景

  • CORE
  • 集群模式Data ONTAP 8.3
  • 故障排除
  • 设置配置
  • 集群模式Data ONTAP 8.2
  • 集群模式Data ONTAP 8.1
  • 非KCS

问题描述

本文介绍在Data ONTAP 8.1.x (及更高版本)中的启动设备上安装新的可引导映像的操作步骤。

警告: 本文用于Netboot集群模式Data ONTAP。此操作步骤不用于NetBoot Data ONTAP  7G或Data ONTAP 7-Mode 。具体来说、 步骤3中的env设置"etenv bootarg.init.boot_clustered true "不应在Data ONTAP 7-Mode系统上运行。

Data ONTAP 8.x使用网络启动操作步骤启动远程Web服务器上的Data ONTAP版本。网络启动操作步骤允许控制器启动至Data ONTAP启动菜单。从Data ONTAP启动菜单中、可以使用安装操作步骤将新软件安装到启动设备(CF卡)。然后、控制器需要将信息从根卷还原到启动设备、以便继续正常启动。

恢复启动设备信息后、可以使用安装在启动设备上的新Data ONTAP映像进行正常启动。

注意:此操作步骤会造成系统中断、即使在HA对中的系统上使用它也是如此、因为在操作步骤期间会立即进行交还和重新接管。

注意: 如果安装的是Data ONTAP 8.2.x版本、请在正常启动后重新启动节点(接管或不接管)、以确保网络启动和安装过程已完成。

操作步骤

 

以下是此操作步骤的工具要求:

  • 访问SP存储控制器的RLM/RLM或控制台。
  • 访问HTTP服务器。
  • 访问NetApp 支持站点 [1] 、将平台所需的Netboot文件下载到Netboot。
  • 访问NetApp 支持站点 [2]  以下载安装Data ONTAP版本所需的install.tgz映像文件。
  • 控制器的系统固件必须为支持的最新版本。 

请执行以下步骤:

  1. 下载并提取用于从网络启动系统的文件:
    1. 将  适用于您的平台的netboot.tgz文件从NetApp 支持站点 下载 [3] 到可通过Web访问的目录中。
    2.   运行以下命令、将netboot.tgz文件的内容提取到目标目录:
      tar -zxvf netboot.tgz
      Your directory listing should contain the following directory:
      netboot/
  2. 将 image.tgz  和 netboot.tgz  文件从NetApp 支持站点 下载并复制 [4] 到可通过Web访问的目录。
    仅提取 netboot.tgz  文件、以便目录列表应包含以下文件和目录:
    image.tgz, netboot.tgz, and netboot/
     
  3. 收集"network interface show "输出并/或执行"全部类型支持"以获取节点管理接口和端口分配信息。

 Network interface show:

::> network interface show -role node-mgmt

How to execute a type All Autosupport:

::> autosupport invoke * all

  1. 从服务处理器或控制台端口重新启动控制器。

::> system node reboot -node <node>

 在启动过程中观察控制台。要进入Loader提示符、请  在出现消息"Starting AUTOBOOT press Ctrl-C to abort..."。

  1.  在Loader提示符处验证以下启动环境变量。bootarg.init.boot_clustered的环境变量应设置为true、 bootarg.init.usebootp 的变量 应设置为false。

 验证当前环境变量配置:

printenv bootarg.init.boot_clustered
printenv bootarg.init.usebootp

要将环境变量配置修改为集群模式Data ONTAP的正确配置、请执行以下操作:
setenv bootarg.init.boot_clustered true
setenv bootarg.init.usebootp false
 

  1. 根据您的网络配置、在Loader上运行以下命令之一:

如果已启用DHCP、请运行以下命令:
ifconfig e0M –auto

 如果您没有DHCP、请运行以下命令:
ifconfig e0M -addr=filer_addr -mask=netmask -gw=gateway -dns=dns_addr - domain=dns_domain

filer_addr是存储系统的IP地址。
netmask是存储系统的网络掩码。
Gateway是存储系统的网关。
dns_addr是网络上名称服务器的IP地址。
dns_domain是域名系统(Domain Name System、DNS)域名。如果您使用此可选参数,则无需在网络启动服务器 URL 中指定完全限定域名;您只需要该服务器的主机名。

注意: 要在系统运行Data ONTAP 7-Mode时从网络启动节点,请使用目标的管理IP地址以外的IP地址。如果系统在集群模式下运行、则可以使用节点管理IP地址。

注:如果e0M无法访问Web服务器、则可以使用ifgrp之外的任何板载端口。

注意: 您的接口可能需要其他参数。有关详细信息、请  在Loader提示符处使用help ifconfig命令。

  1. 在Loader提示符处、运行以下命令:

netboot http://<path_to_the_web-accessible_directory>/netboot/kernel
系统开始启动,但停留在启动菜单处。

  1.  从显示的菜单中选择"(7) Install new software first"(首先安装新软件)选项。此菜单选项会下载新的 Data ONTAP 映像并将其安装到启动设备中。

您将被提升为 Web服务器上安装映像(.tgz 文件)的URL。

软件包的URL是什么?

http://<path_to_the_web-accessible_directory>/<image.tgz>

如果系统提示您继续执行操作步骤、请在出现提示时输入y。

  1. 完成以下子步骤:
    1.  在看到以下提示时输入n跳过备份恢复、除非需要从SSH服务器或远程服务器执行恢复。此操作步骤要求将节点配置安全地存储在启动设备或节点的根卷中。
    2. 在看到以下提示时输入y以重新启动节点:
      The controller module reboots, but stops at the boot environment prompt.
    3. 在启动环境提示符处输入以下命令、以启动Data ONTAP:
      boot_ontap

控制器模块重新启动,但停留在启动菜单处,因为启动设备已被重新格式化,并且需要还原配置数据。

启动设备已更改。系统配置信息可能会丢失。使用选项(6)还原系统配置、或者使用选项(4)初始化所有磁盘并设置新系统。禁止正常启动。

Please choose one of the following:

(1) Normal Boot.

(2) Boot without /etc/rc.

(3) Change password.

(4) Clean configuration and initialize all disks.

(5) Maintenance mode boot.

(6) Update flash from backup config.

(7) Install new software first.

(8) Reboot node.

Selection (1-8)? 

  1.  从显示的菜单中选择Update flash from backup config选项。

如果系统要求您继续更新、请  在出现提示时输入y。

  1. 显示"Waiting For Giveback "后、立即从配对节点执行"storage failover giveback "。在集群中的任何其他活动节点上输入此命令。此操作将通过根聚合发送到通过网络启动的节点。

通过网络启动的节点将重新启动并再次处于接管状态。然后、它将再次出现"正在等待Givback"。现在从配对节点再执行一次"存储故障转移恢复"、该节点将启动并运行。

注意: 如果您安装的是Data ONTAP 8.2X版本、请在正常启动后重新启动节点(接管或不接管)、以确保网络启动和安装过程已完成。

 

 

 

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.