| Oracle® Secure Backup Installation Guide Release 10.1 Part Number B14235-02 |
|
|
View PDF |
To install the Oracle Secure Backup software on Linux or UNIX, run the installob script.
|
Note: Before startinginstallob 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:
Enter yes or press the Enter key to indicate that you do not want to customize the obparameters file. Continue to "installob Step 3: Choosing Interactive or Batch Mode Install".
Enter no to choose to customize the obparameters file.
The installob program displays the following output:
Would you like to do this now [yes]?
You have the following options:
Enter no to indicate that you do not want to customize the file now. Installation proceeds, based upon the current settings specified in the obparameters file. Continue to "installob Step 3: Choosing Interactive or Batch Mode Install".
Enter yes to indicate that you want to customize the file now. The installob program displays the following output:
After you've reviewed and updated install/obparameters, re-run installob.
installob then exits.
Make the desired changes in the install/obparameters file under the Oracle Secure Backup home and restart installob as described in "installob Step 1: Starting the installob Script".
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:
When you choose this mode, the installob program installs the software on one host at a time, prompting for the host name, role and any other information required for each installation. After each installation, you are asked whether you want to install Oracle Secure Backup on another host using a push installation.
This example describes an interactive mode installation.
Choose this mode to create or modify a network description file, which is a text file that describes your network configuration. The installob program uses the information in this file to perform a push install of the software across the network to the designated host.
Examine the sample network description file ./install/obndf for information on creating a network description file.
|
Note: If you plan to modify the network description file, then save a copy of the original sample network description file. |
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:
Enter a to install the software as an administrative server. An administrative server stores configuration information and database files for clients.
Enter b to install the software as a media server.
A media server has one or more secondary storage devices, such as a library and tape drives, connected to it.
Enter c to install the software as a client. A client contains files that Oracle Secure Backup backs up or restores.
|
Note:
|
|
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:
|
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:
Enter no to not configure your devices at this time.
|
Note: If you are installing on an administrative server with no attached media devices, enterno. |
Enter yes to configure devices now.
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:
Example 4-1, "Configuring Devices During Installation on Solaris"
Example 4-2, "Configuring Devices During Installation on Linux"
|
Note: If you enter the wrong parameters, device special file creation fails. To resolve the resulting errors, runinstallob 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:
You have staged the proper installation files on this host for the platform of the destination host, as described in "Loading Oracle Secure Backup Software on Solaris or Linux Using setup Script". For example, you cannot perform a push install from a Solaris 64-bit administrative server to Linux 32-bit if you did not include Linux 32-bit in the set of platforms specified during setup.
You have configured permissions on the destination host so that you can use rsh as root on that host without providing a password.
Select one of the following:
Enter no to not perform push installs at this time. You can run installob again to perform push installation at a future time. Installation continues with "installob Step 9: Final Installation Summary".
For the examples in this section, enter no.
Enter yes to perform a push install to another host.
installob prompts you for the name of the destination host. For example:
Enter the name of a host onto which you'd like to install Oracle Secure Backup:
Enter the name of the destination host. installob then prompts for the host role (media server or client) and, for media servers, SCSI device information for the remote host.
installob asks repeatedly about whether to perform more installations until you enter no.
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 theinstallob session. |
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.