Unset Oracle environment variables. Decide if you want to use the Software Updates option. OUI can install critical patch updates, system requirements updates hardware, operating system parameters, and kernel packages for supported operating systems, and other significant updates that can help to ensure your installation proceeds smoothly. Oracle recommends that you enable software updates during installation. If you choose to enable software updates, then during installation you must provide a valid My Oracle Support user name and password during installation, so that OUI can download the latest updates, or you must provide a path to the location of an software updates packages that you have downloaded previously.
If you plan to run the installation in a secured data center, then you can download updates before starting the installation by starting OUI on a system that has Internet access in update download mode. To start OUI to download updates, enter the following command:. Provide the My Oracle Support user name and password, and provide proxy settings if needed. After you download updates, transfer the update file to a directory on the server where you plan to run the installation.
For each disc, create a directory named Disk n , where n is the disc number, and then copy the files from the disc to that directory. After you have copied the installation files, you can use one of the following methods to access them on the zSeries based Linux system:. Use a method such as NFS or Samba to make the file system containing the installation files available on the zSeries based Linux system.
This section provides you with information about how to use the installer to install Oracle Grid Infrastructure. It contains the following sections:. At any time during installation, if you have a question about what you are being asked to do, click the Help button on the OUI page. For example:. Provide information or run scripts as root when prompted by OUI. If you need assistance during installation, click Help. Click Details to see the log file.
If root. After you run root. These programs run without user intervention. When you have verified that your Oracle Grid Infrastructure installation is completed successfully, you can either use it to maintain high availability for other applications, or you can install an Oracle database.
If you intend to install Oracle Database 11 g release 2 During installation of Oracle Grid Infrastructure, you are given the option either of providing cluster configuration information manually, or of using a cluster configuration file. A cluster configuration file is a text file that you can create before starting OUI, which provides OUI with cluster node addresses that it requires to configure the cluster.
Oracle suggests that you consider using a cluster configuration file if you intend to perform repeated installations on a test cluster, or if you intend to perform an installation on many nodes.
To create a cluster configuration file manually, start a text editor, and create a file that provides the name of the public and virtual IP addresses for each cluster member node, in the following format:.
A software-only installation consists of installing Oracle Grid Infrastructure for a cluster on one node. If you use the Install Grid Infrastructure Software Only option during installation, then this installs the software binaries on the local node.
To complete the installation for your cluster, you must perform the additional steps of configuring Oracle Clusterware and Oracle ASM, creating a clone of the local installation, deploying this clone on other nodes, and then adding the other nodes to the cluster.
See Also:. Run the runInstaller command from the relevant directory on the Oracle Database 11 g release 2 The root.
To modify the oracle user's profile for the bash shell on Red Hat Linux:. Modify the following lines in the file so they point to the location of the newly installed database:. After you have installed the Oracle RAC software, there are additional tasks that you can perform before your cluster database is ready for use. These steps are recommended, but are not required.
After the Oracle Clusterware installation is complete, OUI automatically runs the cluvfy utility as a Configuration Assistant to verify that the Clusterware installation has been completed successfully. After your Oracle Database 10 g with Oracle RAC installation is complete and after you are sure that your system is functioning properly, make a backup of the contents of the voting disk.
Also, make a backup copy of the voting disk contents after you complete any node additions or deletions, and after running any deinstallation procedures. Periodically, Oracle issues bug fixes for its software called patches. Patch sets are a collection of bug fixes that were produced up to the time of the patch set release.
Patch sets are fully tested product fixes. Application of a patch set affects the software residing in your Oracle home only, with no upgrade or change to the database. Ensure that you are running the latest patch set of the installed software. You might also need to apply patches that are not included in a patch set. Information about downloading and installing patches and patch sets is covered in Chapter 10, " Managing Oracle Software and Applying Patches".
Oracle recommends that you back up the root. If you install other products in the same Oracle home directory, OUI updates the contents of the existing root. If you require information contained in the original root. The oracle user operating system account is the account that you used to install the Oracle software. You can use different operating system accounts for accessing and managing your Oracle RAC database.
The DBCA automates the configuration of the control file attributes, creates the undo tablespaces and the redo logs, and makes the initialization parameter file entries for cluster-enabled environments. Before you start the process of converting your database to a cluster database, you must meet certain prerequisites:. The existing database and the target Oracle RAC database must be on the same release of Oracle Database 10 g and must be running on the same platform.
The hardware and operating system software used to implement your Oracle RAC database must be certified for use with the version of the Oracle RAC software you are installing. You must verify that any applications that will run against the Oracle RAC database do not need any additional configuration before they can be used successfully with the cluster database.
This applies to both Oracle applications and database features, such as Oracle Streams, and applications and products that do not come from Oracle. As part of the database conversion process, you can use DBCA to create a preconfigured image of your database.
To create a preconfigured image of your single-instance database using DBCA:. On the Operations window, select Manage Templates , and click Next. On the Template Management window, select Create a database template and From an existing database structure as well as data , and click Next.
On the Source Database window, enter the database name in the Database instance field, and click Next. On the Template Properties window, enter a name for your template in the Name field.
Oracle recommends that you use the database name, for example, sales. If you choose to do so, you can enter a description of the file in the Description field, and change the template file location in the Template datafile field. On the Location of Database Related Files window, select Maintain the file locations , so that you can restore the database to the current directory structure, and click Finish. Follow the steps documented in Cha pter 2 of this guide, titled "Preparing Your Cluster".
You must do the following:. Validate the cluster configuration using the CVU, as described previously in this chapter in the section "Verifying the Configuration Using the Cluster Verification Utility".
After you have copied the preconfigured database files to the new node, install the Oracle RAC software on the new node. During the installation process, you will use the template files you created previously to convert your single-instance database to an Oracle RAC database. To install the Oracle RAC software and convert your single-instance database to a cluster database:.
In the Database Configuration Types window, select the Advanced installation type. Use the browse option to select the template location. Replace the datafiles, control files, and log files, and so on, with the corresponding raw device files. You must also replace the default database files with raw devices in the Storage window.
Verifying the Configuration Using the Cluster Verification Utility If you have not configured your nodes, network, and operating system correctly, your installation of the Oracle Clusterware or Oracle Database 10g software will not complete successfully. Note: If you are installing Oracle Clusterware on a server that already has a single-instance Oracle Database 10g installation, then stop the existing ASM instances, if any.
Note: Do not attempt to run the root. Wait until the script finishes running on the local node. Completing the Oracle Clusterware Configuration After you have installed Oracle Clusterware, verify that the node applications are running. Description of the illustration installb. Description of the illustration install The Product-Specific Prerequisites Checks window appears. Description of the illustration installa.
The following steps demonstrate how to complete this task on a Linux system note that for clarity, the examples show the user, node name, and directory in the prompt : Open a terminal window. The Product-Specific Prerequisite Checks window appears. The Select Configuration Option window appears. The Select Database Configuration window appears.
Choose one of the following different types of databases to be created: General Purpose Transaction Processing Data Warehouse Advanced for customized database creation The General Purpose database type is selected by default. The Specify Database Configuration Options window appears. Thus if the SID is set to sales , the instance names will be sales1 , sales2 , and so on.
Configuring the Operating System Environment for Database Management After you have installed the Oracle RAC software and created a cluster database, there are two additional tasks to perform to configure your operating system environment for easier database management: Update the oratab File Reconfigure the User Shell Profile Update the oratab File Several of the Oracle Database utilities use the oratab file to determine the available Oracle homes and instances on each node. It is created by root.
This utility creates the database using the global database name specified in Step 9. At the end of the database creation, you see the DBCA window with the database configuration information displayed.
There is also a Password Management button that you can click to unlock the database user accounts, or change their default passwords. After making note of the information in the Summary window, click OK. If you chose to perform a software-only installation, then the database configuration assistants are not started. In the last step of the installation process, you are prompted to perform the task of running the root.
Do not click OK until you have run the scripts on all nodes. Perform the following steps to run the root. Open a terminal window as the oracle user on the first node.
Change directories to your Oracle home directory, and then switch to the root user by entering the following commands:. Enter the password for the root user, and then run the script specified in the Execute Configuration scripts window:. As the root. The information displayed in the brackets is the information it has obtained from your system configuration. If these files exist, then you are asked to overwrite them. After responding to prompt, press the Enter key. To accept the default choice, press the Enter key without entering any text.
After you finish executing the script on all nodes, return to the Execute Configuration scripts window and click OK. If you chose to create an Oracle RAC database during installation, then verify that all the database services are up and running.
Run the following command to view the status of the resources managed by Oracle Clusterware that contain the string 'ora':. An example of the output is:. These steps are recommended, but are not required. If you did not select the option to create an Oracle RAC database during installation, then you will need to create one using DBCA after you have verified that the installation of the Oracle RAC software was successful. Certain files used during installation are very important to the operation of the installed software.
It is important to back up these files and keep them in a separate location from the installed software in case of hardware failure. Oracle recommends that you back up the root. If you install other products in the same Oracle home directory, then OUI updates the contents of the existing root.
If you require information contained in the original root. Periodically, Oracle issues bug fixes for its software called patches. Patch sets are a collection of bug fixes that were produced up to the time of the patch set release. Patch sets are fully tested product fixes.
Application of a patch set affects the software residing in your Oracle home. Ensure that you run the latest patch set of the installed software. If you configured access to My Oracle Support during installation, then the latest patches should have been downloaded and applied during installation. If you did not configure access to My Oracle Support within OUI, then you should apply the latest patch set for your release and any necessary patches that are not included in a patch set.
Information about downloading and installing patches and patch sets is covered in Chapter 10, "Managing Oracle Software and Applying Patches".
Oracle Grid Infrastructure Installation Guide for Linux for detailed instructions on how to locate and download patches and patch sets. The oracle user operating system account is the account that you used to install the Oracle software. You can use different operating system accounts for accessing and managing your Oracle RAC database.
Additionally, after you have converted your single-instance database to an Oracle RAC database, you can use the srvctl utility to convert the database to an Oracle RAC One Node database. Before you start the process of converting your database to a cluster database, your database environment must meet certain prerequisites. The existing database and the target Oracle RAC database must be on the same release of Oracle Database 12 c and must be running on the same platform.
The hardware and operating system software used to implement your Oracle RAC database must be certified for use with the release of the Oracle RAC software you are installing.
You must verify that any applications that run against the Oracle RAC database do not need any additional configuration before they can be used successfully with the cluster database.
This applies to both Oracle applications and database features, such as Oracle Streams, and applications and products that do not come from Oracle. The archived redo log files from all instances of an Oracle RAC database are required for media recovery. If you archive to a file and you do not use a cluster file system, or some other means to provide shared file systems, then you require a method of accessing the archived redo log files from all nodes on which the cluster database has instances.
Enterprise Manager agents are configured and running on all nodes, and are configured with the cluster and host information. Access the Database Home page for the database you want to convert.
From the Availability menu, select Convert to Cluster Database. The following list provides an outline of the process of converting a single-instance database to an Oracle RAC database using the rconfig utility:. Using rconfig , you can convert a single-instance database to either an administrator-managed cluster database or a policy-managed cluster database.
Run the rconfig command, supplying the name of the modified XML file as input. After you use the rconfig utility to convert a single-instance Oracle database into a single-node Oracle RAC database, you can use the srvctl utility to convert the database into an Oracle RAC One Node database.
An Oracle RAC One Node database must be part of a multi-node cluster to support failover or online database relocation. Chapter 9, "Adding and Deleting Nodes and Instances" for more information about adding nodes. Before you can use Oracle Enterprise Manager Cloud Control to provision your Oracle software, you must perform the following system configuration tasks: Discover all host by installing the Enterprise Manager Agent on all nodes.
Configure named and preferred credentials in Enterprise Manager. Configure a software library and setup roles. The rest of this chapter describes how to install without using Cloud Control.
By entering this information, you enable the following features: Oracle Configuration Manager is installed and configured. You should always apply the latest patch bundle available for your release. Windows patch set exception bundles bundled patches are applicable to both Oracle Grid Infrastructure and Oracle Database homes.
It is not required to have the previous security patches applied before applying the patch set exception bundle.
0コメント