One piece of information that setup requests is the name and IP address for adminhost. In /etc/exports, adminhost is granted root access to / so that it can access and modify the configuration files in /etc. All other NFS clients are granted access only to /home. If no adminhost is specified, then all clients are granted root access to /. This is not recommended for sites where security is a concern.
If an adminhost is specified, then an additional line is added to the /etc/hosts file to point the default mailhost to the adminhost. This is used by the autosupport daemon (see autosupport ) to send email notification.
If a default gateway is provided to setup, it will be used in /etc/rc to specify a default route (see route ), and will also be used as the first entry in /etc/dgateways.
The hostname that is provided to setup is used to construct default names for all of the configured network interfaces. Ethernet interfaces are given names host_name-0, hostname-1, and so on.
- directory of filer configuration and administration files
- system initialization command script
- directories exported by the server
- host name data base
- list of hosts and users with rsh permission
- list of DNS name servers
- list of preferred default gateways for routed /etc/nsswitch.conf list of preferred name services
setup [-e <ifname>:<ipaddress>:<netmask>, ...] [-d <DNS domaname>:<DNS server IP 1>:...] [-n <NIS domainname>:<NIS server1>:...] [-a <ipaddress> | <name>:<ipaddress>] [-p <root password>]
The -e option allows the bindings of the IP addresses of the vfiler to be created. The -d option allows the specification of a DNS domain name and the IP addresses of one or more DNS servers. The -n option allows the specification of an NIS domain name and the IP addresses of one or more NIS servers (or the use of broadcast discovery by using * as the NIS server name). The -a option allows the admin hosts name and IP address to be specified. Finally, the -p option allows the password of the root user of this vfiler to be set.
As the /etc/rc file is rewritten after running the setup command in vfiler0, all vlans and aliases configured earlier in the /etc/rc file will be lost. If these aliases and vlans are required, they will have to be added to the /etc/rc file again.
Copyright © 1994-2008 NetApp, Inc. Legal Information