Skip Headers
Oracle® Secure Backup Installation Guide
Release 10.1

Part Number B14235-02
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
View PDF

Installing Oracle Secure Backup on Linux or UNIX with installob

To install the Oracle Secure Backup software on Linux or UNIX, run the installob script.


Note:

Before starting installob on a media server, have the SCSI parameters for tape devices available. You will have the option of entering those parameters to configure SCSI devices as part of the initial installation. See "Determining SCSI Device Parameters on Linux and UNIX" for details on collecting this information.

installob Step 1: Starting the installob Script

The Oracle Secure Backup setup script described in "Loading Oracle Secure Backup Software on Solaris or Linux Using setup Script" ends by asking whether to start the installation process using the installob script for you after the software is loaded. If you entered yes to this question, the setup script runs the installob script for you.

Otherwise, start installob from the shell prompt. While logged in as root, change directory to the Oracle Secure Backup home and enter the following command:

install/installob

The installob program displays the following output:

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -

Welcome to installob, Oracle Secure Backup's UNIX installation program.
 
It installs Oracle Secure Backup onto one or more UNIX, Linux, or other
supported open-source systems on your network.  (Install Oracle Secure
Backup for Windows using the CD-ROM from which you loaded this software.)
 
For most questions, a default answer appears enclosed in square brackets.
Press return to select this answer.
 
Please wait a few seconds while I learn about this machine... done.

installob Step 2: Confirm Settings in obparameters File

The next step depends upon the value of the customized obparameters parameter in the obparameters file described in "Optional: Configuring Installation Parameters in the obparameters File".

If you have already edited obparameters and set customized obparameters to yes, then installob assumes that you have made any desired changes in the obparameters file and uses those parameters during the installation. Continue to "installob Step 3: Choosing Interactive or Batch Mode Install".

If customized obparameters is set to no (the default), then installob displays the following output:

Have you already reviewed and customized install/obparameters for your
Oracle Secure Backup installation [yes]?

Select one of the following options:

installob Step 3: Choosing Interactive or Batch Mode Install

The installob program displays the following output:

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -

You can choose to install Oracle Secure Backup in one of two ways:
    (a) interactively, by answering questions asked by this program, or
    (b) in batch mode, by preparing a network description file
 
Use interactive mode to install Oracle Secure Backup on a small number of 
hosts. Use batch mode to install Oracle Secure Backup on any number of 
hosts.
 
Which installation method would you like to use (a or b) [a]?  
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -

Choose one of the following:

Enter a (or press the Enter key to accept the default choice a).

installob Step 4: Specifying Host Role

The installob program displays the following output:

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -

Oracle Secure Backup is not yet installed on this machine.

Oracle Secure Backup's Web server has been loaded, but is not yet configured.

You can install this host one of three ways:
    (a) admininistrative server
        (the host will also be able to act as a media server or client)
    (b) media server
        (the host will also be able to act as a client)
    (c) client

If you are not sure which way to install, please refer to the Oracle 
Backup Installation Guide. (a,b or c) [a]?  

You determined the roles for each host when planning your administrative domain. Choose one of the following:


Note:

  • On Linux and UNIX, an administrative server installation also includes the required components and settings for the media server and client roles. A media server installation also includes the required components for the client role.

  • You can add or remove a role later with the chhost command in obtool. (To add the media server role to a client after initial installation, you must create device special files using makedev or installob.) See Oracle Secure Backup Reference for details.



See Also:

"Planning Your Administrative Domain" to learn more about the roles of administrative server, media server and client in Oracle Secure Backup

This example describes installation for an administrative server.

Enter a (or press the Enter key to accept the default choice a).

The installob program displays output similar to the following:

Beginning the installation.  This will take just a minute and will produce
several lines of informational output.
 
Installing Oracle Secure Backup on dlsun1976 (solaris version 5.8)

Note:

The specific output varies according to your operating system.

installob Step 5: Setting Administrative User Password

If you are installing on this host as an administrative server, installob prompts for an initial password for the Oracle Secure Backup administrative user. You are prompted to enter the password, and then to re-enter it for confirmation. For example:

You must now enter a password for the Oracle Secure Backup 'admin' user.
Oracle suggests you choose a password of at least 8 characters in length,
containing a mixture of alphabetic and numeric characters.
 
Please enter the admin password: 
Re-type password for verification:


Note:

When you type in the password, your entry is not echoed to the display.

installob Step 6: installob Completes Installing Software

installob now displays informational messages as it installs and configures the Oracle Secure Backup software on this host. This process may take a few minutes, and the output may vary depending upon the roles specified for this host. For example:

