|
|
This appendix describes how to mount the TrafficDirector CD-ROM on HP-UX and AIX systems. It includes general information only. For more detailed instructions, see your HP-UX or AIX system documentation.
This section describes how to mount the TrafficDirector CD-ROM on an HP-UX system. It includes general information only. For more detailed instructions, see your HP-UX system documentation.
You can install the TrafficDirector application from a CD-ROM mounted on the local TrafficDirector system or from a CD-ROM mounted on a remote HP-UX system. The Portable File System (PFS), which is used to mount the CD-ROM in this procedure, allows access to a variety of CD-ROM file systems.
![]() |
Caution You must use this CD-ROM mounting procedure to successfully install the product. If you use the standard UNIX mount command to mount the CD-ROM, the software installation will fail. |
This section contains the following information:
The following are prerequisites for mounting the CD-ROM:
![]() |
Note A patch is required for HP-UX 11.0 only. |
Use the command netstat -rn to show the network routing tables; the entry lo0 is for the loopback interface.
![]() |
Caution You must use this CD-ROM mounting procedure to successfully install the product. |
To mount a local CD-ROM drive, follow these steps:
Step 2 To become the superuser, enter the command su and the root password at the command prompt, or log in as root.
The command prompt changes to the pound sign (#).
Step 3 Make sure the path /opt/sbin is in the path environment variable.
Step 4 For HP-UX 11.0 systems, enable network loopback (if it is not already enabled) by adding the entry LOOPBACK_ADDRESS=127.0.0.1 to the file /etc/rc.config.d/netconf.
Step 5 To verify that network loopback is enabled, enter the following command and press Enter:
netstat -rn
Output similar to the following is displayed:
Routing tables Destination Gateway Flags Refs Use Interface Pmtu PmtuTime 127.0.0.1 127.0.0.1 UH 0 2897 lo0 4608 172.16.217.60 127.0.0.1 UH 1 2299 lo0 4608 default 172.16.217.254 UG 5 86356 lan0 1500 172.16.217.0 172.16.217.60 U 0 7702 lan0 1500
The entry lo0 is for the loopback interface.
Step 6 To start the PFS daemons to allow network access on the server and client, enter the following commands and press Enter:
# nohup /usr/sbin/pfs_mountd & # nohup /usr/sbin/pfsd 4 &
Step 7 To verify the processes that are running on the system, enter the following command and press Enter:
# ps -ef | grep pfs
Output similar to the following is displayed:
root 1196 1195 0 14:07:28 ttyp1 0:00 pfs_mountd.rpc root 1224 1208 0 14:07:47 ttyp1 0:00 pfsd.rpc root 1210 1208 0 14:07:41 ttyp1 0:00 pfsd.rpc root 1217 1208 0 14:07:44 ttyp1 0:00 pfsd.rpc root 8669 7686 0 15:49:25 ttyp3 0:00 /usr/sbin/pfsd 4 root 8670 8669 0 15:49:25 ttyp3 0:00 pfsd.rpc root 8617 7686 0 15:48:33 ttyp3 0:00 /usr/sbin/pfs_mountd root 8739 7686 1 15:50:49 ttyp3 0:00 grep pfs
Step 8 To mount the CD-ROM, enter the following command and press Enter:
# pfs_mount devicefile mount_point
where devicefile is the device file name of the CD-ROM drive and mount_point is the directory on which you want to mount the CD-ROM.
For example, the following command mounts the device /dev/dsk/c1t2d0 to the /cdrom directory:
# pfs_mount /dev/dsk/c1t2d0 /cdrom
Step 9 To unmount the CD-ROM after you install the software, enter the following command and press Enter:
# pfs_umount /cdrom
![]() |
Caution You must use this CD-ROM mounting procedure to successfully install the product. |
To access the TrafficDirector CD-ROM from a remote system, follow these steps:
Step 2 On the remote system, mount the CD-ROM as described in the "Prerequisites for Mounting the CD-ROM" section.
Step 3 Add the following entry to file /etc/pfs_exports (create the file if it does not already exist):
/cdrom -access=client
where client is the name of the host on which you want to install the software.
Step 4 To export the directory that you just mounted, enter the following command and press Enter:
# /usr/sbin/pfs_exportfs -a
Step 5 On the local system on which you want to install the TrafficDirector software, start the pfs_mountd daemon by entering the following command and pressing Enter:
# nohup pfs_mountd &
Step 6 To mount the CD-ROM, enter the following command and press Enter:
# pfs_mount serverhost:remote_mount_point local_mount_point
where:
For example, the following command mounts the /cdrom1 directory of the remote system named server to the /cdrom2 directory of the local system.
# pfs_mount server:/cdrom1 /cdrom2
After you have finished installing the necessary device packages, you might want to unexport the exported CD-ROM file system.
To unexport the CD-ROM file system, follow these steps:
Step 2 To unmount the directory (for example, /local_dir) for the local workstation, enter the following command and press Enter:
# /usr/sbin/umount /local_dir
Step 3 Log into the remote HP-UX workstation as root.
Step 4 Remove the following line from the /etc/exports file:
/cdrom -anon=0,ro
Step 5 To unexport the file system, enter the following command and press Enter:
# /etc/exportfs -a
To mount the exported CD-ROM file system to a local workstation, follow these steps:
Step 2 Create a dummy directory (for example, /local_dir).
![]() |
Note The commands in the following steps use the filename /local_dir. If a directory with that name already exists, create a directory with a different name. |
Step 3 To verify that the directory is not already a mounted file system, enter the following command and press Enter:
# df /local_dir
If the output looks similar to the following, the directory is not already a mounted file system:
/local_dir (/dev/dsk/c0t3d0s5):328614 blocks 586775 files
If the output looks similar to the following, a file system is already mounted on the local_dir directory:
/local_dir (remote:/tmp): 3139134 blocks -1 files
Step 4 If a file system is already mounted on the local_dir directory, enter the following command and press Enter to unmount the existing directory:
# /usr/sbin/umount /local_dir
Step 5 To mount the exported CD-ROM drive on the local workstation, enter the following command and press Enter:
# /usr/sbin/mount -r remote_system:/cdrom /local_dir
To unmount the CD-ROM drive, follow these steps:
Step 2 To unmount the CD-ROM drive, enter the following commands as superuser and press Enter:
# cd / # umount /cdrom
Step 3 Press the eject button to eject the CD-ROM from the drive.
Step 4 Remove the CD-ROM from the drive and store it in a safe place.
![]() |
Caution You must use this CD-ROM mounting procedure to successfully install the product. If you use the standard UNIX mount command to mount the CD-ROM, the software installation will fail. |
You can install the TrafficDirector application from a CD-ROM mounted on the local TrafficDirector system or from a CD-ROM mounted on a remote system.
This section contains the following information:
To mount a local CD-ROM drive, follow these steps:
To become the superuser, enter the command su and the root password at the command prompt, or log into the system as root.
The command prompt changes to the pound sign (#).
Step 2 If the /cdrom directory does not already exist, enter the following command and press Enter to create it:
# mkdir /cdrom
Step 3 To run SMIT, enter the following command and press Enter:
# smit
Step 4 From the SMIT System Management menu, select System Storage Management (Physical & Logical Storage).
Step 5 Select File Systems.
Step 6 Select Add/Change/Show/Delete File Systems.
Step 7 Click Add CDROM File Systems.
Step 8 Click the DEVICE name list button.
Step 9 Select the device name (such as cd0) from the list that is displayed.
Step 10 Enter the name of a mount point directory (such as /cdrom) in the Mount Point field.
Step 11 Click OK.
Step 12 Look for messages in the Output: field.
If you have already performed this procedure, or if another device is already mounted on the mount point, the process fails.
Step 13 Click Done.
Step 14 To clear the Add CDROM File System dialog box, click Cancel.
Step 15 To terminate SMIT, press F12 or select Exit > Exit SMIT.
Step 16 Enter the following command and press Enter:
# smit mountfs
The Mount a File System dialog box is displayed.
Step 17 Click the FILE SYSTEM name list button.
Step 18 Select the device name of the CD-ROM drive that you want to mount (such as cd0) from the list that is displayed.
Step 19 In the DIRECTORY over which to mount field, enter the name of a mount point directory (for example, /cdrom).
Step 20 Click the TYPE of file system list button.
Step 21 Select cdrfs as the file system type.
Step 22 Set the Mount as Read-Only system field to yes.
Step 23 Click OK.
Step 24 Look for messages in the Output: field.
If the mount is successful, there are no messages.
Step 25 Click Done.
Step 26 To exit SMIT, click Cancel.
You have now mounted the CD-ROM drive. For more information about installing the TrafficDirector application, see "Installing the TrafficDirector Application."
To mount a remote CD-ROM drive, follow these steps:
Step 2 Enter the following command and press Enter:
# smit mknfsexp
The Add a Directory to Exports List dialog box is displayed.
Step 3 Enter the CD-ROM mount point directory (such as /cdrom) in the PATHNAME of directory to export field.
Step 4 Use the arrow buttons to change the Mode to Export Directory field to read-only.
Step 5 If necessary, enter appropriate information in the other fields.
Step 6 Click OK.
Step 7 Look for messages in the Output: field.
Step 8 Click Done.
Step 9 To exit SMIT, click Cancel.
Step 10 After working on the remote workstation, log in as root on the local workstation.
Step 11 Enter the following command and press Enter:
# mount remote_hostname:remote_exported_filesystem_name \ local_mount_point
For example, to mount the /cdrom remote file system from the workstation zen to the local /cdrom directory, you would enter the following command:
# mount zen:/cdrom /cdrom
You have now mounted the CD-ROM drive. For more information about installing the TrafficDirector application, see "Installing the TrafficDirector Application on AIX Systems."
To unmount a local CD-ROM drive, follow these steps:
As root, enter the following commands and press Enter:
# cd # unmount themountpoint
where themountpoint is the directory on the local system on which you mounted the CD-ROM.
For example, if you mounted the CD-ROM on the local directory /cdrom, you would enter the following command:
# unmount /cdrom
Or:
a. As root, invoke SMIT by entering the command smit and press Enter.
b. Select System Storage Management.
c. Select File Systems.
d. Select Unmount a File System.
e. Enter the mount point in the Name of the file system to unmount field.
f. Click OK.
Step 2 Remove the CD-ROM from the drive and store it in a safe place.
To unmount a remote CD-ROM drive, follow these steps:
Step 2 Select System Storage Management (Physical & Local Storage).
Step 3 Select File Systems.
Step 4 Select Add/Change/Show/Delete File Systems.
Step 5 Select Network File System (NFS).
Step 6 Select Network File System (NFS) again.
Step 7 Select Remove a Directory from Exports List.
Step 8 Enter the CD-ROM mount point directory (such as /cdrom) in the PATHNAME of exported directory to be removed field.
Step 9 Click OK.
Step 10 As root, enter the following commands on both the remote and local systems:
# cd # unmount themountpoint
where themountpoint is the directory on the system on which you mounted the CD-ROM.
For example, if you mounted the CD-ROM on the directory /cdrom on both the local and remote systems, you would enter the following command on both systems:
# unmount /cdrom
![]() |
Note Alternatively, you can use SMIT to unmount the CD-ROM file system on the local system as explained in the section "Unmounting a Local CD-ROM Drive." |
Step 11 Remove the CD-ROM from the drive and store it in a safe place.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Jun 5 09:42:49 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.