|
Oracle9i Database Certified Configuration Installation Guide
Release 2 (9.2.0.2) for Solaris Operating Environment (SPARC 64-bit) Part No. B12103-02 |
|
|
|
|
This chapter describes the Oracle9i Database Certified Configuration, the procedures necessary to install and configure the certified configuration, and the tools provided with the certified configuration. It contains the following topics:
Oracle9i Database Certified Configuration consists of a gold image and tools. The tools are used for the following:
Rapidly install a single-instance or a Real Application Clusters database, including binaries and data
Configure a database
Clone a database
The Oracle9i Database Certified Configuration includes an image, known as the gold image, which can be used to install and restore the Oracle9i database. The gold image is a single image that includes the binaries for a single-instance Oracle database, and Real Application Clusters environments. It also includes a single-instance seed database. The seed database can be used as an example, and allows the administrator to verify proper installation and configuration of the Oracle software.
The gold image is located on the /net/plnfs5/vol/build/FSL/project/solaris64/dbcc/9.2.0.2 server which is NFS mountable within the Oracle firewall. The user should download the gold image and the dbcc_install_admin.sh script from this server.
Before installing or configuring the image, the Oracle9i Database Certified Configuration tools check the system by running the ocheck script. This script will ensure that the hardware, operating system, file layout, and patches comply with the standard certified configuration specifications.
The Oracle9i Database Certified Configuration tools are designed to be as flexible as possible, however the user should ensure the file system layout is compliant with Oracle Outsourcing File System and Naming Standards. The tools have been tested only on systems that conform to the Oracle Outsourcing standards. The gold image follows the file system and naming standards for Oracle Outsourcing.
The following table lists the operating system file layout for Oracle9i Database Certified Configuration.
Table 1-1 Oracle9i Certified Configuration Operating System File Layout
The following table lists the Oracle files layout for Oracle9i Database Certified Configuration. In the table, SID represents DBNAME for single-instance databases, and DBNAME plus instance number for Real Application Clusters databases.
Table 1-2 Oracle9i Certified Configuration Oracle FIles Layout
|
See Also: For more information about file layout, refer to File Systems and Other Naming Standards for Outsourcing located at the following address:http://files.oraclecorp.com/content/AllPublic/Workspaces/Outsourcing%20Standards-Public/CC_OFA_Dir_Structure_Stds.doc |
The following table lists the users and groups used during the installation and configuration of the Oracle9i Database Certified Configuration.
Table 1-3 Oracle9i Database Certified Configuration Users and Groups
Oracle9i Database Certified Configuration contains the following tools and scripts.
Oracle9i Database Certified Configuration hardware and operating system are validated before installation and configuration by the ocheck tool. After installation and configuration, the ocheck tool ensures the installation and configuration are successful. It can also compare a system to a known standard state. Output is displayed on the screen, and logged in the /var/tmp directory.
The following command shows the syntax for the tool:
/admin/dbcc/3.1.0/ref_config/ocheck/ocheck -productprod_namephase\ -dbnameDBNAME[-o outputfile]
The following table lists the tool parameters.
Table 1-4 ocheck Tool Parameters
The following examples show system states that can be checked using the ocheck tool and parameters:
The system hardware and operating system will allow an Oracle installation (-system)
A system is ready for image restoration (-phase preimage)
Image restoration was successful (-phase postimage)
A system is ready for reconfiguration (-phase reconfig)
A system is ready for configuration (-phase preconfig)
The configuration or reconfiguration was successful (-phase postconfig)
The dbcc_install_admin.sh script is used to install the Oracle9i Database Certified Configuration scripts on a server. The script must be downloaded with the gold image and run by the root user. It will perform the following tasks:
Create the ordbcc user and dbdbcc group which will own the /admin/dbcc directory.
Restore the Oracle9i Database Certified Configuration scripts under the /admin/dbcc/version directory. For this release, the version is 3.1.0. The dbcc_install_admin.sh script is restored under the /admin/dbcc/version /install directory.
The following command shows the syntax:
dbcc_install_admin.sh IMAGEFILE
The dbcc_image.sh script restores a database image from the gold image or from an image created by the script. The dbcc_image.sh script must be run by the root user.
The following command shows the syntax for image restoration:
/admin/dbcc/3.1.0/install/dbcc_image.sh -restore -single|-rac \ -imagefileGOLDIMAGE[-includedb|includeconfig] -dbnameDBNAME
The following command shows the syntax for image creation:
/admin/dbcc/3.1.0/install/dbcc_image.sh -create -single|-rac \ -dbnameDBNAME-imagefileGOLDIMAGE[-includedb|-includeconfig]
The following table describes the options for the preceding commands:
Table 1-5 Image Restoration and Creation Options
The reconfiguration script applies only to single-instance databases.
After an image has been restored with the -includedb option, the image must be reconfigured to become functional. The instance configuration files need the proper host names, port numbers, file system layout, and so on.
The reconfig.sh script should be used to start up the database when reconfiguration is complete. The reconfig.sh script can also be used as part of the cloning procedure. The following command shows the syntax for the reconfig.sh script. The script must be run by the ordbname user, where dbname is the name of the database.Syntax
/admin/dbcc/3.1.0/ref_config/reconfig.sh -single [-silent] [-recoverdb]
In the preceding command, the -silent option can be used if the environment variables have been set prior to running the script. The -recoverdb option allows the reconfig.sh script to perform recovery of the database using the backup control files. Refer to Chapter 2, " Installation " for more information about this option.
The config.sh script configures the Oracle cluster environment, and creates a seed database. The script also configures the following:
Auto-startup of Oracle services
Listener
Oracle agent
Service name
Transparent Application Failover (TAF) for Real Application Clusters environments
The following command shows syntax for the script. The script must be run by the root user.
/admin/dbcc/3.1.0/ref_config/config.sh -dbname DBNAME -rac -raw \
[-silent]
The following table lists the script parameters.
Table 1-6 config.sh Script Parameters
Oracle9i Database Certified Configuration includes administration scripts to start and shut down an instance, or cluster manager. The localoradb script can start and shutdown an Oracle instance as well as the associated listener and OEM SNMP agent.
The localoradb script can start and shutdown an Oracle instance. The script must be run as the ordbname user who owns the database. The following command shows the syntax for the script:
/admin/dbcc/3.1.0/ref_config/localdbora start|stop
The script will start or shut down an instance locally. For Real Application Clusters environments, the script must be run on each node. Real Application Clusters configuration also creates the /etc/init.d/rc.dbora file on all nodes.