We are planning on removing a couple of HA pairs from a cluster, then of cause correspong LIF's on these nodes as well.
The problem is that these LIF's are hard coded on clients for mounting. For instance, they used SVM-lif1 for node1 and SVM-lif2 for node2 to reference volumes. When we remove these nodes, LIF's will be removed as well.
One solution I can think of is to create DNS alias for these legacy LIF's. the problem with that is these legacy LIF's would be staying there "forever".
Are there any better solution for that?
Are the LIFs for ISCSi or CIFS/NFS?
CIFS & NFS LIFs can be migrated to other nodes and it is *generally* non disruptive. This happens during failovers/givebacks during updates, so if your workload isn't interupted during ONTAP updates, it should be fine.
ISCSi LIFs should be multipathed? But then you wouldn't be using a single ip address.....
An NFS SVM lif is not hard linked to a node, you can move it to whichever node is appropriate.
If you're getting rid of the SVM, then that's a bigger problem.
Also, migrate the LIF manually before hand, and modify it so that it's home port is on the new node.
The SVM Lifs (for NFS) are not tied to a node.
You do a network interface migrate and move it to another node.
It will require that the port on the new node has the same network VLANs etc, but the client should never notice.
network interface migrate -vserver <vservername> -lif svm-lif1 -destination-node <new-node> -destination-port <destination port>
Regarding this sentence: " After the node1 is removed this svm-lif1 will be no longer there."
This is not definitively true. You can move svm-lif1 to a different node. This is what OZWALKERZ is saying. If you follow his instructions, you can move the LIF to another node and the clients can keep connecting to it as they are now.