VFILER COMMANDS - 7 Mode

VFILER COMMANDS

 TO CREATE A VFILER UNIT:

> vfiler create <vfiler name> -i <ip address> <Volume or Qtree path>

Fas2050> vfiler create vfiler1 -i 10.10.x.x /vol/vol1

  • After command executed vfiler1 is installed in volume1 
  • vfiler install is same like ONTAP installation. 

TO GO TO A VFILER CLI:

         > vfiler context <vfiler name>

Fas2050> vfiler context vfiler1

  • This is the command to enter in vfiler unit.

TO GO TO NON DEFAULT VFILER UNIT:

         > vfiler context <vfiler0>

Fas2050> vfiler context vfiler0

  • Vfiler0 is the main filer
  • If this command is execute vfiler come to Physical filer(FAS2050)


TO RENAME A VFILER:

         > vfiler rename <old name> <new name>

Fas2050> vfiler rename old_vfiler1 to new_vfiler

TO DESTROY A VFILER:

         > vfiler stop <vfiler name> and then vfiler destroy <vfiler name>

  • we cannot destroy vfiler directly 

Fas2050> vfiler stop vfiler1

Fas2050> vfiler destroy viler1

TO CONFIGURE DISASTER RECOVERY FOR A VFILER:


         > vfiler dr configure –l <remote_login:remote_passwd>

TO ADD RESOURCES TO A VFILER:

  • Resources is nothing, its is another volume or qtree
  • if we need to increase vfiler space, we can add another volume or qtree

         > vfiler add <vfiler name> -I <ip address> <path>

Fas2050>

TO REMOVE RESOURCES FROM A VFILER:

  • if added more than enough volume or qtree means,
  • we can remove resources from vfiler

         > vfiler remove <vfiler name> -I <ip address> <path>

TO MIGRATE A VFILER:


         > vfiler migrate start –l <remote_login:remote_passwd>
                                                                 remote_vfiler@remote_filer

Fas2050>

TO MOVE RESOURCES FROM ONE VFILER TO OTHER IS:


         > vfiler move <vfiler_from> <vfiler_to> -I <ip address> <path>

Fas2050>

To START A VFILER:


         > vfiler start <vfiler name>

Fas2050> vfiler start vfiler1

TO STOP A VFILER:


         > vfiler stop <vfiler name>

Fas2050> vfiler stop vfiler1


TO CHECK THE STATUS OF A VFILER:

         > vfiler status

Fas2050> vfiler status

TO RUN A COMMAND ON A VFILER:


         > vfiler run <vfiler name> command

Fas2050>

TO ALLOW USE OF A PROTOCOL ON A VFILER:


  • Using vfiler allow command, we can allow need protocols

         > vfiler allow <vfiler name> <proto=cifs| nfs| rsh| iscsi| ftp
                                                                  | http>

Fas2050> viler allow vfiler1 cifs

TO DISALLOW USE OF A PROTOCOL ON A VFILER:

  • Using vfiler disallow command, we can remove unwanted protocols.
         > vfiler disallow <vfiler name> <proto=cifs| nfs| rsh| iscsi| ftp
                                                                 | http>

Fas2050> viler disallow vfiler1 cifs

TO SET NUMBER OF VFILER UNIT:


  • Maximum of 65 vfiler unit and 65th is viler0 for one filer.
  • we can limit vfiler unit creation for the physical filer
  • if we limited vfiler means we cannot create more than limited value

         > vfiler limit <number>

Fas2050>  vfiler limit 15

LICENSING THE VILER:


         > license add <Multistore license>

Fas2050> license add xxxxxxxxxxxxx

Comments

Popular posts from this blog

Netapp Cluster mode commands cheat sheet

CIFS shares creation in 7 - Mode

Creating LUNs and mapping igroups ( 7 Mode & C - mode )