Configuring HP-UX For Peripherals

188 Chapter7
Configuring Tape Drives
Configuring HP-UX for a Tape Drive
d. Save the old system file by moving it. Then move the new system file
into place.
mv /stand/system /stand/system.prev
mv /stand/build/system /stand/system
e. Prepare for rebooting by invoking the kmupdate command. This sets a
flag that tells the system to use the new kernel when it restarts.
/usr/sbin/kmupdate
Step 3. Notify users that the system will be shut down to configure the tape
drive. You can use the wall command and/or the interactive capabilities
of the shutdown command to broadcast a message to users before the
system goes down. See wall (1M) or shutdown (1M) in the HP-UX
Reference.
Step 4. Bring the system to a halt, using the shutdown command.
Step 5. Turn off the power to all peripheral devices and then to the SPU.
Step 6. Install the hardware, following instructions shown in the hardware
documentation. When attaching the tape drive, set the switches on the
tape drive to an unused address, which you will have determined from
ioscan output. Use the cabling recommended in the hardware
documentation. If installing a SCSI device, make sure the last device in
the SCSI chain is terminated.
Step 7. Turn on the power to all peripheral devices. Wait for them to become
"ready", then turn on power to the SPU.
On booting up, HP-UX detects the new tape drive and associates it with
its device driver. insf creates the character device special files required
to communicate with the tape drive.
Step 8. Verify the configuration by invoking the ioscan command to confirm
that the tape device is present and device special files have been created
for it.
In the sample output shown, the tape driver at hardware path
2/0/1.3.0 can be accessed by one of eight device files.