跳到主要内容

在八节点或四节点 MetroCluster 配置中设置 ONTAP

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

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

此任务适用于使用本机 Lenovo 存储的八节点或四节点 MetroCluster 配置。

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

此过程使用系统设置工具。如果需要,可以改用 CLI 集群设置向导。

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

    如果系统处于维护模式,请从装入程序提示符处发出 halt 命令退出维护模式,然后发出以下命令:boot_ontap

    输出结果应如下所示:
    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.

    By default, AutoSupport transmission is disabled.
    In order for this system to send event messages and periodic reports to Lenovo
    Technical Support, Autosupport data transmission needs to be enabled.
    To enable this feature, either enter "yes" to the following AutoSupport
    question, or enter the CLI command "autosupport modify -support enable"
    after cluster creation from the CLI. Please review the Lenovo Privacy
    statement at www.lenovo.com/privacy before enabling this feature.

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

    To enable AutoSupport data transmission, type “yes”.
    Leave this field blank to keep data transmission disabled {yes, no} [no]:

    To continue with the cluster setup wizard, type "yes" {yes}:
    .
  2. 按照系统提供的说明启用自动支持工具。
  3. 响应提示以配置节点管理接口。

    提示类似于以下内容:
    Enter the node management interface port: [e0M]:
    Enter the node management interface IP address: 10.228.160.229
    Enter the node management interface netmask: 225.225.252.0
    Enter the node management interface default gateway: 10.228.160.1

  4. 确认节点已配置为高可用性模式:storage failover show -fields mode

    如果未配置,则必须在每个节点上发出以下命令并重新启动节点:storage failover modify -mode ha -node localhost

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

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

    以下示例显示了 cluster_A 的输出:
    cluster_A::> network port show
    Speed (Mbps)
    Node Port IPspace Broadcast Domain Link MTU Admin/Oper
    ------ --------- ------------ ---------------- ----- ------- ------------
    node_A_1
    <strong className="ph b">e0a Cluster Cluster up 1500 auto/1000
    e0b Cluster Cluster up 1500 auto/1000</strong>
    e0c Default Default up 1500 auto/1000
    e0d Default Default up 1500 auto/1000
    e0e Default Default up 1500 auto/1000
    e0f Default Default up 1500 auto/1000
    e0g Default Default up 1500 auto/1000
    node_A_2
    <strong className="ph b">e0a Cluster Cluster up 1500 auto/1000
    e0b Cluster Cluster up 1500 auto/1000</strong>
    e0c Default Default up 1500 auto/1000
    e0d Default Default up 1500 auto/1000
    e0e Default Default up 1500 auto/1000
    e0f Default Default up 1500 auto/1000
    e0g Default Default up 1500 auto/1000
    14 entries were displayed.

  6. 如果要创建双节点无交换机集群(无集群互连交换机的集群),必须启用无交换机集群网络模式:
    1. 更改为高级权限级别:set -privilege advanced

      收到提示时可回答 y 以继续进入高级模式。随后将显示高级模式提示符(*>)。
    2. 启用无交换机集群模式:network options switchless-cluster modify -enabled true
    3. 恢复为管理员权限级别:set -privilege admin
  7. 按照初始引导后系统控制台上显示的信息的指示,启动系统设置工具。
  8. 使用系统设置工具配置每个节点并创建集群,但不要创建聚合。

    稍后的任务会创建镜像聚合。

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