Table of ContentsView in Frames

Setting up a vFiler unit

You can set or modify the network configuration of a vFiler unit by using the setup command.

About this task

If you have used vfiler create command with the -n option to create a vFiler unit, then the Setup wizard is not prompted to configure the vFiler unit's network. In this case, you have to configure the vFiler unit's network by using the setup command.

The setup command does not prompt you for the time zone. All vFiler units are in the same time zone as the hosting storage system.

Unlike the setup command for the storage system, the setup command for a vFiler unit does not cause NFS to start running, as it runs automatically when you create a vFiler unit.

The IPv6 address options are supported for the setup command.

Steps

  1. To run setup from the default vFiler unit, enter the following command:
    vfiler run vfiler_name setup

    The general setup command syntax with IPv6 address, when used in the vFiler context, is as follows:

    setup [-e ifname:ipv_4address|[ipv6_address]:netmask|prefixlen ...] [ -d DNS_domain_name:DNS_server_ipv4_address|[DNS_server_ipv6_address] ...] [-n NIS_domain_name:NIS_server_ipv4_address|[NIS_server_ipv6_address] ...] [-a ipv4_address|[ipv6_address]| name:ipv4_address|[ipv6_address] [-p root_password]

    Note: Ensure that you enter the IPv6 address in [ ]brackets.

    The general setup command syntax, when used in the vFiler context, is as follows:

    setup [-e ifname:ipv4_address:netmask ...] [ -d DNS domain name:DNS_server_ipv4_address...] [-n NIS_domain_name:NIS_server_ipv4_address ...] [-a ipv4_address|name:ipv4_address|[-p root_password]

    The setup command displays prompts for you to configure the vFiler unit. After you respond to all the prompts, configuration files, such as the /etc/exports file, are created in the /etc directory for the vFiler unit.

    You can use any of these options with the setup command:
    • The -e option creates the bindings of the vFiler unit and provides netmask with IPv4 address and prefixlen with IPv6 address.

      Netmask is of the form a.b.c.d, where a, b, c, and d should be between 0 and 255. Prefixlen is an integer between 0 and 127.

    • The -e option creates the bindings of the vFiler unit's IP addresses.
    • The -d option specifies a DNS domain name and the IP addresses of one or more DNS servers.
    • The -n option specifies a NIS domain name and the IP addresses of one or more NIS servers.
    • The -a option specifies the administrator host name and IP address.
    • The -p option sets the password of the vFiler unit's root user.
    Note: If the vFiler unit runs the CIFS protocol, go to the next step. Otherwise, setup is complete.

  2. To configure CIFS protocol, enter the following command:
    vfiler run vfiler_name cifs setup

    The cifs setup command displays prompts for you to configure CIFS on the vFiler unit. After you respond to all the prompts, CIFS starts running.