Skip Headers
Oracle® Secure Backup Installation Guide
Release 10.1

Part Number B14235-05
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

C Manually Configuring UNIX Drivers

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:

This chapter covers the following topics:

C.1 Installing the Oracle Secure Backup Device Driver Manually

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:

C.1.1 Installing the Driver on Solaris 2.8 and Later

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.
  1. Ensure you are logged in as root.

  2. 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
    
    
  3. 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
    
    
  4. 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.

  5. 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
    
    
  6. Add the driver to the system using add_drv:

    /usr/sbin/add_drv -m '* 0666 bin bin' ob
    
    
  7. Use install/makedev to create device files for your libraries and drives.

C.2 Uninstalling the Oracle Secure Backup Device Driver Manually

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:

C.2.1 Manually Uninstalling the Oracle Secure Backup Driver on Solaris

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