Академический Документы
Профессиональный Документы
Культура Документы
• You must create at least one unit of storage (qtrees, volumes - traditional or flexible) before creating
vfiler
• The storage unit that contains vFiler unit configuration information must be writable volume. It must
not be a read-only file system.
sysntax: vfiler create <vfiler name> -i <ip address> <Volume or Qtree path>
Tue Nov 9 03:03:39 GMT [Vfiler_name@useradmin.added.deleted:info]: The role 'compliance' has been
added.
Tue Nov 9 03:03:39 GMT [Vfiler_name@export.file.backup.notDone:warning]: Could not read from file
/etc/exports.
Tue Nov 9 03:03:39 GMT [Vfiler_name@export.file.missing:warning]: Could not open '/etc/exports' for
reading.
The etc configuration directory for vfiler "Vfiler_name" is /vol/vol1/etc.
Tue Nov 9 03:03:39 GMT [Vfiler_name@cmds.vfiler.info:notice]: vFiler unit Vfiler_name initialized.
Setting up vfiler Vfiler_name
Configure vfiler IP address 10.100.201.120? [y]: y
Interface to assign this address to {e0a, e0b, e0c, e0d}: e0b
Netmask to use: [255.255.255.0]:
Configure vfiler IP address 10.100.201.121? [y]: y
Interface to assign this address to {e0a, e0b, e0c, e0d}: e0c
Netmask to use: [255.255.255.0]:
The administration host is given root access to the filer's
/etc files for system administration. To allow /etc root access
to all NFS clients enter RETURN below.
Please enter the name or IP address of the administration host: 10.100.200.9 (Base netapp filer ip)
Do you want to run DNS resolver? [n]:
Do you want to run NIS client? [n]:
e0b: flags=0x2f4c867<UP,BROADCAST,RUNNING,MULTICAST,TCPCKSUM> mtu 1500
inet 10.100.201.77 netmask 0xffffff00 broadcast 10.100.201.255
ether 00:a0:98:0d:20:be (auto-1000t-fd-up) flowcontrol full
e0c: flags=0x2f4c867<UP,BROADCAST,RUNNING,MULTICAST,TCPCKSUM> mtu 1500
inet 10.100.201.67 netmask 0xffffff00 broadcast 10.100.201.255
ether 00:a0:98:0d:20:bd (auto-1000t-fd-up) flowcontrol full
Tue Nov 9 03:04:39 GMT [Vfiler_name@useradmin.added.deleted:info]: The user 'root' has been added.
Default password for root on vfiler Vfiler_name is "".
New password:
Retype new password:
Tue Nov 9 03:04:47 GMT [Vfiler_name@passwd.changed:info]: passwd for user 'root' changed.
Do you want to setup CIFS? [y]:
This process will enable CIFS access to the filer from a Windows(R) system.
Use "?" for help at any prompt and Ctrl-C to exit without committing changes.
Your filer does not have WINS configured and is visible only to
clients on the same subnet.
Do you want to make the system visible via WINS? [n]:
A filer can be configured for multiprotocol access, or as an NTFS-only
filer. Since multiple protocols are currently licensed on this filer,
we recommend that you configure this filer as a multiprotocol filer
(1) Multiprotocol filer
(2) NTFS-only filer
Selection (1-2)? [1]: 1
CIFS requires local /etc/passwd and /etc/group files and default files
will be created. The default passwd file contains entries for 'root',
'pcuser', and 'nobody'.
Enter the password for the root user []:
Retype the password:
The default name for this CIFS server is 'VFILER_NAME'.
Would you like to change this name? [n]: n
Data ONTAP CIFS services support four styles of user authentication.
Choose the one from the list below that best suits your situation.
(1) Active Directory domain authentication (Active Directory domains only)
(2) Windows NT 4 domain authentication (Windows NT or Active Directory domains)
(3) Windows Workgroup authentication using the filer's local user accounts
(4) /etc/passwd and/or NIS/LDAP authentication
Selection (1-4)? [1]: 3
What is the name of the Workgroup? [WORKGROUP]:
CIFS - Starting SMB protocol...
It is recommended that you create the local administrator account
(VFILER_NAME\administrator) for this filer.
Do you want to create the VFILER_NAME\administrator account? [y]:
Enter the new password for VFILER_NAME\administrator:
Retype the password:
Welcome to the WORKGROUP Windows(R) workgroup
Tue Nov 9 03:05:09 GMT [vfiler_name@passwd.changed:info]: passwd for user 'root' changed.
Tue Nov 9 03:05:19 GMT [vfiler_name@cifs.startup.local.succeeded:info]: CIFS: CIFS local server is
running.
vfiler0 running
vifiler_name running
Note : vfiler0 is the default (once we enable the license default will create)
Related Topic
VFILER COMMANDS
Vfiler
VFILER COMMANDS
TO CREATE A VFILER UNIT:
> vfiler create <vfiler name> -i <ip address> <Volume or Qtree path>
TO GO TO A VFILER CLI:
TO RENAME A VFILER:
Fas2050>
TO REMOVE RESOURCES FROM A VFILER:
if added more than enough volume or qtree means,
we can remove resources from vfiler
TO MIGRATE A VFILER:
> vfiler migrate start –l <remote_login:remote_passwd>
remote_vfiler@remote_filer
Fas2050>
Fas2050>
To START A VFILER:
> vfiler start <vfiler name>
TO STOP A VFILER:
> vfiler stop <vfiler name>
Fas2050>
> vfiler allow <vfiler name> <proto=cifs| nfs| rsh| iscsi| ftp
| http>
Related Topic
VFILER COMMANDS
VFILER
Vfiler
MultiStore
1. MultiStore is a software product you can use optionally.
2. MultiStore enables you to partition the storage and network resources of a single
storage system so that it appears as multiple storage systems on the network.
3. Each "storage system" created as a result of the partitioning is called a vFiler unit.
4. A vFiler unit, using the resources assigned, delivers file services to its clients as a
storage system does.The storage resource assigned to a vFiler unit can be one or more
qtrees or volumes. The network resource assigned can be one or more base IP addresses or
IP aliases associated with network interfaces.
5. You can add or remove resources at any time.
6. we don't need additional license for the vfiler unit, we can use physical filer license to
vfiler unit.
Reasons for using MultiStore
MultiStore has many features that you can use for your provisioning needs.
1. To consolidate multiple servers to one storage system.
2. To use the storage system to host data for multiple customers, such as clients of a
service provider or different organizations within an enterprise.
3. To use the SnapMirror technology for migrating data from one storage system to
another
transparently.
Some limitations of MultiStore
1. You can have a maximum of 65 vFiler units on a storage system. You can create 64
vFiler units on a storage system. The 65th vFiler unit is vfiler0, which is created automatically
when MultiStore is licensed on the storage system.
2. In an active/active configuration, you can create up to 64 vFiler units on each node of
the active/active configuration, for a maximum of 130 vFilers in the active/active configuration.
3. Only Ethernet interfaces are supported for vFiler units
4. Only the NFS, CIFS, iSCSI, HTTP, and FTP protocols are supported for the vFiler
units. However, protocols not supported on vFiler units are supported on vfiler0, the default
vFiler unit.
Related Topic
VFILER COMMANDS
Steps creating VFiler and Dr
NetApp Maxfiles
Maxfiles
1. Using maxfiles command we can increase the number of inodes in the respective
volume, so that we create additional files.
2. We may not decrease the inode value because you might not be able to run
WAFL_check.
3. One file is one inodes
STEP :1
STEP:2
fas3070>
fas3070> vol create vol1 aggr1 1.2g
Creation of volume 'vol1' with size 1.2g on containing aggregate
'aggr1' has completed.
fas3070>
STEP:3
fas3070> maxfiles
Volume vol0: maximum number of files is currently 19990 (6096 used)
Volume vol1: maximum number of files is currently 322,122547 (52870 used)
fas3070>
STEP:4
fas3070> df -i /vol/vol1
Filesystem iused ifree %iused Mounted on
/vol/vol0 52870 322,122547 97% /vol/vol0
fas3070>
STEP:5
Are you sure you want to increase the maximum number of files? y
fas3070>
fas3070> maxfiles
Volume vol0: maximum number of files is currently 19990 (6154 used).
Volume vol1: maximum number of files is currently 422,122540 (52870used).
fas3070>
FINISHED
All General Commands
General Commands
Diagnostics
1. Press DEL at boot up during memory test followed by boot_diags and select all
(Diagnostic tests for a new install)
2. priv set diags (Enter diagnostics CLI mode from the Ontap CLI)
3. priv set (Return to normal CLI mode from diagnostics mode)
Software
1. bmc status (shows the status of the BMC remote management interface)
2. bmc setup (BMC remote management interface setup)
Service Port SP
Root Volume
1. If you have a 32-bit root volume that you wish to convert to 64-bit, the best way I
found is to snapmirror the root volume to a 64-bit aggregate, break the snapmirror, set the
new root volume as root, and either failover and failback the filer, or reboot.
Aggregates
Volumes
Qtree’s
Snapshots
SnapMirror
vFiler – Multistore
1. vfiler limit (Performed on the host to see what the limit of vfilers is)
2. vfiler limit 16 (Performed on the host to change the limit of vfilers to 16 or any number
you specify. Check the documentation for Memory Requirements before doing this)
3. vfiler status (Displays the status of the vfiler i.e. running or stopped)
4. vfiler status -r (On the host system. Shows which volumes are running on each vfiler)
5. vfiler rename old_vfiler_name new_vfiler_name (Renames a vfiler)
6. vfiler run vfiler_name setup (Runs the vfiler setup wizard)
7. vfiler run vfiler_name cifs setup (Runs the cifs setup wizard for a vfiler)
8. ipspace create ipspacename (Creates an ipspace – needed when 2 or more vfilers
use the same network subnets)
9. ipspace list (Lists the available ipspace’s)
10. ipspace assign ipspacename interface_name (Assigns the interface to an ipspace.)
11. ipspace destroy ipspace_name (Removes/Deletes an ipspace)
12. vfiler create vfiler_name -s ipspace_name -i x.x.x.x /vol/volume_name or qtree_name
(Creates a vfiler name with ip address x.x.x.x and assigns the volume or qtree to the vfiler.
The -s is optional)
NOTE:
Creating a qtree as the base vfiler does not allow you to enable snapmirror. You must create
the
base as a volume!
1. vfiler add vfiler_name -i x.x.x.x /vol/volume_name (Adds an ip address and additional
volume (can be qtree) to an existing vfiler name)
2. vfiler remove vfiler_name -i x.x.x.x /vol/volume_name (Removes an IP address and
volume from an existing vfiler)
3. vfiler destroy vfiler_name (Deletes/removes a vfiler)
4. vfiler rename vfiler_name_old vfiler_name_new (Renames a vfiler from old name to
new name)
5. vfiler context vfiler_name (Changes CLI into the context of the vfiler name)
6. vfiler allow vfiler_name proto=cifs proto=nfs proto=iscsi (Allows the following
protocols cifs, nfs and iscsi. Disallows rsh, ssh, ftp and http)
7. vfiler stop vfiler_name (Stops a vfiler instance)
8. vfiler start vfiler_name (Starts a vfiler instance)
9. vfiler run vfiler_name route add default x.x.x.x 1 (Adds a default route to a vfiler.
Performed from vfiler0)
10. route add x.x.x.x/x x.x.x.x 1 (Adds a route in a vfiler)
11.
12. To add extra vlans to a vfiler you must do the following:
13. Check the ip space that the vfiler is using by typing ipspace list
14. Create the vlan interface on the host i.e. vif0-360 for vlan 360
15. Assign the interface to the ip space of the vfiler i.e. ipspace assign ipspace_name
vif0-360
16. Add the ip address you wish to use on the vlan interface to the vfiler i.e. vfiler add
vfiler_name -i 192.168.1.1
17. Once the vfiler has this ip address in it’s config we can add it onto the interface i.e.
ifconfig vif0-360 192.168.1.1 netmask 255.255.255.0
Autosupport
Hot Spares
Disks
Luns
iSCSI
Cifs
NFS
HTTP Admin
SIS (Deduplication)
User Accounts
DNS
NDMPD
Logging
Network
1. vlan create vif0 10 (create a vlan on interface vif0. The interface will be vifo-10)
2. vlan delete vif0 10 (deletes the vlan interface vif0-10)
3. ifconfig vif0-10 x.x.x.x netmask x.x.x.x partner vif0-10 (Sets IP information on the
interface named vif0-10 with a partner interface of vif0-10)
4. route add default 192.168.1.1 1 (Adds a default route of 192.168.1.1 with metric 1)
Performance
1. sysstat -x 1 (displays per second statistics for CPU, iSCSI, FCP, CIFS, NFS, Disk
Util, etc)
2. sysstat -m 1 (displays per second statistics for each CPU)
3. sysstat -M 1 (MUST BE DONE IN PRIV SET DIAG MODE. Displays per second
statictics for CPU’s, Kahuna, WAFL, etc)
4. statit b (MUST BE DONE IN PRIV SET DIAG MODE. Starts a performance snapshot)
5. statit e (MUST BE DONE IN PRIV SET DIAG MODE. Stops a performance snapshot
and displays the stats on screen. TIP: Turn on logging in your terminal program before
running this command)