Sunday, June 24, 2012

Netapp Vfiler

Netapp Vfiler Rename and  re-IP a Filer


                        Re IP a vfiler Through CLI
STEP1 : # add the new first since you can't have a vfiler with no ip
             vfiler add vfilername -i newIP     
Step2 :  # remove the old IP and unbind it
            vfiler remove vfilername -i oldIP   
Step 3 : ifconfig the interface with the new IP.
      You will then need to ifconfig the interface with the IP you added... running ifconfig using the IP will bind that interface (single port, vif, vlan, alias, etc.) to the vFiler since the IP matches.  Add the ifconfig to the /etc/rc file in vfiler0 as well as the "vfiler run vfilername route add default" if needed.

You can also run "vfiler run vfilername setup -e interface:ip:subnet" after the vfiler add, but setup will wack several files (hosts, hosts.equiv, exports, etc.) inside the vFiler, so I recommend to just run the ifconfig to create the binding and edit /etc/rc of vfiler0.

                                Re-name Vfiler

Renaming a vFiler unit
Consider the following before renaming a  vFiler unit:
 Step1
   The new name should not exist on the storage system, or on the partnerstorage system in a cluster.Although Data ONTAP allows the storage system and its partner to havevFiler units with same names, for administration ease, Network Appliance recommends that you do not create vFiler units with the same name.
Step2
The vfiler rename command does not change the CIFS node name of thevFiler unit or affect any client connections that are active.
      The  vfiler rename command changes the name of the vfiler unit onlywithin Data ONTAP; it does not rebroadcast the new name to the CIFSdomain controllers or the NetBIOS nameservers because these protocolsmight be using a different name for the vFiler unit than Data ONTAP uses. If you need to change the name mapping in the CIFS domain controllers, run
CIFS setup for each of these protocols.
Step 3
Do not rename a vFiler unit while it is being migrated. Doing so will causethe migrate command on the remote system to fail.

           Renaming a vFilerunit
To rename a vFiler unit, complete the following step.
StepAction1
Enter the following command:
vfiler rename old_vfiler_name new_vfiler_name
Example:
The following example renames a vFiler unit namedvfiler1 to vfiler2:
vfiler rename vfiler1 vfiler2

No comments:

Post a Comment