Subscribe

Delete Redundant Cluster LIF

Hi everyone,

 

I installed Simulate ONTAP 8.3 on vSphere 5.5

I have 2 virtual machines with these network port:

 

cluster2::> net port show
  (network port show)
                                                             Speed (Mbps)
Node   Port      IPspace      Broadcast Domain Link   MTU    Admin/Oper
------ --------- ------------ ---------------- ----- ------- ------------
cluster2-01
       a0a       Default      10.0.52.0/24     up       1500  auto/1000
       e0a       Cluster      Cluster          up       1500  auto/1000
       e0b       Cluster      Cluster          up       1500  auto/1000
       e0c       Default      -                up       1500  auto/1000
       e0d       Default      -                up       1500  auto/1000
cluster2-02
       e0a       Cluster      Cluster          up       1500  auto/1000
       e0b       Cluster      Cluster          up       1500  auto/1000
       e0c       Default      10.0.52.0/24     up       1500  auto/1000
       e0d       Default      10.0.52.0/24     up       1500  auto/1000
9 entries were displayed.

 

cluster2::> ifgrp show
         Port       Distribution                   Active
Node     IfGrp      Function     MAC Address       Ports   Ports
-------- ---------- ------------ ----------------- ------- -------------------
cluster2-01
         a0a        ip           02:0c:29:8b:ce:13 full    e0c, e0d

 

I would like to delete the ifgroup

 

cluster2::> ifgrp delete -node cluster2-01 -ifgrp a0a

Error: command failed: Interface group remove failed (Port already has a lif bound. ). Some member ports may have already been
       removed. To verify port membership, use the "network port ifgrp show" command.

 However, I can't migrate the only LIF on this ifgroup because it's the node-mgmt LIF

 

cluster2::> network interface show
            Logical    Status     Network            Current       Current Is
Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
----------- ---------- ---------- ------------------ ------------- ------- ----
...
cluster2
            cluster2-01_mgmt1
                         up/up    10.0.52.121/24     cluster2-01   a0a     true 
...

 Do you have any idea to delete this ifgroup?

 

Thanks in advance.

Re: Delete Redundant Cluster LIF

Hi,

 

can you try removing the ports from the ifgrp, and then try to delete the ifgrp?

 

ifgrp remove-port -node nodename -ifgrp a0a -port x0X 

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

Re: Delete Redundant Cluster LIF

Hi,

 

Thanks for your answer. Unfortunally, it doesn't work.

 

cluster2::*> ifgrp remove-port -node cluster2-01 -ifgrp a0a -port e0c

Error: command failed: Port already has a lif bound.

cluster2::*> ifgrp remove-port -node cluster2-01 -ifgrp a0a -port e0d

Error: command failed: Port already has a lif bound.

 

I confirm the only LIF on my a0a port is the node-mgmt. I migrated the cluster LIF on the other node. I also set the home port of every LIF to the second node to avoid problems

 

cluster2::*> net int show
  (network interface show)
            Logical    Status     Network            Current       Current Is
Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
----------- ---------- ---------- ------------------ ------------- ------- ----
Cluster
            cluster2-01_clus1
                         up/up    169.254.53.136/16  cluster2-01   e0a     true
            cluster2-01_clus2
                         up/up    169.254.9.118/16   cluster2-01   e0b     true
            cluster2-02_clus1
                         up/up    169.254.131.14/16  cluster2-02   e0a     true
            cluster2-02_clus2
                         up/up    169.254.187.147/16 cluster2-02   e0b     true
cluster2
            cluster2-01_mgmt1
                         up/up    10.0.52.121/24     cluster2-01   a0a     true
            cluster2-02_mgmt1
                         up/up    10.0.52.122/24     cluster2-02   e0c     true
            cluster_mgmt up/up    10.0.52.102/24     cluster2-02   e0c     true
svm1-rva
            svm1-rva-lif up/up    10.0.52.123/24     cluster2-02   e0c     true
8 entries were displayed.

 

 

 

Re: Delete Redundant Cluster LIF

Can you try migrating the lif to a different port from e0c 

 

network interface migrate -vserver <original_vserver_name> -lif <original_lif_name> -dest-node <migrate_to_node> -dest-port <migrate_to_port>

You might also get a message indicating that the failover policy/group is still assigned to the port you wish to modify. If so issue of the following:

network interface modify -vserver <original_vserver_name> -lif <original_lif_name> -failover-group system-defined

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

Re: Delete Redundant Cluster LIF

The LIF is not on e0c but on a0a.

 

The problem is only on the first node (cluster2-01)

Re: Delete Redundant Cluster LIF

where you successfull in removing the members (e0c,e0d) from the ifgroup a0a?
I saw the error message when you try it, you may have to migrate the LIF's hosted on these interfaces and remove it from the ifgrp, and then try to delete the ifgrp

Thanks

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.