This chapter describes the system configuration tasks that you must complete before you start Oracle Universal Installer (OUI) to install Oracle Grid Infrastructure for a cluster, and that you may need to complete if you intend to install Oracle Real Application Clusters (Oracle RAC) on the cluster.
This chapter contains the following topics:
Reviewing Operating System and Software Upgrade Best Practices
Operating System Requirements List for HP-UX Itanium Platforms
Setting Network Time Protocol for Cluster Time Synchronization
Review the following information regarding upgrades:
If you have an existing Oracle installation, then do the following:
Caution:
Always create a backup of existing databases before starting any configuration change.Record the version numbers, patches, and other configuration information
Review upgrade procedures for your existing installation
Review Oracle upgrade documentation before proceeding with installation, to decide how you want to proceed
To find the most recent software updates, and to find best practices recommendations about preupgrade, postupgrade, compatibility, and interoperability, see Oracle 12c Upgrade Companion (My Oracle Support Note 1462240.1):
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1462240.1
Be aware of the following issues regarding Oracle ASM upgrades:
You can upgrade Oracle Automatic Storage Management (Oracle ASM) 11g Release 1 (11.1) and later without shutting down an Oracle RAC database by performing a rolling upgrade either of individual nodes, or of a set of nodes in the cluster. However, if you have a standalone database on a cluster that uses Oracle ASM, then you must shut down the standalone database before upgrading. If you are upgrading from Oracle ASM 10g, then you must shut down the entire Oracle ASM cluster to perform the upgrade.
The location of the Oracle ASM home changed in Oracle Grid Infrastructure 11g Release 2 (11.2) so that Oracle ASM is installed with Oracle Clusterware in the Oracle Grid Infrastructure home (Grid home).
If you have an existing Oracle ASM home from a previous release, then it should be owned by the same user that you plan to use to upgrade Oracle Clusterware.
Be aware of the following information regarding rolling upgrades:
During rolling upgrades of the operating system, Oracle supports using different operating system binaries when both versions of the operating system are certified with the Oracle Database release you are using.
Using mixed operating system versions is supported during upgrade only.
Be aware that mixed operating systems are supported only supported for the duration of an upgrade, over the period of a few hours.
Oracle Clusterware does not support nodes that have processors with different instruction set architectures (ISAs) in the same cluster. Each node must be binary compatible with the other nodes in the cluster.
For example, you cannot have one node using an Intel 64 processor and another node using an IA-64 (Itanium) processor in the same cluster. You could have one node using an Intel 64 processor and another node using an AMD64 processor in the same cluster because the processors use the same x86-64 ISA and run the same binary version of Oracle software.
Secure operating systems are an important basis for general system security. Ensure that your operating system deployment is in compliance with common security practices as described in your operating system vendor security guide.
Oracle Universal Installer (OUI) detects when the minimum requirements for an installation are not met, and creates shell scripts, called Fixup scripts, to finish incomplete system configuration steps. If OUI detects an incomplete task, then it generates a Fixup script (runfixup.sh
). You can run the script after you click Fix and Check Again.
You also can have CVU generate Fixup scripts before installation.
See Also:
Oracle Clusterware Administration and Deployment Guide for information about using thecluvfy
commandFixup scripts do the following:
If necessary set, kernel parameters to values required for successful installation, including:
Shared memory parameters.
Open file descriptor and UDP send/receive parameters.
Create and set permissions on the Oracle Inventory (central inventory) directory.
Create or reconfigures primary and secondary group memberships for the installation owner, if necessary, for the Oracle Inventory directory and the operating system privileges groups.
Set shell limits if necessary to required values.
If you have SSH configured between cluster member nodes for the user account that you will use for installation, then you can check your cluster configuration before installation and generate a fixup script to make operating system changes before starting the installation.
To do this, log in as the user account that will perform the installation, navigate to the staging area where the runcluvfy command is located, and use the following command syntax, where node
is a comma-delimited list of nodes you want to make cluster members:
$ ./runcluvfy.sh stage -pre crsinst -n node -fixup -verbose
For example, if you intend to configure a two-node cluster with nodes node1
and node2
, enter the following command:
$ ./runcluvfy.sh stage -pre crsinst -n node1,node2 -fixup -verbose
During installation, you are required to perform tasks as root or as other users on remote terminals. Complete the following procedure for user accounts that you want to enable for remote display.
Note:
If you log in as another user (for example,oracle
), then repeat this procedure for that user as well.To enable remote display, complete one of the following procedures:
If you are installing the software from an X Window System workstation or X terminal, then:
Start an X terminal session (xterm
).
If you are installing the software on another system and using the system as an X11 display, then enter a command using the following syntax to enable remote hosts to display X applications on the local X server:
# xhost + RemoteHost
where RemoteHost
is the fully qualified remote host name. For example:
# xhost + somehost.example.com somehost.example.com being added to the access control list
If you are not installing the software on the local system, then use the ssh
command to connect to the system where you want to install the software:
# ssh -Y RemoteHost
where RemoteHost
is the fully qualified remote host name. The -Y
flag ("yes") enables remote X11 clients to have full access to the original X11 display.For example:
# ssh -Y somehost.example.com
If you are not logged in as the root
user, then enter the following command to switch the user to root
:
$ su - root password: #
If you are installing the software from a PC or other system with X server software installed, then:
Note:
If necessary, see your X Window System documentation for more information about completing this procedure. Depending on the X software that you are using, you may need to complete the tasks in a different order.Start the X Window System software.
Configure the security settings of the X Window System software to permit remote hosts to display X applications on the local system.
Connect to the remote system where you want to install the software as the Oracle Grid Infrastructure for a cluster software owner (grid
, oracle
) and start a terminal session on that system; for example, an X terminal (xterm
).
Open another terminal on the remote system, and log in as the root
user on the remote system, so you can run scripts as root
when prompted.
Depending on the products that you intend to install, that you have the required operating system kernel and packages installed. Note that patch requirements are minimum required patch versions, and that earlier patch numbers are rolled into later patch updates.
Requirements listed in this document are current as of the date listed on the title page. To obtain the most current information about kernel requirements, see the online version on the Oracle Technology Network at the following URL:
http://www.oracle.com/technetwork/indexes/documentation/index.html
OUI performs checks your system to verify that it meets the listed operating system package requirements. To ensure that these checks complete successfully, verify the requirements before you start OUI.
Table 3-1 HP-UX Itanium Requirements
Item | Requirement |
---|---|
SSH Requirement |
Oracle Clusterware requires SSH. The required SSH software is the default SSH shipped with your operating system. |
Operating System |
HP-UX 11iV3 patch Bundle Sep/ 2008 (B.11.31.0809.326a) or higher |
HP-UX 11.31 packages and bundles |
The following patches must be installed: PHCO_43503 - 11.31 diskowner(1M) cumulative patch PHKL_38038 - 11.31 vm cumulative patch PHKL_38938 - 11.31 SCSI cumulative I/O patch PHKL_40941 - 11.31 scheduler cumulative patch PHSS_36354 - 11.31 assembler patch PHSS_37042 - 11.31 hppac PHSS_37959 - Libcl patch for alternate stack issue fix (QXCR1000818011) PHSS_38141 - 11.31 aC++ Runtime PHSS_39094 - 11.31 linker + fdp cumulative patch PHSS_39100 - 11.31 Math Library Cumulative Patch PHSS_39102 - 11.31 Integrity Unwind Library |
Oracle Clusterware |
No additional requirements for Oracle Clusterware. At the time of this release, Hyper Messaging Protocol (HMP) is not supported. HP Serviceguard A.11.20 is supported. Note: HP Serviceguard is optional. It is required only if you want to use shared logical volumes for Oracle Clusterware or database files. |
You are not required to install additional drivers and packages, but you may choose to install or configure drivers and packages in the following list:
Review the following sections if you plan to install Open Database Connectivity (ODBC):
Open Database Connectivity (ODBC) is a set of database access APIs that connect to the database, prepare, and then run SQL statements on the database. An application that uses an ODBC driver can access non-uniform data sources, such as spreadsheets and comma-delimited files.
Oracle ODBC driver on HP-UX Itanium is certified with ODBC Driver Manager 2.3.1. To use ODBC, you must also install gcc 4.2.3 or later.
You do not require ODBC drivers for Oracle Clusterware or Oracle Database.
Download and install the ODBC Driver from the following website:
Review the following sections to install Oracle Messaging Gateway
Oracle Messaging Gateway is a feature of Oracle Database. It enables communication between applications based on non-Oracle messaging systems and Oracle Streams Advanced Queuing.
Oracle Messaging Gateway supports the integration of Oracle Streams Advanced Queuing (AQ) with with applications based on WebSphere and TIBCO Rendezvous. For information on supported versions, see Oracle Database Advanced Queuing User's Guide.
Oracle Messaging Gateway is installed with Oracle Database.
Check My Oracle Support Certification for current requirements. Certifications are available at the following URL:
https://support.oracle.com
If you require a CSD for IBM WebSphere MQ, then see the following website for download and installation information:
Review the following sections to install programming environments:
Oracle Database supports multiple programming languages for application development in different environments. Some languages require that you install additional compiler packages for the operating system.
Programming environments are optional. They are not required for Oracle Database.
See Also :
Oracle Database Advanced Application Developer's Guide for an overview of programming environmentsEnsure that your system meets the requirements for the programming environment you want to configure:
Table 3-2 Requirements for Programming Environments for HP-UX Itanium Systems
Programming Environments | Support Requirements |
---|---|
Java Database Connectivity (JDBC) / Oracle Call Interface (OCI) |
Use JDK 6 ( JDK 1.6.0.16 is installed with this release. Note: These are not mandatory for Oracle Grid Infrastructure installation. |
Pro*C/C++, |
Compiler Version: A.06.20 (HP C/aC++ Swlist Bundle - C.11.31.04) - Sep 2008 Patch for HP-UX 11i V3 (11.31) on HP-UX Itanium:
Additional patches may be needed depending on applications you deploy. |
Pro*COBOL |
Micro Focus Server Express 5.1 |
Pro*FORTRAN |
HP FORTRAN/90 - Sep 2008 - release |
VERITAS File System |
PHKL_39773: 11.31 VRTS 5.0 GARP6 VRTSvxfs Kernel Patch Note: The VERITAS file system is optional. This patch is required only if you want to use a VERITAS File System 5.0. |
Web browsers are required only if you intend to use Oracle Enterprise Manager Database Express and Oracle Enterprise Manager Cloud Control. Web browsers must support Java Script, and the HTML 4.0 and CSS 1.0 standards. For a list of browsers that meet these requirements, see the Enterprise Manager certification matrix on My Oracle Support:
https://support.oracle.com
See Also:
Oracle Enterprise Manager Cloud Control Basic Installation Guide for steps on how to access the Enterprise Manager certification matrixTo ensure that the system meets these requirements, follow these steps:
To determine which version of HP-UX is installed, enter the following command:
# uname -a "HP-UX hostname B.11.31 U ia64 4156074294 unlimited-user license"
In this example, the version of HP-UX 11i is 11.31 on Itanium.
Verify that the system meets the minimum patch bundle requirements using the following command:
# /usr/sbin/swlist -l bundle |grep QPK
The QPK (Quality Pack) bundles have version numbers of the form B.11.31.0809.326a (for the September 2008 release), B.11.31.0903.334a (for the March 2009 release), and so on. If a required bundle, product, or fileset is not installed, then you must install it. Refer to your operating system or software documentation for information about installing products.
Note:
There may be more recent versions of the patches listed in the preceding paragraph that are installed on the system. If a listed patch is not installed, then determine if a more recent version is installed before installing the version listed.If a required patch is not installed, then download it from the following website and install it:
http://itresourcecenter.hp.com">>http://itresourcecenter.hp.com
If the web site shows a more recent version of the patch, then download and install that version.
If you require a CSD for WebSphere MQ, then refer to the following website for download and installation information:
Note:
There may be more recent versions of the patches listed installed on the system. If a listed patch is not installed, then determine whether a more recent version is installed before installing the version listed.Oracle Clusterware requires the same time zone setting on all cluster nodes. During installation, the installation process picks up the time zone setting of the Grid installation owner on the node where OUI runs, and uses that on all nodes as the default TZ setting for all processes managed by Oracle Clusterware. This default is used for databases, Oracle ASM, and any other managed processes.
You have two options for time synchronization:
An operating system configured network time protocol (NTP)
Oracle Cluster Time Synchronization Service
Oracle Cluster Time Synchronization Service is designed for organizations whose cluster servers are unable to access NTP services. If you use NTP, then the Oracle Cluster Time Synchronization daemon (ctssd) starts up in observer mode. If you do not have NTP daemons, then ctssd starts up in active mode and synchronizes time among cluster members without contacting an external time server.
Note:
Before starting the installation of Oracle Grid Infrastructure, Oracle recommends that you ensure the clocks on all nodes are set to the same time.If you have NTP daemons on your server but you cannot configure them to synchronize time with a time server, and you want to use Cluster Time Synchronization Service to provide synchronization service in the cluster, then deactivate and deinstall the Network Time Protocol (NTP).
To deactivate the NTP service, you must stop the existing ntpd
service, disable it from the initialization sequences and remove the ntp.conf
file. To complete these steps, run the following commands as the root
user
# /sbin/init.d/xntpd stop # rm /etc/ntp.conf
or, mv /etc/ntp.conf
to /etc/ntp.conf.org
.
When the installer finds that the NTP protocol is not active, the Cluster Time Synchronization Service is installed in active mode and synchronizes the time across the nodes. If NTP is found configured, then the Cluster Time Synchronization Service is started in observer mode, and no active time synchronization is performed by Oracle Clusterware within the cluster.
To confirm that ctssd
is active after installation, enter the following command as the Grid installation owner:
$ crsctl check ctss
To install Oracle software, Secure Shell (SSH) connectivity should be set up between all cluster member nodes. OUI uses the ssh
and scp
commands during installation to run remote commands on and copy files to the other cluster nodes. You must configure SSH so that these commands do not prompt for a password.
Note:
SSH is used by Oracle configuration assistants for configuration operations from local to remote nodes. It is also used by Enterprise Manager.You can configure SSH from the OUI interface during installation for the user account running the installation. The automatic configuration creates passwordless SSH connectivity between all cluster member nodes. Oracle recommends that you use the automatic procedure if possible.
To enable the script to run, you must remove stty
commands from the profiles of any Oracle software installation owners, and remove other security measures that are triggered during a login, and that generate messages to the terminal. These messages, mail checks, and other displays prevent Oracle software installation owners from using the SSH configuration script that is built into the Oracle Universal Installer. If they are not disabled, then SSH must be configured manually before an installation can be run.
In rare cases, Oracle Clusterware installation may fail during the "AttachHome" operation when the remote node closes the SSH connection. To avoid this problem, set the following parameter in the SSH daemon configuration file /opt/ssh/etc/sshd_config
on all cluster nodes to set the timeout wait to unlimited:
LoginGraceTime 0
See Also:
Section 5.2.4, "Preventing Installation Errors Caused by Terminal Output Commands" for information about how to remove stty commands in user profilesNote:
This task is required only if the Motif 2.1 Development Environment package (X11MotifDevKit.MOTIF21-PRG) is not installed.To enable you to successfully relink Oracle products after installing this software, enter the following commands to create required X library symbolic links in the /usr/lib
directory:
# cd /usr/lib # ln -s libX11.3 libX11.sl # ln -s libXIE.2 libXIE.sl # ln -s libXext.3 libXext.sl # ln -s libXhp11.3 libXhp11.sl # ln -s libXi.3 libXi.sl # ln -s libXm.4 libXm.sl # ln -s libXp.2 libXp.sl # ln -s libXt.3 libXt.sl # ln -s libXtst.2 libXtst.sl
Oracle Universal Installer, as part of its prerequisite checks, verifies that the device file settings for the minor number across all nodes is 0x4
or 0x104
for the /dev/async
device. By default, the minor number is set to 0x0
. To change the minor number prior to starting the installation, perform the following steps:
Log in as the root
user.
Determine whether /dev/async
exists. If the device does not exist, then use the following command to create it:
# /sbin/mknod /dev/async c 101 0x4
Alternatively, you can set the minor number value to 0x104 using the following command:
# /sbin/mknod /dev/async c 101 0x104
If /dev/async
exists, then determine the current value of the minor number, as shown in the following example:
# ls -l /dev/async
crw-r--r-- 1 root sys 101 0x000000 Sep 28 10:38 /dev/async
If the existing minor number of the file is not 0x4
or 0x104
, then change it to an expected value using one of the following commands:
# /sbin/mknod /dev/async c 101 0x4 or # /sbin/mknod /dev/async c 101 0x104
To allow Oracle Clusterware to better tolerate network failures with NAS devices or NFS mounts, enable the Name Service Cache Daemon (nscd
). The nscd
provides a caching mechanism for the most common name service requests. It is automatically started when the system starts in a multiuser state. Oracle software requires that the server is started with multiuser run level (3), which is the default for HP-UX.
To check to see if the server is set to 3, enter the command who -r
. For example:
# who -r .run-level 3 Jan 4 14:04 3 0 S
Refer to your operating system documentation if you must change the run level.
To check to see if the password and group caching daemon (pwgrd
) is running, enter the following command:
ps -aef |grep pwgrd