跳到主要内容

设置 ONTAP

引导每个节点后,系统将提示您执行基本的节点和集群配置。配置集群后,应返回 ONTAP CLI 以创建聚合并创建 MetroCluster 配置。

开始之前

  • 必须已完成 MetroCluster 配置的布线。

  • 不得事先配置服务处理器。

关于本任务

必须在 MetroCluster 配置中的两个集群上都执行此任务。

  1. 启动本地站点的每个节点(如果尚未执行此操作),并让它们完全引导。

    如果系统处于维护模式,则需要发出 halt 命令以退出维护模式,然后发出 boot_ontap 命令以引导系统并进入集群设置。

  2. 在每个集群的第一个节点上,按提示继续操作以配置集群
    1. 按照系统提供的说明启用自动支持工具。

      示例

      输出应如下所示:

      Welcome to the cluster setup wizard.

      You can enter the following commands at any time:
      "help" or "?" - if you want to have a question clarified,
      "back" - if you want to change previously answered questions, and
      "exit" or "quit" - if you want to quit the cluster setup wizard.
      Any changes you made before quitting will be saved.

      You can return to cluster setup at any time by typing "cluster setup".
      To accept a default or omit a question, do not enter a value.

      This system will send event messages and periodic reports to Lenovo Technical
      Support. To disable this feature, enter
      autosupport modify -support disable
      within 24 hours.

      Enabling AutoSupport can significantly speed problem determination and
      resolution should a problem occur on your system.

      Type yes to confirm and continue {yes}: yes

      .
      .
      .
    2. 通过响应提示,配置节点管理接口。

      示例

      提示类似于以下内容:

      Enter the node management interface port [e0M]:
      Enter the node management interface IP address: 172.17.8.229
      Enter the node management interface netmask: 255.255.254.0
      Enter the node management interface default gateway: 172.17.8.1
      A node management interface on port e0M with IP address 172.17.8.229 has been created.
    3. 通过响应提示,创建集群。

      示例

      提示类似于以下内容:

      Do you want to create a new cluster or join an existing cluster? {create, join}:
      create


      Do you intend for this node to be used as a single node cluster? {yes, no} [no]:
      no

      Existing cluster interface configuration found:

      Port MTU IP Netmask
      e0a 1500 169.254.18.124 255.255.0.0
      e1a 1500 169.254.184.44 255.255.0.0

      Do you want to use this configuration? {yes, no} [yes]: no

      System Defaults:
      Private cluster network ports [e0a,e1a].
      Cluster port MTU values will be set to 9000.
      Cluster interface IP addresses will be automatically generated.

      Do you want to use these defaults? {yes, no} [yes]: no

      Enter the cluster administrator's (username "admin") password:

      Retype the password:


      Step 1 of 5: Create a Cluster
      You can type "back", "exit", or "help" at any question.

      List the private cluster network ports [e0a,e1a]:
      Enter the cluster ports' MTU size [9000]:
      Enter the cluster network netmask [255.255.0.0]: 255.255.254.0
      Enter the cluster interface IP address for port e0a: 172.17.10.228
      Enter the cluster interface IP address for port e1a: 172.17.10.229
      Enter the cluster name: cluster_A

      Creating cluster cluster_A

      Starting cluster support services ...

      Cluster cluster_A has been created.
    4. 通过响应提示,添加许可证,设置集群管理 SVM,并输入 DNS 信息。

      示例

      提示类似于以下内容:

      Step 2 of 5: Add Feature License Keys
      You can type "back", "exit", or "help" at any question.

      Enter an additional license key []:


      Step 3 of 5: Set Up a Vserver for Cluster Administration
      You can type "back", "exit", or "help" at any question.


      Enter the cluster management interface port [e3a]:
      Enter the cluster management interface IP address: 172.17.12.153
      Enter the cluster management interface netmask: 255.255.252.0
      Enter the cluster management interface default gateway: 172.17.12.1

      A cluster management interface on port e3a with IP address 172.17.12.153 has been created.
      You can use this address to connect to and manage the cluster.

      Enter the DNS domain names: labs.lenovo.com
      Enter the name server IP addresses: 172.19.2.30
      DNS lookup for the admin Vserver will use the labs.lenovo.com domain.

      Step 4 of 5: Configure Storage Failover (SFO)
      You can type "back", "exit", or "help" at any question.

      SFO will be enabled when the partner joins the cluster.

      Step 5 of 5: Set Up the Node
      You can type "back", "exit", or "help" at any question.

      Where is the controller located []: svl

    5. 通过响应提示,启用存储故障转移并设置节点。

      示例

      提示类似于以下内容:

      Step 4 of 5: Configure Storage Failover (SFO)
      You can type "back", "exit", or "help" at any question.

      SFO will be enabled when the partner joins the cluster.

      Step 5 of 5: Set Up the Node
      You can type "back", "exit", or "help" at any question.

      Where is the controller located []: site_A

    6. 完成节点配置,但不要创建数据聚合。

      可以使用 ThinkSystem DM 系列存储管理软件,在 Web 浏览器中输入集群管理 IP 地址(https://172.17.12.153)。

      使用存储管理软件进行集群管理

  3. 按照提示操作,引导下一个控制器,并将其加入到集群。
  4. 确认节点已配置为高可用性模式:storage failover show -fields mode

    否则,必须在每个节点上配置 HA 模式,然后重新启动节点:storage failover modify -mode ha -node localhost

    此命令会配置高可用性模式,但不会启用存储故障转移。在此过程中稍后配置 MetroCluster 配置时,将自动启用存储故障转移。

  5. 确认已将四个端口配置为集群互连:network port show

    此时未配置 MetroCluster IP 接口,因此不会出现在命令输出中。

    示例

    以下示例显示了 node_A_1 上的两个集群端口:

    cluster_A::*> network port show -role cluster

    Node: node_A_1

    Ignore

    Speed(Mbps) Health Health

    Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status

    --------- ------------ ---------------- ---- ---- ----------- -------- ------

    e4a Cluster Cluster up 9000 auto/40000 healthy false

    e4e Cluster Cluster up 9000 auto/40000 healthy false

    Node: node_A_2

    Ignore

    Speed(Mbps) Health Health

    Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status

    --------- ------------ ---------------- ---- ---- ----------- -------- ------

    e4a Cluster Cluster up 9000 auto/40000 healthy false

    e4e Cluster Cluster up 9000 auto/40000 healthy false

    4 entries were displayed.

  6. 对伙伴集群重复执行上述步骤。

完成之后

返回 ONTAP 命令行界面并通过执行以下任务完成 MetroCluster 配置。