You are on page 1of 6

Netapp Howto Notes

1.
2.
3.
4.
5.
6.
7.
8.
9.

How to create a qtree on the netapp filer?


How to rename a qtree on the netapp filer?
How to update share permissions on the netapp filer?
How to convert a directory to a qtree?
How to join a filer to a windows 2000 domain?
How to upload a core file to netapp
How to get the latest ONTAP release from the NOW site
Howto upgrade the version of ONTAP for F720s
How to use rsync to copy data from one filer to another

1. How to create a qtree on the netapp filer.


Steps to do on the filer (e.g. to create a qtree named mergetest)
1. telnet admfile
2. qtree create /vol/vol0/mergetest
3. qtree security /vol/vol0/mergetest ntfs ( ntfs / mixed / unix)
From the admin host (hoover) as user root
1. /sbin/mount admfile:/etc /mnt
2. cd /mnt and update quotas and exports using RCS
In the NT domain from an NT server
1.
2.
3.
4.
5.
6.
7.
8.

sign on as ntmaint
Run srvmgr \\admfile (might need 129.97.128.36)
Choose Computer, Shared directories from the menu
Click 'New Share'
At "Share Name" enter the Windows folder name
At "Path" enter the pathe to the share e.g. c:\vol\vol0\mergetest
At "Comment" enter something useful...
Update permissions as required.

In a Windows 2000 domain from an W2k server


1.
2.
3.
4.
5.
6.
7.
8.

sign on as a domain administrator


Right click "My computer" and choose manage.
Choose Action, Connect to another computer from the menu
From the browse list, choose uwfile
At "Path" enter the pathe to the share e.g. c:\vol\vol0\mergetest
At "Comment" enter something useful...
Update permissions as required.

2. How to rename a qtree on the netapp filer


1. Rename the qtree, as if it were a directory, by using the UNIX "mv" command, the DOS
"ren" or "rename" commands, Windows Explorer, etc.
2. Update the qtree name in the filer's /etc/quotas file using rcs.
3. Turn quotas off by
1. typing "quota off" at the filer console.
2. typing "rsh filername quota off" as root from the admin host hoover.
4. Turn quotas on again by
1. typing "quota on" at the filer console.
2. typing "rsh filername quota on" as root from the admin host hoover.
3. How to update share permissions on the netapp filer
Windows NT server instructions
1. Connect to a server in the ADMIN domain.
2. Run Server Manager on the filer e.g. Start -> run -> srvmgr \\admfile
3. Choose Computer -> Shared directories.
4. Select the share name you want to update.
5. Choose "Properties".
6. Choose "Permissions".
7. If adding a new group, select "Add" and select the group. If necessary, use the drop down
list to find the group in another domain.
8. If updating a group's permissions, select the group and modify the share permissions as
necessary
9. Click "OK" twice and "Close" to exit
Windows 2000 instructions
1.
2.
of
3.
4.
5.

As a "domain administrator", right click 'My computer', select 'Manage'


Select 'Action' -> 'Connect to another computer' and in the dialogue box, type the name
the filer you want to manage.
Expand 'Shared Folders'. Click on 'Shares'.
Right click the share that needs to be updated and modify as necessary.
Select 'File' -> 'Exit' when finsihed.

4. How to convert a directory to a qtree.


1. Write down the existing share permissions.
2. Rename the directory
* From Windows: map the root volume of the file, usethe DOS "ren" or "rename" commands,
Windows Explorer, etc.
* From unix: mount the root volume of the filer in write mode, and use the mv oldqtreename
newatreename command to rename the qtree.
3. Update the qtree name in the filer's /etc/quotas file using rcs.
4. Turn quotas off by
1. typing "quota off" at the filer console.

2. typing "rsh filername quota off" as root from the admin host hoover.
5. Turn quotas on again by
1. typing "quota on" at the filer console.
2. typing "rsh filername quota on" as root from the admin host hoover.
6. If shares have to be recreated to point to the new qtree, use the permissions noted in the
first step.
5. How to join a filer to a domain
1. If the filer is already in the domain, use Active Directory - Users and Computers to delete
the account.
2. From hoover (the filer administration host), telnet to uwfile and issue the 2 commands
shown in the dialogue below. The default answers for the cifs setup command are shown in
[]. The important step is to answer "yes" to delete the existing filer account information.
3. An administrative account in the domain to be joined is required. I left the default
cn=computers as the OU for the filer at this point and then moved it to ads/Academic
Support/Servers later using the AD users and computers tool.

uwfile> cifs terminate


