|
|
This appendix describes how to mount the Essentials CD-ROM on an HP-UX system. You can install CW2000 from a CD-ROM that is mounted on the local machine or from a CD-ROM that is mounted on a remote HP-UX machine. 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. You must use this procedure to mount the CD-ROM for both CWSI Campus and Essentials. If you use the standard UNIX mount command to mount the CD-ROM, the software installation will fail. |
This appendix contains the following sections:
The following are prerequisites for mounting the CW2000 CD-ROM:
![]() | Caution You must use this CD-ROM mounting procedure to successfully install the product. |
To mount the CW2000 CD-ROM on the local machine, log in as superuser and follow these steps:
Step 1 If you are running HP-UX 10.20, ensure that HP patch PHCO_15453 (or any superseding patch) is installed.
Step 2 Make sure that the path /usr/sbin is in the path environment variable.
Step 3 For HP-UX 10.xx 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 4 Verify that network loopback is enabled by entering the following command:
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 171.69.217.60 127.0.0.1 UH 1 2299 lo0 4608 default 171.69.217.254 UG 5 86356 lan0 1500 171.69.217.0 171.69.217.60 U 0 7702 lan0 1500
The entry lo0 is for the loopback interface.
Step 5 Start the PFS daemons to allow network access on server and client by entering the following commands:
# nohup /usr/sbin/pfs_mountd & # nohup /usr/sbin/pfsd 4 &
Step 6 Verify the processes that are running on the system by entering the following command:
# 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 7 Mount the CD-ROM by entering the following command:
# pfs_mount devicefile mount_point
where devicefile is the device filename 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 8 After you install the software, enter the following command to unmount the CD-ROM:
#pfs_umount/cdrom
![]() | Caution You must use this CD-ROM mounting procedure to successfully install the product. |
To access the CW2000 CD-ROM from a remote machine, log in as superuser and follow these steps:
Step 1 Perform the following steps on the remote machine:
(a) Mount the CD-ROM on the remote machine as described in the section "Mounting the CW2000 CD-ROM on the Local Machine."
(b) 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 the install the software.
(c) Enter the following command to export the directory that you just mounted:
# /usr/sbin/pfs_exportfs-a
Step 2 Perform the following steps on the local machine (the machine on which you want to install the software):
(a) Start the pfs_mountd daemon by entering the following command:
# nohup pfs_mountd &
(b) Mount the CD-ROM by entering the following command:
# pfs_mount serverhost:remote_mount_point local_mount_point
where serverhost is the name of the remote machine, remote_mount_point is the name of the CD-ROM mount point on the remote machine, and local_mount_point is the name of the CD-ROM mount point on the local machine.
For example, the command
# pfs_mount server:/cdrom1 /cdrom2
mounts the /cdrom1 directory of the remote machine named server to the /cdrom2 directory of the local machine.
After you have finished installing Essentials and the necessary device packages, you might want to unexport the exported CD-ROM filesystem. To unexport the CD-ROM filesystem, follow these steps:
Step 1 Log in to the local HP-UX workstation as root.
Step 2 Unmount the directory (for example, /local_dir) for the local workstation by entering the following command:
# /usr/sbin/umount /local_dir
Step 3 Log in to the remote HP-UX workstation as root.
Step 4 Remove the following line from the /etc/exports file:
/cdrom -anon=0,ro
Step 5 Enter the following command to unexport the filesystem:
# /etc/exportfs -a
To mount the exported CD-ROM filesystem to a local workstation, follow these steps:
Step 1 Log in to the local workstation as root.
Step 2 Create a dummy directory, for example, /local_dir. If a directory by that name already exists, create a directory with a different name. The following steps use the filename /local_dir.
Step 3 Verify that the directory is not already a mounted filesystem by entering the following command:
# df /local_dir
If the output is 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 of the command is 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, unmount the existing directory by entering the following command:
# /usr/sbin/umount /local_dir
Step 5 Mount the exported CD-ROM drive on the local workstation by entering the following command:
# /usr/sbin/mount -r remote_machine:/cdrom /local_dir
To unmount the CD-ROM, log in as superuser and follow these steps:
Step 1 Unmount the CD-ROM drive by entering the following command as superuser:
# cd / # umount /cdrom
Step 2 Press the eject button to eject the CD-ROM from the workstation.
Step 3 Remove the CD-ROM and store it in a safe place.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Nov 17 16:12:56 PST 1999
Copyright 1989-1999©Cisco Systems Inc.