Chapter 5 User and System Administration

System Administration

Creating iSCSI Storage Locations, page 5-11

Editing iSCSI Storage Locations, page 5-11

Creating NFS Storage Locations

The NFS server must be configured properly to allow NAM to write data to it. The NAM accesses the NFS directories with UID=80 (www) and UID=0 (root). The NFS directories must be fully accessible by these UIDs.

One way to do this is to use the NFS option all_squash to map these UIDs to anonuid=<userID>, where < userID> is a local user ID with full access rights to the NFS directories.

Configuring the NFS Server

The following example shows how to set up an NFS directory (/home/SomeUserName) in a Linux server for a NAM (at IP address 1.1.1.2) to store capture data. To set up an NFS server directory to store capture data:

Step 1 Locate a UID that has read and write access to the target NFS directory.

For example, if the target NFS directory is /home/SomeUserName, open the /etc/password file and search for a user entry that contains something like the following:

SomeUserName:x:503:503::/home/SomeUserName:/bin/tcsh

In this example, the UID is 503.

Step 2 Edit the /etc/exports file and add a line like the following:

/home/SomeUserName 1.1.1.2/255.255.255.255(rw,all_squash,anonuid=503)

Step 3 Activate the change:

/usr/bin/exportfs -a

Note If the NFS directory contains subdirectories that are not writable by the NAM, these subdirectories will not be listed in NAM capture screens.

Configuring the NFS Storage Location on the NAM

The following procedure describes how to create an NFS storage location by specifying a remote file system partition.

Step 1 Choose Administration > System > Capture Data Storage.

The Capture Data Storage window displays and lists any capture data storage locations already configured.

Step 2 Click Create NFS.

Step 3 Enter the requested parameters in the New NFS Storage window.

Table 5-5describes the NFS Storage location parameters.

User Guide for the Cisco Network Analysis Module (NAM) Traffic Analyzer, 5.0

 

OL-22617-01

5-9

 

 

 

Page 197
Image 197
Cisco Systems NAM, 5 manual Creating NFS Storage Locations, Configuring the NFS Server