generating links for admin installation with Web server
    checking Oracle Secure Backup's configuration file (/etc/obconfig)
    setting Oracle Secure Backup directory to /usr/local/oracle/backup in /etc/obconfig
    setting local database directory to /usr/etc/ob in /etc/obconfig
    setting temp directory to /usr/tmp in /etc/obconfig
    setting administrative directory to /usr/local/oracle/backup/admin in /etc/obconfig
    protecting the Oracle Secure Backup directory
    installing /etc/init.d/oraclebackup for observiced start/kill ops at
        operating system run-level transition
    installing start-script (link) /etc/rc2.d/S92OracleBackup
    installing kill-script  (link) /etc/rc1.d/K01OracleBackup
    installing kill-script  (link) /etc/rc0.d/K01OracleBackup
    initializing the administrative domain
NOTE: installing Oracle Secure Backup driver in order to identify SCSI 
busses...
NOTE: /usr/local/oracle/backup/.drv.solaris64/ob copied to /usr/kernel/drv/ob
NOTE: /usr/local/oracle/backup/.drv.solaris64/ob.conf copied to
/usr/kernel/drv/ob.conf
NOTE: /usr/local/oracle/backup/.drv.solaris64/ob64 copied to
/usr/kernel/drv/sparcv9/ob

At this point, the Oracle Secure Backup software required for the roles you specified is installed on this host.

installob Step 7: (Optional, Media Servers Only): Configuring Tape Drives and Libraries

For a media server or administrative server installation, installob now displays the following output:

NOTE: The Oracle Secure Backup device driver has been successfully installed.
Would you like to configure (or reconfigure) any Oracle Secure Backup devices that
are attached to dlsun1976 [no]? 


Note:

  • Because installob includes both the administrative and media server roles when installing an administrative server, this prompt is displayed when installing on an administrative server even if there are no attached tape libraries or drives.

  • Although the following example concerns SCSI libraries and tape drives, the same procedures apply to Fibre Channel devices.


Configuring Oracle Secure Backup devices in installob creates the device special files required for Oracle Secure Backup to communicate with the devices.

In general, creating device special files can be performed using the makedev tool, described in "Creating Device Special Files on Solaris and Linux". However, you can also use installob to configure several media devices attached to a host at once.


Note:


Choose one of the following:

Device configuration can be performed separately from the initial installation process, and can be performed using either the installob or makedev tools. This task is therefore described at more length in "Creating Device Special Files with installob". Refer to that discussion if you require detailed instructions to perform this task.

In brief, installob prompts you for whether there are tape libraries connected to this host, and if so, the SCSI parameters for each, and then asks the same questions about tape drives. As described in "Preparing to Install Oracle Secure Backup on Linux and UNIX", collecting this information for each of your media servers is part of preparing for the installation process.

The installob prompts and the required parameters are slightly different on Solaris and Linux, and are shown in the following examples:


Note:

If you enter the wrong parameters, device special file creation fails. To resolve the resulting errors, run installob again, as described in "Running installob Again for Device Configuration or Push Installs", entering the correct values.

Example 4-1 Configuring Devices During Installation on Solaris

For Solaris host dlsun1976, assume there is one attached tape library and one attached drive. Based on "Determining SCSI Device Parameters on Solaris", the SCSI parameters are as follows:

Device Oracle Secure Backup LUN SCSI Bus Name- Instance SCSI Target ID SCSI LUN
Exabyte library 0 glm1 1 0
Exabyte drive 0 glm1 0 0

Enter each parameter value in response to the prompts from installob. You can press Enter to accept a default value. Note, however, that the default SCSI parameters offered by the script may not be correct. For example:

Is dlsun1976 connected to any tape libraries that you'd like to use with
Oracle Secure Backup [no]? yes
 
How many Oracle Secure Backup tape libraries are attached to dlsun1976 [1]?
 
Please describe each tape library by answering the following questions.
 
    Oracle Secure Backup logical unit number [0]:
    SCSI bus name-instance [glm1]: glm1
    SCSI target ID [3]: 1
    SCSI lun 0-7 [0]: 0
 
Is the information you entered correct [yes]? yes
 
How many Oracle Secure Backup tape drives are attached to dlsun1976 [1]? 1
 
Please describe each tape drive by answering the following questions.
 
    Oracle Secure Backup logical unit number [0]: 0
    SCSI bus name-instance [glm1]: glm1
    SCSI target ID [4]: 0
    SCSI lun 0-7 [0]: 0
 
Is the information you entered correct [yes]? yes
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
 
Beginning device driver configuration and device special file creation.
 
NOTE: table for devlinks...
   type=ddi_pseudo;name=ob;addr=0,0;minor=glm1  obt0
