Home

View PDF

image

Contents

1. lt TEMP gt oralnstall directory This variable is active only if NEXT_ SESSION is set to true This argument is used for chain installs This is the name used to specify the complete path to the other disks This is used to specify the list of components to be removed during a de install session This argument is used with the deinstall flag This is used to specify the de install confirmation Set to true if de install confirmation is needed during a de install session This argument is used with the deinstall flag This is used to specify the de install progress Set to true if de install progress is needed during a de install session This argument is used with the deinstall flag This is used to specify the list of the homes to be removed during a de install session Each home is represented by its full path This argument is used with the deinstall flag This is used to specify the cluster node names selected by the user for installation This is used to specify the new cluster nodes to be used for node addition This is used to specify the remote nodes This is used to specify the remote nodes which do not have an installation inventory set up This is used to specify the local node This is used to specify the remote nodes on which the current home is already installed on This is used to specify whether the Oracle home is an Oracle Clusterware home or not This is used to specify the private node names
2. Note The clone pl script clones the software only and not the database instance The following command shows the syntax for the clone p1 script for Windows based systems perl lt Oracle_Home gt clone bin clone pl ORACLE HOME Path to the Oracle Home being cloned ORACLE HOME NAME Oracle Home Name for the Oracle Home being cloned command line arguments The following command shows the syntax for the clone p1 script for Linux based systems perl Oracle Home clone bin clone pl ORACLE HOME Path to the Oracle Home being cloned ORACLE HOME NAME Oracle Home Name for the Oracle Home being cloned command line arguments The preceding command uses the lt command line arguments variable The following table describes the same Table 7 2 Command line arguments in clone pl script Command line Argument Description O If you use this argument then anything following it is passed to the OUI clone command line For example you can use this option to pass the location of the oraparam ini file to be used by OUI 0 paramFile C OraHome_1 oui oraparam ini debug If you use this argument then the script runs in debug mode help If you use this argument then the script prints the help for the clone script Oracle Software Cloning Using Oracle Universal Installer 7 7 Creating Oracle Real Application Cluster Environment using Cloning You can also pass values in the command li
3. This is used to execute system pre requisite checks and exit This allows silent mode installation on a non empty directory without warning This is used to list the syntax and help information C 2 Oracle Universal Installer and OPatch User s Guide Options Available in Oracle Universal Installer Table C 1 Cont Options in Oracle Universal Installer Option Description ignorePatchConflicts This is used to ignore all conflicts with existing interim patches during an upgrade The conflicting interim patches are removed from the home ignoreSysPrereqs This flag is used for ignoring the results of the system pre requisite checks local This performs the specified operation on the local node irrespective of the cluster nodes specified printdiskusage This is used for logging debug information for disk usage printmemory This is used for logging debug information for memory usage printtime This is used for logging debug information for time usage record destinationFile lt Path gt removeallfiles removeAllPatches silent updateNodeList waitforcompletion nobackground noclusterEnabled noconsole nowarningonremovefiles nowait formCluster remotecp Path remoteshell Path This is used for recording a response file The information is recorded in the destination file path specified This is used for removing the home directory after de installation of all the c
4. delay id invPtrLoc jre local local node no sysmod no relink oh opatch post end opatch pre end ph post pre Specifies how many seconds the OPatch utility should wait before attempting to lock inventory again if the retry command line argument is used with the apply option Indicates the patch to be rolled back Use the 1sinventory option to display all patch identifiers To successfully rollback a patch the patch identifier must be supplied Specifies the location of the oraInst loc file This command line argument is needed when the invPtrLoc command line argument was used during installation Oracle recommends the use of the default Central Inventory for a platform Specifies the location of a particular JDK jar to use instead of the default location under the Oracle home directory Specifies the location of a particular JRE Java to use instead of the default location under the Oracle home directory Specifies that the OPatch utility rollback and update the local node and update the inventory of the local node It does not propagate the patch or inventory update to other nodes This command line argument can be used on Oracle Real Application Clusters environments and non clustered environments If an entire cluster is shutdown before patching then this argument can be used for non rolling patches Specifies to the OPatch utility that this is the local node for the cluster
5. command line arguments In the preceding command the following variables are used a command line arguments The command line arguments for the option They are described in the following sections option The OPatch option They are described in the following table Table 8 1 OPatch Options Option Description apply Installs an interim patch Refer to apply Option for more information Isinventory Lists what is currently installed on the system Refer to Isinventory Option for more information query Queries a given patch for specific details Refer to query Option for more information rollback Removes an interim patch Refer to rollback Option for more information version Prints the current version of the patch tool Refer to version Option for more information 8 10 Oracle Universal Installer and OPatch User s Guide Operations and Options in OPatch Utility apply Option To view additional information for any option use the following command Path to OPatch gt opatch option help If using Perl then use the following command perl opatch pl option help The apply option applies an interim patch to a specified Oracle home The ORACLE _ HOME environment variable must be set to the Oracle home to be patched The following syntax is used for this option Path to OPatch opatch apply delay value force invPtrLoc path jdk location jre location local A mi
6. Managing Oracle Homes 3 1 Removing Oracle Homes Table 3 1 Oracle Installation Settings for Specify Home Details page Settings Functions Name Enter a name for the Oracle home This name identifies the program group associated with a particular home and the Oracle services installed on this home The Oracle home name must be between 1 to 127 characters long and can include only alphanumeric characters and underscores Path Enter the full path to an Oracle home or select an Oracle home from the drop down list of existing Oracle homes The Oracle home location is the directory where products are installed Data files may or may not be installed within an Oracle home You may use the Browse button to choose a directory to install your product For Windows platforms you must give a valid path that is not in the Windows directory Different homes cannot share the same location Note Oracle recommends that you designate an Oracle home location that is an empty or non existing directory If you select a directory for the Oracle home location that is not empty or already exists you will be warned and asked if you wish to proceed For silent installations if a non empty existing directory is specified an error is logged in the console and in the installActions lt timestamp gt log file Also the Oracle Universal Installer aborts To override this condition use the force flag on the command line The effect of usin
7. ORACLE HOME rdbms admin prvtpexp plb Sjsex o ORACLE HOME rdbms lib sjsex o ins rdbms mk gt ins rdbms mk gt ins rdbms mk gt ins rdbms mk gt ORACLE HOME rdbms lib iextjob ORACLE HOME rdbms lib iextjobo ORACLE HOME rdbms lib ioracle ORACLE HOME rdbms lib client sharedlib driload pkh ORACLE HOME ctx admin driload pkh oracle sysman a ssistants util em EMConfigStep class ORACLE _ HOME assistants jlib assistantsCommon jar oracle sysman a ssistants util sqlEngine SQLEngine class gt ORACLE HOME assistants jlib assistantsCommon jar oracle sysman a HOME assistants dbca oracle sysman a HOME assistants dbca oracle sysman a HOME assistants dbca ssistants dbca backend DBEntryStep class gt ORACLE jlib dbca jar ssistants dbca backend EMConfigStep class gt ORACLE_ jlib dbca jar ssistants dbca backend PostDBCreationStep class gt ORACLE_ jlib dbca jar oracle sysman emcp EMConfig class gt ORACLE HOME jlib emca jar oracle sysman emcp IEMCAConstants class gt ORACLE HOME jlib emca jar oracle sysman emcp EMConfig class ORACLE HOME sysman jlib emCORE jar oracle sysman emcp IEMCAConstants class gt ORACLE HOME sysman j1ib emCO RE jar oracle sysman emSDK conf ConfigManager class gt ORACLE HOME sysman 31lib emCo RE jar oracle sysman emSDK eml EmlConstants class gt ORACLE HOME sysman jlib emCORE jar oracle sysman util
8. A sample of the home property file is listed GUID 8930517984 356758136 GUID HOME CRS T gt ARU PLATFORM INFO ARU ID 46 ARU ID ARU ID DESCRIPTION gt Linux x86 ARU ID DESCRIPTION ARU PLATFORM INFO CLUSTER INFO LOCAL NODE NAME stacg30 gt NODE LIST2 NODE NAME stacg34 gt lt NODE NAME stacg30 gt lt NODE_LIST gt lt CLUSTER_INFO gt The ARU_IDs for some platforms are listed in the following table Table 3 2 ARU_IDs for Platforms Platform ARU ID HPUX 64 bit 59 IBM 5L 212 Linux 32 bit 46 Solaris 32 bit 453 Solaris 64 bit 23 Windows XP 912 3 6 Oracle Universal Installer and OPatch User s Guide About the Oracle Universal Installer Inventory Other Folders The following table lists the other folders you will find in the Oracle home inventory Table 3 3 Other Folders in Oracle Home Inventory Folder Name Description Scripts This folder contains the scripts that would be used for the cloning operation ContentsXML This folder contains the details of the components and libraries installed Templates This folder contains the template files used for cloning oneoffs This folder contains the details of the oneoff patches applied Creating the Central Inventory Oracle Universal Installer enables you to set up the Central Inventory on a clean host or register an existing Oracle home with the Central Inventory when it is lost or corrupted You can setu
9. Before starting the installation you must identify or obtain the following IP addresses for each node a An IP address and an associated host name registered in the domain name service DNS for each public network interface One unused virtual IP address and an associated virtual host name registered in DNS or resolved in the hostfile or both that you will configure for the primary public network interface The virtual IP address must be in the same subnet as the associated public interface After installation you can configure clients to use the virtual host name or IP address If a node fails then its virtual IP address fails over to another node A private IP address and optional host name for each private interface Oracle recommends that you use non routable IP addresses for the private interfaces for example 10 or 192 168 You can use the etc hosts file on each node to associate private host names with private IP addresses Node Time Requirements Before starting the installation ensure that each member node of the cluster is set as closely as possible to the same date and time Oracle strongly recommends using the Network Time Protocol feature of most operating systems for this purpose with all nodes using the same reference Network Time Protocol server Checking Software Requirements The Oracle Universal Installer performs checks on your system to verify that it meets the requirements listed for your p
10. This is used to specify the login name This is used to specify the password This is used to specify the login category This is used to specify the group name on UNIX platform This is used to specify the location from where the component gets installed This is the complete path to the products xml file This is used to specify the label of the CD where the products xml file resides in a multi CD installation The label can be found in the file disk label in the directory where the products xml resides This is used to specify the languages in which the components will be installed This is used to specify the selected languages This is used to specify the selected platforms This is used to specify the top level component to be installed in the current session This is used to specify the top level component id This is used to specify the installation type of the components This is used to specify whether the splash screen will be displayed in the current session Set to true if the splash screen needs to be displayed This is used to specify whether the welcome screen will be displayed in the current session Set to true if the Welcome page in the Oracle Universal Installer needs to be displayed C 4 Oracle Universal Installer and OPatch User s Guide Command Line Variables Available in Oracle Universal Installer Table C 2 Cont Command line variables in Oracle Universal Installer Command Line Varia
11. id oracle The output from this command is similar to the following uid 440 oracle gid 200 oinstall groups 201 dba 202 oper 2 From the output identify the user identity UID for the oracle user and the group identities GIDs for the groups to which it belongs Creating the User and Groups on the Other Cluster Nodes To create the user and groups on the other cluster nodes repeat the following procedure on each node 1 Log in to the cluster node in which you want to create the user and groups as root 2 Enter commands as per the syntax to create the respective groups Use the g option to specify the correct GID for each group usr sbin groupadd g group id group name Configuring SSH on all Cluster Nodes Before you install and use Oracle Real Application Clusters you must configure secure shell SSH for the oracle user on all cluster nodes Oracle Universal Installer 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 This section describes how to configure OpenSSH version 3 If SSH is not available then Oracle Universal Installer attempts to use rsh and rcp instead However these services are disabled by default on most Linux systems Configuring SSH on Cluster Member Nodes To configure SSH complete the following steps on each cluster node 1
12. printdiskusage Log debug information for disk usage printmemory Log debug information for memory usage printtime Log debug information for time usage record destinationFile Path For record mode operation information is recorded in the destination file path removeallfiles For removing the home directory after deinstallation of all the components Installing Products Using Oracle Universal Installer 5 13 Running Oracle Universal Installer After Installation removeAllPatches Remove all interim patches from the home silent For silent mode operations the inputs can be a response file or a list of command line variable value pairs updateNodeList For updating node list for this home in the OUI inventory waitforcompletion For windows setup exe will wait for completion instead of spawning the java engine and exiting nobackground Do not show background image noclusterEnabled No cluster nodes specified noconsole For suppressing display of messages to console Console is not allocated nowarningonremovefiles To disable the warning message before removal of home directory nowait For windows Do not wait for user to hit Enter on the console after the task install etc is complete formCluster To install the Oracle clusterware in order to form the cluster remotecp lt Path gt Unix specific option Used only for cluster installs specifies the path to the remote copy program on the local cluster node rem
13. ssh id_dsa pub files that you generated on all cluster nodes Change the permissions on the ssh authorized keys file on all cluster nodes chmod 600 ssh authorized keys At this point if you use ssh to log in to or run a command on another node you are prompted for the pass phrase that you specified when you created the DSA key Enabling SSH User Equivalency on Cluster Member Nodes To enable Oracle Universal Installer to use the ssh and scp commands without being prompted for a pass phrase follow these steps 1 On the system where you want to run Oracle Universal Installer log in as the oracle user Enter the following commands exec usr bin ssh agent SHELL usr bin ssh add At the prompts enter the pass phrase for each key that you generated If you have configured SSH correctly then you can use the ssh or scp commands without being prompted for a password or a pass phrase To test the SSH configuration enter the following commands from the same terminal session testing the configuration of each cluster node ssh nodenamel date ssh nodename2 date Cluster Environment Installations 6 7 Pre Installation Tasks for Real Application Clusters on UNIX These commands should display the date set on each node If any node prompts for a password or pass phrase then verify that the ssh authorized keys file on that node contains the correct public keys Note The first time you use SSH
14. De install each Oracle product Real Application Clusters home by running the procedure in the previous section Then complete the de installation by removing the Oracle Clusterware software using one of the following procedures De installing Oracle Clusterware with No Previous Cluster Software Versions De installing Oracle Clusterware with Clusterware Downgrade to 9 2 De installing Oracle Clusterware with No Previous Cluster Software Versions Perform the following steps to de install Oracle 10g Clusterware software from a Windows environment 1 Click Start and navigate to Settings then to Control Panel then to Administrative Tools and then to Services Stop the service oracleremexec 2 Start the Oracle Universal Installer On the Welcome page click Deinstall Products to display the list of installed products Select the Oracle Clusterware home you want to de install 3 If you have services with names such as OracleCRSTokenname then remove them by running the following command crsuser remove user name where user name is a user name 4 Shut down and restart each node that is a member of your cluster 5 If you are not using a cluster file system then on each node use Windows Explorer to delete the Oracle directory its subdirectories and their contents De installing Oracle Clusterware with Clusterware Downgrade to 9 2 Perform the following steps to de install Oracle 10g Clusterware software from a Windows environm
15. Installing Product Software on a Cluster indicating the results of the check The user must fix the problem or choose another set of nodes in order to proceed If any of the remote nodes is unreachable check if those nodes are up and running and if they are properly network configured If either the inventory or the Oracle home is not writable check for the appropriate permissions on the remote nodes for these directories Cluster Installation In a typical cluster installation when clusterware is present Universal Installer installs the Oracle software onto the node on which Oracle Universal Installer is running then propagates the Oracle home from the local node installation to the other nodes that are part of the installation Then Universal Installer runs attachHome on the remote nodes to update the inventory After this you need to run orainstRoot sh if required and root sh on the local and remote nodes After the scripts are run the config steps are executed If the cluster is Cluster File System CFS or Network File System NFS mounted then Oracle Universal Installer does not propagate the Oracle home to other nodes as files are shared across nodes and the installation will exist on the shared disk Note For cluster installations you must run oraInstRoot sh on each node of the cluster to set up the inventory Cluster Installation in Silent Mode For Real Application Clusters installation you can s
16. Login as the oracle user 2 If necessary create the ssh directory in the oracle user s home directory and set the correct permissions on it mkdir ssh chmod 700 ssh 3 Enter the following commands to generate an RSA key for version 2 of the SSH protocol usr bin ssh keygen t rsa At the prompts Accept the default location for the key file Enter and confirm a pass phrase that is different from the oracle user s password 6 6 Oracle Universal Installer and OPatch User s Guide Pre Installation Tasks for Real Application Clusters on UNIX This command writes the public key to the ssh id_rsa pub file and the private key to the ssh id_rsa file Never distribute the private key to anyone Enter the following command to generate a DSA key for version 2 of the SSH protocol usr bin ssh keygen t dsa At the prompts Accept the default location for the key file Enter and confirm a pass phrase that is different from the oracle user s password This command writes the public key to the ssh id_dsa pub file and the private key to the ssh id_dsa file Never distribute the private key to anyone Copy the contents of the ssh id_rsa pub and ssh id_dsa pub files tothe ssh authorized keys file on this node and to the same file on all other cluster nodes Note The ssh authorized keys file on every node must contain the contents from all of the ssh id_rsa pub and
17. Oracle and not the time of application of the patch in the host For example consider a patch with ID 300200 and the date of patch tag in the patch metadata is as follows date of patch year 2003 month Dec day 24 time 04 57 13 hrs zone US Eastern gt OPatch will consider this version of the patch to be created on December 24th 2003 at 04 57 13 hrs When you apply an interim patch to an Oracle home OPatch stores the patch information in SORACLE HOME patch storage directory Inside this directory there are separate directories created for each patch applied to the Oracle home You can only have one version of the patch applied in the system at a given time You can determine the location of the patch information directory by executing the opatch lsinventory detail command and looking for the patch location storage area information in the output The sample is as follows Patch Location in Storage area homel HOMEtoiir571 patch storage 300200 Dec 24 2003 04 57 13 You will also find an unzipped version of the patch in the following location SORACLE HOME patch storage patch id timestamp original patch 8 2 Oracle Universal Installer and OPatch User s Guide Features of OPatch Getting Interim Patches Oracle releases interim patches frequently to fix a bug or a set of bugs You can get the interim patches by specifying the patch ID in OracleMetalink from the following location http www oracle
18. The Oracle Home inventory on the node needs to be recovered by copying the entire OH inventory directory from another node to the faulty node If the OH inventory directory is corrupt on all the nodes the user would have to reinstall the oracle home on another machine at the same location and with the same name and copy over the OH inventory directory from that home to all the faulty nodes On the node run updateNodeList as OH oui bin lt runinstaller or setup exe gt updateNodeList ORACLE_HOME lt oracle home location gt CLUSTER_NODES lt comma separated nodelist gt LOCAL_NODE lt local node gt local 6 28 Oracle Universal Installer and OPatch User s Guide Does the Oracde Home inventory xml and NO nia oraclehomeproperties xml show up while doing opatch Isinventory detail YES Does the list of installed products in the Oracle_Home and comps xml inside the Oracle_Home show up on doing opatch Isinventory detail NO YES Is the node list and local node information corresponding to the Oracle_Home correct while doing opatch Isinventory detail NO as RAC Install Successful 7 Oracle Software Cloning Using Oracle Universal Installer This chapter provides information about Oracle cloning using Oracle Universal Installer OUI This chapter contains the following topics AboutCloning Overview of the Cloning Process Locating and View
19. all text is shown in English Product Language Selections If multiple languages are defined for the products installed Oracle Universal Installer allows language selection for all installation types via the Languages button shown on the Available Products page when there is more than one top level component Note Ifthere is only one top level component the Languages button is shown on the Install Types page If the staging area has only one top level component with only one installation type then the button is not shown and a Language Selection dialog is displayed later in the installation You can also control the selected languages by setting the SELECTED LANGUAGES variable in a response file or through the command line setup exe SELECTED LANGUAGES fr de The language selections are for the top level component being installed A top level component is the product selected on the Products Selection dialog one per installation session If any sub components not top level do not have files defined for Oracle Internationalization and Translation 9 1 Language Add on the language the user selects English only will be installed The English files are always installed for all components regardless of user selection or operating system language During installation Oracle Universal Installer looks at the language list of each file and file group to determine which files need to be copied The Oracle U
20. CD ROM If you still have problems refer to the documentation links at the end of this topic In most cases the following procedure will help with any problems you experience while switching to a second CD ROM while installing Oracle software If you inadvertently run the installer while the current working directory is in the CD ROM follow these steps to mount the next CD ROM 1 Change to the root directory of your system and log in as the root user by using the following commands cd su root Installing Products Using Oracle Universal Installer 5 7 Installing Oracle Products 2 Unmount and remove the CD ROM from the drive with the following command umount cdrom mount point directory 3 Insert and mount the next CD ROM into the drive by using the following command mount options device name cdrom mount point directory 4 Enter the correct mount point in the Installation dialog box 5 Click OK to continue If after attempting this procedure you are still having problems refer to the section on installing from multiple CD ROMs in the Oracle Database Installation Guide which is available from the Oracle Technology Network http otn oracle com documentation Installing from a staged HTTP location With Oracle Universal Installer you can install products from the Web You can publish your staging area from a Web server and then in the Oracle Universal Installer s Source location specify the HTTP location
21. Central Inventory logs cloneActions timestamp log Contains a detailed log of the actions that occur during the OUI part of the cloning Oracle Software Cloning Using Oracle Universal Installer 7 3 Cloning an Oracle Database 10 1 Oracle Home lt Central_Inventory gt logs oraInstall timestamp err Contains information about errors that occur when OUI is running lt Central_Inventory gt logs oraInstall timestamp out Contains other miscellaneous messages generated by OUI ORACLE_ HOME clone logs clone timestamp log Contains a detailed log of the actions that occur during the pre cloning and cloning operations ORACLE HOME clone logs error timestamp log Contains information about errors that occur during the pre cloning and cloning operations To find the location of the Oracle inventory directory On all UNIX system computers except Linux and IBM AIX look in var opt oracle oraInst 1loc On IBM AIX and Linux based systems look in etc oralnst loc file On Windows system computers the location can be obtained from the Windows Registry key HKEY LOCAL MACHINE SOFTWARE ORACLE INST_LOC After the clone p1 script finishes running refer to these log files to obtain more information about the cloning process Cloning an Oracle Database 10 1 Oracle Home There are two steps involved in cloning an Oracle Database 10 1 Oracle home Preparing the Oracle Database 10 1 Source Cloning an Oracle Database 10 1 Preparing the O
22. File Locations page for another installation or to another response file if you are performing a silent installation NEXT SESSION TRUE NEXT_SESSION_ON_FAIL Set this boolean variable to TRUE to allow users to invoke another installation session even if the current installation session fails This variable is used only if the NEXT_ SESSION variable is set to TRUE NEXT SESSION ON FAIL TRUE NEXT_SESSION_RESPONSE Use this string variable to enter the complete path of the next session s response file if you want to automatically begin another silent installation when the current installation is complete If you specify only a file name the Installer looks for the response file in the lt TEMP gt orainstal1 directory This variable is only used if NEXT_SESSION is set to TRUE otherwise Oracle Universal Installer ignores the value of this variable NEXT_SESSION_RESPONSE private usr2 nextinstall rsp ORACLE_HOME The location where products are to be installed You must enter a value for ORACLE_ HOME for a complete silent installation ORACLE_HOME_NAME The name of the current Oracle home You must enter a value for ORACLE HOME _ NAME for a complete silent installation SHOW_COMPONENT_LOCATIONS_PAGE The location page which appears in a custom installation type can be suppressed by setting this value to FALSE If you set the value to FALSE the user is prevented from specifying alternate directories If there are products with in
23. Inventory Pointer File Every Oracle software installation has an associated Central Inventory where the details of all the Oracle products installed on a host are registered The Central Inventory is located in the directory specified by the inventory pointer file Each Oracle software installation will have its own Central Inventory pointer file which is unknown to another Oracle software installation In case of Oracle homes sharing the same Central Inventory all read and write operations on the inventory is performed by the Oracle Universal Installer components The operations on the Central Inventory are performed through a locking mechanism This implies that when an operation like installation upgrade or patching happens on an Oracle home these operations will get blocked on other Oracle homes that share the same Central Inventory You will find the inventory pointer file in the following location For Solaris var opt oracle oraInst loc For Linux etc oraInst loc For Windows this pointer is located in the registry key AMHKEY LOCAL _ MACHINE Software Oracle inst_loc A sample of oraInst 10c file is listed inventory_loc home oracle_db10g product 10 2 0 db_ 1 inst_group oracle In UNIX if you do not want to use the Central Inventory located in the directory specified by the inventory pointer file you can use the invPtrLoc flag to specify another inventory pointer file The syntax is as follows runInstaller silent
24. On UNIX this means rsh or ssh or both should be setup on the cluster machines On Windows this means the same lt domain gt lt user gt should have administrative privileges on all the cluster machines and the machines should be a member of the domain If the user equivalence is set properly the following command will work properly rsh lt nodename gt date For more information on setting user equivalence refer to section Configuring SSH on all Cluster Nodes on page 6 6 Check for OPatch Isinventory Ensure that you are able to invoke opatch 1sinventory detail command and are able to see the node information being printed out A sample listing of the output of the command is as follows Oracle interim Patch Installer version 10 2 0 1 0 Copyright c 2005 Oracle Corporation All rights reserved Oracle Home home racqa 102 twork toii toiir toiir571 HOMEtoiir571 Central Inventory home racqa 102 twork toii toiir toiir571 inventory from home racqa 102 twork toii toiir toiir571 HOMEtoiir571 oraInst loc Oracle Software Patching Using OPatch 8 5 Pre requisite Checks in OPatch OPatch version 10 2 0 1 0 OUI version 10 2 0 1 0 OUI location home racqa 102 twork toii toiir toiir571 HOMEtoiir571 oui Log file location home racqa 102 twork toii toiir toiir571 HOMEtoiir571 cfgtoollogs opatch opatch 2005 May 30 01 04 52 PDT Mon log Lsinventory Output file location homel racqa 102 twork toii toiir toii
25. Product or Product Family field and the current release appears in the Release field Select your platform from the list in the Platform field and click Go Any available patches appear under the Results heading Click the number of the patch that you want to download On the Patch Set page click View README and read the page that appears The README page contains information about the patch set and how to apply the patches to your installation Return to the Patch Set page click Download and save the file on your system Use the unzip utility provided with Oracle software to uncompress the Oracle patches that you downloaded from OracleMetaLink The unzip utility is located in the SORACLE_HOME bin directory Note By default the patches would only be applied on the nodes on which the Oracle software installation was done The node list can be changed using enableRollingUpgrade option Configure Oracle Products Many Oracle products and options must be configured before you use them for the first time Before using individual Oracle products or options refer to the manual in the product documentation library which is available on the documentation CD ROM or on the OTN Web site De installing Real Application Clusters Software If you need to de install Real Application Clusters software then you must run the Oracle Universal Installer to de install the software on the same node from which you performed the installation
26. UNIX and Linux systems 1 If you do not have a shared Oracle Clusterware home then tar the Oracle Clusterware home from an existing node and copy it to the new node Use CRS_ HOME as the destination Oracle Clusterware home on the new node If you have a shared Oracle Clusterware home then skip this step Note For more information on archiving and unarchiving refer to sections Source Preparation Phase and Cloning Phase 2 If you do not have a shared Oracle Clusterware home then on the new node navigate to the SORACLE_HOME clone bin directory and run the following command where Oracle home nameis the name of the Oracle home new node is the name of the new node new_node privis the private interconnect protocol address of the new node new_node vip is the virtual interconnect protocol address of the new node and central inventory locationis the location of the Oracle central inventory Oracle Software Cloning Using Oracle Universal Installer 7 13 Adding Nodes Using Cloning in Oracle Real Application Clusters Environments perl clone pl ORACLE HOME 0RACLE HOME ORACLE HOME NAME Oracle home name O sl tableList new node new node priv new node vip O noConfig O INVENTORY LOCATION central inventory location If you have a shared Oracle Clusterware home then append the cfs option to the command example in this step and provide a complete path location for the cluster file system Note Only provid
27. UNIX and the directory specified by the variable TEMP on Windows platforms Inthe inventory logs directory for hosts that already had an inventory Note Using the nowelcome option with the silent option is unnecessary since the Welcome screen does not appear when you use the silent option Setting Response File Variables From the Command Line With Oracle Universal Installer 2 1 and higher you can specify the value of certain variables when you start Oracle Universal Installer from the command line Specifically you can specify session and component variables For specific information about the format and organization of response files see Modifying a Response File on page 4 2 When you specify the value of a variable on the command line that value overrides the value of the variable if it is defined in the response file Specifying the Value of a Session Variable To specify the value of a session variable use the following command syntax runInstaller session lt variable name value on UNIX setup exe session lt variable name gt lt value gt on Windows For example to prevent the Universal Welcome page from displaying runInstaller session SHOW WELCOME PAGE false on UNIX setup exe session SHOW WELCOME PAGE false on Windows Note that the session tag is optional and is used mainly to remove any possible ambiguity 4 12 Oracle Universal Installer and OPatch User s Guide Installing
28. Universal Installer displays the Welcome page click Next Oracle Universal Installer displays the Installation Prerequisite Checks page This screen shows the name type and status for all pre requisite checks designed for the installation Click Next Oracle Universal Installer displays the Specify Cluster Nodes for Node Addition page Specify public private virtual IPs in this page and click Next Oracle Universal Installer displays the Specify Local Host Name page Specify atleast one public and one private interface in this page and click Next Specify Oracle Cluster Registry location option to give a redundant OCR location and click Next Specify VD Voting Disk Location location option to give redundant VD locations and click Next Oracle Universal Installer displays the Summary page Click Install and proceed After the installation is done Oracle Universal Installer prompts you to run orainstRoot sh and root sh You need to run these scripts and click OK Cluster Environment Installations 6 15 Installing Oracle Clusterware on Windows After you run root sh on all of the nodes the Oracle Universal Installer runs the Oracle Notification Server Configuration Assistant and Oracle Private Interconnect Configuration Assistant These assistants run without user intervention 10 Oracle Universal Installer displays the End of Installation page Click Exit Running the Oracle Universal Installer in Silent Mode to Insta
29. Updating the Nodes of a Cluster When you use the updateNodeList flag with the Oracle Universal Installer it gets the list of nodes and updates the inventory xm1 If the CRS tag is set to TRUE then the Oraclehomeproperties xml file is updated with the Oracle Clusterware home information For shared Oracle homes you need to use this with c s flag The syntax is as follows runlInstaller updateNodeList CLUSTER _NODES Nodel Node2 ORACLE HOME Oracle Home Location ORACLE HOME NAME Oracle Home Names LOCAL NODE Node Name Managing Oracle Homes 3 11 Home Selector Available on Win32 Platforms Note You update the nodes of a cluster only under exceptional circumstances Oracle recommends that you perform this operation with the help of Oracle support Home Selector Available on Win32 Platforms The following sections describe the Home Selector which is installed as part of Oracle Universal Installer on Windows computers To view the Home Selector click the Environment tab of the Inventory dialog which appears when you click the Installed Products button on several Oracle Universal Installer screens Home Selector Overview The Home Selector is a part of the installation software The Home Selector enables you to easily change your primary Oracle home the one that appears first in the PATH environment variable If you need to switch the active home or need to perform batch work which require
30. Using a Response File Specifying the Value of a Component Variable To specify the value of a component variable use the following command syntax runInstaller component name component version variable name gt lt value gt on UNIX setup exe component name component version variable name value on Windows For example to modify the value of a variable VARI in version 1 1 of a component called COMP2 runInstaller COMP2 1 1 VARI test on UNIX setup exe COMP2 1 1 VAR1 test on Windows Note that the lt component_name gt and lt component_version gt tags are optional and are used mainly to remove any possible ambiguity If there are two variables with the same name for different components versions then use these tags to distinguish between them Customizing and Creating Response Files 4 13 Installing Using a Response File 4 14 Oracle Universal Installer and OPatch User s Guide 5 Installing Products Using Oracle Universal Installer This chapter includes the following sections Checking Pre Requisites Before Installation Installing Oracle Products a De installing Oracle Products Running Oracle Universal Installer After Installation About Oracle Universal Installer Log Files Checking Pre Requisites Before Installation Before installation Oracle Universal Installer checks the environment to see whether it meets the requirements for successful instal
31. X Refection X 624 Select Settings Window Manager Default Local Window Manager Reflection Window Manager You may also have to select X terminal desktop Reflection X 6 0 Select Connection New XDMCP Connection Connection Settings Direct method type host destination and click Connect Tarantella There is a known problem when using Tarantella to send DISPLAY to your Windows system for instance when using hosted UNIX systems The bottoms of some Oracle Universal Installer screens may appear cut off with buttons not visible The problem occurs only when you use an individual Tarantella terminal window so that Oracle Universal Installer window appears alone without a broader X windowing environment To work around this problem do one of the following a Use keyboard shortcuts to invoke commands Use Alt N for Next to move to the next screen Onthesummary page use Alt I to start the installation B 4 Oracle Universal Installer and OPatch User s Guide Other Tips a Use the Window Manager window in Tarantella which displays the entire screen as if it were a UNIX monitor Installer dialogs will appear properly in Window Manager Troubleshooting and Debugging Oracle Universal Installer B 5 Other Tips B 6 Oracle Universal Installer and OPatch Users Guide C Understanding Oracle Universal Installer Commands The Oracle Universal Installer is run with various options and command line argumen
32. You must first de install the Oracle product before de installing the Oracle Clusterware software Perform the following procedures to de install Oracle product and Oracle Clusterware software as described in the following sections De installing Oracle Product Software on UNIX The following steps describe how to use Oracle Universal Installer to remove Oracle software from an Oracle home on UNIX systems Cluster Environment Installations 6 23 De installing Real Application Clusters Software Note Always use Oracle Universal Installer to remove Oracle software Do not delete any Oracle home directories without first using Oracle Universal Installer to remove the software 1 Ifnecessary log in as the oracle user su oracle 2 Set the ORACLE HOME environment variable to specify the path of the Oracle home directory that you want to remove Bourne Bash or Korn shell ORACLE HOME u01 app oracle product 10 2 0 db 1 export ORACLE HOME a Cshell setenv ORACLE HOME u01 app oracle product 10 2 0 db 1 3 Stop all processes running in this Oracle home 4 Start Oracle Universal Installer with the deinstall flag When you use this flag only the de installation happens on the specified components The Oracle home does not get removed from the Central Inventory This is equivalent to selecting only the components and clicking Deinstall in the GUL The syntax is as follows runInstaller deinstall ORACLE H
33. an Oracle RAC environment to which you want to add nodes and instances To add nodes to a Windows system Oracle RAC environment using cloning extend the Oracle Clusterware configuration extend the Oracle Database software with RAC and then add the listeners and instances by running the Oracle assistants as described in the following procedures Cloning Oracle Clusterware on Windows System Based Environments Oracle Software Cloning Using Oracle Universal Installer 7 15 Adding Nodes Using Cloning in Oracle Real Application Clusters Environments Cloning Oracle RAC Software on Windows System Based Environments Cloning Oracle Clusterware on Windows System Based Environments Complete the following steps to clone Oracle Clusterware on Windows system computers 1 3 If you do not have a shared Oracle Clusterware home then zip the Oracle Clusterware home from the existing node and copy it to the new node Unzip the home on the new node in the equivalent directory structure as the directory structure in which the Oracle Clusterware home resided on the existing node For example assume that the location of the destination Oracle Clusterware home on the new node is CRS_ HOMES Skip this step if you have a shared Oracle Clusterware home Note For more information on zipping and unzipping refer to sections Source Preparation Phase and Cloning Phase On the new node go to the CRS_HOME clone bin directory and ru
34. anyone licensing or using the Programs on behalf of the United States Government the following notice is applicable U S GOVERNMENT RIGHTS Programs software databases and related documentation and technical data delivered to U S Government customers are commercial computer software or commercial technical data pursuant to the applicable Federal Acquisition Regulation and agency specific supplemental regulations As such use duplication disclosure modification and adaptation of the Programs including documentation and technical data shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement and to the extent applicable the additional rights set forth in FAR 52 227 19 Commercial Computer Software Restricted Rights June 1987 Oracle USA Inc 500 Oracle Parkway Redwood City CA 94065 The Programs are not intended for use in any nuclear aviation mass transit medical or other inherently dangerous applications It shall be the licensee s responsibility to take all appropriate fail safe backup redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes and we disclaim liability for any damages caused by such use of the Programs Oracle JD Edwards PeopleSoft and Siebel are registered trademarks of Oracle Corporation and or its affiliates Other names may be trademarks of their respective owners The Programs may provide links
35. based installer that enables you to install Oracle components from CDs or from a staged HTTP location It performs component based installs as well as complex installs such as integrated bundle and suite installs and installs over the Web OPatch is an Oracle supplied utility to assist you with the process of applying interim patches to Oracle s software OPatch 10 2 is a Java based utility that needs Oracle Universal Installer It works on all operating systems for which Oracle releases software For more information on OPatch refer to Chapter 8 Oracle Software Patching Using OPatch Actions Performed by the Utilities Oracle Universal Installer and OPatch performs the following activities Basic Concepts 1 1 Actions Performed by the Utilities Install De install Cloning Patching Installation is the process of choosing products from a release or stage area and deploying them in the target directory There are four modes of installation which are explained in the section Modes of Installation on page 1 4 De installation is the process of removing an installed product from the installation area A de installation can be cancelled resumed or rolled back It can be executed either interactively or silently Cloning is the process of copying an existing installation to a different location while preserving its configuration You can install multiple copies of the Oracle product easily on different computers using cloni
36. be shown SHOW SPLASH SCREEN TRUE SHOW_SUMMARY_PAGE The Summary page can be suppressed by setting this value to FALSE SHOW_WELCOME_PAGE Set to TRUE if the Welcome page in the installer needs to be shown SHOW WELCOME PAGE FALSE SHOW_RELEASE_NOTES Set this parameter to TRUE if you want the release notes for this installation to be shown at the end of the installation A dialog box lists the available release notes Note that the SHOW_END_SESSION parameter must be set to TRUE before you can use this parameter TOPLEVEL_COMPONENT The name of the component products and the version as string list You must enter a value for TOPLEVEL_COMPONENT Usually the components are represented with a pair of strings the first one representing the internal name the second representing the version For example RDBMS 9 2 may be represented as oracle rdbms 9 2 0 4 0 UNIX_GROUP_NAME The UNIX group name to be set for the inventory on UNIX platforms Note The UNIX group name is used for first time installations only REMOVE_HOMES Use this parameter to identify the Oracle homes you wish to remove from the inventory during a de installation session For each home specify the home name using full path information REMOVE_HOMES home oracle ora9i home oracle ora8i DEINSTALL_LIST Use this parameter to enter a list of components to be removed during a silent de install session For each component specify the internal com
37. can create a response file based on the installation options you select Refer to Creating a Response File With Record Mode on page 4 2 for more information To modify the response file 1 Make a copy of the product s response file and open it in a text editor 2 Review any information provided in the response file or in the product installation guide Many software products use settings in the response file to customize the installation of their particular product Refer to the response file template for suggestions or guidelines on how to set up the file for your installation 4 2 Oracle Universal Installer and OPatch User s Guide Creating a Response File With Record Mode 3 Get familiar with the organization and content of the response file using the information in the section Response File Format on page 4 4 4 Modify the response file to meet the needs of your organization and save the modified version 5 See the section Installing Using a Response File on page 4 11 for information on starting Oracle Universal Installer using your modified response file Creating a Response File With Record Mode You can create a new response file based on the installation options you select by using Oracle Universal Installer s record mode When you use record mode Oracle Universal Installer records the installation session into a response file You specify the name of the response file on the command line The recorded resp
38. com support metalink index html About OPatch OPatch is an Oracle supplied utility to assist you with the process of applying interim patches to Oracle s software OPatch is a Java based utility which requires the Oracle Universal Installer to be installed It is platform independent and runs on all supported operating systems OPatch supports the following Applying an interim patch Rolling back the application of an interim patch Detecting conflict when applying an interim patch after previous interim patches have been applied It also suggests the best options to resolve a conflict Reporting on installed products and interim patch Requirements for OPatch The OPatch utility requires the following a The Oracle home environment variable ORACLE HOME must point to a valid Oracle home directory and match the value used during installation of the Oracle home directory a Java SDK 14 or higher Java commands for Windows and ar cp fuser and make commands for UNIX must be made available The library path must be set correctly for Oracle Real Application Clusters environments OPatch uses some APIs to detect if the system is Real Application Clusters Ensure that the library path is set correctly as follows For Solaris LD LIBRARY PATH SORACLE HOME 1 ib32 SORACLE HOME 1 ib For HP UX SHLIB PATH SORACLE HOME 1ib3 2 usr lib See Also For the latest information about the OPatch utility and to check for up
39. etc directory that has the metadata files a A filesdirectory that has the payload files a The etc config inventory file and the actions file under the same directory If you did not start the OPatch utility from the patch id directory then you can use the following command opatch apply lt Patch_Shiphome gt OPatch cannot find system commands like fuser make Cause The OPatch utility uses fuser on UNIX systems to check for active Oracle instances On certain hp ux systems only a super user can run fuser Action Do the following steps to resolve this problem 1 Set tmp in your PATH For more information refer to section Check for System Commands on page 8 5 2 Create an empty file named fuser 3 Shutdown the Oracle instances 4 Runthe OPatch utility Caution Another way to resolve this problem is to give executable permission to other users for fuser However this exposes a potential security hole in the system and is not recommended Unable to remove a partially installed interim patch Cause Interruption in the patching process is the potential cause for this problem This may occur if you press CTRL C during the patching process If the error is the one that OPatch detects it automatically takes care of it Action Perform the following steps 1 Ensure that the environment variable ORACLE HOME is set properly 2 Navigate to the ORACLE HOME patch storage patch id timestamp dir
40. files as follows In UNIX rename the configToolAllCommands and configToolFailedCommands files located in the OracleHome cfgtoollogs directory to configToolAllCommands sh and configToolFailedCommands sh respectively and execute them In Windows rename the conf igToolAllCommands and configToolFailedCommands files located in the OracleHome cfgtoollogs directory to configToolAllCommands bat and configToolFailedCommands bat respectively and execute them ConfigToolAllCommands sh bat will be used when the install was done with a noConfig option and you want to run all the configuration assistants in standalone mode outside the OUI context ConfigToolFailedCommands sh bat will be used when the install was done with failed configuration assistants and you want to run only the failed configuration assistants later in standalone mode outside the OUI context When I apply a patchset or an interim patch the installer tries to propagate to a node that I disconnected long back What do I do This may be due to the presence of the Oracle home in the Central Inventory Oracle Universal Installer allows you to remove the Oracle home from the Central Inventory in cases where the Oracle home is uninstalled To remove the Oracle home you need to execute runInstaller with the detachHome flag You can also completely remove the Central Inventory to remove traces of log files For more information refer to the section Detaching Oracle Homes fr
41. for your system and configure the shared disk Ensure that the directory structure is similar in all nodes Ensure that all nodes in the cluster have the same time zone settings Install the operating system patches for the Oracle software For more information refer to the respective Oracle software Real Application Clusters installation guide Pre Installation Tasks for Real Application Clusters on UNIX You need to complete the following pre installation tasks before you start the Oracle Universal Installer Logging In to the System as root Before you install the Oracle software you must complete several tasks as the root user To log in as the root user complete one of the following procedures If you are installing the software from an X Window System workstation or X terminal then 1 Start a local terminal session for example an X terminal xterm 2 If you are not installing the software on the local system then enter the following command to enable remote hosts to display X applications on the local X server xhost 3 If you are not installing the software on the local system then use the ssh rlogin or telnet command to connect to the system where you want to install the software telnet remote host 4 If you are not logged in as the root user then enter the following command to switch user to root su root 6 4 Oracle Universal Installer and OPatch User s Guide Pre Installation Tasks for Re
42. hO hO RO VU RV P RO OG ROG CO N P2 P FO P2 P2 F2 F2 F2 F2 Cc O F2 G O PO PO DN P2 Oo C Ch CR O Oo Q Q O xXC CY CR CF 0 OS T 0 a OC 0 CH QC X OO cO 0 0 oO X0 0 EI OQ UR DA CU SO OUS OO OUO N EGO O0 OQ O OD OC l B oH H poH H Ho H RP B RB 4g P O d H oH H PB Ho B oH PP pop po HH p HB PP n Cx CO 4X CO OCC XX a A A CO nOGIRQSBOO XX Ss QU OX CLOS AUS COO dX CLP DX E e Ds m CX C Hi Pi P PS PS Pj Pj PS PS P P fj L Patch 3811942 applied on Mon May 30 00 59 33 PDT 2005 Created on 31 Aug 2004 12 06 28 hrs US Pacific Bugs fixed 3811942 Files Touched hosp o ORACLE HOME lib libagenti10 a pesblt o gt ORACLE HOME lib libpls10 a kgl o ORACLE HOME lib libgenerici0 a qcpi6 o ORACLE HOME 1ib libgeneric10 a ins rdbms mk ORACLE HOME rdbms lib iextjob ins rdbms mk ORACLE HOME rdbms lib iextjobo ins rdbms mk ORACLE HOME rdbms lib client sharedlib hosp o ORACLE HOME lib libserverl0 a 8 8 Oracle Universal Installer and OPatch User s Guide Pre requisite Checks in OPatch prse o gt ORACLE HOME lib libserverl0 a prsa o ORACLE HOME lib libserverl0 a prsf o gt ORACLE HOME lib libserverl0 a prssz o gt ORACLE HOME lib libserverl0 a kprc o ORACLE HOME lib libserverl0 a qmhdr o ORACLE HOME lib libserverl0 a pesblt o gt ORACLE HOME lib libpls10 a qcpi6 o gt ORACLE HOME lib libgenericl0 a prvtpexp plb gt
43. home using your preferred tool for archiving For more information on this refer to section Source Preparation Phase Cloning an Oracle Database 10 1 To clone the Oracle Database 10 1 perform the following steps Copy the compressed zip or archive file to the target computer Extract the contents of the compressed zip or archive file in the target computer For more information on extracting the contents refer to section Cloning Phase On the target computer execute the following For Windows based systems SORACLE HOME oui bin setup exe ORACLE HOME oracle home location ORACLE HOME NAME Oracle Home Name for the Oracle Home being cloned clone silent command line arguments For Linux based systems SORACLE HOME oui bin runInstaller sh ORACLE HOME lt oracle home location ORACLE HOME NAME Oracle Home Name for the Oracle Home being cloned clone silent command line arguments The preceding command uses the lt command line arguments variable The following table describes the same Table 7 1 Command line arguments in clone pl script Command line Argument Description O If you use this argument then anything following it is passed to the OUI clone command line For example you can use this option to pass the location of the oraparam ini file to be used by OUI O paramFile C OraHome_1 oui oraparam ini debug If you use this argument then the script runs in debug mode help
44. invPtrLoc Location of oraInst loc ORACLE _ HOME Location of Oracle Home gt ORACLE HOME NAME Name of Oracle Home gt Note If the contents of the oralnst loc file is empty Oracle Universal Installer prompts you to create a new inventory Central Inventory Central Inventory contains the information relating to all Oracle products installed on a host It contains the following files and folders Inventory File Logs Directory Inventory File This file lists all the Oracle homes installed on the node For each Oracle home it also lists the Oracle home name the home index and the nodes on which the home is installed It also mentions if the home is an Oracle Clusterware home or a removed Oracle home It can only detect removed Oracle homes created using Oracle 3 4 Oracle Universal Installer and OPatch User s Guide About the Oracle Universal Installer Inventory Universal Installer version 10 1 and higher This file is present in the following location lt central inventory location gt ContentsXML inventory xml A sample of inventory xml file is listed lt xml version 1 0 standalone yes gt lt Copyright c 2005 Oracle Corporation All rights Reserved gt lt Do not modify the contents of this file by hand gt lt INVENTORY gt VERSION INFO SAVED WITH gt 10 2 0 0 0 lt SAVED WITH MINIMUM VER 2 1 0 6 0 MINIMUM VER VERSION INFO HOME LIST HOME NA
45. is known as patch rollback During patch installation OPatch saves copies of all the files that were replaced by the new patch before the new versions of these files are loaded and stores itin SORACLE HOME patch storage These saved files are called rollback files and are the key to making patch rollback possible When you rollback a patch these rollback files are restored to the system You should only override the default behavior by using the force flag if you have gained a complete understanding of the patch rollback process To rollback a patch execute the following command OPatch opatch rollback id Patch ID Restoring Oracle Homes Every time you apply a patch you make changes to your inventory Sometimes that change may corrupt the inventory You can use the restore sh or restore bat script that comes with OPatch to remove any changes that were made to the inventory after the application of the patch When you apply a patch OPatch creates a snapshot of your inventory and stores it in SORACLE HOME patch_storage lt patch id_timestamp gt directory For more information refer to Interim Patch Versions on page 8 2 When your inventory is corrupted you need to perform the following steps to bring the application back to it s last known good state 1 Ensure that the environment variable ORACLE HOME is set properly 2 Navigate to the ORACLE HOME patch storage patch id timestamp directory and execute the restore
46. makes it easy to duplicate the results of a successful installation on multiple systems All the options you selected during the installation are saved in the resulting response file For information about recording your Oracle Universal Installer sessions refer to section Creating a Response File With Record Mode on page 433 More accurate disk space calculations Oracle Universal Installer now uses a more accurate method of calculating the disk space required by your Oracle products This feature reduces the risk of running out of disk space during an installation Automatically launched software after installation Some Oracle products now take advantage of a new feature that allows the software to launch automatically immediately after the installation Cleaner de installation and upgrades De installation completely removes all software leaving no bits behind Also completely removes files associated with configuration assistants and patchsets Oracle homes can also be removed from the inventory and registry Integrated pre requisite checking Provides a pre requisite checking tool to diagnose the readiness of an environment for installation The pre requisite checks are run as part of the installation process but can also be run as a separate application Support for single click installation Provides a facility where you can do single click installs for certain products for basic configurations You also h
47. manage Oracle homes and Oracle inventory using Oracle Universal Installer Chapter 4 Customizing and Creating Response Files This chapter contains information on how you can perform a silent installation using response files in the Oracle Universal Installer Chapter 5 Installing Products Using Oracle Universal Installer This chapter contains information on the pre requisites for installation and how you install and remove Oracle products Chapter 6 Cluster Environment Installations This chapter contains information on Oracle Clusterware and Real Application Clusters installation Chapter 7 Oracle Software Cloning Using Oracle Universal Installer This chapter contains information on Oracle software cloning using Oracle Universal Installer It also contains the steps to perform a database cloning Oracle Clusterware cloning and Real Application Clusters cloning Chapter 8 Oracle Software Patching Using OPatch This chapter contains information on applying interim patches to Oracle products using the Oracle proprietary tool OPatch Chapter 9 Oracle Internationalization and Translation This chapter contains information on the various languages in which Oracle produces software Appendix A Frequently Asked Questions This appendix contains frequently asked questions on Oracle Universal Installer and OPatch Appendix B Troubleshooting and Debugging Oracle Universal Installer This appendix contains i
48. more information You can create your own response files using record mode Refer to section Creating a Response File With Record Mode on page 4 3 for more information a Ifyou start Oracle Universal Installer from the command line see Using Oracle Universal Installer Exit Codes on page 5 14 The following sections describe how to specify a response file when you start Oracle Universal Installer Note If you attempt to perform a silent installation on a UNIX computer where no Oracle products have been installed you will get an error message Before you can perform a silent installation on such a computer you must first run the script oraInstRoot sh which is saved in the oraInventory directory You must run this script with root privileges This enables Oracle Universal Installer to set up the Central Inventory on a clean host Refer to About the Oracle Universal Installer Inventory on page 3 3 for more information on the Central Inventory Specifying a Response File To start Oracle Universal Installer and specify the response file enter the following command at the command line in the directory where the executable file is installed setup exe responseFile filename optional parameters on Windows runInstaller responseFile filename optional parameters on UNIX Note You must specify the complete responseFile path If you do not Oracle Universal Installer assumes the location to be
49. native and 1 4 1 JRE OSDPARAM RE OSDPARAM LUSTERWARE oracle crs 10 1 0 2 0 RUN OUICA specifies the batch script name that needs to be run The script is ouica bat for win32 and ouica sh for solaris If the value is not specified then the OUICA script is not run UN OUICA ouica sh E xb db db db db db db D ut UJ cb od ny Certified Versions Linux redhat 2 1 UnitedLinux 1 0 redhat 3 SuSE 9 Linux redhat 2 1 optional Sample Components File The Components file contains details of all the components as well as patchsets or interim patches installed in the Oracle home lt xml version 1 0 standalone yes gt lt Copyright c 2005 Oracle Corporation All rights Reserved gt lt Do not modify the contents of this file by hand gt lt PRD_LIST gt lt TL_LIST gt COMP NAME oracle server VER 10 2 0 0 0 BUILD NUMBER 0 REP VER 0 0 0 0 0 RELEASE Production INV_LOC Components oracle server 10 2 0 0 0 1 LANGS en Sample Files D 7 Sample Components File XML_INV_LOC Components21 oracle server 10 2 0 0 0 ACT INST VER 10 2 0 0 0 DEINST VER 10 1 0 2 0 INSTALL TIME 2005 Jun 03 11 39 07 IST INST _LOC home shiva oracle product 10 2 0 db 2 oracle server gt EXT NAME Oracle Database 10g EXT NAME lt DESC gt Installs an optional pre configured starter database product options management tools networking services utilities and basi
50. opsm oracore ord otrace plsql precomp rdbms slax sqlplus configuration Assistants binaries for all products interMedia Text cartridge initsid ora 1ksid install related files Oracle product libraries Java classes Spatial cartridge Xerox Stemmer for interMedia Text cartridge Net8 NES run time loadable data common files for all products data gatherer Parallel Server Manager Components core libraries data cartridges Oracle TRACE PL SQL precompilers server files and libraries required for the database SLAX parser SQL Plus 3 14 Oracle Universal Installer and OPatch User s Guide 4 Customizing and Creating Response Files This chapter introduces you to Oracle Universal Installer s use of response files for silent and suppressed installation This chapter also describes how to modify or create a response file so you can customize and standardize the installation of Oracle products in your organization This chapter is organized into the following sections About Response Files Modifying a Response File Creating a Response File With Record Mode Response File Format Installing Using a Response File About Response Files This section answers the following questions What ls a Silent Installation a What Is a Response File Why Perform a Silent Installation What Is a Silent Installation A silent installation runs in the console and does not use the GUI The inter
51. relative to the oraparam ini associated with the Oracle Universal Installer launched For help on command line usage enter the following at the command line in the directory where the executable file is stored setup help on Windows runInstaller help on UNIX Customizing and Creating Response Files 4 11 Installing Using a Response File In Windows when you execute setup help a new command window appears with the Preparing to launch message In a moment the help information appears in that window Optional Parameters When Specifying a Response File Optional parameters you may use with the responseFile flag are nowelcome silent formCluster Use the nowel come flag along with the responseFile flag to suppress the Welcome dialog that appears during installation Use the silent flag along with the responseFile flag to run Oracle Universal Installer in complete silent mode Note that the Welcome dialog is suppressed automatically Use the formCluster flag for Oracle Clusterware installations to specify the cluster Note that when the silent flag is specified and there are no values specified to a particular variable in a dialog then the installer will stop The success or failure of the installation when this flag is specified is generated as follows a Inafilenamed silentInstall lt timestamp gt log for hosts without an Oracle inventory This file will be generated in the tmp directory on
52. run on the new node this step only updates the inventories on the nodes and instantiates scripts on the local node 5 On the existing node run the rootaddnode sh script from the SORACLE _ HOME install directory 6 On the new node go to the SORACLE HOME directory and run the root sh script to start the Oracle Clusterware on the new node 7 Determine the remote port to use in the next step by running the following command from the CRS_HOME opmn conf directory cat ons config 8 From the CRS_HOME bin directory on an existing node run the following command where racgons is the Oracle RAC Notification Service Utility new_ node is the name of the new node and remote_port is the value from the output of the previous step 7 14 Oracle Universal Installer and OPatch User s Guide Adding Nodes Using Cloning in Oracle Real Application Clusters Environments racgons add config new node remote port Cloning Oracle RAC Software on UNIX and Linux System Based Environments Complete the following steps to clone Oracle Database with RAC software on UNIX and Linux systems 1 Ifyou do not have a shared Oracle Database home then tar the Oracle RAC home from the existing node and copy it to the new node Assume that the location of the destination Oracle RAC home on the new node is SORACLE HOME Otherwise skip this step Note For more information on archiving and unarchiving refer to sections Source Preparation
53. run root sh once installation completes only if the script is required to be run as root before configuration assistants are run Otherwise users are prompted to run root sh as root later Note When running Oracle Universal Installer in silent mode if root sh is required prior to configuration assistants Oracle Universal Installer will skip configuration assistants during the installation The user must run root sh as root and then run the skipped configuration assistants after the silent installation is complete To successfully run the required shell script 1 Leave the Oracle Universal Installer window open and open another terminal window 2 Inthe new terminal window use the substitute user command to log in with root privileges su root 3 Change directory to the Oracle home into which you are currently installing your Oracle software product 4 Run the shell script root sh Installing Products Using Oracle Universal Installer 5 9 De installing Oracle Products 5 When the script is finished and you are returned to the command prompt exit from the new terminal window and return to Oracle Universal Installer to continue the installation Note Do not exit the installation in order to run the shell script Exiting the installation removes this script You are prompted to run the script only the first time you install Providing a UNIX Group Name If you are installing a prod
54. runInstaller or setup exe updateNodeList ORACLE HOME oracle home location CLUSTER NODES commaseparated nodelist for example nodel node2 node3 noClusterEnabled If you want to specify to OPatch the local node or remote nodes of a Real Application Clusters setup you can use the LOCAL NODE or REMOTE NODES session variable and specify the node name s SORACLE HOME oui bin runInstaller or setup exe ORACLE HOME oracle home location REMOTE NODES commaseparated nodelist for example nodel node2 node3 LOCAL NODE nodelist for example nodel gt If OPatch does not automatically detect a Real Application Clusters or its nodes you need to investigate into the contents of the inventory and ensure that they are complete Types of Real Application Clusters Patching Real Application Clusters can be patched in three different ways 8 16 Oracle Universal Installer and OPatch User s Guide Real Application Clusters Patching All Node Patching Rolling Patching a Minimum Downtime Patching All Node Patching In All Node Patching all the nodes in the Real Application Clusters are initially brought down and the patch is applied on all the nodes Then all the nodes are brought back up This mode is normally used for very critical patches and it leads to maximum downtime OPatch uses this mode as default for patch application unless specified otherwise The All Node Patching is explained with the help of an example be
55. storage patch id timestamp restore bat 3 OnUNIX source SORACLE HOME patch storage patch id timestamp make txt file if available in each node of the cluster as follows bin sh make txt 4 Apply the patch in each node in the cluster using the local flag SORACLE HOME OPatch opatch apply local Path To Patch Note Ensure that all the nodes use the same OPatch version 8 26 Oracle Universal Installer and OPatch User s Guide Recovering from a Failed Patching Session Using OPatch When I apply a patch on a Real Application Clusters setup and execute opatch Isinventory on the local node it returns nothing Cause This may be because you might have lost all the patches applied earlier Action Perform the following steps 1 Ensure that the environment variable ORACLE HOME is set properly in each node in the cluster Navigate to the SORACLE HOME patch storage patch id timestamp directory and execute the restore command in each node in the cluster For UNIX SORACLE HOME patch storage patch id timestamp restore sh For Windows SORACLE HOME patch storage patch id timestamp restore bat On UNIX source SORACLE HOME patch storage patch id timestamp gt make txt file if available in each node as follows bin sh make txt Apply the patch in each node using the local flag SORACLE HOME OPatch opatch apply local Path To Patch Note Ensure that all th
56. that you skip the log dbf listerner ora sqlnet ora and tnsnames ora from archiving Also ensure that you do not archive the following folders SORACLE_HOME lt Hostname gt _ lt SID gt S ORACLE HOME oc4j j2ee OC4J DBConsole Hostname SID The following is a sample exclude file list cat excludedFileList txt 7 2 Oracle Universal Installer and OPatch User s Guide Locating and Viewing Log Files install make log cfgtoollogs cfgfw CfmLogger 2006 07 13 12 03 16 PM log cfgtoollogs cfgfw oracle server 2006 07 13 12 03 17 PM log c gtoollogs cfgfw oracle network client 2006 07 13 12 03 18 PM log c gtoollogs cfgfw oracle has common 2006 07 13 12 03 18 PM log cf gtoollogs cfgfw oracle assistants server 2006 07 13 12 03 18 PM log cfgtoollogs cfgfw OuiConfigVariables 2006 07 13 12 03 18 PM log c gtoollogs cfgfw oracle sysman console db 2006 07 13 12 03 18 PM log cf gtoollogs cfgfw oracle sqlplus isqlplus 2006 07 13 12 03 18 PM log cfgtoollogs oui cloneActions2006 07 13 11 52 19AM log cfgtoollogs oui silentInstall2006 07 13 11 52 19AM log The following example shows how to archive and compress the source for various platforms To archive and compress tar cpf compress fv gt temp dir archiveName tar Z for aix or 0 eq hpux tar cpfX excludeListFile compress fv gt temp dir archiveName tar Z for remaining UNIX based systems Note Do not use the j
57. to connect to a node from a particular system you might see a message stating that the authenticity of the host could not be established Enter yes at the prompt to continue You should not see this message again when you connect from this system to that node If you see any other messages or text apart from the date then the installation can fail Make any changes required to ensure that only the date is displayed when you enter these commands You should ensure that any parts of login scripts that generate any output or ask any questions are modified so that they only act when the shell is an interactive shell 5 To ensure that X11 forwarding will not cause the installation to fail create a user level SSH client configuration file for the Oracle software owner user as follows a Using any text editor edit or create the oracle ssh config file b Make sure that the ForwardX11 attribute is set to no for example Host ForwardX11 no 6 You must run Oracle Universal Installer from this session or remember to repeat steps 2 and 3 before you start Oracle Universal Installer from a different terminal session Preventing Oracle Clusterware Installation Errors Caused by stty Commands During an Oracle Clusterware installation the Oracle Universal Installer uses SSH if available to run commands and copy files to the other nodes During the installation hidden files on the system for example bashrc or cshrc can cause
58. used on Oracle Real Application Clusters environments report Prints the action to the screen without executing it retry Specifies how many times the OPatch utility should try in case of an inventory lock failure silent Suppresses user interaction and defaults any answers to yes Real Application Clusters setup does not support this option verbose Prints output to the screen as well as to the log file version Option The version option shows the current version number of the OPatch utility The following syntax is used for this option Path to OPatch opatch version Real Application Clusters Patching A Real Application Clusters environment is the one in which active instances can concurrently execute transactions on a shared database Patching in a Real Application Clusters environment is slightly different compared to patching a single node Interim Patching using OPatch follows a similar approach as that performed by Oracle Universal Installer to detect Oracle home and nodes of a cluster OPatch interacts with the Oracle Universal Installer inventory through the Oracle Universal Installer Java SDK If OPatch detects a cluster it queries the inventory through Oracle Universal Installer to find the local node name and node list If your node list is not updated you can update it by using the updateNodeList flag of Oracle Universal Installer You can bypass remote actions using the 1ocal flag SORACLE HOME oui bin
59. value Complete Complete Typical Minimum Custom Custom Example INSTALL TYPE Complete Component oracle swd Sample Files D 5 Sample Response File Hodis Ra ee ae a eS install type Typical A a Name prod_home Datatype String Description Complete path where the product needs to be installed Example PROD HOME C ProductName Component oracle swd PA ee een tee BE O anaes Meee oe oracle swd prod_home lt Value Unspecified gt Piece A eee Pe ee i al re ek aia Name prod_home Datatype String Description Complete path where the product needs to be installed Example PROD HOME C ProductName Component oracle swd oui A inne Soe ee A A ee tee Nee ee Loic oracle swd oui prod_home lt Value Unspecified gt nc NR EE Name prod_home Datatype String Description Complete path where the product needs to be installed Example PROD HOME C ProductName Component oracle swd oui core We cine Sato A ee oracle swd oui core prod home Value Unspecified gt ER Name prod_home Datatype String Description Complete path where the product needs to be installed Example PROD HOME C ProductName Component oracle swd jre ELS oracle swd jre 1 3 1 0 0a prod home Value Unspecified gt A A ee E S Name prod_home Datatype String Description Complete path where the product needs t
60. 0 creating 3 7 detaching homes 3 8 inventory file 3 4 logs directory 3 5 removing 3 8 cloning about 7 1 clusterware 7 8 considerations 5 15 logfiles 7 3 Oracle Database 10 2 7 4 7 6 overview 7 2 cluister de installation 6 23 cluster 3 11 availability checking 6 20 creating clusterware home 6 12 deinstallation 6 21 detection 6 20 hardware requirements 6 3 installation 6 20 OPatch pre requisites 8 5 patching 8 16 all node patching 8 17 minimum downtime patching 8 18 rolling patching 8 17 types 8 16 Index setup and pre install config tasks UNIX 6 4 setup and pre install config tasks Windows 6 13 software requirements 6 3 system installation requirements 6 2 troubleshooting 6 27 updating nodes 3 11 cluster installation command line options 6 22 CLUSTER_NODES 4 9 clusters cloning important considerations 7 13 clusterware 6 2 cloning 7 8 creating home 6 12 de install 6 25 installation 6 15 troubleshooting 6 27 command line arguments 5 13 D debugging mechanisms B 1 DEFAULT_HOME_LOCATION parameter in ORAPARAM NI 5 4 DEFAULT_HOME_NAME parameter in ORAPARAM LINI 5 4 DEINSTALL_LIST 4 8 deinstallation dependees 5 11 silent 5 11 top level products 5 11 deinstalling from a cluster 6 21 Deinstalling Oracle Products 5 10 DEPENDENCY_LIST 4 9 disk space requirements 2 1 DISTRIBUTION parameter in ORAPARAM INI 5 3 E errors B 3 exceptions from
61. 1 0 2 0 Oracle Text 10 1 0 2 0 Oracle UIX 2 1 21 0 0a Oracle Ultra Search Common Files 10 1 0 2 0 Oracle Ultra Search Middle Tier 10 1 0 2 0 Oracle Software Patching Using OPatch 8 7 Pre requisite Checks in OPatch Oracle Ultra Search Server Oracle Universal Installer Oracle Wallet Manager Oracle XML Developer s Kit Oracle XML Runtime Components Oracle XML SQL Utility Oraclel0g Real Application Clusters Common Files Parser Generator Required Support Files 1 Perl Interpreter 5 6 1 0 2d PL SQL 1 PL SQL Embedded Gateway PL SQL Required Support Files Platform Required Support Files Precompiler Common Files Precompiler Required Support Files Pro C C RDBMS Required Support Files Recovery Manager regexp Required Support Files Sample Schema Secure Socket Layer Secure Socket Layer SQL Loader SQL Plus SQL Plus Required Support Files SQLJ Runtime SSL Required Support Files SSL Required Support Files for InstantClient Sun JDK Sun JDK extensions Utilities Common Files Visigenics ORB XDK Required Support Files A XO ax XC O XO PERE PE DR oooooooo I S IS MOS ID D S oooooooo z E L Class Generator for C Class Generator for Java Parser for C Parser for C Parser for Java Parser for Oracle JVM Parser for PL SQL L Transviewer Beans L Transx SQL Servlet here are 151 products installed in this Oracle Home Intermin patches 1 2363 E E E see E E N hO hO hO
62. 10 2 0 0 0 PLAT DEP NAME oracle winprod VER 10 2 0 0 0 P DEP NAME oracle DEP NAME oracle odbc VER 10 2 0 0 0 PLAT Linux gt DEP LIST DEP GRP DEP GRP NAME Required EXT NAME Required Dependencies TYPE R gt DEP LIST DEP NAME oracle rdbms install common VER 10 2 0 0 0 PLAT Linux gt lt DEP_LIST gt lt DEP_GRP gt DEP GRP NAME OptionalDecideNow EXT NAME Installed Components TYPE 0 gt DEP LIST lt lt DEP_LIST gt lt DEP_GRP gt lt DEP_GRP_LIST gt lt DEP_LIST gt lt DEP NAME oracle swd oui VER 10 1 0 2 0 PLAT Linux gt DEP NAME oracle swd opatch VER 10 1 0 2 0 PLAT Linux gt lt DEP NAME oracle dbjava jdbc12 VER 10 2 0 0 0 PLAT Linux gt DEP NAME oracle rdbms VER 10 2 0 0 0 DEP GRP NAME Optional HOME _ IDX 1 gt DEP NAME oracle options VER 10 2 0 0 0 DEP GRP NAME Optional HOME Sample Files D 9 Sample Components File e network VER 10 2 0 0 0 DEP GRP NAME Optional HOME e sysman console db VER 10 2 0 0 0 DEP_GRP_ e rdbms oci VER 10 2 0 0 0 DEP GRP NAME Optional HOME e precomp VER 10 2 0 0 0 DEP GRP NAME Optional HOME e xdk VER 10 2 0 0 0 DEP GRP NAME Optional HOME e sqlplus isqlplus VER 10 2 0 0 0 DEP GRP NAME Optional e odbc VER 10 2 0 0 0 DEP GRP NAME Optional HOME _ e rdbms install common VER 10 2 0 0 0 DEP _GRP_ e swd oui VER 10 2 0 0 0 DEP GRP N
63. 10g_2 The ORACLE_HOME path is taken first from the command line if it is specified else from the response file if specified If not then the ORACLE_HOME environment variable is used If neither is specified the following conventions are used for the path a IfFORACLE_BASE has not been specified in the environment SHOME product version short name counter Where short name is the short product name for example Db and counter is picked up based on the existence of the files For example the ORACLE HOME path could be HOME product 10 2 0 Db 1 a JIfORACLE BASE has been specified in the environment SORACLE BASE product version short name counter For example SORACLE BASE product 10 2 0 Db 1 The instance related directory location is accepted first from the response file if specified If not the oradata flash recovery area admin and doc directories are created under ORACLE BASE If ORACLE BASE has not been specified the default is the SORACLE HOME oradata directory If the parent directory of the Oracle home is writable then these directories would be created in the parent directory of the Oracle home Multiple Oracle Homes Target Home Oracle Universal Installer supports the installation of several active Oracle homes on the same host as long as the products support this at run time You can have multiple versions of the same product or different products running from different Oracle hom
64. 38 41 gt LANGSET IDX 36 BITSET 0 23 gt lt LANGSET IDX 37 BITSET gt lt LANGSET IDX 38 BITSET 0 1 4 16 22 23 24 35 38 41 gt lt LANGSET IDX 39 BITSET 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 25 26 27 28 29 30 31 32 33 34 36 37 38 39 40 42 43 44 gt lt LANGSET IDX 40 BITSET 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 gt LANG IDX MAP PLAT IDX MAP PLAT LIST 46 gt PLAT IDX MAP DST IDX MAP DST LIST SINVENTORY LOCATIONS ORACLE HOME s TMPDIR LOC s TEMP LOC gt DST IDX MAP DEP GRP LIST Options TYPE 0 gt 0 0 PLAT Linux LAT Linux 0 0 0 PLAT Linux 1 0 2 0 PLAT Linux PLAT Linux 0 0 0 PLAT Linux Linux gt Linux gt LAT ALL PLATFORMS gt sqlplus isqlplus VER 10 2 0 0 0 PLAT Linux gt DEP GRP NAME Optional EXT NAME Product DEP LIST DEP NAME oracle rdbms VER 10 2 0 DEP NAME oracle options VER 10 2 0 0 0 P DEP NAME oracle network VER 10 2 DEP NAME oracle sysman console db VER 10 DEP NAME oracle rdbms oci VER 10 2 0 0 0 DEP NAME oracle precomp VER 10 2 DEP NAME oracle xdk VER 10 2 0 0 0 PLAT DEP NAME oracle doc VER
65. 4 Variable Lookup Order miii A eee tee a te ad trees 4 4 Setting the Recommendation Value eene 4 4 Comments ia iii ii pu dene a dae e a ed reta rip 4 5 lon nas 4 5 Response Fil Parameters eren rettet Ae qiie i inter E e ene ates pe teu eres 4 5 Installing Using a Response File 1 0 ieeee eee eee nennen 4 11 Sp citying a Response Files ccc toit trennt te reete dieto iet skate niat tend 4 11 Optional Parameters When Specifying a Response File 4 12 Setting Response File Variables From the Command Line esses 4 12 Specifying the Value of a Session Variable sss 4 12 Specifying the Value of a Component Variable sss 4 13 Installing Products Using Oracle Universal Installer Checking Pre Requisites Before Installation sees eee een 5 1 Installing Oracle Products sse eene e eene nnne nennen nennen 5 2 Getting Help While Installing Oracle Products sse eee eene 5 2 About the ORAPARAM INI File essent th erret rnnt tnntnn trenes tetra tnnt 5 3 Modes of Installation ie nee eh te ee e eee e Le t an Era Gaine an 5 5 Installation Media xa A e e e deed and 5 6 Installing from a Single CD ROM sse e eee e enne nennen nennen 5 6 Installing from Multiple CD ROMS ssseeeeeeee eene ee een ene nennen nnne 5 7 TEMP ZTMP D
66. 4 BITSET 7 gt lt LANGSET IDX 5 BITSET 9 gt lt LANGSET IDX 6 BITSET 16 gt lt LANGSET IDX 7 BITSET 10 gt lt LANGSET IDX 8 BITSET 25 29 38 gt lt LANGSET IDX 9 BITSET 17 gt lt LANGSET IDX 10 BITSET 1 gt lt LANGSET IDX 11 BITSET 19 gt lt LANGSET IDX 12 BITSET 22 gt lt LANGSET IDX 13 BITSET 18 gt lt LANGSET IDX 14 BITSET 23 gt lt LANGSET IDX 15 BITSET 24 gt lt LANGSET IDX 16 BITSET 30 gt lt LANGSET IDX 17 BITSET 11 gt lt LANGSET IDX 18 BITSET 31 gt lt LANGSET IDX 19 BITSET 4 32 gt lt LANGSET IDX 20 BITSET 4 gt lt LANGSET IDX 21 BITSET 33 gt lt LANGSET IDX 22 BITSET 34 gt lt LANGSET IDX 23 BITSET 39 gt lt LANGSET IDX 24 BITSET 15 gt lt LANGSET IDX 25 BITSET 36 gt lt LANGSET IDX 26 BITSET 40 gt D 8 Oracle Universal Installer and OPatch User s Guide Sample Components File lt LANGSET IDX 27 BITSET 42 gt lt LANGSET IDX 28 BITSET 35 41 gt lt LANGSET IDX 29 BITSET 32 gt lt LANGSET IDX 30 BITSET 38 gt lt LANGSET IDX 31 BITSET 35 gt lt LANGSET IDX 32 BITSET 41 gt lt LANGSET IDX 33 BITSET 0 1 16 23 gt lt LANGSET IDX 34 BITSET 25 gt lt LANGSET IDX 35 BITSET 0 1 4 6 16 18 22 23 24 25 29 35
67. 9 1 Oracle Universal Installer is translated into these languages sss 9 2 C 1 Options in Oracle Universal Installer esee eee ene C 1 C 2 Command line variables in Oracle Universal Installer eese C 4 Xii Audience Preface This manual describes how to manage Oracle and third party software using the Oracle Universal Installer and OPatch This guide provides instructions for installing setting up and starting the Oracle Universal Installer software It also provides instructions on cloning and patching Oracle software This manual is intended for users installing Oracle software products using the Oracle Universal Installer and covers only the generic functionality and concepts Use this manual in conjunction with any product specific installation guides available with your Oracle product Documentation Accessibility Our goal is to make Oracle products services and supporting documentation accessible with good usability to the disabled community To that end our documentation includes features that make information available to users of assistive technology This documentation is available in HTML format and contains markup to facilitate access by the disabled community Accessibility standards will continue to evolve over time and Oracle is actively engaged with other market leading technology vendors to address technical obstacles so that our documentation ca
68. AME OptionalDecideNow e swd opatch VER 10 2 0 0 0 DEP GRP_ lDecideNow HOME IDX 1 gt e dbjava jdbc12 VER 10 2 0 0 0 DEP GRP_ ionalDecideNow HOME _IDX 1 gt IDX 1 gt lt DEP NAME oracl IDX 1 gt lt DEP NAME oracl NAME Optional HOME IDX 1 gt DEP NAME oracl IDX 1 gt DEP NAME oracl IDX 1 gt DEP NAME oracl IDX 1 gt DEP NAME oracl HOME _IDX 1 gt DEP NAME oracl IDX 1 gt DEP NAME oracl NAME Required HOME IDX 1 gt DEP NAME oracl HOME _IDX 1 gt DEP NAME oracl NAME Optiona DEP NAME oracl NAME Opt DEP LIST REF LIST C F lt REF_LIST gt INST TYPE LIST INST TYPE NAME INST TYPE LIST lt FILESIZEINFO gt lt REF NAME oracle server VER 10 2 0 0 0 HOME IDX 1 gt EE NAME ID EE DESC ID EE DESC gt DEST VOLUME INVENTORY LOCATIONS SPACE REQ 2000 gt DEST VO LUME SORACLE HOMES SPACE REQ 98465 gt DEST VOLUME s TMPDIR LOC SPACE REQ 0 gt DEST VO lt FILESIZEINFO gt OMP gt LUME s TEMP LOC SPACE REQ 0 gt D 10 Oracle Universal Installer and OPatch User s Guide A ACCEPT_LICENSE_AGREEMENT 4 10 Adding 1 2 all node patching 8 17 APPLTOP_STAGE parameter in ORAPARAM NI 5 5 BOOTSTRAP parameter in ORAPARAM INI 5 5 BOOTSTRAP_SIZE parameter in ORAPARAM INI 5 5 C Central Inventory corruption 3 1
69. Cluster for Mass Deployment Installing Product Software on a Cluster Patchsets and Upgrades PostInstallation Tasks De installing Real Application Clusters Software Troubleshooting Real Application Clusters Oracle Clusterware Installation Oracle Universal Installer and Real Application Clusters The Oracle Universal Installer facilitates the installation of Oracle Clusterware In most cases you use the graphical user interface GUI provided by the Oracle Universal Installer to install the software However you can also use the Oracle Universal Installer to complete non interactive or silent installations without using the GUI The Oracle inventory maintains records of Oracle software versions and patches Each installation has a Central Inventory where the Oracle home is registered Oracle software installations have a local home directory whose path location is recorded in the Central Inventory The local inventory directory for each Oracle software installation contains a list of components and applied interim patches associated with that software Because your Oracle software installation can be corrupted by faulty inventory information the Oracle Universal Installer must perform all read and write operations on Oracle inventories Ensure that you do not modify files in the Central Inventory or the Oracle home inventory Cluster Environment Installations 6 1 General System Installation Requirements for Real Appl
70. DES existing node new node LOCAL NODE existing node On the new node run NETCA to add a listener Oracle Software Cloning Using Oracle Universal Installer 7 17 Adding Nodes Using Cloning in Oracle Real Application Clusters Environments 5 From the node that you cloned run DBCA to add the database instance to the new node Cloning Script Variables and their Definitions This section describes the clone p1 script variables and their definitions for UNIX and Linux systems and Windows systems under the following topics a Variables for UNIX and Linux System Based Environments Variables for Windows System Based Environments Variables for UNIX and Linux System Based Environments Table 7 3 describes the variables that can be passed to clone p1 with O option for UNIX and Linux systems Table 7 3 UNIX and Linux System Based Variables for clone pl with O option Variable Datatype Description storageTypeVDSK Integer This variable is set to 1 Not Redundant or 2 Redundant after the dialog returns n_storageTypeOCR Integer This variable is set to 1 Not Redundant or 2 Redundant after the dialog returns S clustername String This variable contains user entered cluster name information allow a maximum of 15 characters VdskMirrorNotRegd String This variable is not required in the Oracle Cluster Registry OCR dialog CLUSTER CONFIGURATION String This variable is used to pass the cluster configuration file FI
71. Files Oracle Code Editor L 2 1 0 0 Oracle Containers for Java 1 Oracle Core Required Support Files Oracle Data Mining Ch LXX eerrre CP XU So O DS AO AS OO SO ES RRERRRRRRAR PR RAR RA pp w Ws nd N N hO hO hO hO hO PO hbO hO h2 CO PhO FO r2 ho ho FO CD F2 F2 FO FO ho FO FO F20 FO ho ho FO F2 FO PO NO FNOo c PF P P DN P PRES EA Cr XX XX AAA CroO BA EOD Xe A OA S o ex CA EA EX cq Qu ux exo A CIA cx EX ox Cn EY cU CM Xr QUO EE 4X xXx ue cv ue RRERRRRARRRRRARADA COR HH OO CB OO 0 CeO II C Ch Ch CH AO AO A O SO Ch OO O QOO O O Se OA C 000 00000 0 o t2 Bau ooo 8 6 Oracle Universal Installer and OPatch User s Guide Pre requisite Checks in OPatch Oracle Database 10g 0 120 52 0 Oracle Database 10g 10 1 0 2 0 Oracle Database User Interface 2 2 13 0 0 Oracle Database Utilities 10 1 0 2 0 Oracle Development Kit 0 1 0 2 0 Oracle Display Fonts 9 0 2 0 0 Oracle Enterprise Manager 10g Database Control 0 1 0 2 0 Oracle Enterprise Manager Console DB 10 1 0 2 0 Oracle Extended Windowing Toolkit 3 4 28 0 0 Oracle Globalization Support 10 1 0 2 0 Oracle Help For Java 4 2 5 0 0 Oracle Help for the Web 1 1 7 0 0a Oracle Ice Browser 5 223 3 50 Oracle interMedia 10 1 0 2 0 Oracle interMedia Annotator 10 1 0 2 0 Oracle interMedia Audio 10 1 0 2 0 Oracle interMedia Client Compatibility Files 10 1 0 2 0 Oracle interMedia Client Demos 10 1 0 2 0 Oracle interMe
72. HOME to E Universal oracle P P S value value value value Setting of PRE REQUISITE to true Setting of PROD HOME to E Universal oracle Setting of SHOW COMPONENT LOCATIONS PAGE to Component ShowCompLocs Entering component Locations Page SHOW COMPONENT LOCATIONS PAGE oracle swd installation true Summary Page ShowSummary SHOW SUMMARY PAGE null Global Settings Source E bootstrap cd Disk1 stage products jar Destination E VUniversal Text files are also written in the t emp directory temp VOraInstallVoraInstall timestamp err temp VOraInstallVoraInstall timestamp out swd swd swd true 0 gt 0 90 0 90 of ORACLE HOME KEY to Software ORACLE HOME3 of ORACLE HOME FOLDER to Oracle Universal gt 0 0 912 453 615 50 601 295 87 610 198 918 913 162 2 30 21 10021 111 90 168 888 OH 0 0 912 453 615 50 601 168 888 OH 0 gt 0 0 912 453 615 50 601 168 888 OH 0 If a problem occurs during the installation you should look for Java exceptions in these files B 2 Oracle Universal Installer and OPatch User s Guide Other Tips Oracle Universal Installer Errors Refer to the release notes for information on any Oracle Universal Installer limitations for a particular version Other Tips The most common Oracle Universal Installer errors are listed below Out of temp space Make sure you have enough space in th
73. If you use this argument then the script prints the help for the clone script You can also pass values in the command line by using the SORACLE_ HOME clone config cs properties file You can enter values in the line clone_command_line lt value gt The values entered here are appended to the OUI command line which is run to perform the clone operation For example to specify a non default location for the Oracle inventory file on UNIX system computers you can add the following line to the cs properties file clone command line invptrloc private oracle oralnst loc Note To specify multiple arguments separate each argument with a space Oracle Software Cloning Using Oracle Universal Installer 7 5 Cloning an Oracle Database 10 2 Oracle Home OUI starts and records the cloning actions in the cloneActionstimestamp log file This log file is normally located in c Program Files Oracle Inventory logs file in Windows For Linux based systems you can find this file in the lt inventory location gt logs directory To determine the location of the central inventory refer to section Locating and Viewing Log Files To configure the connection information for the new database run Net Configuration Assistant On Windows system computers select Start gt Programs gt Oracle HOME NAME gt Configuration and Migration Tools gt Net Configuration Assistant On Linux based systems set the ORACLE_HOME varia
74. If you want OPatch to error out if the current patch bugs to fix is a superset or the same as an installed patch bugs fixed in the Oracle home directory you can use the no_bug_superset flag OPatch opatch apply no bug superset Path To Patch The following is a sample output of the message you would get when you use the no bug superset flag Oracle interim Patch Installer version 10 2 0 0 0 Copyright c 2005 Oracle Corporation All rights reserved Oracle Home home oracle TEST product 10 2 0 db 1 Central Inventory home OUIHome Opatch from home oracle TEST product 10 2 0 db 1 oraInst loc OPatch version 10 2 0 0 0 OUI version 10 2 0 0 0 Oracle Software Patching Using OPatch 8 19 About Patch Conflicts OUI location home oracle TEST product 10 2 0 db 1 oui Log file location home oracle TEST product 10 2 0 db _1 cfgtoollogs opatch opatch 2005 May 25 14 03 33 IST Wed log ApplySession applying interim patch 102000 to OH home oracle TEST product 10 2 0 db 1 Apply Session failed ApplySession failed to prepare the system Interim patch 102000 is a superset of the patch es 102000 in OH home oracle TEST product 10 2 0 db 1 System intact OPatch will not attempt to restore the system OPatch failed with error code 73 Bug Conflict If a set of bugs to be fixed by the current interim patch includes some but not all bugs already fixed by one or more previously installed interim patches it is call
75. LE information which is the same file as that specified during installation You may use this file instead of s1_tablelist This file contains the public node name private node name and virtual host name which is white space delimited information for the nodes of the cluster For example nodel nodel priv nodel vip node2 node2 priv node2 vip Note that if you are cloning from an existing installation then you should use s1_tableList Do not specify this variable for a clone installation ret PrivIntrList String List This is the return value from the Private Interconnect Enforcement table This variable has values in the format Interface Name Subnet Interface Type The value for Interface Type can be one of the following 1 to denote public 2 to denote private a 3 to denote Do Not Use For example eth0 10 87 24 0 2 eth1 140 87 24 0 1 eth3 140 74 30 0 3 You can run the ipconfig command to identify the initial values from which you can determine the entries for ret_ PrivIntrList 7 18 Oracle Universal Installer and OPatch User s Guide Adding Nodes Using Cloning in Oracle Real Application Clusters Environments Table 7 3 Cont UNIX and Linux System Based Variables for clone pl with O option Variable Datatype Description Sl tableList String List Set the value of this variable to be equal to the information in the cluster configuration information table This file contains a comma separated l
76. M INI File The oraparam ini file is Oracle Universal Installer s initialization file It should be located in the same directory as the Oracle Universal Installer executable file setup exe or runInstaller sh Oracle DISTRIBUTION TRUE SOURCE stage products xml LICENSE LOCATION JRE LOCATION stage Components oracle swd jre 1 4 2 0 0 1 DataFiles JRE MEMORY OPTIONS mx150m DEFAULT HOME LOCATION oracle product 10 2 0 db DEFAULT HOME NAME OraDbl0Og home NO BROWSE net NLS ENABLED TRUE BOOTSTRAP TRUE PREREQ CONFIG LOCATION stage prereq OUI VERSION 10 2 0 0 0 SHOW_HOSTNAME ALWAYS SHOW shows the hostname panel always SHOW_HOSTNAME NEVER_ SHOW does not the hostname panel SHOW HOSTNAME CONDITION SHOW shows the hostname panel on condition SHOW HOSTNAME NEVER SHOW 4 THIN JDBC FILENAME is optional and defaults to classes12 jar The value specified for this should be packaged with OUI and should be relative to OUI expanded stagedir jlib HIN JDBC FILENAME classes12 jar JRE OSDPARAM is to set OS dependent param for JRE mainly for native VM in 3 1 JRE OSDPARAM is optional and should be set to native for the JRE s that support native VM mainly for Unix platforms in JRE 1 3 1 For JRE 1 4 1 this should be set to empty or the type of VM that is supported client server The default value is native in UNIX platforms that supports native VM Unix supporting native JRE OSDPARAM native Unix NOT supporting
77. ME OraDb10g homel LOC home oracle dbi0g product 10 2 0 db 1 TYPE 0 IDX 1 gt HOME NAME OUIHome LOC D OraHomel TYPE 0 IDX 1 gt HOME NAME 0UlHome12 LOC D OraHomel2 TYPE 0 IDX 3 gt HOME NAME OUIHomel LOC D homes OraHome1 TYPE 0 IDX 4 gt HOME NAME 0UIHome11 LOC d homes ouill TYPE 0 IDX 2 REMOVED T gt HOME LIST INVENTORY Note Oracle recommends that you do not remove or manually edit this file as it could affect installation and patching Logs Directory The Central Inventory contains installation logs in the following location central inventory location logs The logs directory contains the logs corresponding to all installations carried out on that node You will also find a copy of the installation log in the SORACLE_ HOME cfgtoollogs directory The installation logs for an installation are identified by the timestamp associated with the log files These files are generally saved in the following format Name of Action gt lt YYYY MM DD_HH MM SS AM PM gt log For example consider an attachHome operation performed on 17th May 2005 at 6 45AM The log file for the same would be created as follows AttachHome2005 05 17 06 45 00AM log Note The installation logs do not contain any errors or failures Oracle Home Inventory Oracle home inventory or local inventory is present inside each Oracle home It contains infor
78. OME LOCATION OF ORACLE HOME gt You can use REMOVE HOMES variable to specify the location of the Oracle home to be removed When you use this variable the de installation happens for the specified components and the Oracle home gets removed from the Central Inventory This is equivalent to selecting an Oracle home and clicking Deinstall in the GUI The syntax is as follows runInstaller deinstall ORACLE HOME LOCATION OF ORACLE HOME REMOVE _ HOMES LOCATION OF ORACLE HOME TO BE REMOVED You can also use removeallfiles flag with the REMOVE HOMES variable to completely de install the components remove the Oracle home from the Central Inventory and delete the Oracle home directory The syntax is as follows runInstaller deinstall ORACLE HOME LOCATION OF ORACLE HOME gt REMOVE _ HOMES LOCATION OF ORACLE HOME TO BE REMOVED removeallfiles For detailed instructions on de installing an Oracle product refer to the respective Oracle product installation guide De installing Oracle Product Software on Windows The following steps describe how to use Oracle Universal Installer to remove Oracle software from an Oracle home on Windows systems Note Always use Oracle Universal Installer to remove Oracle software Do not delete any Oracle home directories without first using Oracle Universal Installer to remove the software 1 Stop all the Oracle services running in this Oracle home 6 24 Oracl
79. Oracle Universal Installer and OPatch User s Guide 10g Release 2 10 2 for Windows and UNIX B16227 05 January 2008 ORACLE Oracle Universal Installer and OPatch User s Guide 10g Release 2 10 2 for Windows and UNIX B16227 05 Copyright O 1996 2008 Oracle All rights reserved Primary Author Sivakumar Seshadri Contributing Author Phil Choi Contributor Sudip Datta Debashis Saha Pradeep Kumar Itharaju Bharat Paliwal Nitin Jerath Shamik Ganguly Jyotsna Gangwar The Programs which include both the software and documentation contain proprietary information they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright patent and other intellectual and industrial property laws Reverse engineering disassembly or decompilation of the Programs except to the extent required to obtain interoperability with other independently created software or as specified by law is prohibited The information contained in this document is subject to change without notice If you find any problems in the documentation please report them to us in writing This document is not warranted to be error free Except as may be expressly permitted in your license agreement for these Programs no part of these Programs may be reproduced or transmitted in any form or by any means electronic or mechanical for any purpose If the Programs are delivered to the United States Government or
80. Oracle Cluster Volume service Then start the Oracle Cluster Volume service 8 From a 9 2 Real Application Clusters Oracle home on each node run the command ORACLE HOME bin gsdservice exe install Then start the OracleGSDService 9 On each node copy sSYSTEMROOT system32 osd9i orafencedrv sys SSYSTEMROOTS system32 drivers orafenceservice sys Converting Single Instance Nodes to Real Application Clusters You can convert single instance nodes to Real Application Clusters using Oracle Universal Installer For details on converting single instance nodes to Real Application Clusters refer to the Oracle Clusterware and Oracle product Real Application Clusters installation guide for your platform Troubleshooting Real Application Clusters Oracle Clusterware Installation The following flowchart explains how you can solve problems associated with the Real Application Clusters or Oracle Clusterware installation Cluster Environment Installations 6 27 Troubleshooting Real Application Clusters Oracle Clusterware Installation Figure 6 1 Troubleshooting Real Application Clusters Oracle Clusterware Installation The Central Inventory is not updated correctly On the node run attachHome as follows 0H oui bin runinstaller or setup exe gt attachHome ORACLE_HOME lt oracle home location gt ORACLE HOME NAME oracle home name gt CLUSTER NODES comma separated nodelist gt LOCAL NODE local node noClusterEnabled
81. PE ES uui ea ce o FROM_LOCATION stage products jar A A A A A ee Name FROM LOCATION CD LABEL Datatype String Description This variable should only be used in multi CD installations It includes the label of the Compact Disk where the file products jar exists The label can be found in the file disk label in the same directory as products jar Example FROM LOCATION CD LABEL CD Label RE FROM LOCATION CD LABEL LABEL1 e Name NEXT SESSION RESPONSE Datatype String Description Optionally specifies the full path of next session s response file If only a file name is specified the response file is retrieved from lt TEMP gt oraInstall directory This variable is only active if NEXT SESSION is set to true Example NEXT SESSION RESPONSE nextinstall rsp A A A A A A A ole NEXT SESSION RESPONSE Value Unspecified gt J ET Name ORACLE HOME Datatype String Description Complete Location of the Oracle Home Example ORACLE HOME C OHOME1 A A A ler ORACLE HOME Value Required Hee ee A A O A O PTM Rt Name ORACLE HOME NAME Datatype String Description Oracle Home Name Used in creating folders services Example ORACLE HOME NAME OHOME1 E ORACLE HOME NAME OHOME1 Pie SO MI AMI Hc pM E Ae aie m o Name TOPLEVEL COMPONENT Datatyp
82. PTIONAL CONFIG TOOL PAGE 4 8 SHOW RELEASE NOTES 4 8 SHOW ROOTSH CONFIRMATION 4 8 SHOW SPLASH SCREEN 4 8 SHOW SUMMARY PAGE 4 8 SHOW WELCOME PAGE 4 8 silent installation definition 4 1 reasons for performing 4 2 SOURCE parameter in ORAPARAM INI 5 3 SSH configuration 6 6 starting OUI 5 12 stty commands 6 8 I Tarantella B 4 target home 3 3 TEMP TMP directory 5 7 Index 4 TOPLEVEL_COMPONENT 4 8 troubleshooting Exceed B 4 Reflection X B 4 Tarantella B 4 tips B 3 U UNIX special instructions 5 8 UNIX_GROUP_NAME 4 8 upgrades 1 2 USE_BUILD_NUMBER parameter in ORAPARAM INL 5 5 user equivalency 6 7 utilities 1 1 actions performed 1 1 V variable values 4 4 W Web installation 5 8
83. Phase and Cloning Phase 2 If you do not have a shared Oracle Database home then on the new node go to the SORACLE HOME clone bin directory and run the following command where existing node is the name of the node that you are cloning new node2 and new node3 are the names of the new nodes and Oracle home name is the name of the Oracle home perl clone pl O CLUSTER NODES existing node new node2 new node3 O LOCAL NODE new node2 ORACLE HOME SORACLE HOME ORACLE HOME NAME Oracle home name O noConfig If you have a shared Oracle Database home then append the cfs option to the command example in this step and provide a complete path location for the cluster file system 3 Run the following command on the existing node from the ORACLE_ HOME oui bin directory where existing node is the name of the original node that you are cloning and new node2 and new node3 are the names of the new node runInstaller updateNodeList ORACLE HOME ORACLE HOME CLUSTER _ NODES existing node new node2 new node3 4 Onthe new node go to the SORACLE HOME directory and run the following command root sh 5 Onthe new node run Net Configuration Assistant NETCA to add a listener 6 From the node that you cloned run Database Configuration Assistant DBCA to add the new instance Cloning Oracle RAC Environments on Windows System Based Environments These procedures assume that you have successfully installed and configured
84. RE Her NARI Ne e e i eie red 5 15 About Oracle Universal Installer Log Files eese eee nn 5 15 Cluster Environment Installations Oracle Universal Installer and Real Application Clusters sese 6 1 Oracle Cluster Ware tacon tenen hon D AR orale 6 2 Installed Real Application Clusters Components sess eene 6 2 General System Installation Requirements for Real Application Clusters 6 2 Hardware Requirements for Real Application Clusters Setup sss 6 3 Software Requirements for Real Application Clusters Setup sse 6 3 Cluster Setup and Pre Installation Configuration Tasks for Real Application Clusters 6 4 Pre Installation Tasks for Real Application Clusters on UNIX eese 6 4 Logging In to the System as root ssssssseeeeseee eene en 6 4 Creating Required UNIX Groups and Users sese eene 6 5 Creating Identical Users and Groups on Other Cluster Nodes sss 6 5 Identifying the User and Group IDs esses eee nennen 6 6 Creating the User and Groups on the Other Cluster Nodes sss 6 6 Configuring SSH on all Cluster Nodes sss eee emen nne 6 6 Configuring SSH on Cluster Member Nodes sse eee 6 6 Enabling SSH User Equivalency on Cluster Member Nodes sss 6 7 Preventing Oracle Cluster
85. SE LOCATION parameter in ORAPARAM INI 5 4 LICENSE TITLE parameter in ORAPARAM NI 5 4 LOCATION FOR DISK2 4 6 log files 5 15 memory requirements 2 1 minimum downtime patching 8 18 modes of installation 1 4 5 5 clusters 1 4 interactive 1 4 5 5 silent 1 4 5 6 suppressed 1 4 5 6 multi CD support 4 6 5 7 multiple Oracle homes 3 3 N NEXT_SESSION 4 7 NEXT_SESSION_ON_FAIL 4 7 NEXT_SESSION_RESPONSE 4 7 NLS_ENABLED parameter in ORAPARAM INI 5 5 NLS_ENABLED variable 9 1 NO_BROWSE parameter in ORAPARAM INI 5 4 O online help 5 2 OPatch about 8 3 apply Option 8 11 backup and recovery 8 10 bug conflict 8 20 bug superset 8 19 combination conflict 8 20 conflict detection 8 22 conflicts 8 19 bug conflict 8 20 bug superset 8 19 combination conflict 8 20 detection 8 22 file conflict 8 20 resolution 8 22 types 8 19 environment variables 8 29 features 8 3 file conflict 8 20 logging and tracing 8 22 logging levels 8 23 Isinventory Option 8 12 pre requisites 8 4 query Option 8 14 recovering from failure 8 23 requirements 8 3 rollback Option 8 14 syntax 8 10 troubleshooting 8 30 types of conflicts 8 19 version Option 8 16 Optimal Flexible Architecture characteristics of OFA 3 13 directory structure 3 13 OPTIONAL_CONFIG_TOOLS 4 9 Oracle homes 1 3 creating 3 1 default homes 3 2 detaching homes 3 8 directory structure UNIX 3 13 directory structure
86. This command line argument can be used on Oracle Real Application Clusters environments Specifies that the OPatch utility need not update the files in the system It will only update the inventory This option does not perform any make operation in the patch It can be used during multiple patch removal and to perform the compilation step only once Specifies the Oracle home directory to use instead of the default directory Marks the end of the post option This command line argument is used with the post command line argument If this argument is not used then everything after post is passed into post Marks the end of the pre options This command line argument is used with the pre command line argument If this argument is not used then everything after pre is passed into pre Specifies the valid patch directory area The utility will use the command types found in the patch directory to identify which commands are used for the current operating system Specifies the parameters to be passed inside the post script besides the standard parameters Specifies the parameters to be passed inside the pre script besides the standard parameters Oracle Software Patching Using OPatch 8 15 Real Application Clusters Patching Table 8 5 Cont rollback option command line arguments Command line Argument Description remote_nodes Specifies to the OPatch utility the list of remote nodes This command line argument can be
87. Windows 3 13 introduction 3 1 multiple homes 3 3 removing 3 2 5 10 restoring 8 22 ORACLE section of ORAPARAM INI 5 3 ORACLE_BASE 3 3 ORACLE_BASE directory 3 13 ORACLE_HOME 4 7 ORACLE_HOME directory 3 13 ORACLE_HOME_NAME 4 7 ORAPARAM INI file APPLTOP_STAGE parameter 5 5 BOOTSTRAP parameter 5 5 BOOTSTRAP_SIZE parameter 5 5 DEFAULT_HOME_LOCATION 5 4 DEFAULT_HOME_NAME parameter 5 4 DISTRIBUTION parameter 5 3 IMAGES section 5 5 JRE_LOCATION parameter 5 4 JRE_MEMORY_OPTIONS parameter 5 4 LICENSE_LOCATION parameter 5 4 LICENSE_TITLE parameter 5 4 NLS_ENABLED parameter 5 5 NO_BROWSE parameter 5 4 ORACLE section 5 3 OUI_LOCATION parameter 5 4 OUI_VERSION parameter 5 4 REGISTRATION_KEY 5 5 REGISTRATION_URL 5 5 SOURCE parameter 5 3 USE_BUILD_NUMBER parameter 5 5 oraparam ini file 5 3 sample D 7 OUI cloning 5 15 command line arguments 5 13 errors B 3 exit codes 5 14 inventory 3 3 log files 5 15 running 5 12 starting 5 12 OUI_LOCATION parameter in ORAPARAM NI 5 4 OUI_VERSION parameter in ORAPARAM INI 5 4 out of temp space error B 3 P patchsets 1 2 pre requisite checks 5 1 command line parameters 5 2 product language selections 9 1 R record mode 4 3 Reflection X B 4 REGISTRATION_KEY parameter in ORAPARAM NI 5 5 REGISTRATION_URL parameter in ORAPARAM NI 5 5 REMOVE_HOMES 4 8 removing Oracle homes 3 2 5 10 requirements disk space 2 1 memory 2 1
88. a oru piod 1 2 lisa ala 1 2 Upgrades and Patchsets enr ee eem qur gh o n Pied 1 2 Adding Nodes ueteri e eed eee pe dii en a tenete gv in baee a 1 2 Inventory Operations inrsin inanis enei ioe aa e nnne nennt nnne nnne nen nennen nennen nnn 1 3 Attaching Oracle Hommes eio ett iere ttu recette dee tee dia g eren 1 3 Detaching Oracle Homes evi iii ete qa eed 1 3 Updating Node List eite leonem epe den e tetas ie etant 1 3 Major Entities i ood ete aida 1 3 INVENTORY ensalada inet bie fie S orita 1 3 Oracle Foie RII met od atat tititeme ten 1 3 Modes ofInstallation seien e e Re eH RU ERR EU enanos 1 4 Interactive Mode Ee eme E ere e ens 1 4 Suppressed Interactiye Mode meiosis dde e 1 4 Silent Mode de a eec 1 4 Cluster Install Mode titi o e o e het ee ei b diee 1 4 2 Introduction to Oracle Universal Installer System Re QUITE MENTES cc ci co rentre me e ti eie t ed p e E WR Pee 2 1 Key Features ore re ee ege eee eme te eet ee n er er eet te rn eee rr deep etit dene d 2 1 Managing Oracle Homes Introduction to Oracle HOMES socne neret rnnt rnnt nennen rra nine 3 1 Installing the Oracle Product sese eee nennen nnne nennen nennen 3 1 Removing Oracle Homes nhe eee eee ee ede bee shale 3 2 Determining the Default Oracle Home sse eene enne n nennen 3 2 Multiple Oracle Homes eren eene e etie tatem ne d dee ca reete 3 3 lLargetlLlome scenineenmigdosedamag
89. a particular word or phrase in the online help Note Only generic help topics are available in the navigator or table of contents Custom help topics can only be accessed by clicking the Help button on the dialogs or windows they describe About the ORAPARAM INI File The oraparam ini file is the initialization file for Oracle Universal Installer This file includes information that defines the behavior of certain Oracle Universal Installer features Each product installation possesses a unique oraparam ini file In general you should not have to edit the contents of this file but in certain situations understanding the contents of this file can help you troubleshoot problems and understand certain aspects of the Oracle Universal Installer product For example for most installations Oracle Universal Installer provides a default value on the File Locations page that points to the location of the product s installation kit or stage This default value is stored in the oraparam ini file The oraparam ini file also identifies the location of the Java Runtime Environment JRE required for the installation In the staging area it is located in the same directory as the executable file For example For UNIX systems cd Product Shiphome Location install solaris runInstaller cd Product Shiphome Location install solaris OraParam ini For Windows systems cd lt Product_Shiphome_Location gt install win32 setup ex
90. acle Universal Installer and OPatch User s Guide Sample Response File Datatype Boolean Description Set to true if the Welcome page in the installer needs to be shown Example SHOW WELCOME PAGE false He Soccer A A Ml se ete es ee eee eee ee eee essen eae SHOW WELCOME PAGE false Heo ae SSE cee A tee eater cs Name SHOW COMPONENT LOCATIONS PAGE Datatype Boolean Description Set to true if the component locations page in the installer needs to be shown This page only appears if there are products whose installed directory can be changed I you set this to false you will prevent the user from being able to specify alternate directories Example SHOW COMPONENT LOCATIONS PAGE false fa Oe te Se soe hE ML eaten Coes T e cr ee eet ee eet seen etre SHOW COMPONENT LOCATIONS PAGE false HS o IM IPOs o to A EE Name SHOW CUSTOM TREE PAGE Datatype Boolean Description Set to true if the custom tree page in the installer needs to be shown In this page dependencies can be selected or unselected This page appears only in a custom install type Example SHOW CUSTOM TREE PAGE false A A eo ee ee ees SHOW CUSTOM TREE PAGE false X ee Name SHOW_SUMMARY PAGE Datatype Boolean Description Set to true if the summary page in the installer needs to be shown The summary page shows the list of components that will be installed in this session Exam
91. action libraries B 3 incomplete stage and missing files in file groups B 3 out of temp space B 3 Index 1 summary of B 3 UNCAUGHT RUNTIME exception B 3 Exceed B 4 exit codes 5 14 F FROM LOCATION 4 6 FROM LOCATION CD LABEL 4 6 H help online 5 2 Home Selector 3 12 overview 3 12 working 3 12 IMAGES section of ORAPARAM INI 5 5 INCLUDE 4 5 INSTALL TYPE 4 10 installation from the Web 5 8 onacluster 6 20 using a response file 4 11 installation media 5 6 installation modes 1 4 5 5 clusters 1 4 interactive 1 4 5 5 silent 1 4 5 6 suppressed 1 4 5 6 Installing Oracle Products 5 2 interim patches 8 1 getting 8 3 structure 8 1 versions 8 2 inventory 1 3 about 3 3 backup 3 9 Central Inventory 3 4 corruption 3 10 creating 3 7 detaching homes 3 8 inventory file 3 4 logs directory 3 5 removing 3 8 Local Inventory corruption 3 11 local inventory 3 5 operations 1 3 attaching homes 1 3 detaching homes 1 3 updating nodelist 1 3 Oracle home inventory 3 5 components file comps xml 3 6 ContentsXML folder 3 7 home properties file 3 6 oneoffs folder 3 7 scripts folder 3 7 templates folder 3 7 Index 2 pointer file 3 4 structure 3 4 J Java Runtime Environment 2 1 JRE 2 1 JRE_LOCATION parameter in ORAPARAM NI 5 4 JRE_MEMORY_OPTIONS parameter in ORAPARAM LINI 5 4 K key features 2 1 L language selections 9 1 LICEN
92. active dialogs normally seen by the user are not displayed in silent installation Instead of prompting the user to select a series of installation options Oracle Universal Installer installs the software using a pre defined set of options stored in a response file or passed on the command line You can view the progress of a silent installation in the console What Is a Response File A response file is a specification file containing information normally provided by the user through the Oracle Universal Installer user interface during an interactive installation session Each answer is stored as a value for a variable identified in the response file For example values for Oracle home or installation type can be set automatically within the response file Customizing and Creating Response Files 4 1 Modifying a Response File The response file template for the installation of your product can be found on your stage CD ROM under the lt root of CD gt response directory with pre populated values For example lt Products xml_Location gt Response lt product gt lt installtype gt rsp Note Check the installation guide for the product that you are installing to get the correct list of required files Why Perform a Silent Installation Silent installations can be useful if you have to install an Oracle product multiple times on multiple computers If the options you select while installing on each computer are
93. al Application Clusters on UNIX password If you are installing the software from a PC or other system with X server software installed then 1 Start the X server software 2 Configure the security settings of the X server software to permit remote hosts to display X applications on the local system 3 Connect to the remote system where you want to install the software and start a terminal session on that system for example an X terminal xterm 4 If you are not logged in as the root user on the remote system then enter the following command to switch user to root su root password Creating Required UNIX Groups and Users Depending on whether it is the first time an Oracle software is being installed on a system and on the products that you are installing you may need to create several UNIX groups and a UNIX user account The following UNIX group and users are required for all installations The Oracle Inventory group oinstall You must create this group the first time you install Oracle software on the system The usual name chosen for this group is oinstall This group owns the Oracle inventory which is a catalog of all Oracle software installed on the system Note If Oracle software is already installed on the system the existing Oracle Inventory group must be the primary group of the UNIX user that you use to install new Oracle software The following sections describe how to identif
94. al voting disk You must set this variable if you choose a value of 1 for the n_storageTypeVDSK variable or Not Redundant oradbshare oradata vdiskmirror2 Variables for Windows System Based Environments Table 7 4 describes the variables that can be passed to clone p1 with O option for Windows system environments Table 7 4 Windows System Based Variables for clone pl with O option Variable Datatype Description CLUSTER NODES String The value of this variable represents the cluster node names that you selected List for installation For example if you selected node1 CLUSTER NODES node1 Oracle Software Cloning Using Oracle Universal Installer 7 19 Adding Nodes Using Cloning in Oracle Real Application Clusters Environments Table 7 4 Cont Windows System Based Variables for clone pl with O option Variable Datatype Description b Response Boolean S clustername String sl tableList String List sl String OHPartitionsAndSp List ace valueFromDlg Only set this variable when performing a silent installation with a response file The valid values are true or false Set the value for this variable to be the name of the cluster that you are creating from a cloning operation using a maximum of 15 characters Valid characters for the cluster name can be any combination of lower and uppercase alphabetic characters A Z numericsO 9 hyphens pound signs and underscores Set the value of t
95. alid What do I do This simply means that the patch location that you specify is an invalid one Give the correct patch location and apply the patch again When I apply a patch I get an error that reads Exception in thread main java lang NoClassDefFoundError Class Name gt What do I do This may be due to OPatch not able to find the particular class listed in the error which is supposed to be located inside SORACLE HOME OPatch jlib opatch jar file Check if you have the particular class file there To check this execute the following command the missing class file will be printed out cd SORACLE HOME OPatch jlib jar tf opatch jar Class File Name gt class It is recommended that you contact Oracle support when you encounter this error Another reason might be having done a file transfer of OPatch in a non binary mode When I apply a patch I get an error that reads OPatch cannot find the required command ar from Property file and your PATH What do I do ar isa command used by OPatch This message may appear if OPatch is not able to locate this command For more details and workaround for this problem refer to section OPatch cannot find system commands like fuser make on page 8 30 When I apply a patch I get an error that reads OPatch cannot find the required command fuser from Property file and your PATH What do I do fuser is a command used by OPatch This message may appear if OPatch is no
96. allations 6 17 Installing Oracle Clusterware on Windows 7 If you selected the Format two logical drives for data and software storage option on the Select Disk Formatting Options page then you must complete the Select Software Storage Drive page and the Select Data Storage Drive page as described in Steps a and b respectively If you selected the Format one logical drive for software storage option on the Select Disk Formatting Options page then you must complete the Select Software Storage Drive page the Disk Configuration Oracle Cluster Registry OCR page and the Disk Configuration Voting Disk page as described in Steps a c and d respectively If you selected the Format one logical drive for data file storage option on the Select Disk Formatting Options page then you must complete the Select Data Storage Drive page as described in Step b If you selected the Do not format any logical drives option on the Select Disk Formatting Options page then you must complete the Disk Configuration Oracle Cluster Registry OCR page and the Disk Configuration Voting Disk page as described in Steps c and d respectively a On the Select Software Storage Drive page choose a shared drive to see a list of available partitions on that drive Choose a partition with sufficient space to hold your Oracle home and select the partition s disk number and partition number from the list Click Next to proceed b On the Select Data S
97. always the same you save the time of reviewing each installation screen and selecting the various installation options Silent installations can also ensure that multiple users in your organization use the same installation options when they install your Oracle products This makes supporting those users easier because you already know what components and options have been installed on each computer Before you perform a silent installation you should review the settings in the response file template provided with your Oracle product Note If you attempt to perform a silent installation on a UNIX computer where no Oracle products have been installed Oracle Universal Installer uses the default inventory location then prompts you to run the oraInstRoot sh script with root privileges upon successful installation The script is saved in the oraInventory directory This script sets up the Central Inventory on a clean host Refer to About the Oracle Universal Installer Inventory on page 3 3 for more information on the Central Inventory The rest of this chapter describes the various parameters and settings you can modify within an Oracle Universal Installer response file Modifying a Response File If your product installation includes a response file template you can find it on your stage CD ROM under the lt root of CD gt response directory If your product installation does not include a response file template you
98. an APPL_TOP directory This is an optional parameter for use with Apps installs only If not specified the default is assumed to FALSE The URL where the user is directed from the Product Registration page in Oracle Universal Installer The REGISTRATION_KEY parameter is validated at this site Set this parameter along with the REGISTRATION_KEY parameter to invoke the Product Registration page Both are required This key is validated against an encrypted key at the REGISTRATION_URL location Set this parameter along with the REGISTRATION_URL parameter to invoke the Product Registration page Both are required This section lists the images associated with an installation To show advertisements during an installation specify each image as a separate variable Modes of Installation You can use Oracle Universal Installer to install Oracle products in any of the three following modes Interactive Use Oracle Universal Installer s interactive mode to use the graphical user interface to walk through the installation providing information in the Installing Products Using Oracle Universal Installer 5 5 Installing Oracle Products installation dialogs when prompted This method is most useful when installing a small number of products in different setups on a small number of hosts a Suppressed Use Oracle Universal Installer s suppressed mode to supply the necessary information by using a combination of a response file or com
99. an use the sSystemRoot system32 drivers etc hosts file on each node to associate private host names with private IP addresses Checking Individual Component Requirements Depending on the Oracle products that you intend to install verify the required components for the Oracle software you are installing and ensure that it is installed on the system You will find more information on the components in the respective Oracle product Real Application Clusters installation guide Configuring Storage for Oracle Clusterware You need to perform certain storage configuration tasks before you start Oracle Universal Installer For detailed information on the storage configuration tasks refer to the respective Oracle product Real Application Clusters installation guide Installing Oracle Clusterware on UNIX This section provides you with information about how to use the Oracle Universal Installer to install Oracle Clusterware on UNIX Running the Oracle Universal Installer to Install Oracle Clusterware Complete the following steps to install Oracle Clusterware on your cluster At any time during installation if you have a question about what you are being asked to do click Help in the Oracle Universal Installer page 1 Start the runInstaller command with the ormCluster option from the main directory on the Oracle Clusterware 10 Release 2 10 2 CD ROM This is a separate CD that contains the Oracle Clusterware software When the Oracle
100. ar utility to archive and compress the Oracle home Cloning Phase On the destination system you unarchive the Oracle home and run the c1one p1 script This Perl script performs all parts of the cloning operation automatically by running OUI and various other utilities This script makes use of the cloning functionality in OUI When you run the clone p1 script it takes care of the specifics that OUI may have missed The central inventory of the box where the home is being cloned is updated as is the Oracle home inventory SORACLE HOME inventory The following example shows how to unarchive and decompress the source for various platforms To unarchive mkdir Destination oracle home cd Destination oracle home zcat temp dir archiveName tar Z tar xpf for hpux zcat temp dir archiveName tar Z tar xBpf for remaining UNIX based systems You must have Perl 5 6 or higher installed on your system to enable cloning Also ensure that you set the path environment variable to the correct Perl executable Note The cloned home and source home will not be identical in size because the cloned home will have additional files created during the cloning operation Locating and Viewing Log Files The cloning script runs multiple tools each of which may generate its own log files However the following log files that OUI and the cloning scripts generate are the key log files of interest for diagnostic purposes
101. are on a system Oracle Universal Installer prompts you to specify the path to this directory If you are installing the software on a local file system then Oracle recommends that you choose the following path oracle base oraInventory If the Oracle base directory is on a cluster file system or on an NFS file system on a NAS device then you must specify a path for the Oracle Inventory directory on a local file system The Oracle base directory must be on a local file system to enable all of the nodes to have separate inventories Oracle Universal Installer creates the directory that you specify and sets the correct owner group and permissions for it You do not need to create it Cluster Environment Installations 6 11 Pre Installation Tasks for Real Application Clusters on UNIX Note All Oracle software installations rely on the Oracle base directory Make sure that you back it up regularly Do not delete the Oracle base directory unless you have completely removed all Oracle software from the system Oracle Clusterware Home Directory The Oracle Clusterware home directory is the directory where you choose to install the software for Oracle Clusterware You must install Oracle Clusterware in a separate home directory When you run Oracle Universal Installer it prompts you to specify the path to this directory as well as a name that identifies it Oracle recommends that you specify a path similar to the following fo
102. ase Structure of Interim Patches Interim patches generally come in a zipped format You need to unzip them before you apply a patch The following figure illustrates the structure of the interim patch Oracle Software Patching Using OPatch 8 1 Interim Patch Versions Figure 8 1 Structure of Interim Patches y Patch ID E custom C scripts EC etc a config a xml files 6 0 tib C rdbms The interim patches have the following contents Patch Metadata This contains information on the patch ID the bugs fixed the files affected and the actions to be performed Payload This contains the files that will be modified by OPatch Custom Scripts Pre processing and post processing scripts that needs to be run before and after patching Interim Patch Versions OPatch 10 2 supports maintaining versions of patches You can have two or more different versions of the same patch with the same patch ID This version information is stored in the OPatch metadata The metadata has a tag date of patch that stores the patch version information The sample of the tag is as follows date of patch year YYYY month mmm day Day time Time zone TimeZone gt Date on which the patch was created This tag records the time of creation of the patch by Oracle If the same patch is created at a later point of time this tag will record that time Note This version information is the time of creation of the patch by
103. atched or the partially applied patch is rolled back Can I run patching in scripted mode Yes it is possible by using the command opatch lt option gt silent For more information refer to section Operations and Options in OPatch Utility on page 8 10 Before applying a patch I want to know what is the impact of the patch You can use the command opatch lt option gt report For more information refer to section Operations and Options in OPatch Utility on page 8 10 What versions of OPatch can I use with Oracle Universal Installer 10 2 Oracle recommends using OPatch version 10 2 from the Oracle home with Oracle Universal Installer 10 2 Also note that OPatch is compatible only with the version of Oracle Universal Installer that is installed in the Oracle home Is Opatch 10 2 backward compatible Can I use OPatch 10 2 to apply 9 2 and 10 1 patches No OPatch 10 2 is not backward compatible You can use Opatch 10 2 only to apply 10 2 patches When I apply a patch I get an error that reads as follows OPatchSession cannot load inventory for the given Oracle Home Home Location Possible causes are No read or write permission to ORACLE HOMEJ patch storage Central Inventory is locked by another OUI instance No read permission to Central Inventory The lock file exists in ORACLE HOMEJ patch storage The Oracle Home does not exist in Central Inventory What do I do This error may occur because of any one or mo
104. ation Refer to Table 5 1 for a description of the flags to use Installing Products Using Oracle Universal Installer 5 1 Installing Oracle Products Table 5 1 Command Line Parameters for Pre Requisite Checks Command Description paramFile lt file Use this flag to specify the location of the oraparam ini file name gt to be used For example you may create your own parameters file and use that to operate Oracle Universal Installer Note that Oracle Universal Installer will use the file you specify for all operations including the pre requisite checks executeSysPreregs Use this flag on the command line to perform only the pre requisite check without continuing the installation This can be used to verify that the basic pre requisites have been met before deciding to perform an installation ignoreSysPrereqs Use this flag on the command line to ignore all pre requisite checks This may be useful when you know that the checks themselves are faulty or the environment has already been verified This is an optional flag though not recommended by Oracle Inputs to the checker are listed in the prerequisite xml file Once the checker is run results along with the pre defined inputs can be found in the prerequisite results xml file These files are located in the oraInventory 10gs directory The prerequisite results xml file can be reused as an input file for subsequent executions of the checker Installing Oracle Product
105. ation is successful or not This is used to specify whether or not to show the prereq page This is used to specify if you want users to go back to the File Locations page for another installation This flag also needs to be set to true in order to process another response file see NEXT_SESSION_ RESPONSE This argument is used for chain installs This is used to specify the next session response Set to true to allow users to invoke another session even if current installation session has failed This flag is only relevant if NEXT_SESSION is set to true This argument is used for chain installs Understanding Oracle Universal Installer Commands C 5 Command Line Variables Available in Oracle Universal Installer Table C 2 Cont Command line variables in Oracle Universal Installer Command Line Variable Description NEXT_SESSION_ This is used to specify the full path of the next session s response file RESPONSE If only a file name is specified the response file is retrieved from the LOCATION_FOR_ DISK DEINSTALL_LIST SHOW_DEINSTALL_ CONFIRMATION SHOW_DEINSTALL_ PROGRESS REMOVE_HOMES CLUSTER_NODES CLUSTER_NEW_ NODES REMOTE_NODES REMOTE_CLEAN_ MACHINES LOCAL_NODE EXISTING_REMOTE_ NODES CRS CLUSTER_NEW_ PRIVATE_NODE_ NAMES CLUSTER_NEW_ HOST_NAMES CLUSTER_NEW_ NODE_NUMBERS CLUSTER_NEW_ VIRTUAL_ HOSTNAMES ACCEPT_LICENSE_ AGREEMENT REGISTRATION_ KEYWORD RESTART_SYSTEM
106. ation or configuration utility will provide a separate folder containing the logs inside the SORACLE HOME cfgtoollogs folder Note that the logs used to remove products are different from the installActions lt timestamp gt log generated during the install process The installActions lt timestamp gt logis easier to read and can be used to view the operations performed at installation time For more information about the log files generated by Oracle Universal Installer refer to the online help For more information about using the online help see Getting Help While Installing Oracle Products on page 5 2 5 16 Oracle Universal Installer and OPatch User s Guide 6 Cluster Environment Installations A cluster installation uses Oracle Universal Installer to install software on the nodes of a cluster that are network reachable and bound together by Oracle Clusterware You can use Oracle Universal Installer to extend the Oracle home of a product installation to include additional nodes on the cluster This chapter includes the following sections Oracle Universal Installer and Real Application Clusters General System Installation Requirements for Real Application Clusters Cluster Setup and Pre Installation Configuration Tasks for Real Application Clusters Configuring Storage for Oracle Clusterware Installing Oracle Clusterware on UNIX Installing Oracle Clusterware on Windows a Adding Additional Nodes to the
107. ations using the s1 OHPartitionsAndSpace valueFromDlg variable as well as provide values for the PERFORM PARTITION TASKS argument Only specify values for the new node for the s1_ tableList options Run the following command on the existing node where new node new node priv and new node vip are the name of the new node the private 7 16 Oracle Universal Installer and OPatch User s Guide Adding Nodes Using Cloning in Oracle Real Application Clusters Environments interconnect protocol address of the new node and the virtual interconnect protocol address of the new node respectively SORACLE HOME oui bin addNode bat silent CLUSTER_NEW_NODES new_node CLUSTER NEW PRIVATE NODE NAMES new node priv CLUSTER NEW VIRTUAL HOSTNAMES new_node vip noCopy noRemoteActions Note Because you have already run the clone p1 script on the new node this step only updates the inventories on the nodes and instantiates scripts on the local node From the CRS HOMES V install directory on the existing node run the crssetup add bat script to instantiate the Virtual Protocol Configuration Assistant VIPCA and the Oracle RAC Notification Service Utility racgons Cloning Oracle RAC Software on Windows System Based Environments Complete the following steps to clone Oracle Database with RAC software on Windows system computers 1 If you do not have a shared Oracle Database home then zip the Oracle Database h
108. ave an advanced mode for more options 2 2 Oracle Universal Installer and OPatch User s Guide 3 Managing Oracle Homes This chapter contains the following sections Introduction to Oracle Homes Installing the Oracle Product Removing Oracle Homes Determining the Default Oracle Home Multiple Oracle Homes About the Oracle Universal Installer Inventory Home Selector Available on Win32 Platforms Introduction to Oracle Homes The Oracle Universal Installer supports the installation of several active Oracle homes on the same host An Oracle home is a directory into which all Oracle software is installed This is pointed by an environment variable The home consists of the following The directory location where the products are installed The corresponding system path setup The program groups associated with the products installed in the home where applicable The services running from the home Installing the Oracle Product When you install an Oracle product an Oracle home is created To install the product and create the Oracle home perform the following steps 1 2 Run Oracle Universal Installer In the Specify Home Details page enter the Oracle home settings for the installation session See Table 3 1 for a description of the fields in this section of the screen Continue with your installation Refer to Chapter 5 Installing Products Using Oracle Universal Installer for detailed information
109. base Configuration and Upgrade Assistants Database SQL Scripts oo N N Or O UD X U D O Oo CO oo 0 CO Oreo OO wa oo Cc E X N N NN Oracle Software Patching Using OPatch 8 13 Operations and Options in OPatch Utility Database Workspace Manager 10 2 0 0 0 DBJAVA Required Support Files 10 2 0 0 0 Enterprise Edition Options 10 2 0 0 0 There are 10 products installed in this Oracle Home Intermin patches 1 Patch 102000 applied on Mon May 23 19 44 08 IST 2005 Created on 27 Jul 2004 05 43 46 hrs PST8PDT Bugs fixed 102000 Files Touched qmtest o gt ORACLE HOME lib libserver10 a libmapsym so ORACLE HOME lib libmapsym so ins rdbms mk ORACLE HOME rdbms lib ioracle oracle xml jaxb orajaxb class gt ORACLE HOME lib xml jar Patch Location in Inventory home oracle TEST product 10 2 0 db 1 inventory oneoffs 102000 Patch Location in Storage area home oracle TEST product 10 2 0 db 1 patch storage 102000 Jul 27 2004 05 43 46 OPatch succeeded query Option The query option queries a specific patch for specific details It provides information about the patch and the system being patched The following syntax is used for this option Path to OPatch opatch query all jre Location jdk Location oh Location patch location The following table lists the command line arguments available for use with the query option Table 8 4 query option command l
110. ble Description SHOW_ROOTSH_ Set to true if the confirmation dialogue asking to run the root sh script CONFIRMATION in the Oracle Universal Installer needs to be shown This flag can only be passed on UNIX platforms SHOW_EXIT_ This is used to specify whether to display the confirmation dialogue CONFIRMATION for exiting the Oracle Universal Installer Set to true for exit SHOW_CUSTOM_ This is used to specify if the custom tree page in the Oracle Universal TREE_PAGE Installer needs to be shown Use this page to select de select dependencies This page appears only in the custom installation type SHOW_ This is used to specify if the components location page in the Oracle COMPONENT_ Universal Installer needs to be shown This page appears if there are LOCATIONS_PAGE SHOW_NODE_ SELECTION_PAGE SHOW_SUMMARY_ PAGE SHOW_INSTALL_ PROGRESS_PAGE SHOW_REQUIRED_ CONFIG_TOOL_ PAGE SHOW_CONFIG_ TOOL_PAGE SHOW RELEASE NOTES SHOW END OF INSTALL MSGS SHOW END SESSION PAGE SHOW XML PREREQ_ PAGE NEXT SESSION NEXT SESSION ON FAIL products whose installed directory can be changed Set the value to false to prevent user from specifying an alternate directory This is used to specify if the node selection page should be shown to the user This is used to specify if the summary page in the Oracle Universal Installer needs to be shown The summary page shows the list of components that need to be installed
111. ble and run 0RACLE_ HOME bin netca To create a new database for the newly cloned Oracle home run Oracle Database Configuration Assistant On Windows system computers select Start gt Programs gt Oracle HOME NAME gt Configuration and Migration Tools gt Database Configuration Assistant For Linux based systems run ORACLE_HOME bin dbca Viewing Log and Error Files After cloning you can view the status of the clone operation by navigating to the ORACLE HOME clone log directory and by reviewing the log and err files For more information refer to the section Locating and Viewing Log Files on page 7 3 Cloning an Oracle Database 10 2 Oracle Home There are two steps involved in cloning an Oracle Database 10 2 Oracle home Preparing the Oracle Database 10 1 Source Cloning an Oracle Database 10 1 Preparing the Oracle Database 10 2 Source To prepare the source Oracle home to be cloned perform the following steps Ensure that the Oracle Database installation whose home you want to clone has been successful For Windows system computers you can check the status of the installation by reviewing the installActionsdate_time log file for the installation session where date time represents the date and time when the file was created for example installActions2006 05 30_10 28 04PM log This log file is normally located in the c Program Files Oracle Inventory logs directory For Linux based systems the logs a
112. bleshooting Real Application Clusters Oracle Clusterware Installation 6 27 Oracle Software Cloning Using Oracle Universal Installer About Cloning assa nion Uinc ege eh on dh utate eben ta 7 1 Overview of the Cloning Process erede denen tenerte edt een eade den entere a e 7 2 Source Preparation Passion ida atqtie e n ate te retenta 7 2 Si Mipadirc cR 7 3 Locating and Viewing Log Files sese ene e nnne n nnne nennen 7 3 Cloning an Oracle Database 10 1 Oracle Home sse enne 7 4 Preparing the Oracle Database 10 1 SOUL CO ocococonononcnnrnonennnnnnnnanenernnenenanananoanerarnnnncn conan nr nararanannnnnnos 7 4 Cloning a Oracle Database TO linia rai n a 7 5 Viewing Log and Error Filis ii tee tie eet irre een 7 6 Cloning an Oracle Database 10 2 Oracle Home sse eee eene 7 6 Preparing the Oracle Database 10 2 SOULCE ccccecscesesesesteteeseecesescsteneneseseseecesescstasneseseenesenesees 7 6 Cloning an Oracle Database 10 2 sss eene nnne nennen 7 7 Viewing Log arid Error Files eee ien a inedit aient pri tecti oat 7 8 Creating Oracle Real Application Cluster Environment using Cloning 7 8 Creating Oracle RAC Environments on UNIX and Linux System Based Environments 7 9 Cloning Oracle Clusterware on UNIX and Linux System Based Environments 7 9 Cloning Oracle RAC Software on UNIX and Linux System Based Environments 7 10 C
113. c client software for an Oracle database server DESC lt DESCID gt COMPONENT_DESC lt DESCID gt STG INFO OSP_VER 10 2 0 0 0 gt CMP JAR INFO INFO NAME filemapObj VAL Components oracle server v10_2 0 0 _0 filemap xml gt INFO NAME helpDir VAL Components oracle server v10 2 0 0 0 help gt INFO NAME actionsClass VAL Components oracle server v10_2 0 0 _0 CompActions gt INFO NAME resourceClass VAL Components oracle server v10_2 0 0 _0 resources CompRes gt INFO NAME identifiersXML VAL Components oracle server v10_2 0 0_ 0 identifiers xml gt INFO NAME contextClass VAL Components oracle server v10 2 0 0_ 0 CompContext gt INFO NAME fastCopyLogXML VAL Components oracle server v10_2 0 0_ 0 fastCopyLog xml gt lt CMP_JAR_INFO gt LOC INFO INST DFN LOC Scripts JAR_NAME install2 jar gt BOOK NAME oracle server hs PRE REQ DEF F gt PROD HOME DEF F gt LANG IDX MAP LANG LIST en fr ar bn pt BR bg fr CA ca hr cs da nl ar EG en GB et fi de el iw hu is in it ja ko es lv lt ms es MX no pl pt ro ru zh CN sk sl es ES sv th zh TW tr uk vi gt LANGSET IDX 1 BITSET 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 gt lt LANGSET IDX 2 BITSET 0 gt lt LANGSET IDX 3 BITSET 2 gt lt LANGSET IDX
114. cannot use jdk and jre options together local Specifies that the OPatch utility patch the local node and update the inventory of the local node It does not propagate the patch or inventory update to other nodes This command line argument can be used on Oracle Real Application Clusters environments and non clustered environments If an entire cluster is shutdown before patching then this argument can be used for non rolling patches local node Specifies to the OPatch utility the local node for this cluster This command line argument can be used on Oracle Real Application Clusters environments Oracle Software Patching Using OPatch 8 11 Operations and Options in OPatch Utility Table 8 2 Cont apply option command line arguments Command line Argument Description minimize_downtime Specifies the order of nodes to be patched by the OPatch utility no_bug_superset no_inventory no_sysmod no_relink oh opatch_post_end opatch_pre_end post pre remote_nodes This command line argument only applies to Oracle Real Application Clusters environments It cannot be used with the local command line argument or a rolling patch Specifies to error out if the current patch bugs to fix is a superset or the same as an installed patch bugs fixed in the Oracle home directory Bypasses the inventory for reading and updates This command line argument cannot be used with the local command line argument Thi
115. ch id timestamp directory and execute the restore command For UNIX SORACLE HOME patch storage patch id timestamp restore sh For Windows SORACLE HOME patch storage patch id timestamp restore bat On UNIX source SORACLE HOME patch storage patch id timestamp gt make txt file if available as follows bin sh make txt If the files are properly patched but the information is not updated in the inventory then execute the following command SORACLE HOME OPatch opatch apply no sysmod Path To Patch Ensure that the patch has been applied and have been recorded properly in the inventory by executing the following command SORACLE HOME OPatch opatch lsinventory detail When you press Ctrl C during the application or rollback of a patch and execute opatch Isinventory it does not return the details of the patch applied or rolled back Cause This may be because OPatch might have stopped the application or rollback of the patch on pressing Ctrl C Action Perform the following steps 1 2 Ensure that the environment variable ORACLE HOME is set properly Navigate to the S ORACLE HOME patch storage patch id timestamp directory and execute the restore command if it is available For UNIX SORACLE HOME patch storage patch id timestamp restore sh For Windows SORACLE HOME patch storage patch id timestamp restore bat Oracle Software Patching Using OPatch 8 25 Recovering from a Failed Pa
116. cified as Forced or Default Ifyou specify Forced no dialog appears during installation The value is automatically used The user does not have the option to change the value Ifyou specify Default the dialog appears during installation with the value as the default The user has the option to choose another value If nothing is specified for recommendation Forced is used as the default Comments begin with a hash or pound symbol They contain information about the type of the variable state whether the variable appears in dialog and describe the function of the variable A variable and a value are associated with a comment For example TopLevelComponent StringList Used in Dialog TopLevelComponent Demo 1 0 The header is a comment that describes the different formats and comment conventions used in a response file For example Parameter UNIX GROUP NAME Type String Description UNIX group to be set for the inventory directory Valid only on UNIX platforms Example UNIX_GROUP_NAME install UNIX GROUP NAME Value Unspecified gt Response File Parameters The following are parameters for Oracle Universal Installer All products installed using Oracle Universal Installer will have these parameters in addition to product specific variables INCLUDE This parameter specifies the list of response files to be included in this response file If you want to include other response file
117. cify values for the variables listed below to customize your installation Each variable is associated with a comment The comment identifies the variable type Hi Please specify the values in the following format Type Example HH String Sample Value 4 Boolean True or False 4 Number 1000 StringList String value 1 String Value 2 The values that are given as lt Value Required gt need to be specified for a silent installation to be successful Hi Hi This response file is generated by Oracle Software Packager HEHEHE AE EHEHE HE HEE FE HEHE HE HE HEHE FEFE PEHE HE EEFE HEHE HE HE EFE TEHE PE HE HE TEEPE HE HE HE HE FEER HE HE HE HE EE EHEHE HEHEHEHEH HEHEHEHEH RESPONSEFILE VERSION 2 2 1 0 0 A A E E ETE E seas Name UNIX GROUP NAME Datatype String Example UNIX GROUP NAME install dis UNIX GROUP NAME Value Unspecified gt Name FROM LOCATION Datatype String Description Complete path of the products jar Hit e e nt H e nt nt H H nt nt Description Unix group to be set for the inventory directory Valid only in Unix platforms Sample Files D 1 Sample Response File Example FROM LOCATION stage products jar ES ee nene e
118. command For UNIX SORACLE HOME patch storage patch id timestamp restore sh For Windows SORACLE HOME patch storage patch id timestamp restore bat 3 OnUNIX source SORACLE HOME patch storage patch id timestamp gt make txt file if available as follows bin sh make txt Logging and Tracing Logging and Tracing is a common aid for debugging OPatch maintains logs for all apply rollback and IsInventory operations The log files are located in ORACLE _ HOME cfgtoollogs opatch directory Each log file will be tagged with the timestamp of the operation Log files are named as opatch date mm dd yyyy time hh mm ss gt log Each time OPatch is executed a new log file is created For example if a log file is created on May 17th 2005 at 11 55 PM then it will be named as follows 8 22 Oracle Universal Installer and OPatch User s Guide Recovering from a Failed Patching Session Using OPatch opatch 05 17 2005 23 55 00 log Note You can set OPatch to debug mode by setting the environment variable OPATCH DEBUG to TRUE OPatch also maintains an index of the commands executed with OPatch and the log files associated with it in the history txt file located in ORACLE _ HOME cfgtoollogs opatch directory A sample of the history txt file is as follows Date amp Time Tue Apr 26 23 00 55 PDT 2005 Oracle Home private oracle product 10 1 0 db 1 OPatch Ver 10 2 0 0 0 Current Dir s
119. cratch oui OPatch Command lsinventory Log File private oracle product 10 1 0 db 1 cfgtoollogs opatch opatch 2005 Apr 26 23 00 55 PDT Tue log Levels of Logging OPatch follows the Oracle Diagnostic Logging ODL Guidelines You can set the log level by using the logLevel lt level gt option available This option is used to control the amount of logging OPatch performs according to the ODL guidelines OPatch supports the following log levels a SEVERE a WARNING INFO a CONFIG FINE a FINER a FINEST Recovering from a Failed Patching Session Using OPatch During patching updates can occur in two phases 1 System Update In this phase the files get replaced in the Oracle home 2 Inventory Update In this phase the details of the patch applied is recorded in the inventory The following lists the various scenarios and how you recover from a failed patching session When you apply or rollback a patch you get an interim inventory update exception Cause This occurs when the files on the system are patched but the inventory update has failed This may be due to a corrupted inventory Action Perform the following steps 1 Ensure that the environment variable ORACLE HOME is set properly Oracle Software Patching Using OPatch 8 23 Recovering from a Failed Patching Session Using OPatch 2 Navigate to the ORACLE_HOME patch_storage lt patch id_ timestamp gt directory and execute the restore comman
120. ction ORACLE BASE Directory ORACLE BASE specifies the BASE of the Oracle directory structure for OFA compliant databases A typical ORACLE BASE directory structure is described in Table 3 5 When installing an OFA compliant database using Oracle Universal Installer ORACLE BASE is set to pm app oracle by default Table 3 5 Sample ORACLE BASE Directory Structure and Content Directory Content admin Administrative files doc online documentation local Sub tree for local Oracle software product Oracle software ORACLE HOME Directory The following is an example of an Oracle Server Installation If you install an OFA compliant Oracle Server the Oracle home directory is mount _ point app oracle product release number Oracle home directory structure Managing Oracle Homes 3 13 Home Selector Available on Win32 Platforms and content are described in Table 3 6 Under UNIX the Oracle home directory might contain the following subdirectories as well as a subdirectory for each Oracle product selected Note The examples in this table are only samples The directories that appear in your own Oracle home will depend on whether the corresponding products are installed and the version of the Oracle Database you are running Table 3 6 Sample Oracle Home Directory Structure and Content Directory Content assistants bin ctx dbs install lib jlib md mlx network nlsrtl ocommon odg
121. cts on a UNIX system 5 8 Oracle Universal Installer and OPatch User s Guide Installing Oracle Products Failed to Connect to Server Error If you get an Xlib error or a Failed to connect to Server error when you are running Oracle Universal Installer on the Solaris operating system you need to define the following environment variables on the host computer where you are running Oracle Universal Installer setenv DISPLAY machine name gt 0 0 Replace machine name gt with the name of the computer that will display Oracle Universal Installer On the computer that will display Oracle Universal Installer enter the following command This command allows other computers to display information on the computer s monitor xhost Re run the runInstaller script after you have set the DISPLAY environment variable Note Youcan run Oracle Universal Installer without specifying the DISPLAY by running in silent mode using a response file Providing a UNIX Installer Location with Root Privileges Various installation operations on the UNIX platform must be performed with root privileges For example you must have root privileges to be able to create the Oracle Universal Installer inventory If you are installing Oracle Universal Installer for the first time you will be prompted to run a shell script from another terminal window before proceeding with the installation Oracle Universal Installer will prompt the user to
122. d For UNIX SORACLE HOME patch storage patch id timestamp restore sh For Windows SORACLE HOME patch storage patch id timestamp restore bat 3 OnUNIX source SORACLE HOME patch storage patch id timestamp gt make txt file if available as follows bin sh make txt When you apply or rollback a patch you get an OiiOneoffException exception Cause This occurs when the files on the system are patched but the inventory update has failed This may be because the base component of the interim patch may not be present in the inventory Action OPatch tries to restore the Oracle home automatically and gives a message for the same If OPatch does not give a message stating that it has restored the Oracle home perform the following steps 1 Ensure that the environment variable ORACLE HOME is set properly 2 Navigate to the SORACLE HOME patch storage patch id timestamp directory and execute the restore command For UNIX SORACLE HOME patch storage patch id timestamp restore sh For Windows SORACLE HOME patch storage patch id timestamp restore bat 3 OnUNIX source SORACLE HOME patch storage patch id timestamp gt make txt file if available as follows bin sh make txt When you apply a patch and execute opatch lsinventory it returns nothing Cause This may be due to losing all the patches applied before the application of the current patch or the patches might not have been updated in the i
123. d If the installation is canceled Products will not be registered with Oracle Universal Installer Some files may have been copied depending on when you issued the cancellation X terminal emulators that were tested with Oracle Universal Installer are listed in the following sections Troubleshooting and Debugging Oracle Universal Installer B 3 Other Tips Exceed There is a known compatibility issue that Hummingbird has identified to be a problem with Exceed You can fix it by going into XConfig Screen Definition Screen 0 and changing Window Manager from Default to Native to Native Refer to Figure B 1 to see the proper setup Figure B 1 Setting Exceed s Window Manager to Native Screen 0 i x i Common Settings Monitor Info Use All Monitors C Monitors To Use For Screen fi Window Mode Multiple riv Panning TA g r uto Load XRDB Default C Single Dotar Speed Slow y File Jxrdb txt Ad A A vanced Server Visual Amount 25 z gt Edit Browse Auto Select y m Root Size pixels Window Manager Width p Default To Native y Use Native WM for Embedded Clients Height p I Fit Window To Display IV Cascade Windows Cancel Help Another known issue where Exceed fails to recognize fonts is documented at the following site http developer java sun com developer bugParade bugs 4262023 html Reflection
124. d Disk Space Requirements syisa eene nennen nennen 6 14 Checking the Software Requirements sse e eene een nennen 6 14 Checking the Network Requirements eene eene 6 14 Network Hardware Requirements sese eene 6 14 IP Address Requirements nee tie rode tete ede ca Ped Edere 6 14 Checking Individual Component Requirements esses eee een 6 15 Configuring Storage for Oracle Clusterware 1 1 G es see eee eee nenne 6 15 Installing Oracle Clusterware on UNIX sse enne nennen 6 15 Running the Oracle Universal Installer to Install Oracle Clusterware 6 15 Running the Oracle Universal Installer in Silent Mode to Install Oracle Clusterware 6 16 Oracle Clusterware Background Processes 6 16 Installing Oracle Clusterware on Windows sse een eene 6 16 Running the Oracle Universal Installer to Install Oracle Clusterware 6 16 vi Running the Oracle Universal Installer in Silent Mode to Install Oracle Clusterware 6 19 Oracle Clusterware Background Processes sss 6 19 Adding Additional Nodes to the Cluster for Mass Deployment sess 6 19 Installing Product Software on a Cluster eese eee eee nennen 6 20 Cluster Detection tntenibeeutiten tob ne one Lieb ee boe ibn e boe bos 6 20 Availability Checking cocaina eter rte p RP epu eee Ut e
125. d information on why the tool has failed Example SHOW OPTIONAL CONFIG TOOL PAGE true HE A ae ee ae o Rs e de o ee eee SHOW OPTIONAL CONFIG TOOL PAGE true Pi coe PME E E Name SHOW RELEASE NOTES Sample Files D 3 Sample Response File Datatype Boolean Description Set to true if the release notes of this installation need to be shown at the end of installation This dialog is launchable from the End of Installation page and shows the list of release notes available for the products just installed This also requires the variable SHOW END SESSION PAGE variable to be set to true Example SHOW RELEASE NOTES true Wes Se weet ohm Oe Skeet ete enr tds ee URL ee ee eke eek ee SHOW_RELEASE NOTES true A E tae A a eek i a aha a Le Bt lara Name SHOW ROOTSH CONFIRMATION Datatype Boolean Description Set to true if the Confirmation dialog asking to run the root sh script in the installer needs to be shown Valid only in Unix platforms Example SHOW ROOTSH CONFIRMATION true Pema seen rc di Std SHOW ROOTSH CONFIRMATION true RM Ecc Name SHOW END SESSION PAGE Datatype Boolean Description Set to true if the end of session page in the installer needs to be shown This page shows if the installation is successful or not Example SHOW END SESSION PAGE true Name SHOW EXIT CONFIRMATION Datatype Boolean Description Set to true if the confirmation when exiting the installer needs t
126. d provide a complete path location for the cluster file system 7 10 Oracle Universal Installer and OPatch User s Guide Creating Oracle Real Application Cluster Environment using Cloning Note Set the LOCAL_NODE to the node on which you run the clone command On the new node go to the SORACLE HOME directory and run the following command root sh On the new node run Net Configuration Assistant NETCA to add a listener From the node that you cloned run Database Configuration Assistant DBCA to add the new instance Creating Oracle RAC Environments on Windows System Based Environments This section explains how to clone an Oracle RAC environment by using Oracle cloning as described in the following procedures Cloning Oracle Clusterware on Windows System Based Environments Cloning Oracle RAC Software on Windows System Based Environments Cloning Oracle Clusterware on Windows System Based Environments Complete the following steps to clone Oracle Clusterware on Windows system computers 1 If you do not have a shared Oracle Clusterware home then zip the Oracle Clusterware home from the existing node and copy it to the new node Unzip the home on the new node in the equivalent directory structure as the directory structure in which the Oracle Clusterware home resided on the existing node For example assume that the location of the destination Oracle Clusterware home on the new node is CRS HOMES Skip
127. d style system prereqs are to be enabled in PREREOS the installation scripts The PRE REQUISITE code should use this variable to determine which checks can be turned on or off The value of this variable is set based on the value in the Oraparam ini SHOW NEXT This is used to specify if progress dialog will be shown during the SESSION PROGRESS setup of next session or not This flag is used in chain installs NEXT SESSION This is used to specify the title of the progress dialog shown during PROGRESS TITLE the setup of next session This flag is used in chain installs NEXT SESSION This is used to specify the text above the progress bar in the progress PROGRESS TEXT dialog shown during the setup of next session This flag is used in chain installs Understanding Oracle Universal Installer Commands C 7 Command Line Variables Available in Oracle Universal Installer C 8 Oracle Universal Installer and OPatch User s Guide D Sample Files This appendix provides the following sample files Sample Response File Sample ORAPARAM INI File Sample Components File Sample Response File Response files are of type rsp and are used by Oracle Universal Installer to run silent installations HEHEHE AE HEHEHE HE HEE E EHEHE HE HEHE EHE PEHE HE E EHE HEHE HE HE ETE TERE HE HE HE FEER HE HE HE HE EEHEHE HE HE HE EHE EHE HE HEHEHEHEH HEHHEHE Copyright c Oracle Corporation 1998 2002 All rights reserved Hi Spe
128. d to launch runInstaller in the background using the following command runInstaller amp By launching runInstaller in the background you can change your current directory after you launch Oracle Universal Installer allowing you to eject the CD It may also help to launch runInstaller as a foreground process from a different directory You may want to create a shell script that launches Oracle Universal Installer in the background and then exits If you choose to create a shell script remember to also pass all parameters that you passed to the shell script to runInstaller in the event that you wish to install silently using a response file TEMP TMP Directory On both UNIX and Windows installations temporary copies of Oracle Universal Installer and JRE are placed in the TEMP or TMP directory in a subdirectory named OraInstall lt timestamp gt so that these applications can be launched when you change CD ROMs Note that temporary files are created for single CD installations as well On both UNIX and Windows Oracle Universal Installer looks for sTEMP then TMP If neither is set Oracle Universal Installer will default to tmp on UNIX and c temp on Windows Note The TEMP TMP directory should not be a cluster file system or a shared location Unmounting a CD On UNIX if you are having trouble installing a product from multiple CD ROMs try using the following procedure to unmount the first CD ROM and mount the second
129. dates and to get latest versions refer to OracleMetaLink at http www oracle com support metalink index html Features of OPatch The OPatch 10 2 utility has the following features a Scalability OPatch is scalable to support large number of patches Reliability OPatch is reliable and protects the Oracle home and inventory It can bring the Oracle home back to a stable state from patch application failures It can also easily detect patch conflicts Oracle Software Patching Using OPatch 8 3 Pre requisite Checks in OPatch Portability OPatch is compatible with all operating systems for which Oracle releases software Robust OPatch is very robust It is very easy to apply a patch as well as remove it a Easy to maintain OPatch is easy to maintain and is also extensible Support for Silent Operation OPatch supports silent operation This mode allows you to run the software without any user interaction Support for Real Application Clusters OPatch supports Real Application Clusters and works well in that setup It is easy to extend it to the Grid Control Easy to debug OPatch has various levels of logging and tracing mechanisms It also has a debug option that helps to diagnose problems with the software easily Pre requisite Checks in OPatch Before you invoke OPatch perform the following pre requisite checks Check ORACLE HOME and Environment Variable OPatch verifies if the Oracle home is present Yo
130. ddress required for an Oracle Real Application Clusters installation Network Hardware Requirements Each node in the cluster must meet the following requirements Each node must have atleast two network adapters one for the public network interface and one for the private network interface the interconnect a The interface names associated with the network adapters for each network must be the same on all nodes a For increased reliability you can configure redundant public and private network adapters for each node For the public network each network adapter must support TCP IP a For the private network the interconnect must support the user datagram protocol UDP using high speed network adapters and switches that support TCP IP Gigabit Ethernet or better recommended Note UDP is the default interconnect protocol for Real Application Clusters and TCP is the interconnect protocol for Oracle Clusterware Token Ring is not supported for the interconnect a For the private network the end points of all designated interconnect interfaces must be completely reachable on the network Network Parameter Requirements If you are using NFS then you must set the values for the NFS buffer size parameters rsize and wsize to atleast 16384 Oracle recommends that you use the value 32768 Cluster Environment Installations 6 9 Pre Installation Tasks for Real Application Clusters on UNIX IP Address Requirements
131. de stacgl6 OPatch succeeded If you do not find the node information correctly printed out you need to update the node list For more information on updating the node list refer to section Updating the Nodes of a Cluster on page 3 11 Backup and Recovery Considerations for Patching You can back up the ORACLE_HOME using your preferred method You can use any method suchas zip cp r tar and cpio to compress the ORACLE HOME If the ORACLE HOME does not show up when doing an opatch lsinventory detail then the ORACLE HOME might be missing from the Central Inventory or the Central Inventory itself could be missing or corrupted If the ORACLE HOME is listed when you execute an opatch lsinventory detail command but the products and components within the ORACLE HOME is not listed then it could be that the inventory within the ORACLE HOME local inventory is missing or corrupted If the local inventory is corrupted or lost for some reason you can simply restore the ORACLE HOME inventory ifit had been backed up If a backup does not exist you may have to reinstall the software It is highly recommended to back up the ORACLE HOME before any patch operation Operations and Options in OPatch Utility The OPatch utility is located in the Path to Oracle Home OPatch directory It is run with various options and command line arguments The following command shows the syntax for the OPatch utility Path to OPatch opatch option
132. dei etd eate eL Do OI IE EL NOE HE 3 3 About the Oracle Universal Installer Inventory esee nen nnns 3 3 Structure of the Oracle Universal Installer Inventory eese 3 4 Central Inventory Pointer Filesi aia eee tenente nennen nennen 3 4 Central Inventory iius eerte esee eee peii e oreet eer at eter ad 3 4 Inyentory File 2 eon een adas 3 4 Logs Directory 58i raso NS E o ra ta sas Suis IUD edv eio RITU le 3 5 Oracle Home Inventory iiie ate id Bate ial ie aient etie ie bti ei be dice 3 5 Components File ti ee te ee ie er eee ene nee e e 3 6 Home Properties File reete ete eiie ilte ee eet s 3 6 Other Folders in de eei etu ioter 3 7 Creating thie Central Inventory rete nette aine dte de teer rete bee dee 3 7 Detaching Oracle Homes from the Central Inventory sess eee 3 8 Removing the Central Inventory oconinnnnnnnnnnnnnnnnnncncnnononononocononanorononaono non cn nn ona ro ron nnne nnn tennis 3 8 Removing the Central Inventory on UNIX Platforms eese 3 8 Removing the Central Inventory on Windows Platforms eese 3 9 Upgrading and Patching the Oracle Home sess eee nennen 3 9 Cloning Oracle HOMES ii iaa iia 3 9 Backing up the Inventor Y iii dd dd certe a a 3 9 Recovering from Inventory Corruption sese eene nnen 3 10 Diagnosing and Recovering from Central Inventory Corruption sss 3 10 Diagnosin
133. dette trim eee A Un AAA 8 14 AAA A irte d etes be res b T da ciere pa et vba de dede e EE RR IRE 8 16 Real Application Clusters Patching sees eee e eee nennen 8 16 Types of Real Application Clusters Patching sess eee eene 8 16 AI ING d Patching cc nei ee iaa det eiie 8 17 Rolling Patching reet ettet a 8 17 Minimum Downtime Patching sse eene nnne tenen 8 18 About Patch Conflicts eset edite Sitios hte mti meii ERR 8 19 Types OF AAA TETTE RT MR TE 8 19 Patch Conflict Detection and Resolution esee eere 8 22 Restoring Oracle FHomes eene Pe te S Ine id eet e de rre tege 8 22 viii Logging and Tracing 5 idet oi e pat a e i ot P e Rede eee 8 22 Levels of LOggitig 2 serine nene itte iret i e ee Qe pere tie eth p eene tetas 8 23 Recovering from a Failed Patching Session Using OPatch esee 8 23 Real Application Clusters Set p eee er etre toii rotten et heit 8 26 Environment Variables Used by OPatch ssssssssssssseseeeeeene eee nennen 8 29 Troubleshooting OPatch esses eene enne nennen nnne nennen a 8 30 Oracle Internationalization and Translation Installation Dialogs Language eese eene nnne nnne nene nennen nennen 9 1 Product Language Selections eese eee eene nennen nennen at 9 1 Language Add on os ees ee e E eu edet etie bride 9 2 Changing the Language of an Installat
134. dia Client Option 10 1 0 2 0 Oracle interMedia Common Files 10 1 0 2 0 Oracle interMedia Image 10 1 0 2 0 Oracle interMedia Java Advanced Imaging 10 1 0 2 0 Oracle interMedia Java Client 10 1 0 2 0 Oracle interMedia Locator 10 10 20 Oracle interMedia Video 10 1 0 2 0 Oracle interMedia Web Client 10 1 0 2 0 Oracle Internet Directory Client 10 1 0 2 40 Oracle Internet Directory Client Common Files 10 1 0 2 0 Oracle Internet Directory Tools 10 1 0 2 0 Oracle Java Tools 10 1 0 2 0 Oracle JDBC Thin Driver for JDK 1 2 10 1 0 250 Oracle JDBC Thin Driver for JDK 1 4 10 1 0 2 0 Oracle JDBC Thin Driver for JDK 1 4 for Instant Client 10 1 0 2 0 Oracle JDBC OCI Driver for JDK 1 4 10 1 0 2 0 Oracle JFC Extended Windowing Toolkit 4 2 18 0 0 Oracle JVM 10 1 0 2 0 Oracle Locale Builder 10 1 0 2 0 Oracle Message Gateway Common Files 10 1 0 2 0 Oracle Net 10 1 0 2 0 Oracle Net Configuration Assistant 10 1 0 2 0 Oracle Net Listener 10 1 0 2 0 Oracle Net Manager 10 1 0 2 0 Oracle Net Required Support Files 10 1 0 2 0 Oracle Net Services 10 1 0 2 0 Oracle Notification Service 9 0 4 0 0 Oracle OLAP 10 1 0 2 0 Oracle OLAP API 10531072 50 Oracle OLAP Catalog 10 1 0 2 50 Oracle One Off Patch Installer 10 2 0 1 0 Oracle Partitioning 10 1 0 2 0 Oracle Programmer 10 1 0 2 0 Oracle RAC Required Support Files 10 1 0 2 0 Oracle RAC Required Support Files HAS 10 1 0 2 0 Oracle Real Application Clusters 10 1 0 2 0 Oracle Spatial 10 1 0 2 0 Oracle Starter Database 10
135. dress must be available in each node s etc hosts file on UNIX and sSystemRoot system32 drivers etc hosts on Windows During Oracle Clusterware installation the information you enter as the private IP address determines which private interconnects are used by Real Application Clusters database instances One public IP address for each node to be used as the Virtual IP address for client connections and for connection failover This public Virtual IP address VIP must be associated with the same interface name on every node that is part of your cluster In addition the IP addresses that you use for all of the nodes that are part of a cluster must be from the same subnet If you have a domain name server DNS then register the host names for the VIP with DNS The Virtual IP address should not be in use at the time of the installation because this is a Virtual IP address that Oracle manages One public fixed hostname address for each node typically assigned by the system administrator during operating system installation If you have a DNS then register both the fixed IP and the VIP address with DNS If you do not have DNS then you must make sure that both public IP addresses are in the node hostfile Software Requirements for Real Application Clusters Setup Each node in a cluster requires a supported interconnect software protocol to support Cache Fusion and to support Oracle Clusterware polling Your interconnect must be certified b
136. e sss B 4 xi List of Tables 3 1 Oracle Installation Settings for Specify Home Details page 3 2 3 2 ARU IDs for Platforms dece ee ai a E 3 6 3 3 Other Folders in Oracle Home Inventory eese eee enn 3 7 3 4 Oracle Home Directory for Windows Platforms sse 3 13 3 5 Sample ORACLE BASE Directory Structure and Content ssssssssss 3 13 3 6 Sample Oracle Home Directory Structure and Content sss 3 14 4 1 Variable Types and Representations eee eene eene 4 5 5 1 Command Line Parameters for Pre Requisite Checks sss 5 2 5 2 Parameters in oraparam ini ssseeseeeeeee eene ne nn een e nenne ne nennen 5 3 7 1 Command line arguments in clone pl script eese eee 7 5 7 2 Command line arguments in clone pl script esses eee 7 7 7 3 UNIX and Linux System Based Variables for clone pl with O option 7 18 7 4 Windows System Based Variables for clone pl with O option sssss 7 19 8 1 OPatch Options cnica le ee AD 8 10 8 2 apply option command line arguments sss ene enne 8 11 8 3 Isinventory option command line arguments sse eene 8 13 8 4 query option command line arguments sss 8 14 8 5 rollback option command line arguments sse eene 8 15 8 6 Meth Table e o cades aaea e a a a cit du e iii 8 21
137. e StringList Description The Toplevel component that has to be installed in the current session The following choices are available The value should contain only one of these choices The choices are of the form Internal Name Version External name Please use the internal name and version while specifying the value oracle swd 2 2 1 2 0 Oracle Installation Products 2 2 1 2 0 Example TOPLEVEL COMPONENT oracle swd 2 2 1 2 0 A A A Rs A et ee A A A he es it TOPLEVEL COMPONENT oracle swd 2 2 1 2 0 Peet ee A Set ai heen A ee ete Name DEINSTALL LIST Datatype StringList Description List of components to be deinstalled during a deinstall session The following choices are available The value should contain only one of these choices The choices are of the form Internal Name Version External name Please use the internal name and version while specifying the value oracle swd 2 2 1 2 0 Oracle Installation Products 2 2 1 2 0 Example DEINSTALL LIST oracle swd 2 2 1 2 0 A oe hot eee Settee cx dA e Ar Ee eee eet eee DEINSTALL LIST oracle swd 2 2 1 2 0 M EE Name SHOW SPLASH SCREEN Datatype Boolean Description Set to true if the initial splash screen in the installer needs to be shown Example SHOW_SPLASH_SCREEN true Powe eee ete see Nee ano kee Oe eee eh See eer di a a SHOW SPLASH SCREEN true Pp E E RN Name SHOW WELCOME PAGE D 2 Or
138. e Universal Installer and OPatch User s Guide De installing Real Application Clusters Software 10 11 Start Oracle Universal Installer from the Start menu select Programs then ORACLE HOME NAME then Oracle Installation Products then Oracle Universal Installer The Welcome screen for Oracle Universal Installer appears Click Deinstall Products The Inventory screen appears Expand the tree of installed components until you find the components to remove For example if you installed a database with the Enterprise Edition option and later installed additional components with the Custom option expand the Oracle home component to display all the components installed in the Oracle home Select the components to remove Click Remove The Confirmation screen appears Click Yes to remove the selected components to initiate the removal process After the components are removed from your computer the Inventory screen appears without the removed components Click Close to close the Inventory screen Click Cancel to exit Oracle Universal Installer Click Yes to confirm that you want to exit For detailed instructions on de installing an Oracle product refer to the respective Oracle product installation guide De installing Oracle Clusterware Before de installing Oracle Cluster software ensure that you have removed the respective Oracle product s home in each node by following the steps in the preceding section The followi
139. e Oracle Universal Installer version is less than what OPatch requires then OPatch errors out 8 4 Oracle Universal Installer and OPatch User s Guide Pre requisite Checks in OPatch Check for Patch Applicable on Operating System OPatch detects if a particular patch is applicable for an operating system If it is not applicable it gives out a suitable error message Check for System Commands OPatch supports a set of properties that are used for various operations of the software You can use these properties to control the internal operations of OPatch By default OPatch uses standard Java property format to specify the properties An exhaustive list of the default properties and their values are as follows fuser sbin usr sbin ar usr ccs bin make usr bin You can specify OPatch properties in the following ways By using the default OPatch properties By specifying the location of the user defined properties file By using the command line The syntax is as follows PROPERTY NAME VALUE Example fuser sbin usr sbin Additional Pre requisite Checks for Real Application Clusters For a Real Application Clusters ensure that you perform the following pre requisite checks in addition to the other checks listed in the preceding section Check for User Equivalence You must ensure that the cluster machines should have user equivalence set for the user installing Oracle Clusterware Real Application Clusters
140. e cd lt Product_Shiphome_Location gt install win32 OraParam ini In the staging area the default OUI LOCATION is relative to the location of the oraparam ini file as follows stage Once installed the oraparam ini file is located in the oui directory The following table describes the parameters in the oraparam ini file and how to use them Table 5 2 Parameters in oraparam ini Section Parameter Description Oracle This section contains various parameters related to your installation DISTRIBUTION Set to TRUE if the oraparam ini file is on a distribution medium A distribution medium can be a CD ROM or a Web server Once installed this parameter is set to FALSE SOURCE Location of your staging area the products xml file This location is relative to the directory where oraparam ini exists Installing Products Using Oracle Universal Installer 5 3 Installing Oracle Products Table 5 2 Cont Parameters in oraparam ini Section Parameter Description LICENSE_LOCATION LICENSE_TITLE JRE_LOCATION OUL LOCATION OUI_CORE_LOCATION OUL VERSION DISPLAY_VERSION JRE_MEMORY_ OPTIONS DEFAULT_HOME_ LOCATION DEFAULT_HOME_ NAME NO_BROWSE Location of a text file for License information This location is relative to the directory where oraparam ini exists The legal terms file should be a plain text file If you specify the LICENSE_LOCATION variable Oracle Universal Ins
141. e a value for the s1_tableList variable The Perl clone p1 script takes all other variable settings from the zipped Oracle Clusterware home This is only true however if the source of the zipped home was from an existing node of the cluster that you are extending If you use any other Oracle RAC environment as your cloning source that is if you clone from a node in a cluster other than the one that you are extending then you must provide values for all of the arguments This includes values for the Oracle Cluster Registry and voting disk location arguments You must do this because the value forsl tableList is used as shown in the command example in this step Also note that you should only specify values for the new node forthe s1_tableList options 3 On the new node go to the directory that contains the central Oracle inventory Run the orainstRoot sh script to populate the file etc oraInst loc with information about the central inventory location 4 Run the following command on the existing node where new_node is the name of the new node new_node privis the private interconnect protocol address for the new node and new_node vipis the virtual interconnect protocol address for the new node SORACLE HOME oui bin addNode sh silent CLUSTER_NEW_NODES new_node CLUSTER NEW PRIVATE NODE NAMES new node priv CLUSTER NEW VIRTUAL HOSTNAMES new node vip noCopy Note Because the clone pl script has already been
142. e default TEMP or TMP directory otherwise the installation will not succeed The amount of space required depends on the product being installed Note On UNIX and Windows Oracle Universal Installer looks for TEMP then TMP If neither is set Oracle Universal Installer will default to tmp on UNIX and c temp on Windows Incomplete stage and missing files in file groups Make sure you have a good staging area You may have incorrectly copied the staging area from the CD to the hard disk Exceptions from action libraries NT Services if a service is already started File permissions UNCAUGHT RUNTIME exception when user tries to install the product on his machine This is a blanket error catch that catches any run time errors like NullPointers from libraries Check if the temp OraInstall orainsrall err has any stack trace The user will have to call support to debug the staging area The following tips may help you to troubleshoot Make sure the correct version of the JRE is specified in the PATH If Java cannot run applications from a Sun machine on an NCD X terminal Oracle Universal Installer does not start remove the following file SJAVA HOME lib font properties If you are deleting an Oracle home manually without using Oracle Universal Installer the products remain registered with Oracle Universal Installer You must then simulate a de install so that all Oracle Universal Installer references are remove
143. e following sections describe the different ways that Oracle Universal Installer can be used after installation Specifically this section describes Starting Oracle Universal Installer Command Line Arguments Using Oracle Universal Installer Exit Codes Cloning Considerations Starting Oracle Universal Installer Oracle Universal Installer is installed on your system during the installation of your Oracle products Program Files Oracle oui on Windows At the same level as lt oraInventory gt on UNIX For all platforms the executable file setup exe or runInstaller sh is located in the following directory lt oui_location gt bin A new version of Oracle Universal Installer replaces its older version Oracle Universal Installer is placed under Independent Products in the Inventory panel as a non Oracle home product To start Oracle Universal Installer On Windows platforms select Start Programs Oracle Installation Products Oracle Universal Installer 5 12 Oracle Universal Installer and OPatch User s Guide Running Oracle Universal Installer After Installation a On UNIX execute runInstaller from the directory where it is installed For example if the lt oraInventory gt is u01 oracle oraInventory then Oracle Universal Installer will be at u01 oracle oui A runInstaller sh script is also available so that users can launch Oracle Universal Installer directly from a different direct
144. e nodes use the same OPatch version When I rollback a patch on a Real Application Clusters setup and execute opatch Isinventory on the local node it shows that the patch was not removed Cause This may occur if OPatch failed to update inventory Action Perform the following steps 1 Ensure that the environment variable ORACLE HOME is set properly in each node in the cluster Navigate to the S ORACLE HOME patch storage patch id timestamp directory in each node in the cluster and execute the restore command as follows For UNIX SORACLE HOME patch storage patch id timestamp restore sh For Windows SORACLE HOME patch storage patch id timestamp restore bat On UNIX source SORACLE HOME patch storage patch id timestamp make txt file if available in each node in the cluster as follows bin sh make txt Rollback the patch in all the nodes in the cluster using the local flag SORACLE HOME OPatch opatch rollback local id Patch ID Oracle Software Patching Using OPatch 8 27 Recovering from a Failed Patching Session Using OPatch Note Ensure that all the nodes use the same OPatch version When I rollback a patch on a Real Application Clusters setup and execute opatch Isinventory on the local node it returns nothing Cause This may be because you might have lost all the patches applied earlier Action Perform the following steps 1 Ensure that the environ
145. e to be different Overview of the Cloning Process The cloning process uses the OUI cloning functionality This operation is driven by a set of scripts and add ons that are included in the respective Oracle software The cloning process has two phases a Source Preparation Phase Cloning Phase Source Preparation Phase To prepare the source Oracle home to be cloned perform the following steps a At the source you run a script called prepare clone pl This is a Perl script that prepares the source for cloning by recording the information that is required for cloning This is generally located in the following location SORACLE HOME clone bin prepare clone pl During this phase prepare clone p1l parses files in the source Oracle home to extract and store the required values For more information about the parameters to be passed refer to the section Cloning Script Variables and their Definitions Note The need to perform the preparation phase depends on the Oracle product that you are installing This script needs to be executed only for the Application Server Cloning Database and CRS Oracle home Cloning does not need this a Archive and compress the source Oracle home using your preferred archiving tool For example you can use WinZip on Microsoft Windows system computers and tar or gzip on UNIX Make sure that the tool that you use preserves the permissions and file timestamps When archiving the home also ensure
146. ective Oracle product Real Application Clusters installation guide Creating the Clusterware Home Directory Oracle Universal Installer creates the Oracle Clusterware home directory for you Ensure before you start the installation that you provide sufficient disk space on a file system for the Oracle Clusterware directory and the parent directory of the Oracle Clusterware directory space is writable by the Oracle user To create the Oracle Clusterware home directory and specify the correct owner group and permissions for it follow these steps 6 12 Oracle Universal Installer and OPatch User s Guide Pre Installation Tasks for Real Application Clusters on Windows 1 Enter commands similar to the following to create the recommended subdirectories in the mount point directory that you identified and set the appropriate owner group and permissions on them mkdir p mount point crs oracle sw owner product 10 2 0 crs chown R root oinstall mount point crs chmod R 775 mount point crs oracle sw owner If the mount point you identified is u01 then the recommended Oracle Clusterware home directory path is as follows u01 crs oracle product 10 2 0 crs 2 If necessary repeat the commands listed in the previous step to create the same directory on the other nodes in the cluster 3 Enter commands similar to the following to set the ORACLE BASE and ORACLE _ HOME environment variables in preparation for the Oracle Cluster
147. ectory and execute the restore command as follows For UNIX 8 30 Oracle Universal Installer and OPatch User s Guide Troubleshooting OPatch SORACLE HOME patch storage patch id timestamp restore sh For Windows SORACLE HOME patch storage patch id timestamp restore bat On UNIX source ORACLE HOME patch storage patch id timestamp gt make txt file if available as follows bin sh make txt Oracle Software Patching Using OPatch 8 31 Troubleshooting OPatch 8 32 Oracle Universal Installer and OPatch User s Guide 9 Oracle Internationalization and Translation The following sections describe how Oracle Universal Installer supports multiple languages and internationalization Installation Dialogs Language a Product Language Selections Language Add on Installation Dialogs Language Oracle Universal Installer runs in the language of the operating system Oracle Universal Installer uses the language that Java detects the system locale value and sets that to the default language The Oracle Universal Installer dialogs will be displayed in this language if available If specific Oracle Universal Installer dialogs are not translated in the language of the operating system those dialogs will be shown in English Oracle Universal Installer displays the translated GUI only if the variable NLS_ ENABLED has been set to TRUE in the oraparamiini file If the NL5 ENABLED variable is set to FALSE
148. ed a bug conflict You must remove the bug conflict before you proceed with the patching by using the apply command with force flag that rolls back the conflicting patches before applying the new one For example consider a scenario where there are four patches A B C and D applied in a system each of which fixes 2 bugs as shown in Figure 8 6 If you apply a patch E that fixes bugs 1 3 5 7 9 and 10 you will find that this patch has fixed bugs 1 3 5 7 9 and 10 but has opened bugs 2 4 6 and 8 This is a conflict situation Figure 8 6 Bug Conflict After Patching Before Patching Patch D Bugs 1 3 5 6 7 and 8 Patch D Bugs 1 3 5 6 7 and 8 File Conflict If a set of files to be patched by the current interim patch include files already patched by one or more previously installed interim patches and it is not a bug superset it is called a file conflict You must remove the file conflict before you proceed with the patching by using the apply command with force flag that rolls back the conflicting patches before applying the new one Combination Conflict If a set of patches has a combination of bug superset and bug or file conflict it is called a Combination Conflict It is an error situation In this case OPatch removes all conflicting patches as well as the subset patches and then re applies the new patch For example consider a scenario where there are four patches A B C and D applied in a s
149. ent that also has 9 2 Real Application Clusters 1 Run CRS HOMEMbinNGuiOracleOBJManager exe to make sure that the symbolic link named srvcfg exists and points to a disk partition if you are not using OCES to store the OCR 2 IfOracle9i release 9 2 Clusterware uses Oracle CFS Cluster File System then ensure the following is true for all nodes The registry key HKLM SOFTWARE Oracle osd9i ocr exists The registry key HKLM SOFTWARE Oracle osd9i ocr has a string value Cf sOcrRoot that points to a release 9 2 OCR CFS location 3 Run CRS_HOME bin ocrconfig downgrade to downgrade the Cluster Registry to a release 9 2 OCR 4 On each node copy CRS_HOME cfs OcfsFindVol exe to SSYSTEMROOTS system32 osd9i cfs 5 Run CRS_HOME oui bin setup exe to start Oracle Universal Installer On the Welcome page click Deinstall Products to list all the installed products Select the Oracle Clusterware home name from the displayed products and click Remove to deconfigure and de install the product 6 On each node run SSYSTEMROOTS system32 osd9i olm OracleOBJService exe install to re install the Oracle 9 2 object service Then start Oracle Object Service 6 26 Oracle Universal Installer and OPatch User s Guide Troubleshooting Real Application Clusters Oracle Clusterware Installation 7 Oneach node run SYSTEMROOTS system32 osd9i cfs OcfsFindVol exe i SYSTEMROOT system32 osd9i cfs OcfsFindVol exe to re install the
150. erforms the action on the local node irrespective of the cluster nodes specified For a non Real Application Clusters setup you need not pass the LOCAL NODE variable and the CLUSTER NODES variable is empty The syntax is as follows runInstaller silent attachHome invPtrLoc oraInst loc ORACLE HOME Oracle Home Location ORACLE HOME NAME Oracle Home Names CLUSTER NODES Managing Oracle Homes 3 7 About the Oracle Universal Installer Inventory You can use the 1ocal flag to attach the local Oracle home If you are using a shared Oracle home with 10ca1 flag use cfs flag This ensures that the local node information is not populated inside a shared Oracle home If the Central Inventory does not already exist Oracle Universal Installer creates the Central Inventory in the location specified by the oraInst loc file After attaching the Oracle home you can verify the success of the operation by verifying the contents of the log file present in the lt central_inventory gt logs directory You can also view the contents of the inventory xml file under lt central inventory gt ContentsXML directory to verify if the Oracle home is registered Note Oracle recommends cloning on Windows operating systems to create the Central Inventory Detaching Oracle Homes from the Central Inventory You can detach an Oracle home from the Central Inventory When you pass this flag it updates the oraclehomeprop
151. erties xml present in the Oracle home The syntax is as follows runInstaller silent detachHome invPtrLoc oraInst loc ORACLE HOME Oracle Home Location ORACLE HOME NAME Oracle Home Names You can use the 1ocal flag to detach the Oracle home from the inventory of the local node If you are using a shared Oracle home use cfs flag This ensures that the local node information is not populated inside a shared Oracle home runInstaller silent local cfs detachHome invPtrLoc oraInst loc ORACLE HOME Oracle Home Location ORACLE HOME NAME Oracle Home Names runiInstaller silent detachHome invPtrLoc oraInst loc ORACLE HOME Oracle Home Location ORACLE HOME NAME Oracle Home Name gt You can completely clean the Oracle home and remove the home directory by using the removeallfiles flag The syntax is as follows runiInstaller silent deinstall removeallfiles invPtrLoc oraInst loc ORACLE HOME Oracle Home Location ORACLE HOME NAME Oracle Home Names If you want to disable the warning message that appears when you use the removeallfiles flag use the nowarningonremovefiles flag The syntax is as follows runInstaller silent deinstall nowarningonremovefiles invPtrLoc oraInst loc ORACLE HOME Oracle Home Location ORACLE HOME NAME Oracle Home Name gt Removing the Central Inventory Even after all the Oracle homes on a host are removed you will find traces of the in
152. erware Installed Real Application Clusters Components Oracle Clusterware The Oracle Universal Installer installs Oracle Clusterware on each node on which the Oracle Universal Installer detects that third party vendor clusterware is present If third party vendor clusterware is not present then you must use the Oracle Universal Installer to enter the nodes on which you want the Oracle Clusterware to be installed The Oracle Clusterware home can be either shared by all nodes or private to each node depending on your responses when you run the Oracle Universal Installer When third party vendor clusterware is present Oracle Clusterware may interact with the third party vendor clusterware In using third party vendor clusterware note that Oracle Clusterware can integrate with third party vendor clusterware for all operating systems except Linux and Windows You need to have Oracle Cluster Registry and Voting Disks shared across all nodes Installed Real Application Clusters Components All instances in Real Application Clusters environment share the control file server parameter file redo log files and all data files These files reside on a shared cluster file system or on shared disks Either of these types of file configurations are accessed by all the cluster database instances Each instance also has its own set of redo log files During failures shared access to redo log files enables surviving instances to perform recovery Gene
153. es are down then the installation will not be allowed to proceed Note In Oracle Universal Installer click Installed Products to display the Inventory panel which lists all installed Oracle homes Clustered Oracle homes homes installed on multiple cluster nodes have an attribute called Cluster Nodes which lists all the nodes associated with that home Availability Checking When the user clicks Next on the Specify Hardware Installation Mode page or Selected Nodes page Oracle Universal Installer performs the following availability checks on the nodes Network reachability Tests whether the remote cluster nodes are up and running Network configuration Tests whether the remote cluster nodes are properly network configured Inventory setup Tests whether the inventory is set up on the remote nodes If not set up on UNIX Oracle Universal Installer prompts the user to run root scripts on the remote nodes to set up inventory On Windows Oracle Universal Installer sets up the inventory location in the Windows registry Inventory permission Tests whether the Central Inventory location is writable by the user Oracle home permission Tests whether the Oracle home is writable by the user If all selected nodes are available the installation process continues to the next step If a node or nodes is not available the page is re displayed with a Status column 6 20 Oracle Universal Installer and OPatch User s Guide
154. es concurrently Products installed in one home will not conflict or interact with products installed on another home You can update software in any home at any time assuming all Oracle applications services and processes installed on the target home are shut down Processes from other homes may still be running The Oracle home currently accessed by Oracle Universal Installer for installation or de installation is the target home In order to upgrade or remove products from the target homes those products must be shut down or stopped About the Oracle Universal Installer Inventory The Oracle Universal Installer inventory stores information about all Oracle software products installed in all Oracle homes on a host provided the product was installed using Oracle Universal Installer Inventory information is stored in Extensible Markup Language XML format The XML format allows for easier diagnosis of problems and faster loading of data Any secure information is not stored directly in the inventory As a result during removal of some products you may be prompted to enter the required credentials for validation Managing Oracle Homes 3 3 About the Oracle Universal Installer Inventory Structure of the Oracle Universal Installer Inventory The Oracle Universal Installer inventory is hierarchical in structure consisting of the following Central Inventory Pointer File Central Inventory Oracle Home Inventory Central
155. ese choices The choices are of the form Internal Name External name Please use the internal name while specifying the value en English r French ar Arabic bn Bengali pt_BR Brazilian Portuguese bg Bulgarian fr_CA Canadian French ca Catalan hr Croatian cs Czech da Danish nl Dutch ar_EG Egyptian en_GB English United Kingdom et Estonian Ei Finnish de German el Greek iw Hebrew hu Hungarian is Icelandic in Indonesian it talian ja Japanese ko Korean es Latin American Spanish lv Latvian It Lithuanian ms Malay es MX Mexican Spanish no Norwegian pl Polish pt Portuguese ro Romanian ru Russian zh_CN Simplified Chinese sk Slovak sl Slovenian es ES Spanish sv Swedish th Thai zh_TW Traditional Chinese tr Turkish uk Ukrainian vi Vietnamese Example COMPONENT LANGUAGES en Component oracle swd A T E a IA ae component_languages en E Risks tele SR ene ees A oc E Name install type Datatype String Description Installation type of the component The following choices are available The value should contain only one of these choices The choices are of the form Internal Name External name Please use the internal name while specifying the
156. f this process results in node restart crsd Performs high availability recovery and management operations such as maintaining the OCR Also manages application resources and runs as root user and restarts automatically upon failure Adding Additional Nodes to the Cluster for Mass Deployment If you want to add additional nodes to the cluster by copying the Oracle Clusterware home to another node in the cluster then complete the following procedure 1 Perform a single node cluster Oracle Clusterware installation on nodel In the following steps the variable CRS HOME represents the Oracle Clusterware home directory of the successfully installed Oracle Clusterware software Go to the directory CRS_HOME oui bin and run the script addNode sh The node selection page comes up Select the nodes to be added and click Next The Summary page opens Verify if the Summary page contains the correct node information and click Next When prompted run the script rootaddnode sh on your local node If prompted to do so run the script orainstroot sh on the node on which you are creating another Oracle Clusterware home directory Run the root sh script on the node on which you are creating another Oracle Clusterware home directory From the Oracle Clusterware home directory you created on the additional node in the path CRS_HOME bin run the following command racgons add config node2 4948 In the preceding syntax example
157. file If the CRS flag is set to TRUE then the oraclehomeproperties xml file is updated with the Oracle Clusterware home information For more information refer to section Updating the Nodes of a Cluster on page 3 11 Major Entities Inventory Oracle Home The following are the major entities created when you run Oracle Universal Installer The Oracle Universal Installer inventory stores information about all Oracle software products installed in all the Oracle homes on a host provided the product was installed using Oracle Universal Installer The inventory is organized as follows Central Inventory a Oracle home inventory For more information on the inventory and the structure of the inventory refer to section About the Oracle Universal Installer Inventory on page 3 3 An Oracle home is the system context in which the Oracle products run This context consists of the following The directory location where the products are installed a The corresponding system path setup The program groups associated with the products installed in that home where applicable a The services running from that home For more information on Oracle homes refer to Chapter 3 Managing Oracle Homes Basic Concepts 1 3 Modes of Installation Modes of Installation You can run the Oracle Universal Installer in the following modes Interactive Mode You can use the graphical user interface GUI mode to walk through
158. for the new nodes that are used for node addition This is used to specify the host names for the new cluster nodes This is used to specify the node numbers of the new cluster nodes This is used to specify the virtual host names for the new cluster nodes This is used to specify the license agreement status By setting this variable to true you are accepting the license agreement This is used to specify the registration keyword value This can be obtained from the URL specified in Product Registration Page This is used to specify whether to restart the system or not Set to true to allow automatic restart of the system if set to false then installer will exit without restarting no exit confirmation dialog is shown C 6 Oracle Universal Installer and OPatch User s Guide Command Line Variables Available in Oracle Universal Installer Table C 2 Cont Command line variables in Oracle Universal Installer Command Line Variable Description RESTART_REMOTE_ This is used to specify whether to restart the remote system or not Set SYSTEM to true to allow automatic restart of the remote system if set to false then installer will not restart remote systems no exit confirmation dialog is shown SESSION_MODE This session variable holds the current Oracle Universal Installer execution mode e g Install for an install and or de install session or Clone for a cloning home fix up session LOG_LOCATION This is used to
159. for the products xml file For example you can enter http ww oracle com product ouiinstall stage products xml The Oracle Universal Installer recognizes a Web staging area just like a local network or CD ROM stage System administrators of large customers who may want to deploy Oracle software to more than one target can use a combination of the Web installation and response file features 1 Copy the staging area to a shared file system and make it accessible on the Intranet or a Web server 2 Include predetermined response files on the same location Different groups of users might rely on different response files 3 Clients run Oracle Universal Installer locally and use the local response file that is mailed or downloaded so they can perform a silent installation The Web installation capability relies on some guidelines that must be followed at installation development time Check your installation guide for your product to see if the installation of your product is certified for Web installation To test if your stage is Web enabled you may try the following 1 Copy the stage to your Web server 2 Start the Oracle Universal Installer locally and point to the location of the products xml file For example http smpweb us oracle com product ouiinstall stage products xml Special Instructions for UNIX Users The following sections describe special instructions that apply when you are installing certain produ
160. g and Recovering from Oracle Home Inventory Corruption 3 11 Real Application CIUSters irese tenerse Tri tee ee red dire eee e de eet e eene 3 11 Updating the Nodes of a Cluster sse tenente eene 3 11 Home Selector Available on Win32 Platforms essent enne nnne 3 12 Home Selector Overview cete hec e i eter re Seine nde ttes 3 12 How Home Selector Works sse neret a a a eser tnn 3 12 Oracle Home Directory Structure for Windows Platforms sse 3 13 Optimal Flexible Architecture Directory Structure on UNIX sees 3 13 ORACLE BASE Directory gebe e Lo A B E A EE de 3 13 ORACLE HOME Directory nett eee e eate dee eee item tei ne na 3 13 Customizing and Creating Response Files About Response Files tede erede eem eedem eee eee dene 4 1 What Is a Silent Installation ooonniconninonicnnnnncnnnnonnanannno nono nocnn nono nnon ano trennen ten tenerent tenete nein 4 1 What Isa Response Fill ete eee ee tee dese eet rare 4 1 Why Perform a Silent Installation eieiei peee eene eene n nennen nenne 4 2 Modifying a Response Fil etre dnte itai gia esci is dei Ee rua diria 4 2 Creating a Response File With Record Mode sss eee eee 4 3 Using Record Mode nen etie tiu Pe eee nn n RR eor idee Reda EC cia 4 3 Response File Format eris nasa aimed id 4 4 5 Variable Valles a tah ia ee AI A A E dE Aa 4
161. g the force flag will be the same as selecting Yes while installing in GUI mode You will receive a warning message but the installation will continue Removing Oracle Homes To remove an existing Oracle home invoke Oracle Universal Installer and click Deinstall Products At the inventory dialog select the homes you wish to delete and click Remove You may also use the REMOVE_HOMES variable in the command line or in a response file The syntax is as follows runInstaller deinstall ORACLE HOME LOCATION OF ORACLE HOME gt REMOVE _ HOMES LOCATION OF ORACLE HOME TO BE REMOVED gt silent Determining the Default Oracle Home By default when you start Oracle Universal Installer the software searches your system to determine the default Oracle home where Oracle software should be installed In all cases the ORACLE HOME name is taken first from the command line if it is specified else from the response file if specified If not then the following convention is used for the name Ora short marketing name in oraparam ini home identifier Where short marketing name in oraparam ini is the short product marketing name as specified in the oraparam ini file for example Db10g and home identifier 3 2 Oracle Universal Installer and OPatch User s Guide About the Oracle Universal Installer Inventory is a counter derived from the Central Inventory For example the ORACLE_HOME name could be OraDb
162. gei ente tte 6 20 Cluster Installation ocsi ioaten reete Deren ere bts cose oen o erbe oen aen Sova eho oreet oho teeta shee 6 21 Cluster Installation in Silent Mode sessi nntn ennt tne nn enne enne 6 21 Cluster De installation 2 2 annie rere PRO eerte E Ib Hee e eh ere eg e A 6 21 Command Line Options for Cluster Installs UNIX Only sse 6 22 Patchsets and Upgrades necia a eee teta Decent Ree ede tate 6 22 Post Installation Tasks enter etre eere nee teile ire ein eene E RI IER Ph 6 22 VELLO Ee ete od eme mediate tens 6 22 Back Up Disk after Installations siinse E E A E nennen nnn nennen 6 22 Download and Install Pateando 6 22 Configure Oracle Products mesias eme iei ee tet rettet bc 6 23 De installing Real Application Clusters Software sss eee 6 23 De installing Oracle Product Software on UNIX sse eene 6 23 De installing Oracle Product Software on Windows 6 24 De installing Oracle Clusterware eese eee eee n nennen 6 25 De installing Oracle Clusterware from UNIX Environment sees 6 25 De installing Oracle Clusterware from Windows Environment sss 6 26 De installing Oracle Clusterware with No Previous Cluster Software Versions 6 26 De installing Oracle Clusterware with Clusterware Downgrade to 9 2 6 26 Converting Single Instance Nodes to Real Application Clusters sss 6 27 Trou
163. h of This is used to point to a different inventory location The oralnst loc gt orainst loc file contains the following entries inventory loc location of central inventory inst group This flag can only be passed on UNIX platforms Understanding Oracle Universal Installer Commands C 1 Options Available in Oracle Universal Installer Table C 1 Cont Options in Oracle Universal Installer Option Description jreLoc lt location gt logLevel lt level gt paramFile lt location of file gt responseFile lt Path gt sourceLoc lt location of products xml gt addLangs addNode attachHome cfs clone debug deinstall detachHome enableRollingUpgrade executeSysPrereqs force help This is the path where the Java Runtime Environment is installed You need to mention this path to override the default path This is used to filter log messages that have a lesser priority level than the level specified Valid options are severe warning info config fine finer and finest This is used to specify the location of oraparam ini file to be used by Oracle Universal Installer This is used to specify the location of the response file to use This option is used with the silent flag This is used to specify the ship home location This is used to add new languages to an already installed product This is used for adding node s to the installation You ca
164. his value using the OUI VERSION parameter Use this parameter if you want to override the default value stage Components oracle swd oui core lt vers ion gt 1 DataFiles Expanded Set the version of Oracle Universal Installer that you are using You must properly set the version for the BOOTSTRAP to work Set to FALSE to suppress the display of the version of top level components in the Installation Type dialog during installation Set these to increase the initial heap threshold for JRE For example mx48m Location of the default Oracle home The default name for the Oracle home This parameter is used only if the installation takes place on a host with no previous Oracle installations Lists directories that you do not want to browse typically large directories that take a long time to view For example net nfs 5 4 Oracle Universal Installer and OPatch User s Guide Installing Oracle Products Table 5 2 Cont Parameters in oraparam ini Section Parameter Description NLS_ENABLED BOOTSTRAP BOOTSTRAP_SIZE USE_BUILD_ NUMBER APPLTOP_STAGE REGISTRATION_URL REGISTRATION_KEY IMAGES Set to TRUE for Oracle Universal Installer to enable NLS support Set to FALSE to disable the installation session translations Oracle Universal Installer displays in English even if you run on a non English system Set to TRUE or FALSE This parameter instructs Oracle Universal Installer to atte
165. his variable to be equal to the information in the cluster configuration information table This file contains a comma separated list of values The first field designates the public node name the second field designates the private node name and the third field designates the virtual host name The fourth and fifth fields are used only by the OUI and should default to N Y The OUI parses these values and assign s publicname and S privatename variables accordingly For example node1 nodel priv nodel vip N Y node2 node2 priv node2 vip N Y Set the value for this variable using the following format a 1 disk number 2 partition number 3 partition size a 4 format type 0 for raw and 1 for cluster file system a 5 Drive Letter this value is not applicable if you use raw devices use the available drive letter if you are using a cluster file system 6 Usage type as follows 0 Data or software use only 1 Primary OCR only 2 Voting disk only 3 Primary OCR and voting disk on the same cluster file system partition 4 OCR mirror only 5 OCR mirror and voting disk on the same cluster file system partition For example to configure the OCR and voting disk on raw devices and to not use a cluster file system for either data or software set 1 OHPartitionsAndSpace valueFromDlg to list only the partitions that you intend to use for an Oracle Clusterware installation using the following format sl OhPart
166. ication Clusters When you install Oracle Clusterware or Real Application Clusters the Oracle Universal Installer copies the Oracle software onto the node from which you are running it If your Oracle home is not on a shared file system then the Oracle Universal Installer propagates the software onto the other nodes that you have selected to be part of your Oracle Universal Installer installation session The Oracle inventory maintains a list of each node that is a member of the Real Application Clusters database and lists the paths to each node s Oracle home This is used to maintain patches and updates for each member node of the Real Application Clusters database When the Oracle Universal Installer installs the Oracle software Oracle recommends that you select a preconfigured database or use the Database Configuration Assistant DBCA interactively to create your cluster database You can also manually create your database as described in procedures posted on the Oracle Technical Network which is at the following URL http www oracle com technology index htm Oracle recommends that you use Automatic Storage Management ASM If you are not using ASM or if you are not using a cluster file system then configure shared raw devices before you create your database Oracle software provides additional components to operate Real Application Clusters Some of the Real Application Clusters specific components include Oracle Clust
167. ich you want your Oracle products to be upgraded and click Next 5 Summary page displaying a snapshot of your preferences appears Review them and click Install 6 After the languages are successfully updated End of Language Upgradation page appears Click Exit 9 2 Oracle Universal Installer and OPatch User s Guide A Frequently Asked Questions This appendix is organized into the following sections Oracle Universal Installer a OPatch Oracle Universal Installer The following section answers the frequently asked questions in Oracle Universal Installer On Windows when I run Oracle Universal Installer setup exe it is not invoked This may be due to some system resources being held by some services If we stop these services then Oracle Universal Installer would be invoked To run Oracle Universal Installer again execute the following setup J Dsun java2d noddraw true Dsun awt nopixfmt true When I start Oracle Universal Installer from any location after setting the PATH environment variable I get an error that reads Could not read any NLS message catalogue What do I do Oracle Universal Installer needs some files in the directory where the runInstaller UNIX or setup exe Windows is running So when you invoke runInstaller UNIX or setup exe Windows you should invoke it from the directory where this command is present or you must specify the complete path I have lost my Central Invent
168. ify the installation that the Oracle Universal Installer is about to perform and click Finish 9 When you click Finish the Oracle Universal Installer installs the OCFS and Oracle Clusterware software on the local node and validates the installation again The Oracle Universal Installer will also create any required OCFS file systems After validating the installation the Oracle Universal Installer completes the Oracle Clusterware software installation and configuration on the remote nodes 6 18 Oracle Universal Installer and OPatch User s Guide Adding Additional Nodes to the Cluster for Mass Deployment Running the Oracle Universal Installer in Silent Mode to Install Oracle Clusterware You can run the Oracle Universal Installer in silent mode to install Oracle Clusterware by entering the following command setup exe silent responseFile lt response file path gt For Oracle Clusterware you need to use the formCluster flag You can pass session variables like nodelist ocr voting disk location etc from the command line for silent installation Oracle Clusterware Background Processes The following processes must be running in your environment after the Oracle Clusterware installation for Oracle Clusterware to function oprocd Process monitor for the cluster evmd Event manager daemon that starts the racgevt process to manage call outs ocssd Manages cluster node membership and runs as oracle user failure o
169. in this session This is used to specify if the installation progress page in the Oracle Universal Installer needs to be shown This page shows the current status in the installation This is used to specify if the required config assistants page in Oracle Universal Installer needs to be shown This page shows the list of required configuration assistants that are part of this installation It shows the status of each assistant including any failures with detailed information on why it failed This is used to specify if the config assistants page in Oracle Universal Installer needs to be shown This page shows the list of configuration assistants that are part of this installation and are configured to launch automatically It shows the status of each assistant including any failures with detailed information on why it failed This is used to specify if the release notes of this installation need to be shown at the end of installation This dialog can be launched from the End of Installation page and shows the list of release notes available for the products just installed This also requires the variable SHOW END SESSION PAGE variable to be set to true This is used to specify if the text on end of installation screen is to be shown The text is always available under Oracle Home gt install readme txt This is used to specify if the end of session page in Oracle Universal Installer needs to be shown This page shows if the install
170. ine arguments Command line Argument Description all Retrieves all information about a patch This is equivalent to setting all command line arguments jdk Specifies the location of a particular JDK jar to use instead of the default location under the Oracle home directory You cannot use jdk and jre options together jre Specifies the location of a particular JRE Java to use instead of the default location under the Oracle home directory You cannot use jdk and jre options together oh Specifies the Oracle home directory to use instead of the default directory rollback Option The rollback option removes a specific interim patch from the appropriate Oracle home directory The following syntax is used for this option Path to OPatch opatch rollback id patch id ph patch directory A delay value invPtrLoc path jdk location jre location N local oh Oracle Home location post options to be passed into post opatch post end A pre options to be passed into pre opatch pre end retry value silent verbose no relink no sysmod remote nodes nodel node2 local node node name 8 14 Oracle Universal Installer and OPatch User s Guide Operations and Options in OPatch Utility The following table lists the command line arguments available for use with the rollback option Table 8 5 rollback option command line arguments Command line Argument Description
171. ing Log Files Cloning an Oracle Database 10 1 Oracle Home Cloning an Oracle Database 10 2 Oracle Home Creating Oracle Real Application Cluster Environment using Cloning a Adding Nodes Using Cloning in Oracle Real Application Clusters Environments About Cloning Cloning is the process of copying an existing Oracle installation to a different location and updating the copied bits to work in the new environment The changes made by one off patches applied on the source Oracle home would also be present after the clone operation The source and the destination path host to be cloned need not be the same During cloning OUI replays the actions that were run to install the home Cloning is similar to installation except that OUI runs the actions in a special mode that is referred to as clone mode Some situations in which cloning is useful are Creating an installation that is a copy of a production test or development installation Cloning enables you to create a new installation with all patches applied to it in a single step This is in contrast with going through the installation process by performing separate steps to install configure and patch the installation Rapidly deploying an instance and the applications that it hosts Preparing an Oracle home and deploying it to many hosts The cloned installation behaves the same as the source installation For example the cloned Oracle home can be removed using OUI or pa
172. ing and Recovering from Oracle Home Inventory Corruption When you execute an opatch lsinventory detail or when you click Installed Products the Oracle home appears but the products and components within the Oracle home are not listed Cause This may be due to missing or corrupted Oracle home inventory Action If the Oracle home inventory is missing or corrupted restore the Oracle home inventory If you have not backed up the Oracle home inventory you may have to install the software on a different node having the same platform and install the same patch levels including interim patches After that you can simply copy the inventory directory from the patched Oracle home to the location of the affected Oracle home Note For Oracle Universal Installer version 10 2 0 2 0 and above you will have the following scripts in Oracle home to recover from Oracle home inventory corruption detachHome bat detachHome sh Use this script if the Oracle home is corrupted or needs to be updated attachHome bat attachHome sh Use this script if the Oracle home needs to be added to the inventory Real Application Clusters In a Real Application Clusters environment the inventory also contains a list of nodes associated with an Oracle home It is important that during upgrade and patching the inventory is correctly populated with the list of nodes For more information refer to Chapter 6 Cluster Environment Installations
173. ing troubleshooting sections Debugging Mechanisms in Oracle Universal Installer Oracle Universal Installer Errors Other Tips Debugging Mechanisms in Oracle Universal Installer During the installation Oracle Universal Installer writes a text file that contains information on Variable settings a Action calls Queries a Exception information The log of installation actions is written to a file named installActions lt date gt log located in the lt oraInventory gt logs directory The oraInstall lt timestamp gt err and oraInstall lt timestamp gt out files are also created and stored in the same logs directory The 1og err and out file for a particular session will be named with the same timestamp The installation log is used for debugging purposes only All actions queries everything that happens during the installation and all modifications to the target host are logged in the file A sample file is shown below installActions2002 08 16 09 52 16 AM log Environment variables ORACLE HOME PATH E OEM bin E ORACLE815 bin C Program Files Oracle jre 1 1 7 bin C ORATST BIN CLASSPATH C Program Files Exceed nt hcljrcsv zip Username is jdoe The installer version is 2 2 1 0 0 Welcome Page Setting value of FROM LOCATION to E bootstrap cd Disk1 stage products jar Setting value of INVENTORY LOCATION to C Program Files Oracle Inventory Troubleshooting and Debugging Oracle Universal Ins
174. installation errors if they contain stty commands To avoid this problem Oracle recommends that you modify these files to suppress all output on STDERR as in the following examples Bourne Bash or Korn shell if t 0 then stty intr C fi a Cshell test t 0 if status 0 then stty intr C endif 6 8 Oracle Universal Installer and OPatch User s Guide Pre Installation Tasks for Real Application Clusters on UNIX Note When SSH is not available the Installer uses the rsh and rcp commands instead of ssh and scp If there are hidden files that contain stty commands that are loaded by the remote shell then this error can also occur Configuring the Oracle User Environment You run Oracle Universal Installer from the oracle account However before you start Oracle Universal Installer you must configure the environment of the oracle user For more information on configuring the environment refer to the respective Oracle product Real Application Clusters installation guide Checking the Hardware Requirements Each system must meet certain minimum hardware requirements For more information on hardware requirements refer to the respective Oracle product Real Application Clusters installation guide Checking the Network Requirements There are some minimum networking hardware and Internet protocol IP address requirements Check that you have the networking hardware and Internet protocol IP a
175. ion Using Oracle Universal Installer 9 2 Frequently Asked Questions Troubleshooting and Debugging Oracle Universal Installer Debugging Mechanisms in Oracle Universal Installer sss B 1 Oracle Universal Installer Errors essent nennen rennes B 3 A NN B 3 Understanding Oracle Universal Installer Commands Options Available in Oracle Universal Installer sese esee C 1 Command Line Variables Available in Oracle Universal Installer sess C 4 Sample Files Sample Response File tree RI Inm tr et rer a tnt eei Pert sese ert Po tege D 1 Sample ORAPARAM INI File nee ee uote deni eiie di vae gre eed D 7 Sample Components File oet inte iieri nadie il D 7 Index List of Figures Troubleshooting Real Application Clusters Oracle Clusterware Installation 6 28 Structure of Interim Patches sess eee i entere ernst etes een enne 8 2 AI Node Patcli rig unite oe ERU e te nA ER te eee ot nie Le attis 8 17 Rolling Patehing zn atasnc ideni ee eet tU MU ERE D eL Ibis e Ga iade REIR ats 8 18 Minimum Downtime Patching sse eee nennen nnne nennen 8 18 BUS SUPELSEE C 8 19 Bug COME CE ais 5 22 ete ER Rete o hee t vibe oe e tetigi OU vata sette i Bote peti dg 8 20 Combination Conflict tiec eee tta ete etes fete eee ias 8 21 Setting Exceed s Window Manager to Nativ
176. ions on page 9 1 Note The SELECTED LANGUAGES variable is only generated when more than one language is available ACCEPT LICENSE AGREEMENT Set this Boolean variable to TRUE if you agree with the license agreement This parameter requires you to set this variable to TRUE to indicate your acceptance of the license agreement normally accepted in the GUI This variable is used only in silent installations Installation cannot continue until this variable is set to TRUE 4 10 Oracle Universal Installer and OPatch User s Guide Installing Using a Response File Installing Using a Response File Many Oracle software products provide tools and procedures for running Oracle Universal Installer from the command line without displaying Oracle Universal Installer screens or responding to questions during the installation These are called silent installations Instead of prompting you to select a series of installation options Oracle Universal Installer installs the software using a predefined set of options These options are stored in a response file rsp Consider the following information about response files a If your product installation includes a response file you can find it on your stage CD ROM under the lt root of CD gt response directory You can modify the response file for your Oracle product to customize an installation for your organization Refer to section Modifying a Response File on page 4 2 for
177. irectoky eve e eR ERRCM RI 5 7 rmountne CD uite autor o eite p a eam edere 5 7 Installing from a staged HTTP location seen ee eene 5 8 Special Instructions for UNIX Users depenia pa aA a Aa EE aE 5 8 Failed to Connect to Server Error sisihanira i oan aa aa aar eaae nnns 5 9 Providing a UNIX Installer Location with Root Privileges esses 5 9 Providing a UNIX Group Name seen nennen ennt nneneneen 5 10 De installing Oracle Products tti eere nein te eter dde 5 10 Removing Oracle Products and Oracle Homes With Oracle Universal Installer 5 10 De installing Top Level Products that Have Dependent eese eee 5 11 Silent De installatiori 5 reete erede e ste hace EE Ie agen ab Heer eie Ie Eei 5 11 Immediately Displaying the Inventory Dialog Box sees eee 5 11 Hiding the Inventory Dialog Box ocococonoconcnonnnnnnonnnncannnonnnnnnenenonananonnannrarnnnonnnanarnrnararanannn raras 5 11 Hiding the De installation Confirmation and Progress Dialog Boxes 5 12 Running Oracle Universal Installer After Installation sees eee 5 12 Starting Oracle Universal Installer esses eee eee enne 5 12 Command Line Argurnents iiec a e de ete eite nr ite er teet 5 13 Using Oracle Universal Installer Exit Codes esses eee eene 5 14 Cloning Considerations ca seens epe eh ee a I
178. ist of values The first field designates the public node name the second field designates the private node name and the third field designates the virtual host name The fourth and fifth fields are used only by OUI and should default to N Y OUI parses these values and assign s_publicname and s_privatename variables accordingly For example nodel nodel priv nodel vip N Y node2 node2 priv node2 vip N Y S votingdisklocation String Set the value of this variable to be the location of the voting disk For example oradbshare oradata vdisk S OcrVdskMirrorlRetVal String Set the value of this variable to be the location of the first additional voting disk You must set this variable if you choose a value of 1 for then storageTypeVDSK variable or Not Redundant For example oradbshare oradata vdiskmirror1 S ocrpartitionlocation String Set the value of this variable to the OCR location Oracle places this value in the ocr loc file when you run the root sh script For example oradbshare oradata ocr S ocrMirrorLocation String Set the value of this variable to the value for the OCR mirror location Oracle places this value in the ocr loc file when you run the root sh script You must set this variable if you choose a value of 1forthen storageTypeOCR variable or Not Redundant For example oradbshare oradata ocrmirror s VdskMirror2RetVal String Set the value of this variable to be the location of the second addition
179. itionsAndSpace valueFromDlg Disk Partition partition Size 0 N A 1 Disk Partition partition size 0 N A 2 7 20 Oracle Universal Installer and OPatch User s Guide 8 Oracle Software Patching Using OPatch The OPatch utility is a tool that allows the application and rollback of interim patches to Oracle products This chapter provides information on using OPatch to apply patches This chapter includes the following topics About Interim Patches Structure of Interim Patches a About OPatch Requirements for OPatch Features of OPatch a Backup and Recovery Considerations for Patching Operations and Options in OPatch Utility Real Application Clusters Patching Recovering from a Failed Patching Session Using OPatch Troubleshooting OPatch About Interim Patches Patches are a small collection of files that are copied over an existing installation They are associated to particular versions of Oracle Products Patches when applied to the correct version of an installed product results in an upgraded version of the product Interim patches are bug fixes that are made available to customers in response to specific bugs They require a particular base release or patchset to be installed before they can be applied They generally address specific bugs for a particular customer These patches are not versioned and are generally made available in a future patchset as well as the next product rele
180. iversal Installer page 1 Log in to Windows with Administrative privileges and run the setup exe command on the Oracle Clusterware media This will open the Oracle Universal Installer Welcome page After you click Next in the Welcome page the Specify File Locations page will allow you to accept the displayed path name for the Oracle Clusterware products or select a different one You may also accept default directory and path name for the location of your Clusterware home or browse for an alternate directory and destination You must select a destination that exists on each cluster node that is part of this installation Click Next to confirm your choices and proceed to the Language Selection page Select the language or languages for your Oracle Clusterware installation in the Language Selection page then click Next for the Cluster Configuration page 6 16 Oracle Universal Installer and OPatch User s Guide Installing Oracle Clusterware on Windows The Cluster Configuration page contains predefined node information if the Oracle Universal Installer detects that your system has the Oracle9i Release 2 Clusterware Otherwise the Oracle Universal Installer displays the Cluster Configuration page without predefined node information Provide your own cluster name if you do not wish to use the name provided by the Oracle Universal Installer Note that the selected cluster name must be globally unique throughout the enterprise and its all
181. l Inventory could be missing or corrupted Action Perform the following Ifthe Oracle home is missing from the Central Inventory perform an attach home operation on the missing Oracle home The Central Inventory will be restored Ifthe Central Inventory is missing or corrupted restore the Central Inventory If you have not backed up the Central Inventory perform an attach home operation For more information on the attach home operation refer to the section Creating the Central Inventory on page 3 7 3 10 Oracle Universal Installer and OPatch User s Guide About the Oracle Universal Installer Inventory If there are multiple entries in the inventory xml file for a given Oracle Home then Inventory Collection from the Grid Control perspective would have issues In this event you should remove these duplicate entries manually Here are some examples of the kind of incorrect entries that could be there lt HOME NAME db10g LOC product db10g TYPE 0 IDX 1 gt HOME NAME oms10g LOC product em oms10g TYPE O IDX 2 gt HOME NAME db10g LOC product db10g TYPE O IDX 3 gt In the above example the first and third entries are duplicates The Oracle Home Name and Oracle Home Location are identical In this example remove the third line Note that all duplicate inventory issues have been caused by manual updates to the inventory xml file Use the OUI APIs to make changes to the inventory Diagnos
182. latform To ensure that these checks pass verify the requirements before you start the Installer Depending on the Oracle products that you intend to install verify that the required software is installed on the system For more information on software requirements refer to the respective Oracle product Real Application Clusters installation guide Configuring Kernel Parameters Each cluster node must meet the recommended kernel values For information on verifying and setting the kernel parameters refer to the respective Oracle product Real Application Clusters installation guide Identifying Required Software Directories You must identify or create the following directories for the Oracle software as follows a Oracle Base Directory Oracle Inventory Directory Oracle Clusterware Home Directory Oracle Home Directory The following subsections describe the requirements for these directories 6 10 Oracle Universal Installer and OPatch User s Guide Pre Installation Tasks for Real Application Clusters on UNIX Oracle Base Directory The Oracle base directory acts as a top level directory for Oracle software installations It is analogous to the C Oracle directory used for Oracle software installations on Windows systems On UNIX systems the Optimal Flexible Architecture OFA guidelines recommend that you use a path similar to the following for the Oracle base directory mount_point app oracle_sw_owner In thi
183. lation Early detection of problems with the system setup reduces the chances of encountering problems during installation for instance problems with insufficient disk space missing patches inappropriate hardware and so on Oracle Universal Installer is required to perform all pre requisite checks defined for the installation before installing any software whether they are Oracle Universal Installer specific tests or tests defined for a specific product Specific pre requisite checks are defined for each operating system on which Oracle Universal Installer runs All pre requisite check parameters must be defined in the oraparam ini file or another ini file that you define All the results are logged in the install Actions lt timestamp gt log file Pre requisite checking can be performed in the following three ways Automatically Checks are performed automatically when the user runs the Oracle Universal Installer executable during an installation Simply run Oracle Universal Installer and all pre defined pre requisite checks will be performed Silent Mode Checks can be run and managed from the command line for a silent installation For silent installations Oracle Universal Installer performs as many pre requisite checks as possible alerts the user on all errors if any and provides the location of the installActions lt timestamp gt log file before exiting Standalone Checks can be run without completing an install
184. le assume that the location of the destination Oracle RAC home on the new node is ORACLE HOMES Skip this step if you have a shared Oracle Database home Note For more information on zipping and unzipping refer to sections Source Preparation Phase and Cloning Phase On the new node go to the SORACLE HOMES N clone bin directory and run the following command where Oracle Home is the Oracle Database home Oracle Home Name is the name of the Oracle Database home existing node is the name of the existing node and new node is the name of the new node perl clone pl ORACLE HOME Oracle Home ORACLE HOME NAME Oracle Home Name O CLUSTER NODES existing node new_node OLOCAL NODE new node O noConfig If you have a shared Oracle Database home with Oracle RAC then append the O cfs option to the command example in this step and provide a complete path location for the cluster file system Repeat this step for all nodes On the new node run NETCA to add a listener From the node that you cloned run DBCA to add the database instance to the new node 7 12 Oracle Universal Installer and OPatch User s Guide Adding Nodes Using Cloning in Oracle Real Application Clusters Environments Important Considerations when Cloning Oracle Real Application Clusters Note the following when cloning the Oracle Database with Oracle RAC The order of the nodes specified should always be the same on all hosts Oracle Clus
185. le Clusterware on UNIX and Linux systems 1 If you do not have a shared Oracle Clusterware home then tar the Oracle Clusterware home from an existing node and copy it to the new node Use CRS_ HOME as the destination Oracle Clusterware home on the new node If you have a shared Oracle Clusterware home then skip this step Note For more information on archiving refer to section Source Preparation Phase Unarchive the home on the new nodes In the case of shared homes unarchive the home only once on the nodes Note For more information on archiving refer to section Cloning Phase If you do not have a shared Oracle Clusterware home then on the new node navigate to the SORACLE_HOME clone bin directory and run the following command where Oracle _home_name is the name of the Oracle home new node is the name of the new node new_node privis the private interconnect protocol address of the new node new_node vip is the virtual interconnect protocol address of the new node and central inventory locationis the location of the Oracle central inventory perl clone pl ORACLE HOME CRS HOME ORACLE HOME NAME Oracle home name On_ StorageTypeVDSK 2 On storageTypeOCR 2 O sl tableList new node new node priv new node vip O noConfig O INVENTORY LOCATION central inventory location If you have a shared Oracle Clusterware home then append the cfs option to the command example in this step and
186. le Universal Installer in suppressed or silent mode specify the path to the remote copy or shell program on the local node to use for cluster installs using the following optional flags remoteShell lt path to program gt remoteCopy lt path to program gt The default for remoteShell is usr local bin ssh The default for remoteCopy is usr local bin scp If these are not present Oracle Universal Installer defaults to rsh and rcp respectively Patchsets and Upgrades Oracle Universal Installer enables you to upgrade a product from one version to another version An upgrade is a major product enhancement that often requires installation of the upgraded software For example if you convert your Oracle9i Database to Oracle 10gR2 Database then it is called an upgrade A group of patches form a patchset For example if you convert your Oracle 10gR1 from version 10 1 1 to version 10 1 2 then it is called applying a patchset Post Installation Tasks After completing a Real Application Clusters installation it is advisable that you perform the following tasks Verification After your Oracle product with Real Application Clusters installation is complete go to SORACLE HOME Opatch on each node and execute the following command SORACLE HOME OPatch opatch lsinventory detail This command lists the components installed inside the Oracle home and also lists the local and remote nodes for the home Verify this information You may al
187. line Clone time activity is logged in the cloneActions timestamp log file at installation time For more information on cloning refer to Chapter 7 Oracle Software Cloning Using Oracle Universal Installer Note Because most cloning is done in silent mode when cloning an Oracle home onto a clean host one that has no oralnst loc file Oracle Universal Installer creates a Central Inventory in the location specified by the INVENTORY LOCATION variable If this variable is not specified Oracle Universal Installer creates the Central Inventory in the cloned home oraInventory directory After cloning is finished you must run oraInstRoot shas root to move oralnventory to the final desired location About Oracle Universal Installer Log Files When you install or de install products using Oracle Universal Installer important information about each installation is saved not only in the inventory but also in a series of log files located in the following directory SORACLE HOME cfgtoollogs Installing Products Using Oracle Universal Installer 5 15 About Oracle Universal Installer Log Files These log files can be used to troubleshoot installation problems These files are also crucial for removing and configuring the various software components you install on your Windows or UNIX computer Oracle Universal Installer displays the name and location of the current session s log file on the Install page Each install
188. ll Oracle Clusterware You can run the Oracle Universal Installer in silent mode to install Oracle Clusterware by entering the following command runInstaller silent responseFile response file path For Oracle Clusterware you need to use the formCluster flag You can pass session variables like nodelist ocr voting disk location etc from the command line for silent installation Oracle Clusterware Background Processes The following processes must be running in your environment after the Oracle Clusterware installation for Oracle Clusterware to function oprocd Process monitor for the cluster evmd Event manager daemon that starts the racgevt process to manage call outs ocssd Manages cluster node membership and runs as oracle user failure of this process results in node restart crsd Performs high availability recovery and management operations such as maintaining the OCR Also manages application resources and runs as root user and restarts automatically upon failure Installing Oracle Clusterware on Windows This section provides you with information about how to use the Oracle Universal Installer to install Oracle Clusterware on Windows Running the Oracle Universal Installer to Install Oracle Clusterware Complete the following steps to install Oracle Clusterware on your cluster At any time during installation if you have a question about what you are being asked to do click Help in the Oracle Un
189. low Figure 8 2 All Node Patching ALL NODE PATCHING System A P System C Consider a Real Application Clusters setup as shown in Figure 8 2 All Node Patching Systems A B and C are nodes in this Real Application Clusters When you perform an All Node Patching in this cluster systems A B and C are brought down and patches are applied to all these nodes Then systems A B and C are brought back up again Rolling Patching In Rolling Patching each node is shutdown the patch applied and brought back up again This is done node by node separately until all nodes in the Real Application Clusters are patched This is the most efficient mode of applying an Interim patch to a Real Application Clusters setup because this results in zero downtime Only some patches can be applied in this mode The type is generally specified in the patch metadata The Rolling Patching is explained with the help of an example below Oracle Software Patching Using OPatch 8 17 Real Application Clusters Patching Figure 8 3 Rolling Patching ROLLING PATCHING Shut Down System A Shut Down System B Shut Down System C Patch System A Patch System B Patch System C Start System A Start System B Start System C Consider a Real Application Clusters setup as shown in Figure 8 3 Rolling Patching Systems A B and C are nodes in this Real Application Clusters When you perform a Rolling Patching in this cluster system A is initially brought down and pa
190. ly for cluster installs This specifies the path to the remote shell program on the local cluster node For example the path for ssh is usr bin ssh Understanding Oracle Universal Installer Commands C 3 Command Line Variables Available in Oracle Universal Installer Command Line Variables Available in Oracle Universal Installer The following table lists the command line variables available in Oracle Universal Installer Table C 2 Command line variables in Oracle Universal Installer Command Line Variable Description INVENTORY This is used to specify the inventory location LOCATION ORACLE HOME ORACLE HOME NAME ORACLE HOME KEY ORACLE HOME FOLDER ORACLE HOME SERVICE ANONYMOUS LOGIN LOGIN NAME PASSWORD LOGIN CATEGORY UNIX GROUP NAME FROM LOCATION FROM LOCATION CD LABEL COMPONENT LANGUAGES SELECTED _ LANGUAGES SELECTED PLATFORMS TOPLEVEL_ COMPONENT ToplevelComp INSTALL_TYPE SHOW_SPLASH_ SCREEN SHOW_WELCOME_ PAGE This is used to specify the ORACLE HOME location This is used to specify the ORACLE HOME name in the target machine This is used to specify the ORACLE HOME key name This is used only on Windows platform This is used to specify the ORACLE HOME folder name This is used only on Windows platform This is used to specify the ORACLE HOME service name This is used only on Windows platform This is used to specify anonymous login
191. ly takes effect when it is the first Oracle Universal Installer installation and the oraInst loc file is not already present in var opt oracle FROM LOCATION CD LABEL This parameter is used in multiple CD installations It includes the label of the compact disk where the file products jar exists The label can be found in the disk label file in the same directory as products jar LOCATION FOR DISK2 Complete path to other disks LOCATION FOR DISK2 F Vteststage cd MDisk2 If there are more than two disks more variables will be added as LOCATION FOR DISK3 and so on The CD location for a silent installation is located by two mechanisms 1 Oracle Universal Installer looks for the Location For Disk DiskNumber variable in the response file and uses that location 2 If the variable does not have a value or does not have the required files it will look for the components under Disk DiskNumber stage from products jar Therefore you can either specify the location to look for it in the response file or you can copy them into the disk For example Product Shiphome Location stage 4 6 Oracle Universal Installer and OPatch User s Guide Response File Format RESTART_SYSTEM Set this boolean variable to TRUE if you want to restart the system without the user s confirmation This is the force value for restarting the system NEXT_SESSION Set this boolean variable to TRUE if the installer needs to go to the
192. mand line entries with certain interactive dialogs You can choose which dialogs to suppress by supplying the information at the command line when you invoke Oracle Universal Installer This method is most useful when an installation has a common set of parameters that can be captured in a response file in addition to custom information that must be input by hand Silent Use Oracle Universal Installer s silent installation mode to bypass the graphical user interface and supply the necessary information in a response file This method is most useful when installing the same product multiple times on multiple hosts By using a response file you can automate the installation of a product for which you know the installation parameters For more information refer to Chapter 4 Customizing and Creating Response Files for detailed information on using response files and installing in silent mode Note You can use the noConsole flag on Windows platform to suppress the display of messages in the console Installation Media For each of these three installation modes you can install from three different media Installing from a Single CD ROM Installing from Multiple CD ROMs Installing from a staged HTTP location Note On Windows when you start the installer from a shared drive you need to map the shared drive and then invoke the installer from the shared drive Refer to the following sections to learn mo
193. mation relevant to the particular Oracle home only This file is located in the following location SORACLE HOME inventory Managing Oracle Homes 3 5 About the Oracle Universal Installer Inventory It contains the following files and folders Components File Home Properties File Other Folders Components File This file contains the details about third party applications like Java Runtime Environment JRE required by different Java based Oracle tools and components In addition it also contains details of all the components as well as patchsets or interim patches installed in the Oracle home This file is located in the following location ORACLE HOME inventory ContentsXML comps xml For a sample of the components file refer to section Sample Components File on page D 7 Home Properties File This file contains the details about the node list the local node name and the CRS flag for the Oracle home In a shared home the local node information is not present This file also contains the following information a GUID This is the unique global ID for the Oracle home a ARU ID This is the unique platform ID The patching and patchset application depends on this ID a ARU ID DESCRIPTION This is the platform description The information in oraclehomeproperties xml overrides the information in inventory xml This file is located in the following location SORACLE HOME inventory ContentsXML oraclehomeproperties xml
194. me screen The Inventory panel appears 3 Select the product s you want to remove from the Contents tab of the Inventory panel and click Remove Oracle homes may also be removed in the same manner Once an Oracle home has been removed you can reuse its name and location to install other products 4 The Remove Confirmation Dialog appears asking if you want to remove the products and their dependent components Click Yes 5 10 Oracle Universal Installer and OPatch User s Guide De installing Oracle Products Oracle Universal Installer warns you of any product dependencies that might cause problems if particular products are removed and prompts you to confirm the de installation Pay special attention to the full list of products being removed before proceeding Oracle Universal Installer computes this list based on the dependencies of each component Note You can also remove products by using the Installed Products button on Oracle Universal Installer as long as this action is performed before making your selection of products to install De installing Top Level Products that Have Dependents A top level component is the most important component of an installation It is the installable product you see at the first installation screen You can only install one top level component for each installation session When you select a specific component for removal Oracle Universal Installer analyzes the dependency inf
195. ment variable ORACLE HOME is set properly in each node in the cluster 2 Navigate to the ORACLE_HOME patch_storage lt patch id_ timestamp gt directory and execute the restore command in each node in the cluster For UNIX SORACLE HOME patch storage patch id timestamp restore sh For Windows SORACLE HOME patch storage patch id timestamp restore bat 3 OnUNIX source SORACLE HOME patch storage patch id timestamp gt make txt file if available as follows bin sh make txt 4 Rollback the patch in the local node using the local flag SORACLE HOME OPatch opatch rollback local id Patch ID 5 Rollback the patch on the other nodes also using local flag Note Ensure that all the nodes use the same OPatch version When I apply a patch on a Real Application Clusters setup the patching in one node is fine both the files and the inventory are fine but I am not sure about the other nodes Cause This may be due to a failed system or inventory update Action Perform the following steps 1 Copy the Oracle home from the node that is fine to the other nodes 2 After copying the Oracle home make sure that the ORACLE _ HOME inventory ContentsXML comps xml file has the latest timestamp Note On Unix use touch to change the timestamp 3 Update the nodes of the cluster For more information on updating the nodes of the cluster refer to section Updating the Nodes of a Cluster o
196. mpt a bootstrap Set to TRUE before cutting CDs but set to FALSE once you have copied the staging area to the hard disk Use this parameter to set the size the temporary space requires when BOOTSTRAP is set to TRUE For example when you install Oracle Universal Installer it sets the value of this parameter to the temporary space required by both Oracle Universal Installer and the JRE By default if this entry is not set Oracle Universal Installer will assume 45MB for Win32 52MB for Win64 and 69MB for Solaris However these values could vary from one major release to the other based on the space required by newer versions of JRE If the ship home contains advertisement images installation developers should add the space taken by the images to this value Oracle Universal Installer will check the temp space requirements before starting up and give an error if there is not enough space for Oracle Universal Installer to run in bootstrap mode Use this parameter to control whether or not Oracle Universal Installer considers the build number of the component when determining whether or not to overwrite a previous version or copy of a component Note that this parameter is intended to be used in pre production ship homes only Use this parameter when you want your users to specify the location of an Oracle Applications top APPL_TOP directory When this parameter is set to TRUE the File Locations page will include fields for selecting
197. n and defaults any answers to yes verbose Prints output to the screen as well as to the log file Note Ifa patch consists of SQL changes follow the instructions in the patch readme included with the patch to apply the SQL scripts Isinventory Option The 1sinventory option reports what has been installed on the system for a particular Oracle home directory or for all installations The following syntax is used for this option 8 12 Oracle Universal Installer and OPatch User s Guide Operations and Options in OPatch Utility The following table lists the command line arguments available for use with the lsinventory option Path to OPatch gt opatch lsinventory all delay value detail invPrtLoc path A jre location retry value patch oh Oracle Home location Table 8 3 Isinventory option command line arguments Command line Argument Description all Reports the name and installation directory for each found Oracle home directory delay Specifies how many seconds to wait before attempting to lock the inventory in the case of a previous failure You can use this option only if retry option is specified detail Reports the installed products and other details This command line argument cannot be used with the a11 command line argument invPtrLoc Specifies the location of the oraInst loc file This command line argument is needed when the invPtrLoc command line argument
198. n be accessible to all of our customers For more information visit the Oracle Accessibility Program Web site at http www oracle com accessibility Accessibility of Code Examples in Documentation Screen readers may not always correctly read the code examples in this document The conventions for writing code require that closing braces should appear on an otherwise empty line however some screen readers may not always read a line of text that consists solely of a bracket or brace Accessibility of Links to External Web Sites in Documentation This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites xiii Structure xiv TTY Access to Oracle Support Services Oracle provides dedicated Text Telephone TTY access to Oracle Support Services within the United States of America 24 hours a day seven days a week For TTY support call 800 446 2398 This manual contains the following chapters and is organized as follows Chapter 1 Basic Concepts This chapter explains some of the basic concepts you need to understand in Oracle Universal Installer Chapter 2 Introduction to Oracle Universal Installer This chapter contains overview information on Oracle Universal Installer Chapter 3 Managing Oracle Homes This chapter contains information on how you can
199. n page 3 11 4 Ensure that all the prerequisite checks listed in the section Pre requisite Checks in OPatch on page 8 4 pass 8 28 Oracle Universal Installer and OPatch User s Guide Environment Variables Used by OPatch When I apply a patch on a Real Application Clusters setup the patching in one node is fine but when I execute opatch lsinventory on the other nodes the patch is not listed Cause This may be due to a failed system or inventory update Action Perform the following steps 1 Copy the ORACLE_HOME inventory directory from the node that is fine to the other nodes After copying the ORACLE_HOME inventory directory make sure that the ORACLE HOME inventory ContentsXML comps xml file has the latest timestamp Note On Unix use touch to change the timestamp Update the nodes of the cluster For more information on updating the nodes of the cluster refer to section Updating the Nodes of a Cluster on page 3 11 Ensure that all the prerequisite checks listed in the section Pre requisite Checks in OPatch on page 8 4 pass When I apply or rollback a patch on a Real Application Clusters setup I am not able to apply or rollback the patch on all nodes Cause This may occur if the nodes are not properly updated Action Perform any one or more of the following Ensure that all the nodes in the cluster are up to date If they are not update the nodes of the cluster For more informati
200. n the following command where CRS_HOME is the location of the Oracle Clusterware home CRS_HOME NAME is the name of the Oracle Clusterware home and where new node new_node priv and new node vip are the name of the new node the private interconnect protocol address of the new node and the virtual interconnect protocol address of the new node respectively perl clone pl ORACLE HOME CRS HOME ORACLE HOME NAME CRS HOME NAME O s1_ tableList new node new node priv new node vip O noConfig OPERFORM PARTITION TASKS FALSE If you have a shared Oracle Clusterware home then append the O cfs option to the command example in this step and provide a complete path location for the cluster file system Note Only provide a value for the s1_tableList variable The Perl clone p1 script takes all other variable settings from the zipped Oracle Clusterware home This is only true however if the source of the zipped home was from an existing node of the cluster that you are extending If you use any other Oracle RAC environment as your cloning source that is if you clone from a node in a cluster other than the one that you are extending then you must provide values for all of the arguments This includes values for the Oracle Cluster Registry OCR and voting disk location arguments You must do this because the value for s1_tableList is used as shown in the command example in this step You must also specify the OCR and voting disk loc
201. n tools failed 2 Local installations were successful but some remote operations failed 1 Atleast one installation failed 5 14 Oracle Universal Installer and OPatch User s Guide About Oracle Universal Installer Log Files Note that This feature will not work if Oracle Universal Installer is running in bootstrap mode In this case setup exe runInstaller will just launch the JRE process and return immediately without waiting for the exit code Oracle Universal Installer will be running in bootstrap mode if the following line exists in the oraparam ini file BOOTSTRAP TRUE If you exit without installing any products for example if you exit from the Welcome screen the exit code will be 1 Cloning Considerations You can copy an existing Oracle home then configure it for its new environment This process is called cloning Note Patching and de installation on a cloned Oracle home act the same as a regularly installed Oracle home You may directly patch a cloned installation Invoke Oracle Universal Installer in clone mode using the following command runInstaller clone ORACLE HOME lt target location gt ORACLE HOME NAME lt unique name on node gt responseFile full paths Use setup exe instead of runInstaller for Windows machines The responseFile parameter is optional Clone time parameters may be supplied on the command line or through the response file named on the command
202. ne by using the SORACLE _ HOME clone config cs properties file You can enter values in the line clone_command_line lt value gt The values entered here are appended to the OUI command line which is run to perform the clone operation For example to specify a non default location for the Oracle inventory file on UNIX system computers you can add the following line to the cs properties file clone command line invptrloc private oracle oraInst loc Note To specify multiple arguments separate each argument with a space OUI starts and records the cloning actions in the cloneActionstimestamp log file This log file is normally located in c Program Files Oracle Inventory logs file in Windows For Linux based systems you can find this file in the lt inventory location gt logs directory To determine the location of the central inventory refer to section Locating and Viewing Log Files a To configure the connection information for the new database run Net Configuration Assistant On Windows system computers select Start gt Programs gt Oracle HOME_NAME gt Configuration and Migration Tools gt Net Configuration Assistant On Linux based systems set the ORACLE_HOME variable and run 0RACLE_ HOME bin netca a To create a new database for the newly cloned Oracle home run Oracle Database Configuration Assistant On Windows system computers select Start gt Programs gt Oracle HOME NAME gt Co
203. nfiguration and Migration Tools gt Database Configuration Assistant For Linux based systems run ORACLE_HOME bin dbca Viewing Log and Error Files After cloning you can view the status of the clone operation by navigating to the ORACLE_HOME clone log directory and by reviewing the 1og and err files For more information refer to the section Locating and Viewing Log Files on page 7 3 Creating Oracle Real Application Cluster Environment using Cloning This section explains how to create an Oracle RAC environment by using Oracle cloning These procedures describe how to use cloning for both UNIX and Linux system environments and Windows system environments under the following topics Creating Oracle RAC Environments on UNIX and Linux System Based Environments Creating Oracle RAC Environments on Windows System Based Environments 7 8 Oracle Universal Installer and OPatch User s Guide Creating Oracle Real Application Cluster Environment using Cloning Creating Oracle RAC Environments on UNIX and Linux System Based Environments This section explains how to clone an Oracle RAC environment by using Oracle cloning as described in the following procedures Cloning Oracle Clusterware on UNIX and Linux System Based Environments Cloning Oracle RAC Software on UNIX and Linux System Based Environments Cloning Oracle Clusterware on UNIX and Linux System Based Environments Complete the following steps to clone Orac
204. nformation on how you can troubleshoot Oracle Universal Installer Appendix C Understanding Oracle Universal Installer Commands This appendix contains information on Oracle Universal Installer commands Appendix D Sample Files This appendix contains a sample response file a sample components file and ORAPARAM INT file Conventions The following text conventions are used in this document Convention Meaning boldface Boldface type indicates graphical user interface elements associated with an action or terms defined in text or the glossary italic Italic type indicates book titles emphasis or placeholder variables for which you supply particular values monospace Monospace type indicates commands within a paragraph URLs code in examples text that appears on the screen or text that you enter XV xvi 1 Utilities Basic Concepts This chapter is designed to aid the developers administrators and all other users who install Oracle software to understand the key concepts involved in Oracle Universal Installer This chapter includes the following sections Utilities a Actions Performed by the Utilities Major Entities a Modes of Installation Oracle offers two utilities for software deployment Oracle Universal Installer to install Oracle products a OPatch to apply interim patches Oracle Universal Installer OPatch Oracle Universal Installer 10g Release 2 10 2 is a Java
205. ng During cloning Oracle Universal Installer is invoked in clone mode to adapt the home to the target environment Oracle Universal Installer in clone mode will replay all the actions that have been executed to originally install the Oracle home The difference between installation and cloning is that during cloning Oracle Universal Installer will run the actions in the clone mode Each action will decide how to behave during clone time For more information on cloning refer to Chapter 7 Oracle Software Cloning Using Oracle Universal Installer During Patching a small collection of files are copied over an existing installation to fix certain bugs OPatch is an Oracle supplied utility that facilitates Oracle software patching For more information on OPatch refer to Chapter 8 Oracle Software Patching Using OPatch Upgrades and Patchsets Adding Nodes Oracle Universal Installer enables you to upgrade a product from one version to another version An upgrade is a major product enhancement that often requires installation of the upgraded software For example you may want to convert your Oracle9i Database to Oracle 10gR2 10 2 Database which is called an upgrade A group of patches form a patchset For example You may want to convert your Oracle 10gR1 10 1 Database from version 10 1 1 to version 10 1 2 then it is called applying a patchset An Oracle home may be installed on multiple nodes in a cluster You can extend the cluste
206. ng in this cluster set 1 is shutdown and patch is applied to it Now set 2 is shutdown Set 1 is brought up and patch is now applied to set 2 After application of patch set 2 is brought back up again Now both sets 1 and 2 are patched About Patch Conflicts All patches may not be compatible with one another For example if a patch has been applied all the bugs fixed by that patch could re appear once another patch is applied This is called a conflict situation OPatch detects such situations and raises an error when a conflict is detected Types of Conflicts OPatch can detect the following types of conflicts Bug Superset If all the bugs fixed by a patch in the system are also fixed by the patch to be applied then this patch the patch to be applied is considered to be a superset of the patch already applied If a bug superset condition is detected it is not considered an error situation All the subset patches are removed from the system and the new patch is applied For example consider a scenario where there are four patches A B C and D applied in a system each of which fixes 2 bugs as shown in Figure 8 5 If you apply a patch E that fixes bugs 5 6 7 8 9 and 10 then patch E will be the superset of patch C and D Figure 8 5 Bug Superset After Patching Patch A Bugs 1 2 Patch E Bugs 5 6 7 8 9 and 10 Before Patching Patch B Bugs 3 4 Patch B Bugs 3 4 Patch A Bugs 1 2
207. ng section explains de installation on Windows and UNIX De installing Oracle Clusterware from UNIX Environment De install each Oracle product Real Application Clusters home by running the procedure in the previous section Then complete the de installation by removing the Oracle Clusterware software using the following procedures 1 Run the command CRS HOME install rootdelete sh to disable the Oracle Clusterware applications that are running on the cluster node The rootdelete sh script requires three arguments If you are running this command on a remote node of the cluster then use remote as the first argument otherwise use local as the first argument If the ocr loc file is on a shared file system then use sharedvar Otherwise use nosharedvar as the second argument If the Oracle Clusterware home is on a shared file system then use sharedhome otherwise use nosharedhome as the third argument Repeat this step on each node of the cluster from which you want to de install Oracle Clusterware Run the script CRS HOME install rootdeinstall shona local node to remove the OCR You only need to run this script once Start Oracle Universal Installer In the Welcome page click Deinstall Products to display the list of installed products Select the Oracle Clusterware home to de install Cluster Environment Installations 6 25 De installing Real Application Clusters Software De installing Oracle Clusterware from Windows Environment
208. nimize downtime no bug superset no inventory V oh Oracle Home location post options to be passed into post opatch post end WV pre options to be passed into pre opatch pre end A retry value silent verbose no relink no sysmod patch location remote nodes comma separated node names local node node name patch location The following table lists the command line arguments available for use with the apply option Table 8 2 apply option command line arguments Command line Argument Description delay Specifies how many seconds to wait before attempting to lock the inventory in the case of a previous failure You can use this option only if retry option is specified force Removes conflicting patches from the system If a conflict exists which prevents the patch from being applied then the force command line argument can be used to apply the patch invPtrLoc Specifies the location of the oraInst loc file This command line argument is needed when the invPtrLoc argument was used during installation Oracle recommends the use of the default Central Inventory for a platform jdk Specifies the location of a particular JDK jar to use instead of the default location under the Oracle home directory You cannot use jdk and jre options together jre Specifies the location of a particular JRE Java to use instead of the default location under the Oracle home directory You
209. niversal Installer product is translated into 9 languages and includes translations for all generic Oracle Universal Installer dialogs Note that any custom dialogs and product specific information that are part of your installations must be translated and staged independently Table 9 1 Oracle Universal Installer is translated into these languages Language Abbreviation French fr Brazilian Portuguese pt_BR German de Italian it Japanese ja Korean ko Simplified Chinese zh_CN Spanish es Traditional Chinese zh_TW Language Add on Oracle Universal Installer 10 2 supports post installation language translation addition In prior versions the only way to change the language of an installation was to reinstall the product with the new set of languages Now to get a version of Oracle product with a particular language up and running you need to invoke Oracle Universal Installer in addLangs mode Changing the Language of an Installation Using Oracle Universal Installer To change the language of an installation using Oracle Universal Installer perform the following steps 1 Execute the following command runInstaller addLangs 2 Welcome page with language add on specific message appears Click Next 3 Specify Home Details page appears Select the name and full path of the home containing the product to which you want to add languages to and click Next 4 Language Selection page appears Select the languages in wh
210. nnot use this flag in silent mode with response files You can pass the required session variable through the command line You must pass the CLUSTER_NEW_NODES CLUSTER_NEW_ PRIVATE_NODE_NAMES and CLUSTER_NEW_VIRTUAL_ HOSTNAMES session variables when using this flag This is used for attaching homes to the Oracle Universal Installer inventory You must pass the ORACLE_HOME and ORACLE HOME NAME session variables when using this flag This is used to indicate that the Oracle home specified is on cluster file system shared This is mandatory when local flag is specified so that Oracle Universal Installer can register the home appropriately into the inventory This is used for cloning an Oracle home from a source location to a target location You must pass the ORACLE_HOME and ORACLE HOME NAME session variables when using this flag This is used for getting the debug information from Oracle Universal Installer This flag is used for de install operations You can pass the DEINSTALL LIST and or REMOVE HOMES along with ORACLE HOME and or ORACLE HOME NAME session variables when using this flag This flag is used for detaching homes from the Oracle Universal Installer inventory without deleting the inventory directory inside the Oracle home You must pass the ORACLE HOME session variable when using this flag This is used in cluster environments to enable an upgrade of a product on a subset of nodes on which the product was installed
211. nventory Action Perform the following steps 1 Navigate to the ORACLE HOME patch storage patch id timestamp directory and execute the restore command For UNIX SORACLE HOME patch storage patch id timestamp restore sh For Windows SORACLE HOME patch storage patch id timestamp restore bat 2 OnUNIX source SORACLE HOME patch storage patch id timestamp gt make txt file if available as follows bin sh make txt 3 If the files are properly patched but the information is not updated in the inventory then execute the following command 8 24 Oracle Universal Installer and OPatch User s Guide Recovering from a Failed Patching Session Using OPatch SORACLE HOME OPatch opatch apply no sysmod Path To Patch Ensure that the patch has been applied and have been recorded properly in the inventory by executing the following command SORACLE HOME OPatch opatch lsinventory detail If the files are still not patched properly but you are able to see the patch in the Isinventory flag you need to re apply the patch using the no inventory flag SORACLE HOME OPatch opatch apply no inventory Path To Patch When you apply a patch and execute opatch Isinventory it does not return the details of the patch applied Cause This may be because OPatch may not have recorded the details of this patch in the inventory Action Perform the following steps 1 Navigate to the SORACLE HOME patch storage pat
212. o be installed Example PROD HOME C ProductName Component oracle swd jre E sane ooo wena A IM M eer eo eee EE oracle swd jre 1 3 1 1 0a prod_home lt Value Unspecified gt re rA Name prod_home Datatype String Description Complete path where the product needs to be installed Example PROD HOME C ProductName Component oracle swd jre Ho osa o os ae ii E oracle swd jre 1 3 0 0 0 prod_home lt Value Unspecified gt e Name dependency list Datatype StringList Description List of Dependees that needs to be installed along with this product The following choices are available The value can contain any combination of these choices The choices are of the form Internal Name Version External name Please use the internal name and version while specifying the value oracle swd jre 1 3 1 1 0a Java Runtime Environment 1 3 1 1 0a oracle swd jre 1 3 1 0 0a Java Runtime Environment 1 3 1 0 0a oracle swd osp 2 2 1 2 0 Oracle Software Packager 2 2 1 2 0 Alpha oracle swd oil 2 2 1 2 0 Oracle Installation Libraries 2 2 1 2 0 oracle swd oui 2 2 1 2 0 Oracle Universal Installer 2 2 1 2 0 Alpha Example DEPENDENCY LIST oracle swd jre 1 3 1 1 0a Component oracle swd H A A A A A ee Pea et ant a t he A A ce a Ee eme m E d eS dependency list Value Unspecified gt D 6 Oracle Universal Installer and OPatch User s Guide Sample Components File Sample ORAPARA
213. o be shown Example SHOW EXIT CONFIRMATION true Name NEXT SESSION Datatype Boolean Description Set to true to allow users to go back to the File Locations page for another installation This flag also needs to be set to true in order to process another response file see NEXT SESSION RESPONSE Example NEXT SESSION true dcc fols DM Snc Se ie Ce Mn pA M dace ee cee eet NEXT SESSION true CC Name NEXT SESSION ON FAIL Datatype Boolean Description Set to true to allow users to invoke another session even if current install session has failed This flag is only relevant if NEXT SESSION is set to true Example NEXT SESSION ON FAIL true Hosen tds id o et eT NEXT SESSION ON FAIL true N A Seek ee A ehe o eee SU eee e e eel LA mte Name SHOW_DEINSTALL CONFIRMATION Datatype Boolean Description Set to true if deinstall confimation is needed during a deinstall session Example SHOW DEINSTALL CONFIRMATION true Name SHOW_DEINSTALL PROGRESS Datatype Boolean Description Set to true if deinstall progress is needed during a deinstall session Example SHOW_DEINSTALL PROGRESS true D 4 Oracle Universal Installer and OPatch Users Guide Sample Response File Datatype StringList Description Languages in which the components will be installed The following choices are available The value should contain only one of th
214. om the Central Inventory on page 3 8 When I apply a patchset or an interim patch the patch is not propagated to some of my Real Application Clusters nodes What do I do In a Real Application Clusters environment the inventory contains a list of nodes associated with an Oracle home It is important that during the application of a patchset or an interim patch the inventory is correctly populated with the list of nodes If the inventory is not correctly populated with values the patch is propagated only to some of the nodes in the cluster Oracle Universal Installer allows you to update the inventory xml with the nodes available in the cluster using the updateNodeList flag in Oracle Universal Installer For more information refer to the section Updating the Nodes of a Cluster on page 3 11 The following section answers the frequently asked questions in OPatch When I apply a patch I get an error that reads Failed to load the patch object Possible causes are The specified path is not an interim patchshiphome Meta data files are missing from the patch area What do I do A 2 Oracle Universal Installer and OPatch User s Guide OPatch This simply means the directory OPatch is using to find the patch doesn t match the template it is checking for For more information on this error refer to section Not a valid patch area on page 8 30 When I apply a patch I get an error that reads Syntax error Patch location not v
215. ome with Oracle RAC on the existing node and copy it to the new node Unzip the Oracle Database with Oracle RAC home on the new node in the same directory in which the Oracle Database home with Oracle RAC resided on the existing node For example assume that the location of the destination Oracle RAC home on the new node is SORACLE HOMES Skip this step if you have a shared Oracle Database home Note For more information on zipping and unzipping refer to sections Source Preparation Phase and Cloning Phase On the new node go to the SORACLE_HOME clone bin directory and run the following command where Oracle Home is the Oracle Database home Oracle Home Name is the name of the Oracle Database home existing node is the name of the existing node and new node is the name of the new node perl clone pl ORACLE HOME Oracle Home ORACLE HOME NAME Oracle Home Name O CLUSTER NODES existing node new_node OLOCAL NODE new node O noConfig If you have a shared Oracle Database home with Oracle RAC then append the O cfs option to the command example in this step and provide a complete path location for the cluster file system On the existing node from the RAC_HOME oui bin directory run the following command where Oracle Home is the Oracle Database home with Oracle RAC existing node is the name of the existing node and new node is the name of the new node setup exe updateNodeList ORACLE HOME Oracle Home CLUSTER NO
216. omponents This is used with the deinstall flag This is used for removing all interim patches from the home This is used for silent mode operations The input can bea response file or a list of command line variable value pairs You can use the responsefile flag along with this flag This is used for updating node list for this home in the Oracle Universal Installer inventory You can pass the ORACLE HOME LOCAL NODE and CLUSTER NODES session variable when using this flag This is used on Windows platform The command console will wait for Oracle Universal Installer to exit if you specify this flag This is used to specify to Oracle Universal Installer not to show background images This flag indicates that no cluster nodes are specified This is used for suppressing the display of messages to the console This is used to disable the warning message before removal of home directory This is used with the deinstall flag This is used on Windows platform Specifies not to wait for the user to hit Enter on the console after the task installation etc is complete This is used to install the Oracle Clusterware in order to form the cluster This flag can only be passed on UNIX platforms This is used only for cluster installs This flag specifies the path to the remote copy program on the local cluster node For example the path for scp is usr bin scp This flag can only be passed on UNIX platforms This is used on
217. on on accessing the OracleMetaLink site refer to Download and Install Patches on page 6 22 Checking the Hardware Requirements Each system must meet minimum hardware requirements For more information on hardware requirements and the steps involved to check them refer to the respective Oracle product Real Application Clusters installation guide Hard Disk Space Requirements Each system must meet certain hard disk space requirements For more information on hard disk space requirements refer to the respective Oracle product Real Application Clusters installation guide Checking the Software Requirements Each system must meet minimum software requirements For more information on software requirements and the steps involved to check them refer to the respective Oracle product Real Application Clusters installation guide Checking the Network Requirements There are some minimum networking hardware and Internet protocol IP address requirements Check that you have the networking hardware and Internet protocol IP address required for an Oracle Real Application Clusters installation For more information on the steps involved in checking these requirements refer to the respective Oracle product Real Application Clusters installation guide Network Hardware Requirements Each node in the cluster must meet the following requirements Each node must have atleast two network adapters one for the public network interface and one f
218. on on updating the nodes of the cluster refer to section Updating the Nodes of a Cluster on page 3 11 Execute the appropriate command on all nodes of the cluster as follows opatch apply local patch location opatch rollback local patch location Execute the appropriate command on the local node of the cluster as follows opatch apply 1ocal node node name remote nodes comma separated node names opatch rollback 1ocal node node name remote nodes comma separated node names Environment Variables Used by OPatch OPatch uses some environment variables as follows ORACLE HOME This is the Oracle home location OPATCH_DEBUG This is the log level that specifies the amount of logging OPatch should perform OPATCH PLATFORM ID This is the unique platform ID PATH This is the path information Oracle Software Patching Using OPatch 8 29 Troubleshooting OPatch Troubleshooting OPatch This section provides solutions to errors that may occur during patch application Nota valid patch area a OPatch cannot find system commands like fuser make Unable to remove a partially installed interim patch Not a valid patch area Cause The directory that the OPatch utility is using to do the patch does not match the template for what it is checking This can also occur when the utility is run from an invalid ship home directory Action When starting the OPatch utility the directory needs the following A
219. onse file is generated immediately after the Summary page so you don t need to actually install your Oracle product to create the response file In other words you can start the installation in Record mode and proceed through the installation options until you get to the Summary page In the Summary Page click Exit to stop the installation from proceeding with the installation However all the options you selected will be saved in the resulting response file You can use the newly created response file to run identical installation sessions on other computers in your organization Record mode can be also used during a silent installation In those cases the variable values specified in the original source response file will be recorded into the new response file The following sections describe how to use record mode on Windows and UNIX systems Using Record Mode To record a new response file 1 Atthe command prompt use the cd command to change to the directory that contains the Oracle Universal Installer executable file setup exe or runInstaller sh for your installation 2 Enter the following command setup record destinationFile lt response file name gt on Windows runInstaller record destinationFile response file name gt on UNIX Replace the lt response_file_name gt with the complete path for the new response file For example setup record destinationFile C response fileslinstall_oraclel0g rsp on Wind
220. or the private network interface the interconnect a The private and public network interface names must be different from each other and cannot contain any multibyte language characters The names are case sensitive The private network interface name must be the same on all nodes The public network interface name must be the same on all nodes a The public interface must be listed first in the ipconfig list Oracle supports the TCP IP protocol for the public and private networks IP Address Requirements Before starting the installation you must identify or obtain the following IP addresses for each node a An IP address and an associated host name registered in the domain name service DNS for each public network interface One unused virtual IP address and an associated virtual host name registered in DNS that you will configure for the primary public network interface 6 14 Oracle Universal Installer and OPatch User s Guide Installing Oracle Clusterware on UNIX The virtual IP address must be in the same subnet as the associated public interface After installation you can configure clients to use the virtual host name or IP address If a node fails then its virtual IP address fails over to another node A private IP address and optional host name for each private interface Oracle recommends that you use private network IP addresses for the private interfaces for example 10 or 192 168 You c
221. ormation to determine if there are other components that should be removed along with it In general if a component is selected for removal the following components will be removed with it All components that have a required dependency on the selected component Dependents of the selected component that have no other dependents A dependent is a component on which the top level component dependent has a dependency Silent De installation Not only can you perform command line installations as described in section Installing Using a Response File on page 4 11 you can also perform command line de installations A command line de installation enables you to remove Oracle products or Oracle homes from your system without using the Oracle Universal Installer graphical user interface You can choose to display no dialog boxes or prompts to the user or you can selectively avoid displaying certain dialog boxes that are normally used during a de installation Immediately Displaying the Inventory Dialog Box Use the following commands to immediately display the Inventory dialog box which allows the user to select items for removal without navigating the Oracle Universal Installer startup screen setup exe deinstall silent on Windows runInstaller deinstall silent on UNIX Hiding the Inventory Dialog Box If you would like to hide the inventory dialog box from the user during a de installation you can specify the products
222. ory When Oracle Universal Installer is first installed and run it checks for the JRE path the location from which it runs using the location specified in the oraparam ini files JRE LOCATION parameter If Oracle Universal Installer cannot find the JRE specified an error is returned Command Line Arguments Following is the output from the runInstaller help command which gives you the full list of command line options and their descriptions as well as command line variables usage Usage runInstaller options lt CommandLineVariable Value gt Where options include clusterware oracle crs lt crs version gt Version of Cluster ready services installed crsLocation lt Path gt Used only for cluster installs specifies the path to the crs home location Specifying this overrides CRS information obtained from central inventory invPtrLoc lt full path of oraInst loc gt Unix only To point to a different inventory location The orainst loc file contains inventory loc location of central inventory inst group jreLoc location Path where Java Runtime Environment is installed OUI cannot be run without it logLevel level To filter log messages that have a lesser priority level than level Valid options are severe warning info config fine finer finest basic general detailed trace The use of basic general detailed trace is deprecated paramFile location of file Specify location of ora
223. ory and restore the original Oracle Home To delete the Oracle Home from the Central Inventory use the following command runInstaller silent detachHome ORACLE HOME product DBHome ORACLE HOME NAME DBHome On Win32 systems the command would be setup exe silent detachHome ORACLE HOME C product DBHome ORACLE HOME NAME DBHome Next delete the Oracle Home ed product rm rf product DBHome Next you need to restore the original Oracle Home and update the Central Inventory Restore the Oracle Home to its original location using the following commands mkdir p product DBHome gunzip lt product archive DBHome tar gz tar xf Finally you need to attach this Oracle Home to the Central Inventory runInstaller silent attachHome ORACLE HOME product DBHome ORACLE HOME NAME DBHome On Win32 systems the command would be setup exe silent attachHome ORACLE HOME C product DBHome ORACLE HOME NAME DBHome Recovering from Inventory Corruption The inventory Central and the Oracle home inventory is a critical part in the Oracle software life cycle management The following section explains about what you need to do in case of inventory corruption Diagnosing and Recovering from Central Inventory Corruption When you execute an opatch lsinventory detail or when you click Installed Products the Oracle home does not appear Cause The Oracle home may be missing from the Central Inventory or the Centra
224. ory but have a valid Oracle home s What do I do Oracle Universal Installer allows you to set up the Central Inventory or register an existing ORACLE_HOME with the Central Inventory in case of inventory corruption or loss You need to execute the command with the attachHome flag For more information refer to the section Creating the Central Inventory on page 3 7 I want to deploy multiple Oracle home s from an existing Oracle home How do I do this Oracle Universal Installer creates Oracle homes during Oracle software installation To deploy multiple Oracle homes using an existing one you need to clone the Oracle home For more information on cloning and mass deployment refer to Chapter 7 Oracle Software Cloning Using Oracle Universal Installer I have lost my Oracle home inventory comps xml What can I do Oracle recommends backing up the inventory when an Oracle home is installed or removed Ensure that you back up the comps xm1 having the latest timestamp For Frequently Asked Questions A 1 OPatch OPatch more information on backing up the inventory refer to section Backing up the Inventory on page 3 9 When your Oracle home inventory is corrupted or lost you can restore from the backup or you can install the Oracle home from an identical installation When I run the config assistants they fail What do I do To recover from this problem rename the configToolAllCommands and configToolFailedCommands
225. oteshell lt Path gt Unix specific option Used only for cluster installs specifies the path to the remote shell program on the local cluster node Command Line Variables Usage Command line variables are specified using lt name value gt for example session compName compName version variableName valueOfVariable Session Installer variables are specified using session varName value Ex 1 session ORACLE HOME NAME OraHome Ex 2 ORACLE HOME NAME OraHome The lookup order is session varName then just varName The session prefix is used to avoid ambiguity Component variables are specified using compInternalName Version varName Ex 1 oracle comp1 1 0 1 varName VarValue Ex 2 oracle compl varName VarValue Ex 2 oracle compl varName VarValue The lookup order is compInternalName Version varName then compInternalName varName then just varName Using Oracle Universal Installer Exit Codes If you are starting and stopping Oracle Universal Installer programmatically for example by invoking Oracle Universal Installer using a response file you may need to consider the exit codes generated by Oracle Universal Installer and perform a particular action depending on the code Oracle Universal Installer returns Oracle Universal Installer returns one of the following exit codes Code Description 0 All installations were successful 1 All installations were successful but some optional configuratio
226. owable character set is the same as that for hostnames that is underscores _ hyphens and single byte alphanumeric characters a to z A to Z and 0 to 9 Enter a public and a private host name for each node Neither the public nor the private name should have a domain qualifier When you enter the public host name use the primary host name of each node that is the name displayed by the hostname command The private node refers to an address that is only accessible by the other nodes in this cluster and which Oracle uses for Cache Fusion processing You may enter either a private host name or a private IP address for each node Click Next after you have entered the cluster configuration information This saves your entries and opens the Specify Network Interface Usage page In the Specify Network Interface Usage page the Oracle Universal Installer displays a list of cluster wide interfaces Use the drop down menus on this page to classify each interface as Public Private or Do Not Use The default setting for each interface is Do Not Use You must classify atleast one interconnect as Public and one as Private Click Next when you have made your selections to open the Select Disk Formatting Options page In the Select Disk Formatting Options page you indicate what OCFS you want the Oracle Universal Installer to format for you The formatting options are as follows Format two logical drives for data and software storage In
227. ows runInstaller record destinationFile private temp install_oraclel0g rsp on UNIX 3 Use the Oracle Universal Installer user interface to select your installation options These will be recorded When Oracle Universal Installer displays the Summary page you can either continue with the installation or exit Customizing and Creating Response Files 4 3 Response File Format Oracle Universal Installer saves your new response file using the path and file name you specified on the command line Response File Format The following sections describe the organization and content of an Oracle Universal Installer response file Variable Values Comments a Headers Response File Parameters Note Oracle recommends using absolute path for the file name However if the file name is a relative path it should be relative to the directory where oraparam ini file is present Variable Values This section contains information on how variables are populated with values Variable Lookup Order All variable values within a response file are in the name value format If two components have a variable with the same name then the expression should be written as follows to preserve each variable s uniqueness lt component gt lt variable gt lt value gt If there are two components with the same internal name but different versions the ambiguity is resolved by specifying the expression as follows lt com
228. p the Central Inventory by using the attachHome flag of Oracle Universal Installer The syntax is as follows runInstaller silent attachHome invPtrLoc oraInst loc ORACLE HOME Oracle Home Location ORACLE HOME NAME Oracle Home Name gt CLUSTER NODES nodel node2 LOCAL NODE node name gt You can use the session variables ORACLE HOME ORACLE HOME NAME CLUSTER NODES REMOTE NODES and LOCAL NODE In a cluster installation if you don t pass the CLUSTER NODES session variable Oracle Universal Installer takes it from the SORACLE HOME inventory ContentsXML oraclehomeproperties xml file In a cluster installation if you don t pass the LOCAL NODE session variable Oracle Universal Installer takes it from the SORACLE HOME inventory ContentsXML oraclehomeproperties xml file If it does not find an entry there it takes it from the Oracle Clusterware stack If it is not able to find it in the stack also then the first node of the CLUSTER NODES is taken as the LOCAL NODE You may pass the REMOTE NODES variable if you want to specify the list of remote nodes If you want to set up the Central Inventory in the local node you need to pass the local flag and the REMOTE NODES variable empty The syntax is as follows runInstaller silent attachHome invPtrLoc oraInst loc ORACLE HOME Oracle Home Location ORACLE HOME NAME Oracle Home Names REMOTE NODES local Note When you use the local flag it p
229. param ini file to be used by OUI responseFile Path Specifies the response file and path to use sourceLoc location of products xml To specify the shiphome location addLangs To add new languages to an already installed product addNode For adding node s to the installation attachHome For attaching homes to the OUI inventory cfs Indicates that the Oracle home specified is on cluster file system shared This is mandatory when local is specified so that Oracle Universal Installer can register the home appropriately into the inventory clone For making an Oracle Home copy match its current environment debug For getting the debug information from OUI deinstall For deinstall operations detachHome For detaching homes from the OUI inventory without deleting inventory directory inside Oracle home enableRollingUpgrade Used in cluster environment to enable upgrade of a product on a subset of nodes on which the product was installed executeSysPrereqs Execute system pre requisite checks and exit force Allowing silent mode installation into a non empty directory help Displays above usage ignorePatchConflicts Ignore all conflicts with existing interim patches during an upgrade The conflicting interim patches are removed from the home ignoreSysPrereqs For ignoring the results of the system pre requisite checks local Performs the operation on the local node irrespective of the cluster nodes specified
230. pecify local flag CLUSTER_ NODES REMOTE NODES and LOCAL NODE session variables to indicate the nodes on which the installation needs to be done When you use the local flag in a cluster installation it means that the installation or inventory operation needs to be performed only on the local node The CLUSTER_ NODES session variable indicates that the specified nodes are the part of the cluster runlInstaller local CLUSTER_NODES a b c d In the above example the installation would be performed in the local node and nodes a b c and d would be taken as the part of the cluster When you use the REMOTE_NODES session variable in a cluster installation it means that the installation or the inventory operation needs to be performed on the local node and the other nodes apart from the local node runlInstaller REMOTE NODES c d CLUSTER_NODES a b c d In the above example the installation would be performed on the local node a and nodes c and d The nodes a b c and d would be taken as the part of the cluster Cluster De installation When removing a clustered Oracle home Oracle Universal Installer first removes software from the node from which you are de installing then removes software from the other cluster nodes associated with the Oracle home Cluster Environment Installations 6 21 Command Line Options for Cluster Installs UNIX Only Command Line Options for Cluster Installs UNIX Only When using Orac
231. ple SHOW SUMMARY PAGE true ean Jane oe Posts EE A A POET EDEN CHEESE sa SEED PEERS SHOW SUMMARY PAGE true PE A MD E E CE I MERE Name SHOW INSTALL PROGRESS PAGE Datatype Boolean Description Set to true if the install progress page in the installer needs to be shown This page shows the current status in the installation The current status includes which product is being installed which file is being copied Example SHOW INSTALL PROGRESS PAGE true NE tc EROA eL MA cM eA LM AL Eat o cos d E Ee SHOW INSTALL PROGRESS PAGE true M N Name SHOW REQUIRED CONFIG TOOL PAGE Datatype Boolean Description Set to true if the required config tools page in the installer needs to be shown This page shows the list of required configuration tools that are part of this installation It shows the status of each tool including any failures with detailed information on why the tool has failed Example SHOW REQUIRED CONFIG TOOL PAGE true O aT SHOW REQUIRED CONFIG TOOL PAGE true nem IRE Name SHOW_ OPTIONAL CONFIG TOOL PAGE Datatype Boolean Description Set to true if the optional config tools page in the installer needs to be shown This page shows the list of optional configuration tools that are part of this installation and are configured to launch automatically It shows the status of each tool including any failures with detaile
232. ponent gt lt version gt lt variable gt lt value gt Oracle Universal Installer looks for command line variables in the following order lt component gt lt version gt lt variable gt lt value gt lt component gt lt variable gt lt value gt lt variable gt lt value gt If command line variables are not found then Oracle Universal Installer looks for variables in the response file in the same order lt component gt lt version gt lt variable gt lt value gt lt component gt lt variable gt lt value gt lt variable gt lt value gt Note Oracle Universal Installer treats incorrect context format or type values within a response file as if no value were specified Setting the Recommendation Value Values for variables are specified as lt variable gt lt recommendation gt lt value gt 4 4 Oracle Universal Installer and OPatch User s Guide Response File Format Comments Headers The values that are given as lt value_required gt must be specified for a silent installation to be successful For values that are given as lt value_unspecified gt you may optionally specify a value where value can be one of the following types listed in Table 4 1 Table 4 1 Variable Types and Representations Type Representation Number 10 Boolean TRUE or FALSE case insensitive String Value String List value1 value2 The recommendation parameter can be spe
233. ponent name and version DEINSTALL LIST sample1 1 0 0 0 0 4 8 Oracle Universal Installer and OPatch User s Guide Response File Format SHOW_DEINSTALL_CONFIRMATION Set this parameter to FALSE if you want to hide the de install confirmation dialog box during a silent de installation SHOW_DEINSTALL_PROGRESS Set this parameter to FALSE if you want to hide the de installation progress dialog box during a silent de installation DEPENDENCY_LIST The DEPENDENCY_ LIST is the list of dependents on which the component depends These dependent components represent the list of components that appear as selected during installation Following is a list of some of this parameter s characteristics The DEPENDENCY LIST variable is only generated when dependencies are present and if the dependency is not a required one You cannot list components to appear as de selected items in a dialog Specifying required dependents is redundant since they will be selected anyway The dependents selection can have the other two types of dependents optional and one or more The list of components is specified by an internal name and version number A typical example is listed DEPENDENCY LIST oracle netclt 9 2 0 4 0 oracle netmgr 9 2 0 4 0 CLUSTER NODES This parameter lists the nodes on the cluster on which the Oracle home is installed or would be installed For new installations this would be the node list on which
234. pref PrefUtil class ORACLE HOME sysman j1ib emCO emctl pl ORACLE HOME emdw bin emctl pl ncrfipm o gt O libsqlplus a gt libsglplus so libisglplus a libisglplus so RE jar RACLE HOME 1ib libnrol0 a ORACLE HOME 1ib libsqlplus a gt ORACLE HOME lib libsqlplus so ORACLE HOME lib libisqlplus a gt ORACLE HOME lib libisglplus so mdprivs sql ORACLE HOME md admin mdprivs sql prvtgmd plb ORACLE HOME md admin prvtgmd plb sdolrsmd sql gt prvtccbk plb gt ORACLE HOME md admin sdolrsmd sql ORACLE HOME md admin prvtccbk plb wk0acl pkh gt ORACLE HOME ultrasearch admin wk0acl pkh wk0acl plb gt ORACLE HOME ultrasearch admin wk0acl plb wk0adm pkh ORACLE HOME ultrasearch admin wk0adm pkh wk0adm plb ORACLE HOME ultrasearch admin wk0adm plb wkOsnapshot plb gt ORACLE HOME ultrasearch admin wk0snapshot plb wkOutil pkh ORACLE HOME ultrasearch admin wk0util pkh wkOutil plb ORACLE HOME ultrasearch admin wk0util plb Patch Location in homel racqa 102 Inventory twork toii toiir toiir571 HOMEtoiir571 inventory oneoffs 3811942 Patch Location in Storage area homel racqa 102 twork toii toiir toiir571 HOMEtoiir571 patch storage 3811942 Aug 3 1 2004 12 06 28 Rac system comprising of multiple nodes Oracle Software Patching Using OPatch 8 9 Backup and Recovery Considerations for Patching Local node stadu56 Remote no
235. provide a complete path location for the cluster file system Ensure that n storageTypeOCR and n storageTypeVDSK has been set to 2 for redundant storage Ensure that this value is set to 1 for non redundant storage In this case the mirror locations will also have to be specified On the new node go to the directory that contains the central Oracle inventory Run the orainstRoot sh script to populate the file etc oraInst loc with information about the central inventory location On the new node go to the CRS HOME directory and run root sh This starts the Oracle Clusterware on the new node Determine the remote port to use in the next step by running the following command from the CRS_HOME opmn conf directory Oracle Software Cloning Using Oracle Universal Installer 7 9 Creating Oracle Real Application Cluster Environment using Cloning cat ons config grep remoteport On the new node run the following from CRS_HOME bin directory where racgons is the Oracle RAC Notification Service Utility new_node is the name of the new node and remote_port is the value from the output of the previous step racgons add config new_node lt Remote_Port gt Execute the following command to get the interconnect information You can use this information in the next step CRS HOME bin oifcfg iflist p Execute oifcfg command as follows oifcfg setif global interface name subnet public inteface name subnet cluster inte
236. r for a particular Oracle home using the addNode flag of Oracle Universal Installer More than one node may be added to the Oracle home The Oracle Universal Installer with the addNode flag is always run on the local node and not on the node s to be added You can add nodes to an Oracle Clusterware node or a Real Application Clusters node depending upon whether the node addition is being performed at the Oracle Clusterware layer or the Real Application Clusters database layer For more information on adding nodes refer to section Adding Additional Nodes to the Cluster for Mass Deployment on page 6 19 1 2 Oracle Universal Installer and OPatch User s Guide Major Entities Inventory Operations Oracle Universal Installer supports the following inventory operations Attaching Oracle Homes Oracle Universal Installer uses the attachHome flag to attach an Oracle home to the inventory to set up the Central Inventory or to register an existing Oracle home with the Central Inventory For more information refer to section Creating the Central Inventory on page 3 7 Detaching Oracle Homes Oracle Universal Installer uses the detachHome flag to remove an Oracle home from the Central Inventory For more information refer to section Detaching Oracle Homes from the Central Inventory on page 3 8 Updating Node List Oracle Universal Installer uses the updateNodeList flag to get the list of nodes and update the inventory xml
237. r the Oracle Clusterware home directory u01 crs oracle product 10 2 0 app Note Because you must change the permissions of all of the parent directories of the Oracle Clusterware home directory after installing the software to grant write access only to the root user the Oracle Clusterware home directory must not be a subdirectory of the Oracle base directory Oracle Home Directory The Oracle home directory is the directory where you choose to install the software for a particular Oracle product You must install different Oracle products or different releases of the same Oracle product in separate Oracle home directories When you run Oracle Universal Installer it prompts you to specify the path to this directory as well as a name that identifies it The directory that you specify must be a subdirectory of the Oracle base directory Oracle recommends that you specify a path similar to the following for the Oracle home directory oracle base product 10 2 0 db 1 Oracle Universal Installer creates the directory path that you specify under the Oracle base directory It also sets the correct owner group and permissions on it You do not need to create this directory Identifying or Creating an Oracle Base Directory Before starting the installation you must either identify an existing Oracle base directory or if required create one For more information on identifying or creating an Oracle Base Directory refer to the resp
238. r571 HOMEtoiir571 cfgtoollogs opatch lsinv lsinventory 2005 May 30 01 04 52 PDT Mon txt Installed Top level Products 1 Oracle Database 10g 10 1 0 2 0 There are 1 products installed in this Oracle Home Installed Products 151 Advanced Queueing AQ API Advanced Replication Agent Required Support Files Assistant Common Files Authentication and Encryption 1 Bali Share T 1 1 Character Set Migration Utility 1 CSS Single instance Common Files Data Management Services Common Files Database Configuration Assistant Database SQL Scripts Database Upgrade Assistant Database Verify Utility Database Workspace Manager DBJAVA Required Support Files Documentation Required Support Files Enterprise Edition Options Enterprise Manager Agent Enterprise Manager Common Files Enterprise Manager Minimal Integration Enterprise Manager plugin Common Files Enterprise Manager Repository Export Import Extended Windowing Toolkit Generic Connectivity Common Files Generic Connectivity Using ODBC Installation Common Files Installer SDK Component iSQL Plus Java Naming and Directory Interface Libraries Java Runtime Environment JDBC Common Files JDBC OCI Common Files JDBC OCI Common Files for Instant Client LDAP Required Support Files New Database ID Object Type Translator Oracle Advanced Security Oracle C Call Interface Oracle C Call Interface for Instant Client Oracle Call Interface OCI Oracle Client Required Support
239. racle Database 10 1 Source To prepare the source Oracle home to be cloned perform the following steps Ensure that the Oracle Database installation whose home you want to clone has been successful For Windows system computers you can check the status of the installation by reviewing the installActionsdate time 1og file for the installation session where date time represents the date and time when the file was created for example installActions2006 05 30_10 28 04PM log This log file is normally located in the c Program Files Oracle Inventory logs directory For Linux based systems the logs are kept in inventory location logs directory To determine the location of the central inventory refer to section Locating and Viewing Log Files If you have installed patches then you can check their status by running the following commands For Windows system computers Cc ORACLE BASE ORACLE HOME OPatch gt set ORACLE HOME ORACLE HOME using patch c ORACLE BASEVORACLE HOMEVOPatch opatch lsinventory For Linux based and UNIX based systems Set the ORACLE_HOME environment variable The syntax for this may change depending on the shell used ORACLE BASE ORACLE HOME OPatch gt setenv ORACLE HOME ORACLE HOME using patch 7 4 Oracle Universal Installer and OPatch User s Guide Cloning an Oracle Database 10 1 Oracle Home ORACLE BASE ORACLE HOME OPatch gt opatch lsinventory Archive and compress the source Oracle
240. ral System Installation Requirements for Real Application Clusters Each node that is going to be part of your Real Application Clusters installation must meet the following hardware and software requirements You will perform 6 2 Oracle Universal Installer and OPatch User s Guide General System Installation Requirements for Real Application Clusters step by step tasks for hardware and software verification for the platform specific pre installation procedures Hardware Requirements for Real Application Clusters Setup Each node in a cluster requires the following hardware External shared disks for storing the Oracle Clusterware files Refer to the respective Real Application Clusters installation guide for information on the disk configuration options that are available Review these options before you decide which storage option to use in your Real Application Clusters environment One private Internet protocol IP address for each node to serve as the private interconnect The following must be true for each private IP address It must be separate from the public network It must be accessible on the same network interface on each node It must have a unique address on each node The private interconnect is used for inter node communication by both Oracle Clusterware and Real Application Clusters If the private address is available from a network name server DNS then you can use that name Otherwise the private IP ad
241. rconnect lt interface_name gt lt subnet gt public inteface name subnet cluster interconnect Note Oracle Clusterware cloning can only be performed in silent mode Cloning Oracle RAC Software on UNIX and Linux System Based Environments Complete the following steps to clone Oracle Database with RAC software on UNIX and Linux systems 1 If you do not have a shared Oracle Database home then tar the Oracle RAC home from the existing node and copy it to the new node Assume that the location of the destination Oracle RAC home on the new node is SORACLE HOME Otherwise skip this step Note For more information on archiving refer to section Source Preparation Phase Unarchive the home on the new nodes In the case of shared homes unarchive the home only once on the nodes Note For more information on unarchiving refer to section Cloning Phase on the new nodes go to the SORACLE HOME c1one bin directory and run the following command where new node2 and new node3 are the names of the new nodes and Oracle home nameis the name of the Oracle home perl clone pl ORACLE HOME Path to the Oracle Home being cloned ORACLE HOME NAME Oracle Home Name for the Oracle Home being cloned O CLUSTER NODES new node 2 new node 3 O LOCAL NODE new node 2 If you have a shared Oracle Database home then append the cfs option to the command example in this step an
242. re about these different installation approaches Notes When you invoke runInstaller UNIX or setup exe Windows you should invoke it from the directory where this command is present or you must specify the complete path to runInstaller UNIX or setup exe Windows Installing from a Single CD ROM While installing Oracle products contained on a single CD ROM start Oracle Universal Installer by running the executable file setup exe or runInstaller sh located in install platform Where platform represents Win32 Win64 Solaris Linux and so on For UNIX systems run the script by typing runInstaller at the command line 5 6 Oracle Universal Installer and OPatch User s Guide Installing Oracle Products Note Oracle Universal Installer for win64 works the same as Oracle Universal Installer for win32 However the startup directory on the CD is win64 instead of win32 Launching Oracle Universal Installer from the win32 directory launches Oracle Universal Installer in 32 bit mode used for installing 32 bit software Use win64 for installing 64 bit software When you install both 32 bit and 64 bit Oracle Universal Installer on a 64 bit machine two different inventories will be created and maintained However you cannot install 64 bit software in a 32 bit home and vice versa Installing from Multiple CD ROMs If you are creating a multiple CD installation on UNIX you may nee
243. re kept in lt inventory location gt logs directory To determine the location of the central inventory refer to section Locating and Viewing Log Files If you have installed patches then you can check their status by running the following commands For Windows system computers 7 6 Oracle Universal Installer and OPatch User s Guide Cloning an Oracle Database 10 2 Oracle Home c ORACLE_BASE ORACLE_HOME OPatch gt set ORACLE HOME ORACLE HOME using patch Cc ORACLE BASEVORACLE HOMEVOPatch opatch lsinventory For Linux based and UNIX based systems ORACLE BASE ORACLE HOME OPatch setenv ORACLE HOME ORACLE HOME using patch ORACLE BASE ORACLE HOME OPatch opatch lsinventory Archive and compress the source Oracle home using your preferred tool for archiving For more information on this refer to section Source Preparation Phase Cloning an Oracle Database 10 2 To clone the Oracle Database 10 2 perform the following steps Copy the compressed zip or archive file to the target computer Extract the contents of the compressed zip or archive file in the target computer For more information on extracting the contents refer to section Cloning Phase On the target computer go to the SORACLE HOME Cclone bin directory and run clone pl This is a Perl script that performs all parts of the cloning operation automatically by calling various utilities and OUI This script uses the cloning functionality in OUI
244. re of the following reasons 1 The ORACLE HOME patch storage may not have read write permissions Ensure that you give read write permissions to this folder and apply the patch again 2 There may be another Oracle Universal Installer instance running Stop it and try applying the patch again 3 The Central Inventory may not have read permission Ensure that you give read permission to the Central Inventory and apply the patch again 4 TheORACLE HOME patch storage directory might be locked If this directory is locked you will find a file named patch locked inside this directory This may be due to a previously failed installation of a patch To remove the lock restore the Oracle home and remove the patch locked file from the ORACLE HOME patch storage directory For more information on restoring the Oracle home refer to section Restoring Oracle Homes on page 8 22 A 4 Oracle Universal Installer and OPatch User s Guide OPatch The Oracle home may not be present in the Central Inventory This may be due to a corrupted or lost inventory or the inventory may not be registered in the Central Inventory For more information refer to section Diagnosing and Recovering from Central Inventory Corruption on page 3 10 Frequently Asked Questions A 5 OPatch A 6 Oracle Universal Installer and OPatch User s Guide Troubleshooting and Debugging Oracle Universal Installer This appendix is organized into the follow
245. reating Oracle RAC Environments on Windows System Based Environments 7 11 Cloning Oracle Clusterware on Windows System Based Environments 7 11 vii Cloning Oracle RAC Software on Windows System Based Environments 7 12 Important Considerations when Cloning Oracle Real Application Clusters 7 13 Adding Nodes Using Cloning in Oracle Real Application Clusters Environments 7 13 Cloning Oracle RAC Environments on UNIX and Linux System Based Environments 7 13 Cloning Oracle Clusterware on UNIX and Linux System Based Environments 7 13 Cloning Oracle RAC Software on UNIX and Linux System Based Environments 7 15 Cloning Oracle RAC Environments on Windows System Based Environments 7 15 Cloning Oracle Clusterware on Windows System Based Environments 7 16 Cloning Oracle RAC Software on Windows System Based Environments 7 17 Cloning Script Variables and their Definitions sss eee 7 18 Variables for UNIX and Linux System Based Environments esses 7 18 Variables for Windows System Based Environments esses 7 19 8 Oracle Software Patching Using OPatch About Interim Patches 5 Renee eter e e e ati en 8 1 Structure of Interim Patches Hee ee RESP DER hee Edere e penes 8 1 Interim Patch Versions ua enne a aL e bete I 8 2 Getting In
246. response file ACCEPT_LICENSE_AGREEMENT 4 10 CLUSTER_NODES 4 9 creating with record mode 4 3 definition 4 1 DEINSTALL_LIST 4 8 DEPENDENCY_LIST 4 9 format 4 4 FROM LOCATION 4 6 FROM LOCATION CD LABEL 4 6 general format comments 4 5 headers 4 5 values 4 4 INCLUDE 4 5 INSTALL TYPE 4 10 location 4 2 LOCATION FOR DISK2 4 6 modifying 4 2 NEXT SESSION 4 7 NEXT SESSION ON FAIL 4 7 NEXT SESSION RESPONSE 4 7 Index 3 OPTIONAL_CONFIG_TOOLS 4 9 ORACLE_HOME 4 7 ORACLE_HOME_NAME 4 7 parameters 4 5 REMOVE_HOMES 4 8 RESPONSEFILE_VERSION 4 6 RESTART_SYSTEM 4 7 sample D 1 SELECTED_LANGUAGES 4 10 SHOW_COMPONENT_LOCATIONS_PAGE 4 7 SHOW_CUSTOM_TREE 4 7 SHOW_DEINSTALL_CONFIRMATION 4 9 SHOW_DEINSTALL_PROGRESS 4 9 SHOW_END_SESSION_PAGE 4 7 SHOW_EXIT_CONFIRMATION 4 7 SHOW_INSTALL_PROGRESS_PAGE 4 7 SHOW_OPTIONAL_CONFIG_TOOL_PAGE 4 8 SHOW RELEASE NOTES 4 8 SHOW ROOTSH CONFIRMATION 4 8 SHOW SPLASH SCREEN 4 8 SHOW SUMMARY PAGE 4 8 SHOW WELCOME PAGE 4 8 specifying 4 11 TOPLEVEL COMPONENT 4 8 UNIX GROUP NAME 4 8 variable lookup order 4 4 RESPONSEFILE VERSION 4 6 RESTART SYSTEM 4 7 rolling patching 8 17 running OUI after installation 5 12 S SELECTED LANGUAGES 4 10 SHOW COMPONENT LOCATIONS PAGE 4 7 SHOW CUSTOM TREE PAGE 4 7 SHOW DEINSTALL CONFIRMATION 4 9 SHOW DEINSTALL PROGRESS 4 9 SHOW END SESSION PAGE 4 7 SHOW EXIT CONFIRMATION 4 7 SHOW INSTALL PROGRESS PAGE 4 7 SHOW O
247. s The following sections describe how to start Oracle Universal Installer and install an Oracle product Specifically this section describes Getting Help While Installing Oracle Products About the ORAPARAM INI File Modes of Installation Installation Media Special Instructions for UNIX Users Getting Help While Installing Oracle Products At any time while installing your product click Help for information about the screens specific to your installation Oracle Universal Installer provides two kinds of online help Generic online help provided with every copy of Oracle Universal Installer These topics describe the screens and dialog boxes that every Oracle Universal Installer user sees regardless of the product they are installing Online help specific to a particular installation These topics are created by the product developer and describe the screens and dialog boxes specific to the product you are installing For example the help topic for the Installation Types page is often a custom help topic created by the installation developer that describes the specific installation types for the product you are installing 5 2 Oracle Universal Installer and OPatch User s Guide Installing Oracle Products After you view an online help topic choose Navigator from the Tools menu to display the navigator pane From the navigator pane you can browse the table of contents select other topics or search for
248. s a default home to be active the Home Selector can be used to change the Windows NT system settings When using the Home Selector to make a specific Oracle home the active one the software installation in question is moved to the front of the PATH variable making it the first directory to be scanned for executable and library files Use the GUI in the Environment tab of the Inventory dialog to establish the order of Oracle homes in your PATH variable How Home Selector Works When you perform an installation on a system Oracle Universal Installer runs the selectHome bat file to register the Oracle home you selected In silent mode you perform this outside Oracle Universal Installer The first Oracle home will be named the DEFAULT_HOME and will register itself in the Windows NT registry under the key HKEY LOCAL MACHINE Software Oracle This is the default Windows NT registry hive which contains all the generic Oracle settings Also the PATH variable is adjusted and the BIN directory of the KORACLE_ HOME is added to the environment variable Some additional parameters will also be written to the key HKEY LOCAL MACHINE Software Oracle KEY ORACLE Home Name With Oracle Universal Installer you can change the DEFAULT HOME name to something else Also it registers all Oracle settings in the KEY Home NAME sub key of the ORACLE key When an additional Oracle home is added to the system the PATH variable is adj
249. s allocated based on quota Oracle Universal Installer 10g Release 2 10 2 offers the following features An XML based centralized inventory The XML format allows third party Java applications to query the inventory for information about installed software For backward compatibility the Central Inventory continues to maintain the binary versions as well Cloning of existing Oracle homes Allows you to copy an existing Oracle home to another location and fix it up by updating the installation configuration to be specific to the new environment Introduction to Oracle Universal Installer 2 1 Key Features Cloning makes it easy to propagate a standard setup without having to install and configure installation after installation a Better support for cluster environments Oracle Universal Installer now replicates its inventory to all nodes that participate in a cluster based installation Users can invoke Oracle Universal Installer from any node on the cluster that is part of the installation Users can then upgrade remove patch existing software from any node True silent capability When running Oracle Universal Installer in silent mode on a character mode console you no longer need to specify an X server or set the DISPLAY environment variable on UNIX No GUI classes are instantiated making the silent mode truly silent a Ability to record your Oracle Universal Installer session to a response file This feature
250. s command line argument puts the installation into an unsupported state Specifies that the OPatch utility need not update the files in the system It will only update the inventory This option does not perform any make operation It can be used during multiple patch applications and to perform the linking step only once OPatch does not keep track of the make operations it did not perform You need to make sure to execute OPatch without this option at the end for compilation Specifies the Oracle home directory to use instead of the default Marks the end of the post option This command line argument is used with the post command line argument If this argument is not used then everything after post is passed into post Marks the end of the pre options This command line argument is used with the pre command line argument If this argument is not used then everything after pre is passed into pre Specifies the parameters to be passed inside the post script besides the standard parameters Specifies the parameters to be passed inside the pre script besides the standard parameters Specifies to the OPatch utility the list of remote nodes This command line argument can be used on Oracle Real Application Clusters environments report Prints the action to the screen without executing it retry Specifies how many times the OPatch utility should try when there is an inventory lock failure silent Suppresses user interactio
251. s example mount point is the mount point directory for the file system that will contain the Oracle software The examples in this guide use u01 for the mount point directory However you could choose another mount point directory oracle or opt oracle for example Oracle sw owner is the operating system user name of the Oracle software owner for example oracle You can use the same Oracle base directory for more than one installation or you can create separate Oracle base directories for different installations If different operating system users install Oracle software on the same system then each user must create a separate Oracle base directory The following example Oracle base directories could all exist on the same system u01 app oracle u01 app orauser opt oracle app oracle Regardless of whether you create an Oracle base directory or decide to use an existing one you must set the ORACLE BASE environment variable to specify the full path to this directory Note The Oracle base directory can be on a local file system or on an NFS file system on a certified NAS device Do not create the Oracle base directory on an OCFS version 1 file system Oracle Inventory Directory The Oracle Inventory directory oraInventory stores an inventory of all software installed on the system It is required by and shared by all Oracle software installations on a single system The first time you install Oracle softw
252. s in your main response file you must use this Customizing and Creating Response Files 4 5 Response File Format parameter Note that the values in the main response file take priority over the included response files INCLUDE filel rsp file2 rsp filen rsp You should specify the absolute path in the INCLUDE statement for each response file to be included If you wish to specify a relative path note that the location is relative to the current working directory the location of the oraparam ini file RESPONSEFILE_VERSION This parameter specifies the version number of the response file RESPONSEFILE VERSION version number FROM LOCATION The location of the source of the products to be installed The default generated value for this parameter is a path relative to the location of the runInstaller file Relative paths are necessary for shared response files used by multiple users over a network Since people may be mapping to different drives absolute paths will not work for shared response files Notes You must enter a value for FROM LOCATION for a complete silent installation You may want to use the command line to set this parameter If the location is a relative path remember that the path should be relative to the location of the oraparam ini file a Make sure that the var opt oracle oraInst 1loc exists The response file for UNIX has a public variable setunixinstallgroup thaton
253. s the patches depending upon your responses OPatch rolls back and applies the patch if the current patch bugs to fix is a superset or the same as an installed patch bugs fixed in the Oracle home directory If it is a conflict case OPatch errors out OPatch errors out if the current patch bugs to fix is a superset or the same as an installed patch bugs fixed in the Oracle home directory If it is a conflict case also OPatch errors out OPatch rolls back all the patches and reapplies them without warning even if the current patch bugs to fix is a superset or a conflict or the same as an installed patch bugs fixed in the Oracle home directory OPatch errors out if the current patch bugs to fix is a superset or the same as an installed patch bugs fixed in the Oracle home directory Ifitis a conflict case OPatch rolls back and applies the new patch Oracle Software Patching Using OPatch 8 21 Logging and Tracing Patch Conflict Detection and Resolution OPatch detects and reports any conflicts encountered when applying an Interim patch with a previously applied patch The patch application fails in case of conflicts The force option of OPatch can be used to override this failure If force is specified the installer will first rollback any conflicting patches and then proceed with the installation of the desired interim patch You may come across a bug conflict and might want to remove the conflicting patch This process
254. so want to look at installation logs inventory xml and oraclehomeproperties xml Refer to Troubleshooting Real Application Clusters Oracle Clusterware Installation on page 6 27 in case the check fails Back Up Disk after Installation After your Oracle product with Real Application Clusters installation is complete and after you are sure that your system is functioning properly make a backup of the contents of the disk Also make a backup of the disk contents after you complete any node additions or node deletions and after running any de installation procedures Download and Install Patches Refer to the OracleMetaLink Web site for required patches for your installation To download the required patches 1 Usea Web browser to view the OracleMetaLink Web site http metalink oracle com 6 22 Oracle Universal Installer and OPatch User s Guide De installing Real Application Clusters Software on RYN 10 11 12 13 14 Log in to OracleMetaLink On the main OracleMetaLink page click Patches On the Select a Patch Search Area page click New MetaLink Patch Search On the Simple Search page click Advanced On the Advanced Search page click the search icon next to the Product or Product Family field In the Search and Select Product Family field enter the Oracle product name in the For field and click Go Select the Oracle product under the Results heading and click Select The product name appears in the
255. specify the log file location This variable specifies the directory that contains the log files generated during installation This directory is located within the Oracle home IGNORE_PREREO This is used to specify whether to skip the pre requisite checks or not Set to true to continue component installation even when pre requisite check fails ORACLE This is used to specify the host name of the system as set by the user HOSTNAME PREREO CONFIG This is used to specify the location where pre requisite config files are LOCATION available PREREQ LOG This is used to specify the prereqs log location where pre requisite LOCATION results will be generated PREREQ ENTRY This is used to specify the log location where pre requisite results will POINT be generated ROOTSH STATUS This is used to specify the root sh status whether root sh is required before config or after config This flag is used only on UNIX platforms SHOW CUSTOM This is used to specify the custom message shown for the root sh ROOTSH MESSAGE dialogue This flag is used only on UNIX platforms ROOTSH_ This is used to specify the Root sh location By default it is set to LOCATION OH root sh This flag is used only on UNIX platforms USE_PREREQ_ This is used to specify if the prereq checker is to be used during the CHECKER installation or not The value for this variable is set based on the value in the oraparam ini USE OLD INSTALL This is used to specify if ol
256. stallations 1 4 Oracle Universal Installer and OPatch User s Guide 2 Introduction to Oracle Universal Installer This chapter is designed to aid the developers administrators and all other users who install Oracle software to understand the system requirements and features of Oracle Universal Installer This chapter includes the following sections System Requirements Key Features System Requirements The minimum system requirements for Oracle Universal Installer are as follows Key Features Java Runtime Environment JRE Automatically installed with Oracle Universal Installer on most platforms Check the Release Notes or installation guide of the products that you are installing for the required version Memory Requirements Memory requirements vary depending on the number of components installed Check the Release Notes or installation guide for the products that you are installing for details 32 MB minimum recommended on all platforms Disk Space Requirements Oracle recommends atleast 60 MB for Oracle Universal Installer files on Windows platforms 70 MB on UNIX UNIX requires more memory because of the difference in JRE sizes for the platforms You may need up to 1 MB for the related inventory files When you run Oracle Universal Installer from NFS mounted user home especially for Linux execute the quota command to check the space availability Never perform an install on a user home for which space i
257. stalled directories which can be changed you may want to set the value to TRUE SHOW_CUSTOM_TREE_PAGE Set SHOW_CUSTOM_TREE_PAGE to TRUE if the custom tree page in the installer must be shown In the Custom Tree page dependencies can be selected or de selected This page appears only in a custom installation type SHOW_END_SESSION_PAGE The installation success failure page which appears at the end of an installation can be suppressed by setting this value to FALSE SHOW_EXIT_CONFIRMATION Set to TRUE if the confirmation when exiting the installer needs to be shown SHOW_EXIT_CONFIRMATION TRUE SHOW_INSTALL_PROGRESS_PAGE The installation progress page which appears during the installation phase can be suppressed by setting the value to FALSE Customizing and Creating Response Files 4 7 Response File Format SHOW_OPTIONAL_CONFIG_TOOL_PAGE Set to TRUE if the Optional Configuration Tools page in the installer must be shown The Optional Configuration Tools page shows the list of optional configuration tools that are part of this installation and the status of each tool including detailed information on why the tool has failed SHOW_ROOTSH_CONFIRMATION Set to TRUE if the Confirmation dialog asking to run the root sh script in the installer needs to be shown This variable is valid only on UNIX platforms SHOW_ROOTSH CONFIRMATION TRUE SHOW_SPLASH_SCREEN Set to TRUE if the initial splash screen in the installer needs to
258. t able to locate this command For more details and workaround for this problem refer to section OPatch cannot find system commands like fuser make on page 8 30 How do I get the information about a patch that I applied long back You can look at the folder SORACLE HOME patch storage patch id timestamp gt It has detailed information about the patch You can also use opatch lsinventory detail to see the files that have been modified by the patch Where do I get the OPatch 10 2 log files You can look at the folder SORACLE HOME cfgtoollogs opatch for OPatch 10 2 log files How do I find out a list of Oracle home s for a host To find out the list of Oracle home s in a host use the command 1sinventory all How can I minimize the downtime when applying a patch to a Real Application Clusters setup You can minimize the downtime when applying a patch to a Real Application Clusters setup by doing a Minimum Downtime Patching For more information refer to section Minimum Downtime Patching on page 8 18 Frequently Asked Questions A 3 OPatch Can I stop applying a patch after applying it to a few nodes What are the possible issues Yes it is possible to stop applying a patch after applying it to a few nodes But Oracle recommends that you do not do this There is a prompt that allows you to stop applying the patch This means you cannot apply another patch until the process is restarted and all the nodes are p
259. taller B 1 Debugging Mechanisms in Oracle Universal Installer value value Setting Setting Setting Setting of UNIX GROUP NAME to value value of ORACLE HOME to E VUniversal of ORACLE HOME NAME to Universal File Locations Page of FROM LOCATION to E bootstrap cd Disk1 stage products jar FromLocation FROM LOCATION E bootstrap cd Disk1 stage products jar ToLocation ORACLE HOME E Universal ToName ORACLE HOME NAME Universal Initializing installer access setup Setting value of ORACLE HOME to E Universal Setting Setting Setting Setting 173 467 Setting value of SELECTED LANGUAGES to en Doing operation for installer access setup Initializing inventory setup WCCE Doing operation in inventory setup WCCE value value value value of ORACLE HOME SERVICE to Universal of ToplevelComp to oracle swd 2 2 1 0 Ww ct Available Products Page TopLevelComp ToplevelComp oracle swd 2 2 1 0 0 173 467 295 87 610 198 918 913 162 2 30 21 10021 111 LangsSel SELECTED LANGUAGES en Setting value of ToplevelComp to oracle swd 2 2 1 0 173 467 295 87 610 198 918 913 162 2 30 21 10021 111 Setting value of DepMode to Complete Setting value of TLDepModes to Complete Installation Types Page DepMode DepMode Complete TLDepModes TLDepModes Complete Setting value of DepMode to Complete Setting of PROD HOME to E Universal oracle D value P Setting of PROD
260. taller will ask for license acceptance after you click the Next button on the Welcome screen Oracle Universal Installer will let the user proceed only after license is accepted This parameter is ignored if the file is not found The value of this variable displays as the title of the license agreement Oracle Universal Installer only reads this value if the license dialog is displayed That is if the LICENSE LOCATION variable has a valid value Location of the Java Runtime Environment JRE that will be used by Oracle Universal Installer Note For a single installation to point to two different JRE versions move the oraparam ini file one level below its original location and then specify the individual platform s JRE location For example if the original location is in the Disk1 install directory move it to the Disk1 install win32 or the Disk1 install solaris directory and then specify the individual platform s JRE location Points to the location of Oracle Universal Installer files used for interactive mode GUI based This parameter is optional if DISTRIBUTION TRUE then Oracle Universal Installer computes this value using the OUI VERSION parameter Use this parameter if you want to override the default value stage Components oracle swd oui lt version gt 1 DataFiles Expanded Points to the location used for silent mode This parameter is optional If DISTRIBUTION TRUE then Oracle Universal Installer computes t
261. tch applied to it Then it is brought up back Then system B is brought down and patch applied and brought up This is repeated for system C also The patch is applied in a rolling fashion The main advantage of this type of patching is that there is absolutely no downtime during the application of patches as only one system is brought down at any given time Minimum Downtime Patching In Minimum Downtime Patching the nodes are divided into sets Initially the first set is shut down and the patch is applied to it After this the second set is shut down The first set is brought up and patch is applied to the second set The second set is also brought up now All the nodes in the Real Application Clusters are now patched This mode leads to less downtime for the Real Application Clusters when both the sets are brought down This mode is executed by using minimize downtime command line option You can also activate this option from the response file The Minimum Downtime Patching is explained with the help of an example below Figure 8 4 Minimum Downtime Patching Consider a Real Application Clusters setup as shown in Figure 8 4 Minimum Downtime Patching Systems A B and C are nodes in this Real Application Clusters 8 18 Oracle Universal Installer and OPatch User s Guide About Patch Conflicts They are divided into two sets set 1 containing systems A and B and set 2 containing system C When you perform a Minimum Downtime Patchi
262. tched using OPatch You can also use the cloned Oracle home as the source for another cloning operation You can create a cloned copy of a test development or production installation by using the command line cloning scripts The default cloning procedure is adequate for most usage cases However you can also customize various aspects of cloning for example to specify custom port assignments or to preserve custom settings Oracle Software Cloning Using Oracle Universal Installer 7 1 Overview of the Cloning Process The cloning process works by copying all of the files from the source Oracle home to the destination Oracle home Thus any files used by the source instance that are located outside the source Oracle home s directory structure are not copied to the destination location The size of the binaries at the source and the destination may differ because these are relinked as part of the clone operation and the operating system patch levels may also differ between these two locations Additionally the number of files in the cloned home would increase because several files copied from the source specifically those being instantiated are backed up as part of the clone operation OUI Cloning is more beneficial than using the tarball approach because cloning configures the Central Inventory and the Oracle home inventory in the cloned home Cloning also makes the home manageable and allows the paths in the cloned home and the target hom
263. tching Session Using OPatch 3 On UNIX source SORACLE HOME patch storage patch id timestamp gt make txt file if available as follows bin sh make txt When you apply a patch you quit when OPatch failed to relink and prompted to continue Cause This may be due to relink failure Action Perform the following steps 1 Ensure that the environment variable ORACLE HOME is set properly 2 Navigate to the ORACLE_HOME patch_storage lt patch id_ timestamp gt directory and execute the restore command For UNIX SORACLE HOME patch storage patch id timestamp restore sh For Windows SORACLE HOME patch storage patch id timestamp restore bat 3 Resolve the re link failure issue by ensuring that you are able to invoke make manually on a UNIX shell After this apply the patch again Real Application Clusters Setup When I apply a patch on a Real Application Clusters setup and execute opatch Isinventory on the local node the patch is not listed Cause This may occur if OPatch failed to update inventory Action Perform the following steps 1 Ensure that the environment variable ORACLE HOME is set properly in all the nodes of the cluster 2 Navigate to the SORACLE HOME patch storage patch id timestamp directory of each node in the cluster and execute the restore command as follows For UNIX SORACLE HOME patch storage patch id timestamp restore sh For Windows SORACLE HOME patch
264. terim Patches ete ete et ne deter tite ib ote t rd 8 3 About OPatch 12 B uelhene Aide eA e ce ni t beca eed Gebet tee qt 8 3 Requirements for OPatch eden qae ete tene ihe beide ete eed e ens 8 3 Features of OPatch onte de eet taste tee den ten eet eet Gee eed 8 3 Pre requisite Checks in OPateh enanar EEEE AE SEERA E nennen nnne nennen 8 4 Check ORACLE HOME and Environment Variable sese eene 8 4 Check for JRE arid DK uite eR Deest eere rte Re doe CERE See cass ERR N RE ECHR URS 8 4 Check for System pacense dl 8 4 Check for Oracle Universal Installer and OPatch Version Compatibility 8 4 Check for Patch Applicable on Operating System sess eee een 8 5 Check for System Commands sse nennen nnne nennen nennen nennen 8 5 Additional Pre requisite Checks for Real Application Clusters sess 8 5 Check for User Equivalencia iii ai ii tacent i ee d e ee t eben 8 5 Check for OPatch IsinVentory z 4 etit teret teste tres ete its tee iei ete edi ben de 8 5 Backup and Recovery Considerations for Patching eese ee 8 10 Operations and Options in OPatch Utility esses eee eee nee 8 10 apply Optiori ie S E ente eet om to ota see cd oet EE HER Feb ene shee He IAE PEL aa 8 11 ISiniventory OPN D 8 12 query Opos MU Ont a ten os ug S HR DH Eee 8 14 rollback Option eere ee eee WE e ER
265. terware should be installed on the cluster nodes prior to starting an Oracle RAC installation Fora shared home you need to also provide a value for the cfs parameter on the command line Adding Nodes Using Cloning in Oracle Real Application Clusters Environments This section explains how to add nodes to existing Oracle RAC environments by using Oracle cloning These procedures describe how to use cloning for both UNIX and Linux system environments and Windows system environments under the following topics Cloning Oracle RAC Environments on UNIX and Linux System Based Environments Cloning Oracle RAC Environments on Windows System Based Environments Cloning Oracle RAC Environments on UNIX and Linux System Based Environments These procedures assume that you have successfully installed and configured an Oracle RAC environment to which you want to add nodes and instances To add nodes to a UNIX or Linux system Oracle RAC environment using cloning extend the Oracle Clusterware configuration extend the Oracle Database software with RAC and then add the listeners and instances by running the Oracle assistants as described in the following procedures Cloning Oracle Clusterware on UNIX and Linux System Based Environments Cloning Oracle RAC Software on UNIX and Linux System Based Environments Cloning Oracle Clusterware on UNIX and Linux System Based Environments Complete the following steps to clone Oracle Clusterware on
266. the installation needs to be done including the local node For patching or upgrades this is the node list on which the Oracle home is already installed CLUSTER NODES alpha 1 alpha 2 REMOTE NODES This parameter lists the remote nodes apart from the local node on the cluster on which to install during a silent installation Oracle Universal Installer will install on all named nodes REMOTE NODES alpha 1 alpha 2 LOCAL NODE This parameter specifies the current node on which the installation takes place LOCAL NODE OPTIONAL CONFIG TOOLS While all the required configuration tools are launched by the installer you can control the configuration tools you would want to launch by specifying the tool s internal names in the OPTTONAL CONFIG TOOLS section Note The OPTIONAL CONFIG TOOLS variable is only generated when atleast one optional configuration tool is available You can call the Net Configuration Assistant or the Database Configuration Assistant at the end of a database installation in silent mode also For example to launch the Net Customizing and Creating Response Files 4 9 Response File Format Configuration Assistant in silent mode you can pass the parameter s_ responseFileName netca rsp You can specify both the Auto launch optional tools and User launch optional tools in a string list Example OPTIONAL CONFIG TOOLS configtool2 configtool3 OPTIONAL CONFIG TOOLS Val
267. the installation by providing information in the dialogs when prompted This method is useful when installing a small number of products in different setups on a small number of hosts Suppressed Interactive Mode You can use this mode to supply the necessary information by using a combination of a response file or command line entries with certain interactive dialogs This is most useful when an installation has a common set of parameters that can be captured in a response file in addition to the custom information that you must enter by hand Silent Mode You can use this mode to bypass the GUI and supply the necessary information in a response file This method is most useful when installing the same product multiple times on multiple hosts By using the response files you can also automate the installation of a product for which you know the installation parameters For more information on silent installation refer to Chapter 4 Customizing and Creating Response Files Cluster Install Mode A cluster installation uses Oracle Universal Installer to install software on the nodes of a cluster that are network reachable and bound together by Oracle Clusterware You can use Oracle Universal Installer to extend the Oracle home of a product installation to include additional nodes on the cluster You need to install Oracle Clusterware for a Cluster Install For more information on cluster installs refer to Chapter 6 Cluster Environment In
268. the variable node2 is the name of the node on which you are configuring the additional Oracle Clusterware home directory Cluster Environment Installations 6 19 Installing Product Software on a Cluster Installing Product Software on a Cluster Once clusterware has been installed and pre installation tasks have been completed you are ready to install the cluster ready product on the cluster To do this you may use Oracle Universal Installer in interactive mode command line mode or silent mode using a response file Cluster Detection See Also Refer to Modes of Installation on page 5 5 for more information on the different modes When Oracle Universal Installer detects that the destination you entered on the File Locations page is part of a cluster one of two dialogs will appear If the Oracle home name entered is new the Specify Hardware Installation Mode page appears Use this page to select between cluster and non cluster installation Cluster installation Select the nodes for your installation from the list of nodes on which clusterware has been installed Non cluster installation Install on a single node only even though that node is part of a cluster If the Oracle home name entered is a pre existing home the Selected Nodes page appears This is an information only page that displays the nodes associated with the Oracle home The installation will be performed on all nodes selected If any of the selected nod
269. this case the Oracle Universal Installer creates two cluster file systems one for the database files and one for the Oracle home The OCR and voting disk are created in the datafile directory Format one logical drive for software storage In this case the Oracle Universal Installer creates one cluster file system for the Oracle home and requires two additional partitions one for the OCR and one for the voting disk If you select this option then you must have configured the partitions before proceeding with the installation These partitions will be stamped with ocrcfg for the OCR and votedsk for the voting disk Format one logical drive for data file storage In this case the Oracle Universal Installer creates one cluster file system for the database files which is also used to store the OCR and voting disk a Do not format any logical drives In this case the Oracle Universal Installer requires two partitions one for the OCR and one for the voting disk If you select this option then you must have configured the partitions before proceeding with the installation These partitions will be stamped with ocrcfg for the OCR and votedsk for the voting disk Click Next after making your selection in the Select Disk Formatting Options page The next page that the Oracle Universal Installer displays depends on your selection on the Select Disk Formatting Options page as described in the following step Cluster Environment Inst
270. this step if you have a shared Oracle Clusterware home Note For more information on zipping and unzipping refer to sections Source Preparation Phase and Cloning Phase If you do not have a shared Oracle Clusterware home then on the new node navigate to the SORACLE_HOME clone bin directory and run the following command where Oracle_home_name is the name of the Oracle home new_node is the name of the new node new_node privis the private interconnect protocol address of the new node new_node vip is the virtual interconnect protocol address of the new node and central inventory locationis the location of the Oracle central inventory perl clone pl ORACLE HOME CRS HOME gt ORACLE HOME NAME CRS HOME NAME gt On_ storageTypeVDSK 2 On storageTypeOCR 2 O sl_ tableList node2 node2 priv node2 vip node3 node3 priv node3 vip O ret PrivIntrList private interconnect list O sl OHPartitionsAndSpace valueFromDlg partition and space information O noConfig If you have a shared Oracle Clusterware home then append the cfs option to the command example in this step and provide a complete path location for the cluster file system Ensure that n storageTypeOCR and n storageTypeVDSK has been set to 2 for redundant storage Ensure that this value is set to 1 for Oracle Software Cloning Using Oracle Universal Installer 7 11 Creating Oracle Real Application Cluster Environment using Cloning non redundant s
271. to Web sites and access to content products and services from third parties Oracle is not responsible for the availability of or any content provided on third party Web sites You bear all risks associated with the use of such content If you choose to purchase any products or services from a third party the relationship is directly between you and the third party Oracle is not responsible for a the quality of third party products or services or b fulfilling any of the terms of the agreement with the third party including delivery of products or services and warranty obligations related to purchased products or services Oracle is not responsible for any loss or damage of any sort that you may incur from dealing with any third party Contents Preta AA IA ASE AS RSE xiii BUT C ETT PUE xiii Documentation Accessibility seen corn nnne nennen tenentis xiii TUCU AA NO ets Ent nutibus IO Dern fe iue ed EEA xiv CONVENIOS eoe tapete teta eet doe nee oeste te EINE eee tesa en Enea ES XV 1 Basic Concepts Utilities ierit ttis da eec tv a etie i eben ate E b e 1 1 Oracle Universal Tuastaller Eee Ea ee ceto n ER HER E 1 1 OPatclhiz en ts e RT etes 1 1 Actions Performed by the Utilities esee eee nennen 1 1 Install aes eee A eben e e ee EE RE Rete s 1 2 A ee ose vhs Pr e He o eee RE Hine tu E ru tlie He e eR Rees 1 2 Cloning iaa tette e Ee A pnt e ud aet be setae ub iet d Pea iet Le Pres
272. to be removed in the DEINSTALL LIST parameter of the response file specify Oracle homes to be removed with the REMOVE _ HOMES variable For more information about response files see Installing Using a Response File on page 4 10 Installing Products Using Oracle Universal Installer 5 11 Running Oracle Universal Installer After Installation Refer to Chapter 4 Customizing and Creating Response Files for information about the DEINSTALL_LIST parameter As with other response file parameters you can also specify the DEINSTALL_LIST parameter on the Oracle Universal Installer command line For example on a UNIX machine enter runInstaller deinstall silent DEINSTALL LIST component1 1 0 1 2 To remove Oracle homes from the inventory use the REMOVE_HOMES variable For more information about specifying response file parameters see Setting Response File Variables From the Command Line on page 4 12 Hiding the De installation Confirmation and Progress Dialog Boxes Use the following commands to hide the de installation confirmation and progress dialog boxes during a command line de installation On a Windows system setup exe deinstall silent session SHOW DEINSTALL PROGRESS false session SHOW DESINSTALL CONFIRMATION false On a UNIX system runInstaller deinstall silent session SHOW DEINSTALL PROGRESS false session SHOW DESINSTALL CONFIRMATION false Running Oracle Universal Installer After Installation Th
273. torage In this case the mirror locations will also have to be specified On the other nodes execute the same command by passing an additional argument PERFORM_PARTITION_TASKS FALSE perl clone pl ORACLE HOME CRS HOME gt ORACLE HOME NAME CRS HOME NAME gt On_ storageTypeVDSK 2 On storageTypeOCR 2 O sl_ tableList node2 node2 priv node2 vip node3 node3 priv node3 vip O ret PrivIntrList private interconnect list O sl OHPartitionsAndSpace valueFromDlg partition and space information O noConfig OPERFORM PARTITION TASKS FALSE From the CRS HOMES Nc gtoollogs directory on the existing node run the following command CRS HOME NcfgtoollogsVcfgToolAllCommands This instantiates the Virtual Protocol Configuration Assistant VIPCA the Oracle RAC Notification Service Utility racgons Oracle Clusterware Setup crssetup and oifcfg Note Oracle Clusterware cloning can only be performed in silent mode Cloning Oracle RAC Software on Windows System Based Environments Complete the following steps to clone Oracle Database with RAC software on Windows system computers 1 If you do not have a shared Oracle Database home then zip the Oracle Database home with Oracle RAC on the existing node and copy it to the new node Unzip the Oracle Database with Oracle RAC home on the new node in the same directory in which the Oracle Database home with Oracle RAC resided on the existing node For examp
274. torage Drive page choose a shared drive to see a list of available partitions on that drive Choose a partition with sufficient space to hold your database files and select the partition s disk number and partition number from the list Click Next to proceed c On the Disk Configuration Oracle Cluster Registry OCR page choose a partition with sufficient space to hold your OCR and select the partition s disk number and partition number from the list Click Next to proceed d On the Disk Configuration Voting Disk page choose a partition with sufficient space to hold your voting disk and select the partition s disk number and partition number from the list Click Next to proceed Note The Oracle Universal Installer pages described in this step display logical drives from which you must make your selections To be valid for selection a logical drive must be located on a disk without a primary partition 8 After you click Next the Oracle Universal Installer checks whether the remote inventories are set If they are not set then the Oracle Universal Installer sets up the remote inventories by setting registry keys The Oracle Universal Installer also verifies the permissions to enable writing to the inventory directories on the remote nodes After completing these actions the Oracle Universal Installer displays a Summary page that shows the cluster node information along with the space requirements and availability Ver
275. ts This appendix lists the syntax of Oracle Universal Installer the various command line options available in Oracle Universal Installer The following command shows the syntax for running the Oracle Universal Installer runInstaller or setup exe option command line variable value In the preceding command the following variables are used option The options available in Oracle Universal Installer They are described in Table C 1 Options in Oracle Universal Installer command line variable The command line variable for the option They are described in Table C2 Command line variables in Oracle Universal Installer Note Youcan pass the command line variable in either of the following three ways 1 command line variable valuel value2 2 lt command_line_variable gt valuel value2 3 lt command_line_variable gt valuel1 value2 Options Available in Oracle Universal Installer The following table lists the various options available in Oracle Universal Installer Table C 1 Options in Oracle Universal Installer Option Description clusterware oracle crs lt crs This is the version of the Oracle Clusterware installed version gt crsLocation lt Path gt This specifies the path to the Oracle Clusterware home location This flag is used only for cluster installs Specifying this flag overrides the CRS information obtained from the Central Inventory invPtrLoc lt full pat
276. u must ensure that the ORACLE HOME environment variable is set to the Oracle home of the product you are trying to patch Check the respective vendor documentation for the details to set the environment variable Check for JRE and JDK OPatch requires JDK 1 4 or higher to work properly JRE comes as a part of JDK OPatch 10 2 uses the jar utility that comes with JDK for its jar war and ear operations Opatch will look for JDK inside the Oracle home specified In case the Oracle home does not have JDK the user has to use the jdk option in OPatch to provide an alternate location OPatch will display an error if there is a jar war ear operation and is unable to locate Java SDK location In order to find the version of JDK installed execute the following command JDK bin java version Note Ifthe patch you are applying does not have a jar action you might not need JDK and OPatch will work fine with JRE alone Check for System Space When OPatch processes the script for the installation of a patch it simultaneously generates a rollback script and saves a copy of every file edited or deleted during the patching OPatch also backs up the inventory information So Oracle recommends that you have sufficient system space to accommodate the patch and the backup information Check for Oracle Universal Installer and OPatch Version Compatibility OPatch 10 2 requires Oracle Universal Installer 10 2 or higher to work properly If th
277. uct on a UNIX system the Installer will also prompt you to provide the name of the group that owns the base directory You must choose a UNIX group name which will have permissions to update install and remove Oracle software Members of this group must have write permissions to the base directory chosen Only users who belong to this group are able to install or remove software on this host De installing Oracle Products The following sections describe how to remove products installed using Oracle Universal Installer Specifically this section describes Removing Oracle Products and Oracle Homes With Oracle Universal Installer De installing Top Level Products that Have Dependents a Silent De installation Removing Oracle Products and Oracle Homes With Oracle Universal Installer A de installation can be performed before selecting products to install or after a successful installation To remove an Oracle product or Oracle home using interactive mode perform the following steps 1 Start Oracle Universal Installer from a CD ROM or For Windows platforms launch Oracle Universal Installer from the Start menu by selecting Start Installation Products Oracle Universal Installer ForUNIX platforms at the command line run the script called runInstaller from the directory where it is stored which is by default at the same level as the first Oracle home created on that host 2 Click Deinstall Products on the Welco
278. ue Unspecified gt If no value is specified for this variable then all the tools are run by default If there is a value specified then only those tools are run while the rest of the tools are ignored The way to suppress the configuration tool is to mention only the tools that you want to run as part of the OPTIONAL_CONFIG_ TOOLS variable added for each component You should use the internal names of the configuration tool The response file generator generates these internal names also as part of the options given for the variable For example if oracle server has Tooll and Tool2 and you want to run only Tool1 in the response file you mention it as follows oracle server 10 1 0 2 0 0PTIONAL CONFIG TOOLS Tool1 INSTALL_TYPE You can set the installation type variable to determine the installation type of the currently selected top level component The installation type variable is only generated for the top level components and only when there are more than one installation type available Note You must enter a value for INSTALL TYPE SELECTED LANGUAGES You can set the languages in which the components will be installed You must use the internal name while specifying the value en English fr French de German ja Japanese For example to specify Japanese SELECTED LANGUAGES ja For more information on the languages Oracle Universal Installer supports refer to Product Language Select
279. upgrading or applying patchsets for an Oracle product refer to the respective Oracle product installation guide of the product that you wish to upgrade Cloning Oracle Homes You can clone an Oracle home using Oracle Universal Installer For more information on cloning refer to Chapter 7 Oracle Software Cloning Using Oracle Universal Installer Backing up the Inventory You can backup the Oracle home using your preferred method You can use any method such as zip tar and cpio to compress the Oracle home It is highly recommended to backup the Oracle home before any upgrade or patch operation You should also backup the Central Inventory when Oracle home is installed or de installed Example Consider the scenario where you have a Database Oracle Home called DBHome that is registered with the default Central Inventory in the product directory You want to patch this database but decide to back up the database before patching The command to backup the database is cd product DBHome tar cf gzip product archive DBHome tar gz Managing Oracle Homes 3 9 About the Oracle Universal Installer Inventory If you are using a Win32 system you could use WinZip to zip up the Oracle Home Do not use the jar command to zip the Oracle Home as this causes the file persmissions to be lost Next let s say that you apply the patch and something goes terribly wrong You decide to delete the Oracle Home from the Central Invent
280. usted again to add the new BIN directory of the newly installed Oracle software The registry variables are written to a key named KEY HOME NAME 3 12 Oracle Universal Installer and OPatch User s Guide Home Selector Available on Win32 Platforms Oracle Home Directory Structure for Windows Platforms A typical Oracle home on Windows platforms contains the files and directories shown in the following table Table 3 4 Oracle Home Directory for Windows Platforms Oracle Home Directory Contents BIN Product executable and DLLs LIB DLL files JLIB All JAR files DBS Common message files PROD1 PROD product files PROD2 PROD2 product files Optimal Flexible Architecture Directory Structure on UNIX The Optimal Flexible Architecture OFA standard is a set of configuration guidelines for fast reliable Oracle databases that require little maintenance OFA is designed to Organize large amounts of complicated software and data on disk to avoid device bottlenecks and poor performance Facilitate routine administrative tasks such as software and data backup functions which are often vulnerable to data corruption Alleviate switching among multiple Oracle databases a Adequately manage and administer database growth Help eliminate fragmentation of free space in the data dictionary isolate other fragmentation and minimize resource contention The OFA directory structure is described in the following se
281. ventory with certain log files If you do not want to maintain these files and would like to remove the Central Inventory perform the following Removing the Central Inventory on UNIX Platforms You can remove the Central Inventory on UNIX by performing the following steps 1 Locate the oraInst 1oc file and get the Central Inventory location inventory loc parameter from this file 3 8 Oracle Universal Installer and OPatch User s Guide About the Oracle Universal Installer Inventory For Solaris this file is located in va opt oracle folder For Linux this file is located in etc folder 2 Remove the Central Inventory by executing the following command rm rf central inventory location 3 Remove oraInst loc file by executing the following command with root privileges For Solaris rm va opt oracle oraInst loc For Linux rm etc oraInst loc Removing the Central Inventory on Windows Platforms You can remove the Central Inventory on Windows by performing the following steps 1 Locate the registry key NHKEY LOCAL MACHINEMSoftwareVOracleMinst loc and get the Central Inventory location from this key 2 Delete the Central Inventory directory and all its contents 3 Delete the registry key HKEY_LOCAL_MACHINE Software Oracle inst_ loc Upgrading and Patching the Oracle Home You can apply patchsets and upgrade an existing Oracle home You can apply patchsets using Oracle Universal Installer For more information on
282. ware installation Bourne Bash or Korn shell ORACLE BASE u01 app oracle ORACLE HOME u01 crs oracle product 10 2 0 crs export ORACLE BASE export ORACLE HOME a Cshell setenv ORACLE BASE u01 app oracle setenv ORACLE HOME u01 crs oracle product 10 2 0 crs oo 4 Enter the following commands to ensure that the TNS ADMIN environment variable is not set Bourne Bash or Korn shell unset TNS ADMIN a Cshell unsetenv TNS ADMIN 5 To verify that the environment has been set correctly enter the following commands umask env more Verify that the umask command displays a value of 22 022 or 0022 and the environment variables that you set in this section have the correct values Pre Installation Tasks for Real Application Clusters on Windows You need to complete the following pre installation tasks before you start the Oracle Universal Installer to install Oracle Clusterware and Oracle Real Application Clusters on Microsoft Windows systems Checking Hardware and Software Certification Oracle recommends you to review the certification matrix on the OracleMetaLink Web site for the most up to date list of certified hardware platforms and operating system Cluster Environment Installations 6 13 Pre Installation Tasks for Real Application Clusters on Windows versions for the Oracle software This Web site also provides patches and workaround information for bugs For more informati
283. ware Installation Errors Caused by stty Commands 6 8 Configuring the Oracle User Environment oocinocococionononennononnnnnnnanonananancnonanonananononon anar enne 6 9 Checking the Hardware Requirements sseesssseeeseee eee eene 6 9 Checking the Network Requirements eee nennen 6 9 Network Hardware Requirements sse nene eene nnne 6 9 Network Parameter Requirements sse nentes 6 9 IP Address Requirements onte aa eaa et et eee terit 6 10 Node Time Requirements 2 eet enint bein nca ne a Eie evene 6 10 Checking Software Requirements esses eene nennen nnns 6 10 Configuring Kernel Parameters esses eene nennen 6 10 Identifying Required Software Directories esses eee eene 6 10 Oracle Base Difectoty erer ini ni eme ree teet E E tee petes ires 6 11 Oracle Inventory Directory ee emn diede mee n tree tee peine etat 6 11 Oracle Clusterware Home Directory sees nen 6 12 Oracle Home Directory eiie otro ieg teen ada ba 6 12 Identifying or Creating an Oracle Base Directory sss eee 6 12 Creating the Clusterware Home Directory sse 6 12 Pre Installation Tasks for Real Application Clusters on Windows sss 6 13 Checking Hardware and Software Certification sse 6 13 Checking the Hardware Requirements sssessseeeeee eee eee nennen 6 14 Har
284. was used during installation Oracle recommends the use of the default Central Inventory for a platform jre Specifies the location of a particular JRE Java to use instead of the default location under the Oracle home directory retry Specifies how many times the OPatch utility should try when there is an inventory lock failure oh Specifies the Oracle home directory to use instead of the default directory patch Specifies the patches installed in the Oracle home The following is a sample output of opatch lsinventory detail Oracle interim Patch Installer version 10 2 0 0 0 Copyright c 2005 Oracle Corporation All rights reserved Oracle Home home oracle TEST product 10 2 0 db 1 Central Inventory home OUIHome Opatch from home oracle TEST product 10 2 0 db 1 oraInst loc OPatch version 10 2 0 0 0 OUI version 10 2 0 0 0 OUI location home oracle TEST product 10 2 0 db 1 oui Log file location home oracle TEST product 10 2 0 db1 cfgtoollogs opatch opatch 2005 May 25 11 09 34 IST Wed log Lsinventory Output file location home oracle TEST product 10 2 0 db l cfgtoollogs opatch lsinv lsinventory 2005 May 25 11 09 34 IST Wed txt Installed Top level Products 1 Oracle Database 10g 10 2 0 0 0 There are 1 products installed in this Oracle Home Installed Products 10 Agent Required Support Files Assistant Common Files 1 Bali Share 1 1 18 Buildtools Common Files 1 Character Set Migration Utility Data
285. y Oracle for your platform You should also have a Web browser both to enable Oracle Enterprise Manager and to view online documentation For Oracle Database 10g requirements Oracle Clusterware provides the same functionality as third party vendor clusterware Using Oracle Clusterware also reduces installation and support complications However you may require third party vendor clusterware if you use a non ethernet interconnect or if you have deployed clusterware dependent applications on the same cluster where you deploy Real Application Clusters Cluster Environment Installations 6 3 Cluster Setup and Pre Installation Configuration Tasks for Real Application Clusters Cluster Setup and Pre Installation Configuration Tasks for Real Application Clusters Before installing Real Application Clusters perform the following procedures 1 9 0 m 9 Ensure that you have a certified combination of operating system and Oracle software version by referring to the OracleMetaLink certification information which is located at the following Web site http metalink oracle com Click Certify amp Availability and select 1 View Certifications by Product Note The layout of the OracleMetaLink site and the site s certification policies are subject to change Configure a high speed interconnect that uses a private network Some platforms support automatic failover to an additional interconnect Determine the storage option
286. y an existing Oracle Inventory group The Oracle software owner user oracle You must create this user the first time you install Oracle software on the system This user owns all of the software installed during the installation The usual name chosen for this user is oracle This user must have the Oracle Inventory group as its primary group You need to create other groups and users in addition to the ones created above For more information on creating the required groups and users refer to the respective Oracle software Real Application Clusters installation guide Creating Identical Users and Groups on Other Cluster Nodes The Oracle software users and groups must exist and be identical on all cluster nodes To create these identical users and groups you must identify the user ID and group IDs assigned to them on the node where you created them then create the user and groups with the same name and ID on the other cluster nodes You must create identical users and groups on other cluster nodes only if you are using local users and groups If you are using users and groups defined in a directory service such as NIS then they are already identical on each cluster node Cluster Environment Installations 6 5 Pre Installation Tasks for Real Application Clusters on UNIX Identifying the User and Group IDs To determine the user ID UID and the group IDs GID for the groups follow these steps 1 Enter following command
287. ystem each of which fixes 2 bugs as shown in Figure 8 7 Patch C is the subset of patch D Patch A and patch B are conflicting patches of patch D If you apply this patch D that fixes bugs 1 3 5 6 7 and 8 with force flag you will find that OPatch would have rolled back patches A B and C and would have applied patch D 8 20 Oracle Universal Installer and OPatch User s Guide About Patch Conflicts Figure 8 7 Combination Conflict Bugs 1 3 5 6 7 and 8 Before Patching After Patching Patch D Bugs 1 3 5 6 7 and 8 You can use the silent force and no bug superset options in Real Application Clusters and their expected behavior is listed in the form of the following truth table Table 8 6 Truth Table silent force no_bug_ superset Expected behavior N N N N N Y OPatch prompts questions and applies the patches depending upon your responses OPatch errors out if the current patch bugs to fix is a superset or the same as an installed patch bugs fixed in the Oracle home directory If it is a conflict case OPatch prompts questions and applies the patches depending upon your responses OPatch prompts questions and applies the patches depending upon your responses OPatch errors out if the current patch bugs to fix is a superset or the same as an installed patch bugs fixed in the Oracle home directory If it is a conflict case OPatch prompts questions and applie

Download Pdf Manuals

image

Related Search

Related Contents

Série OREGON  Manual do Usuário Nokia 5800 XpressMusic  Oxiperm® Pro  PDF Instruções de utilização DD110-D , Português, 800.1 kB  Règlement APRED - Département de la Seine  Garmin 10V Important Safety and Product Information  =ーNAX 野七粧ミラ・キャビネット 取扱説明書  Manuel de l`utilisateur User`s Manual  Samsung RSA1WTMG Manual de Usuario    

Copyright © All rights reserved.
Failed to retrieve file