Oracle® Secure Backup Installation and Configuration Guide Release 10.2 Part Number E05408-02 |
|
|
View PDF |
This appendix explains how to manually install and uninstall the Oracle Secure Backup kernel device driver for Solaris.
Note:
The steps in this chapter are only required for Solaris installations. Oracle Secure Backup automatically uses pass-through drivers for Linux systems.You must perform the procedures described in this appendix only in one of the following circumstances:
You chose not to or were unable to use the installob installation program described in Chapter 2, "Installing Oracle Secure Backup on Linux or UNIX".
You used installob but either did not specify a tape library or tape drive, or you left the device_list
field blank in your network description file. In this case, installob did not install the Oracle Secure Backup device driver or create a device special file.
Note:
It is generally possible to run installob again to configure devices for your media server. See "Running installob Again to Create Device Special Files" for details.This appendix contains these sections:
If your media server has missing or modified system files, major device numbers already in use, unexpected protection attributes, or other site-specific characteristics, then using installdriver to install the driver might not work. Rather, you must install the driver kernel manually.
Perform the following steps to install the Oracle Secure Backup device driver under Solaris 2.8 and later using operating system commands.
Note:
These are the same steps performed by the install/installdriver shell script. It is strongly recommended that you perform this task by running that script instead of using the manual process described here.Ensure you are logged in as root
.
Check if there is a version of the Oracle Secure Backup driver currently installed:
# /usr/sbin/modinfo | grep ob
If step 2 indicates that the driver named ob
is installed, then ensure there are no processes using the device driver. If any Oracle Secure Backup daemons are running, then stop them at this time using kill -9
.
Uninstall the current driver. For example:
# /usr/sbin/rem_drv ob
Copy the driver from the Oracle Secure Backup Solaris driver directory to /usr/kernel/drv. For example:
cp /usr/local/oracle/backup/.drv.solaris64/ob /usr/kernel/drv/ob
Copy the driver's ob.conf file:
cp /usr/local/oracle/backup/.drv.solaris64/ob.conf /usr/kernel/drv/ob.conf
This ob.conf file allows Oracle Secure Backup devices to reside at any SCSI target, logical unit number (LUN) 0
or 1
, on any bus. You can modify ob.conf to specify SCSI targets that correspond only to the devices you want to configure for use by Oracle Secure Backup. Also, you might be required to modify the ob.conf file to include LUNs other than 0
or 1
for devices to be claimed by the Oracle Secure Backup driver.
Copy the 64-bit version of the driver to /usr/kernel/drv/sparcv9. For example:
cp /usr/local/oracle/backup/.drv.solaris64/ob64 /usr/kernel/drv/sparcv9/ob
Add the driver to the system using add_drv
:
/usr/sbin/add_drv -m '* 0666 bin bin' ob
Use installob or makedev to create a device special file for each tape library and tape drive.
You might be required to uninstall the Oracle Secure Backup driver from your operating system. In most cases, you should use the Oracle Secure Backup uninstallob program. See "Uninstalling Oracle Secure Backup on Linux or UNIX" for more information.
Note:
Because some of the following procedures involve renaming and deleting files, you should make a backup copy of the appropriate directory trees (/etc/conf, /stand/build, and so on) before proceeding.To uninstall the Oracle Secure Backup driver on Solaris:
Log into the host as root
.
Ensure that no tape drive or tape library is in use.
Run the rem_drv
command to uninstall the Oracle Secure Backup driver. For example:
# /usr/sbin/rem_drv ob
Delete the driver files from /usr/kernel/drv. For example:
# cd /usr/kernel/drv # rm ob ob.conf sparcv9/ob