/dev/obt0 created
NOTE: table for devlinks...
   type=ddi_pseudo;name=ob;addr=1,0;minor=glm1  obl0
/dev/obl0 created
 
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
 
NOTE: You must configure the new devices via the Web interface or via
      the command line using the obtool 'mkdev' command.
 
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -

The device special files are created. /dev/obt0 represents the tape drive, and /dev/obl0 represents the tape library. (Note that the l character is a lower-case L, not a numeral 1.)

When this step is complete, continue to "installob Step 8: Push Installations to Other Hosts".

Example 4-2 Configuring Devices During Installation on Linux

For Linux host storabck05, assume there is one attached tape library and one attached drive. Based on "Determining SCSI Device Parameters on Linux", the SCSI parameter values are as follows:

Device Oracle Secure Backup LUN Host Bus Adapter SCSI Bus Address Target ID SCSI LUN
Library 0 0 0 2 0
Tape drive 0 0 0 4 0

Enter these parameters as prompted by installob. You can press Enter to accept a default value. Note, however, that the default SCSI parameters offered by the script may not be correct. For example:

Is storabck05 connected to any tape libraries that you'd like to use with
Oracle Secure Backup [no]? yes
 
How many Oracle Secure Backup tape libraries are attached to storabck05 [1]?
 
Please describe each tape library by answering the following questions.
 
   Oracle Secure Backup logical unit number [0]: 0
    Host SCSI adapter number 0-15 [0]: 4
    SCSI bus address [0]: 0
    SCSI target ID [3]: 1
    SCSI lun 0-7 [0]: 0
 
Is the information you entered correct [yes]?
 
Is storabck05 connected to any tape drives that you'd like to use with
Oracle Secure Backup [no]? yes
 
How many Oracle Secure Backup tape drives are attached to storabck05 [1]?
 
Please describe each tape drive by answering the following questions.
 
    Oracle Secure Backup logical unit number [0]: 0
    Host SCSI adapter number 0-15 [0]: 4
    SCSI bus address [0]: 0
    SCSI target ID [4]: 2
    SCSI lun 0-7 [0]: 0
 
Is the information you entered correct [yes]? yes
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -
 
Beginning device driver configuration and device special file creation.
 
NOTE: No driver installation is required for Linux.
/dev/obt0 created
/dev/obl0 created
 
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -
 
NOTE: You must configure the new devices via the Web interface or via
      the command line using the obtool 'mkdev' command.

The device special files are created. /dev/obt0 represents the tape drive, and /dev/obl0 represents the tape library. (Note that the l character is a lower-case L, not a numeral 1.)

When this step is complete, continue to "installob Step 8: Push Installations to Other Hosts".

installob Step 8: Push Installations to Other Hosts

At this point installob displays the following output:

Would you like to install Oracle Secure Backup on any other machine [yes]?

You can now perform push installs from this server to other Linux or UNIX hosts, as described in "Overview of Installation of Oracle Secure Backup on Linux and UNIX". To perform push installations, your environment must already meet the following conditions:

Select one of the following:

installob Step 9: Final Installation Summary

installob now displays a summary of installation activities during this session and exits. For example:

Installation summary:
Installation  Host                OS          Driver     OS Move    Reboot
    Mode      Name                Name      Installed?  Required?  Required?
 
admin         dlsun1976            solaris     no          no         no    
 
Oracle Secure Backup is now ready for your use.
 #
 

Note:

This installation summary does not include any information about device configuration tasks performed during the installob session.

Running installob Again for Device Configuration or Push Installs

You can run installob again on a host on which Oracle Secure Backup is already installed. Reasons to do so include:

  • To configure additional tape libraries or drives on a media server without using makedev to configure them individually

  • To perform push installations to other hosts from an administrative server

The install script detects the existing installation and asks you whether to install Oracle Secure Backup again (overwriting the previous installation), and whether you want to configure media devices (overwriting any existing device special files).

If you run the installob script on a host on which it has already been run, the script detects the existing installation and asks you whether to perform each installation stage again. You can skip tasks that were correctly completed before by entering no when asked whether you want to perform them again. For example, log in as root, change directory to the Oracle Secure Backup home, and run installob:

# cd /usr/local/oracle/backup
# install/installob
Welcome to installob, Oracle Secure Backup's UNIX installation program.
.
.
.
Oracle Secure Backup is already installed on this machine (dlsun1976).
Would you like to re-install it here [no]? no
 
Would you like to configure (or reconfigure) any Oracle Secure Backup devices that
are attached to dlsun1976 [no]? 
.
.
.

You can then continue to device configuration, or to installing Oracle Secure Backup on other hosts.