跳转到主内容

使用服务策略 default-data-NVMe-tcp 创建逻辑接口失败

i
Knowledge Base guidance

This article may include metadata, visibility, validation state, and related support guidance.

适用场景

  • AFF800
  • ONTAP 9.10.1RC1
  • ONTAP 9.10.1X3

问题描述

  • 使用服务策略创建逻辑接口 default-data-nvme-tcp 失败。
Cluster1::> network interface create -vserver svm0 -lif lif_svm0_1 -data-protocol nvme-tcp -address xx.xxx.xxx.xxx -netmask xxx.xxx.xxx.xxx -home-node cluster1-01 -home-port port_name -status-admin up -service-policy default-data-nvme-tcp
(network interface create)
 
Info: create_imp: Failed to create logical interface.
Error: command failed: Cannot create LIF "lif_svm0_1" on Vserver "svm0" with data protocols "-" because this list of data protocols is inconsistent with service policy "default-data-nvme-tcp". Try the command again without specifying a data protocol list and the system will populate this setting automatically based on the specified service policy.
 
  • 按照错误提示从 -data-protocol 命令行允许 LIF 创建中删除选项。
  • 但是,不能再 -data-protocol 进行后续添加。此选项 -data-protocol 仅在初始创建期间可用。

Cluster1::> network interface create -vserver svm0 -lif lif_svm0_1 -address xx.xxx.xxx.xxx -netmask xxx.xxx.xxx.xxx -home-node cluster1-01 -home-port port_name -status-admin up -service-policy default-data-nvme-tcp
(network interface create)

Cluster1::> network interface show -vserver svm0 -lif lif_svm0_1 -instance
 (network interface show)
                Vserver Name: svm0
           Logical Interface Name: lif_svm0_1
               Service Policy: default-data-nvme-tcp
                Service List: -
              (DEPRECATED)-Role: data
                Data Protocol: none
               …

cluster1::> network interface modify -
   -vserver          -lif
   -service-policy       -address
   -netmask          -netmask-length
   -subnet-name        -home-node
   -home-port         -status-admin
   -failover-policy      -firewall-policy
   -auto-revert        -dns-zone
   -listen-for-dns-query    -allow-lb-migrate
   -lb-weight         -failover-group
   -comment          -force-subnet-association
   -is-dns-update-enabled   -rdma-protocols

cluster1::> network interface create -
   -vserver          -lif
   -service-policy      -data-protocol  
   -address          -netmask
   -netmask-length       -is-vip
   -auto            -subnet-name
   -home-node         -home-port
   -status-admin        -failover-policy
   -firewall-policy      -auto-revert
   -dns-zone          -listen-for-dns-query
   -allow-lb-migrate      -lb-weight
   -failover-group       -comment
   -force-subnet-association -is-dns-update-enabled
   -broadcast-domain      -rdma-protocols