Oracle® Secure Backup Installation Guide Release 10.1 Part Number B14235-05 |
|
|
PDF · Mobi · ePub |
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 only need to perform the procedures described in this appendix in one of the following circumstances:
Chose not to or were unable to use the automated installation program (installob
) explained in Chapter 4, "Installing Oracle Secure Backup on Linux or UNIX".
Used installob
but did not specify any libraries or drives (or 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 any device special files.
Note:
It is generally possible to runinstallob
again to configure devices for your media server. See "Running installob Again for Device Configuration or Push Installs" for details.This chapter covers the following topics:
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 need to install the driver kernel manually.
This section contains the following topics:
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 theinstall/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 this indicates that the driver named ob
is installed, ensure there are no processes using the device driver. (If any Oracle Secure Backup daemons are running, stop them at this time using kill -9
.)
Then 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 need 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 install/makedev
to create device files for your libraries and drives.
You might need to uninstall the Oracle Secure Backup driver from your operating system. In most cases, you should use the Oracle Secure Backup uninstallob
program. See Chapter 6, "Uninstalling Oracle Secure Backup" for more information.
On Solaris, manual action is required. You should first login as root
. Then ensure that the driver is not currently active, that is, ensure that none of the drives or libraries are in use. After performing the following steps, you can delete the special devices files (in /dev
) that were created as part of driver installation.
Note:
Since 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.Manual removal of drivers is described for the following operating system:
To uninstall the Oracle Secure Backup driver on Solaris:
Log into the host as root
.
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