uwfile> cifs setup
Enable CIFS access to the filer by a Windows(tm) PC
Your filer is visible to all systems using WINS.
The WINS name servers currently configured are:
129.97.108.193
Do you want to modify this list? [no]:
This filer is currently configured as a Multiprotocol filer.
Do you want to configure this filer as a NTFS-only filer? [no]:
This filer is currently a member of the domain 'ADS'
If you want to change the name of the filer, or change
the filer's domain membership, you must delete its
existing account information.
Do you want to delete the existing filer account information? [no]: yes
The default name of this filer will be 'UWFILE'.
Do you want to modify this name? [no]:
CIFS supports three types of user authentication:
1. Windows Domain authentication.
2. Windows Workgroup authentication using the filer's user accounts.
3. /etc/passwd and/or NIS based authentication.
What type of authentication will this filer use? [1]:
The filer will use Windows Domain authentication.
Enter the Windows Domain for the filer []:ads.uwaterloo.ca
ADS is a Windows 2000(tm) domain.
In order to create this filer's domain account, you must supply the
name and password of an administrator account with sufficient privilege
to add the filer to the ADS domain.
Please enter the Windows 2000 user [ADS\Administrator]:ads\!!kscully
Password for ADS\!!kscully:

CIFS - Logged in as ADS\!!kscully.


By default, setup creates the filer account in the Active
Directory container named 'Computers'. Alternatively, you can
install the filer in an organizational unit (OU) by specifying
the domain relative distinguished name of the OU, as in
'ou=innerOU,ou=outerOU'.
Active Directory container for filer account? [cn=computers]:
CIFS - Connecting to domain controller.
Welcome to the ADS Windows 2000(tm) domain.
6.How to upload a core file to netapp
If a filer crashes, there will be a core file created in the /etc/crash directory off the root of the
filer. The name of the file will be something like core.1.nz. To upload this file to netapp, follow
these steps:
1. Open a case with Netapp. You'll need the case number to upload the file
2. On the admin host (hoover), cd /nfs/filername/etc/crash, where filername is the name of
the filer that crashed.
3. Locate the latest core file ls -lt. Remember this number (say it's X)
4. Connect to the NOW ftp site ftp ftp.netapp.com. Use anonymous as the userid, and your
email address as the password.
5. Switch to the upload directory cd to-ntap
6. Switch to binary mode for the transfer bin
7. Upload the core file and rename it with the case number put core.X.nz
case_number.core.X.nz, where case_number is the case number you got from Netapp in the
first step, and X is the number of the core file from step 3.
Dialogue should look something like this:
suw-2.03# cd /mnt/etc/crash
suw-2.03# ftp ftp.netapp.com
Connected to ftp-lbs.netapp.com.
220 ftp.netapp.com NcFTPd Server (licensed copy) ready.
Name (ftp.netapp.com:kscully): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
230-You are user #1 of 100 simultaneous users allowed.
230230230- Welcome to Network Appliance Corporation's FTP server. This
230-server is for the use of Network Appliance customers and employees only.
230- All other use is prohibited.
230230230-To upload ONTAP core files, change directories to to-ntap.
230-To upload Netcache core files, change directories to incoming/cs/netcache.

230-Please use Binary mode to upload files.


230230230-NOTE: You must open a Customer case/call record
230- before transferring the core file.
230230-To upload ONTAP core files
230230- ftp> cd to-ntap
230- ftp> bin
230- ftp> put core..nz
.core..nz
230230-To upload NetCache core files
230230- ftp> cd incoming/cs/netcache
230- ftp> bin
230- ftp> put core..nz
.core..nz
230230230- Example:
230- ftp> put core.3.nz 82329.core.3.nz
230230-HTTP/HTTPS are also available for core/trace/stat/log files uploads.
230-See http://upload.netapp.com/ for details.
230230 Logged in anonymously.
ftp> cd to-ntap
250 "/incoming/cs/ontap" is new cwd.
ftp> bin
200 Type okay.
ftp> put core.2.nz 463838.core.2.nz
200 PORT command successful.
150 Opening BINARY mode data connection.
226 Transfer completed.
local: core.2.nz remote: 463838.core.2.nz
57298671 bytes sent in 3.8e+02 seconds (145.44 Kbytes/s)
ftp> quit
7.Getting the latest release from the NOW site
* Setup the directory structure on hoover (example below for 6.1.2).
/software/netapp-6.1.2/data/2_8_a2 (firmware files)
/software/netapp-6.1.2/data/612
/software/netapp-6.1.2/doc/

8. Howto upgrade the version of ONTAP for F720s


From the management server
*
*
*
*
*

mount uwfile:/ /mnt


cd /mnt
tar xvf /software/netapp-6.2/data/62r2/62R2_sysfiles_a.tar
./install_netapp /mnt
cd /; umount /mnt

From the filer console:


*
*
*
*

download
disk_fw_update (will do nothing if all disk firmware is up to date)
reboot
filer should reboot in less than a minute. Check /nfs/filername/etc/messages.

9. How to use rsync to copy data from one filer to another


Here is the process as described by Terry Stewart. Both filers are mounted from one unix
host (in the example below ahsnap is the target and ahsfile is the source)
cd /ahsnap
rsync -axv --delete --exclude-from /u/stewart/exclude.me /home/ .
(don't miss the dot on the end of line above)
/ahsnap is the new filer mount point
/home is the old filer mount point
The file exclude.me looks like:
.snapshot/
You can add other directories (eg, Windows2000/) on separate lines
in the exclude file.

You might also like