Proper Home for Grid Infrastructure

Hi all,
I'm planning to install Oracle 11g R2 64-bit on Linux Enterprise 5.5 to create a single instance database with ASM.
My question is: if I set ORACLE_BASE=/u01/app/oracle,
can I install Oracle Grid Infrastructure in /u01/app/oracle/product/11.2.0/grid
and the DB software in /u01/app/oracle/product/11.2.0/db_1 ?
My concern is the privileges. If I create the directories like in the following:
# as root
mkdir -p /u01/app/oracle/product/11.2.0/db_1
chown -R oracle:oinstall /u01/app/oracle/product/11.2.0/db_1
chmod -R 775 /u01/app/oracle/product/11.2.0/db_1
mkdir -p /u01/app/oracle/product/11.2.0/grid
chown -R grid:oinstall /u01/app/oracle/product/11.2.0/grid
chmod -R 775 /u01/app/oracle/product/11.2.0/gridIf I create the database later, the DBCA (which activates as oracle user) will try to create directories under the ORACLE_BASE (not under the ORACLE_HOME).
A solution to me is to set Grid Infrastructure home outside the ORACLE_BASE, if I am correct.
Thanks in advance.

Hi,
A solution to me is to set Grid Infrastructure home outside the ORACLE_BASE, if I am correct.Correct !!
http://download.oracle.com/docs/cd/E11882_01/install.112/e17212.pdf
Please see topic under 2.17 For recommended methods, other methods may create problems for you for file permissions.
Following link may also help you for what you are doing. Here the person is using same oracle base for both grid and oracle homes
Re: 11gR2 Grid Infrastructure OFA File System Layout
Salman
Edited by: Salman Qureshi on Oct 7, 2010 12:20 PM -- Added reference to a forum thread

Similar Messages

  • Where is 11.2.0.2 software for Grid Infrastructure

    Hi All,
    I attempted to upgrade Oracle database s/w from 11.2.0.1 to 11.2.0.2 . However I got an error stating that my Grid infrastructure software was at 11.2.0.1 and needed to be upgraded to 11.2.0.2
    Can anyone tell me where I can find this software, it is not delivered in the 11.2.0.2 patchset and I could not find it in My Oracle Support as there is no obvious link to its location ?
    Running on 64 bit RedHat
    Any help much appreciated
    Thanks
    Steve

    Thanks Srini,
    Ive just logged onto MOS and find that MOS 1223673.1 points me to the patchset that I have already downloaded - 11.2.0.2. So that means Grid software is actually bundled in the same patchset as oracle db software
    It gives details of the grid software being installed in zip file 3 of 7 , so I compared file sizes and see that I hadnt fully downloaded this file correctly
    Problem solved
    Thanks very much for your assistance
    Steve

  • Recreating Oracle home for Grid Control.

    Hi Experts,
    I am facing a issue on linux server. I had oracle 10g Grid control installed on Linux server 2.6.9-42.ELsmp EDT 2006 i686 i686 i386 GNU/Linux.
    It was handling many agents and was running fine before i delete its oracle home permenantly by mistake.
    The problem is that i do not have its backup nor i remember its patch level.
    the command : rm -fr /emgrid/oracle/10.2.0/db10gR2/
    my question is what are the chances i can get it running and the ways?
    I apprecaite your kind help to fix it.
    Please kindly help me.
    Edited by: user10772758 on Mar 14, 2009 8:02 AM
    Edited by: user10772758 on Mar 14, 2009 8:57 AM

    Is repostory database HOME is there ?

  • Storage for Grid

    Hello
    With regards to valid storage options for Grid Infrastructure voting disk and install,
    I think ASM, ACFS and NFS are the valid storage options but not sure about CFS and block disk slices ?
    Any suggestion ?
    1-)a certified cluster file system (CFS)
    2-)a certified network file system (NFS)
    3-)ASM cluster file system (ACFS)
    4-)Automatic Storage Management (ASM)
    5-)shared disk slices (block or raw device)

    Hi Rico,
    see the certification matrices for details. Here is the one for linux:
    http://www.oracle.com/technetwork/database/clustering/tech-generic-linux-new-086754.html
    So with 11.2. OCR and Voting disks can only be a certified CFS (under this falls NFS and Veritas), or ASM. ACFS is not an option, since ACFS is later in the stack.
    With 11.1 OCR and Voting disks can also be on block disk slices / raw devices.
    So for 11.2 only
    1, 2 and 4 are valid.
    Regards
    Sebastian

  • Oracle Grid Infrastructure and ASM Tech Supprot

    Considering purchase the Tech Support from Oracle for Grid Infrastructure and ASM. Is there a web site/link I can go to?

    Is the tech support for ASM covered under the Oracle Database tech support package or I need a separate support package for it?

  • How do I define 2 disk groups for ocr and voting disks at the oracle grid infrastructure installation window

    Hello,
    It may sound too easy to someone but I need to ask it anyway.
    I am in the middle of building Oracle RAC 11.2.0.3 on Linux. I have 2 storage and I created three LUNs in each of storage so 6 LUNs in total look in both of servers. If I choose NORMAL as a redundancy level, is it right to choose my 6 disks those are created for OCR_VOTE at the grid installation? Or should I choose only 3 of them and configure mirroring at latter stage?
    The reason why I am asking this is that I didn't find any place to create asm disk group for ocr and voting disks at the oracle grid infrastructure installation window. In fact, I would to like to create two disk groups in which one of groups contains three disks those were brought from storage 1 and the second one contains rest three 3 disk that come from the last storage.
    I believe that you will understand the manner and help me on choosing proper way.
    Thank you.

    Hi,
    You have 2 Storage H/W.
    You will need to configure a Quorum ASMDisk to store a Voting Disk.
    Because if you lose 1/2 or more of all of your voting disks, then nodes get evicted from the cluster, or nodes kick themselves out of the cluster.
    You must have the odd number of voting disk (i.e 1,3 or 5)  one voting disk per ASM DISK, So 1 Storage will hold more voting disk than another storage.
    (e.g 3 Voting Disk - 2 voting stored in stg-A and 1 voting disk store in stg-B)
    If fail the storage that hold the major number of  Voting disk the whole cluster (all nodes) goes down. Does not matter if you have a other storage online.
    It will happen:
    https://forums.oracle.com/message/9681811#9681811
    You must configure your Clusterware same as RAC extended
    Check this link:
    http://www.oracle.com/technetwork/database/clusterware/overview/grid-infra-thirdvoteonnfs-131158.pdf
    Explaining: How to store OCR, Voting disks and ASM SPFILE on ASM Diskgroup (RAC or RAC Extended) | Levi Pereira | Oracl…

  • OFA & Grid Infrastructure home

    Hi!
    I am experiencing some difficulty understanding where to install install GI
    According to "Oracle® Grid Infrastructure Installation Guide 11g Release 2 (11.2) for Oracle Solaris", http://docs.oracle.com/cd/E11882_01/install.112/e24616/presolar.htm :
    The OFA path for the Oracle base is /u01/app/user, where user is the name of the software installation owner.
    So, i'm expecting to see Oracle Database binaries in /u01/app/oracle/product/11.2.0.3
    and Grid Infrastructure (ASM,Oracle Restart) binaries in /u01/app/grid/product/11.2.0.3
    Why i have to create /u01/app/11.2.0/grid ? Why GI is installed to /u01/app/11.2.0/grid, not to /u01/app/grid ?
    Edited by: Jim on 02.02.2012 7:37

    Hi Jim,
    Why i have to create /u01/app/11.2.0/grid ? Why GI is installed to /u01/app/11.2.0/grid, not to /u01/app/grid ?Because creating an Oracle Clusterware installation in an Oracle base directory will cause succeeding Oracle installations to fail.
    So, Oracle base for the grid installation owner "/u01/app/grid", and if the user is oracle "/u01/app/oracle". A Grid Home should be /u01/app/11.2.0/grid. (i.e GI_HOME out of ORACLE_BASE)
    The reason behind this is:
    In version 11.2 Oracle introduced a security that protects the binaries Installation of Grid Infrastructure. This prevents unnecessary changes or access in that OH.
    To modify binaries of grid infrastucture, you must unlock that ORACLE_HOME.
    So this security must not be applied to ORACLE_BASE of Grid Installation.
    Re: Patching Grid Infrastructure
    P.S Homes for Oracle Grid Infrastructure for a standalone server (Oracle Restart) can be under Oracle base.
    See note on documentation:
    http://docs.oracle.com/cd/E11882_01/install.112/e24616/presolar.htm#CWSOL233
    Regards,
    Levi Pereira
    Edited by: Levi Pereira on Feb 2, 2012 2:41 PM

  • Oracle grid infrastructure for a standalone server download

    Hi there,
    I am trying to install Oracle 11g but it says if I want to use ASM and oracle Restart then I must intsall Oracle grid infrastructure for a standalone server.
    I am doing this installation on my home pc running Windows 7 to make sure it work, however, I downloaded Database 11g Enterprise/Standard Editions but i cannot find any download for Oracle grid infrastructure for a standalone server.
    Can anyone please help as i am confused here??
    I even went to the /stage directory of my 11g download and there is no folder called cluster or grid or anything.
    Thanks in advance!!

    When you go to OTN to download the software, click on the "See All" link next to the platform you are downloading and you'll see the links for GRID.
    However, you do not need to install GRID if you don't plan on using ASM and Restart.

  • Oracle documentation for Installation for Oracle Grid Infrastructure

    Hi
    I want to install 11g Release 2 "Oracle Grid Infrastrucure" on Aix system without Cluster/RAC option. The requirement is to configure ASM on an Standalone system without any Cluster and RAC. Is there any documentation available for this installation.
    I have already checked the below link which provide information on Installation for Oracle Grid Infrastructure for a Cluster.
    http://download.oracle.com/docs/cd/E11882_01/install.112/e10814/toc.htm
    Please let know if there is any documentation for Installation for Oracle Grid Infrastructure for a standalone system.

    Hi there. Well, the installation of Grid Infrastructure would ask you that what kind of installation you want to do, single instance or cluster? If you would choose single instance installation, it would not be much different from doing any other oracle installation. The key factor to do it and why its mandatory is because from 11.2 onwards, ASM can't be managed from DBCA but from its own tool only, ASMCA and that runs from Grid Home. So I don't think that not finding the docs should be a show stopper for you. I haven't done it on AIX so I am not sure that I can be of some help about it. I have done it on OEL 5 and it didn't throw any issues for me.
    HTH
    Aman....

  • I cannot find Oracle Grid Infrastructure Patch Set 2 for windows x64

    So maybe i'm stupid, but i've searched metalink every way i can think of to find the patches mentioned in the following preinstall instructions for 11.2.0.2 for windows
    "To upgrade Oracle Grid Infrastructure release 11.2.0.1 to Oracle Grid Infrastructure release 11.2.0.2, you must first do at least one of the following:
    * Patch the Oracle Grid Infrastructure release 11.2.0.1 home with the patch 9413827 and patch 9706490.
    * Install Oracle Grid Infrastructure Patch Set 1 (GI PSU1) or Oracle Grid Infrastructure Patch Set 2 (GI PSU2)."
    I've searched in Patches and Updates and https://updates.oracle.com.
    I've got a 2 node 11gR2 (11.2.0.1) RAC on Windows 2k8 that i want to patch to 11.2.0.2 before implementing as production. I can find all the Unix flavored patches, but not the Windows Patch.
    Feel free to make fun of me for using Windoze or not knowing how to use metalink, whatever you like, as long as you include a url to the Patch I'm looking for.
    thanks
    John

    The first thing that i tried was the out-of-place upgrade, which failed 3/4 of the way through. This left me with a circumstance where i couldn't use srvctl to administer my RAC because of version mismatched files. The RAC appeared to be up but administering it was impossible no matter what home i set. I deinstalled 11.2.0.2 grid and the 2nd node of my RAC was broken and couldn't see the ASM instance at all. i actually had to modify the windows registry to get the 2nd node to behave properly.
    That's when i read more carefully the installation instructions for the upgrade and came across the text i included.
    "To upgrade Oracle Grid Infrastructure release 11.2.0.1 to Oracle Grid Infrastructure release 11.2.0.2, you must first do at least one of the following:
    Patch the Oracle Grid Infrastructure release 11.2.0.1 home with the patch 9413827 and patch 9706490.
    Install Oracle Grid Infrastructure Patch Set 1 (GI PSU1) or Oracle Grid Infrastructure Patch Set 2 (GI PSU2).
    Adding nodes to a cluster during a rolling upgrade is not supported.#
    Oracle Clusterware and Oracle ASM upgrades are always out-of-place upgrades. With Oracle Grid Infrastructure 11g release 2 (11.2), you cannot perform an in-place upgrade of Oracle Clusterware and Oracle ASM to existing homes."
    This mentions both the out-of-place upgrade and the need for the intermediate patches to be installed first. I'm not sure what to believe at this point. I read the above instructions as saying the intermediate patches need to be installed BEFORE the out-of-place upgrade would be successful, but i can't say that i understand why that would be the case.
    Has someone done a successful upgrade on Windows from 11.2.0.1 directly to 11.2.0.2?
    I appreciate y'all's help.
    thanks,
    JR

  • Errors on applying PSU patches for GI (Grid Infrastructure) 11.2.0.3

    Need help!
    This is all in the version of 11.2.0.3.   We created a single node GI with ASM by the user grid.   Grid home is /grid/product/11.2/grid/   And oracle home created by user oracle at /oracle/product/11g.    I have downloaded the GI PSU patch 16742216 for GI and Oracle DB PSU patch 16619892.   I just want to apply the patch to GI home, then Oracle home with different PSU.   Here is what I did after unzip the patch for GI:
    1.   Stopped ASM instance and stopped listener (these are owned by grid)
    2.  Created a ocm response file at grid home by grid user:   $ORACLE_HOME/OPatch/ocm/bin/emocmrsp   -no_banner 
    3.  Use the root to run grid profile to setup grid GI environment
    4.  Use the root to run as (as described in Oracle instruction):  opatch auto /home/grid/patches  -ocmrf /grid/product/11.2/grid/OPatch/ocm/bin/ocm.rsp
    But got this error.   For some reason it looks for Oracle home, not grid home, although I do not have any oracle home environment setup in root user:
    ===================================================================================================
    lsildb10p|+ASM|/home/grid/patches $ opatch auto /home/grid/patches  -ocmrf /grid/product/11.2/grid/OPatch/ocm/bin/ocm.rsp
    Executing /grid/product/11.2/grid/perl/bin/perl /grid/product/11.2/grid/OPatch/crs/patch11203.pl -patchdir /home/grid -patchn patches -ocmrf /grid/product/11.2/grid/OPatch/ocm/bin/ocm.rsp -paramfile /grid/product/11.2/grid/crs/install/crsconfig_params
    /grid/product/11.2/grid/crs/install/crsconfig_params
    /grid/product/11.2/grid/crs/install/s_crsconfig_defs
    This is the main log file: /grid/product/11.2/grid/cfgtoollogs/opatchauto2013-08-10_09-17-36.log
    This file will show your detected configuration and all the steps that opatchauto attempted to do on your system: /grid/product/11.2/grid/cfgtoollogs/opatchauto2013-08-10_09-17-36.report.log
    2013-08-10 09:17:36: Starting Oracle Restart Patch Setup
    Using configuration parameter file: /grid/product/11.2/grid/crs/install/crsconfig_params
    The opatch minimum version  check for patch /home/grid/patches/16619898/custom/server/16619898 failed  for /oracle/product/11g
    The opatch minimum version  check for patch /home/grid/patches/16619892 failed  for /oracle/product/11g
    Opatch version check failed for oracle home  /oracle/product/11g
    Opatch version  check failed
    update the opatch version for the failed homes and retry
    ======================================================================================================
    Where I did wrong?   Thanks for advice!

    Thanks for the update.  I have tried with chmod -R a+rwx on the patch location.   But got the error (different error).  Here is long detail message in /grid/product/11.2/grid/cfgtoollogs/opatchauto2013-08-13_06-35-35.log
    =====================================
    Log file location : /grid/product/11.2/grid/cfgtoollogs/opatch/opatch2013-08-13_05-35-37AM_1.log
    Invoking utility "saveconfigurationsnapshot"
    UtilSession failed: UtilSession failed to generate configuration xml file [ PRKH-1001 : HASContext Internal Error
    PRKH-3013 : An improper buffer argument was supplied to Cluster Synchronization Services ]
    ====================================
    When I run the command as root, the ORACLE_HOME is set to /grid/product/11.2.3/grid/   which is the home for GI.
    Then check in the log file:  /grid/product/11.2/grid/cfgtoollogs/opatch/opatch2013-08-13_05-35-37AM_1.log
    [Aug 13, 2013 5:35:38 AM]
    OPatch was not able to create .patch_storage directory
    Unable to get Environent variables for Stand Alone home

  • Grid Infrastructure installable for Oracle Restart only (No ASM)?

    Hello,
    Can Oracle Grid Infrastructure be installed for its Oracle Restart functionality only? i.e., No ASM,; this box uses local RAID 5 filesystems only.
    This is a standalone 32-bit RHEL 5 system with Oracle Database 10gR2 already installed that I intend to upgrade to 11gR2. Just experimenting with installing Grid Infrastructure for only its restart capability. There isn't anything out there I've found that addresses this other than the Oracle doc stating that the Infrastructure must be installed if I want to use ASM or Oracle Restart.
    I'm currently in the installer in a Software Only installation waiting for my SysAdmin to run the root.sh script, but in looking at this script, it looks like it might try to do things with CRS, voting files and the like, which do not exist.
    Thank you!
    -Jon

    Hi Erik,
    Can Oracle Grid Infrastructure be installed for its Oracle Restart functionality only? Yes ... you can do that installing Software Only
    I'm currently in the installer in a Software Only installation waiting for my SysAdmin to run the root.sh script, but in looking at this script, it looks like it might try to do things with CRS, voting files and the like, which do not exist.Don't worry about that ... at the end of the execution of the root.sh script will report a proceedings to configure only Oracle Restart.
    Only this resource "ora.evmd" will appear online.
    Regards,
    Levi Pereira

  • Can i have same ORACLE_BASE directory location for Grid and RDBMS home ?

    Grid Version:11.2.0.3
    OS : RHEL 5.8
    Can I have same ORACLE_BASE location for Grid (CRS) and RDBMS software Homes ?

    The OFA guideline for ORACLE_BASE is /u01/app/<owner>.  If you are using the same owner for all software (let's call him "oracle") then a simple installation will have one base /u01/app/oracle.  This base will be shared by all installations of Grid and RDBMS software.  But, if you use two separate owners (let's call them grid and oracle) then you will have two separate ORACLE_BASE locations /u01/app/oracle and /u01/app/grid.  I always use two separate owners, but I know many people who only use the oracle account and that is fine too.
    Oracle allows every ORACLE_HOME to have a unique base.  There is no requirement to install more than one ORACLE_HOME under a given ORACLE_BASE location.  This is just an extension of what I said above, that the ORACLE_HOMEs for Grid and RDBMS can be stored under separate ORACLE_BASEs. 
    If you are using RAC then I strongly suggest you read chapter 1 of the Oracle Real Application Clusters Installation Guide.  Read section "Overview of Oracle Base and Oracle Home Directories". The rules for ORACLE_BASE are as I noted above, but the rules for ORACLE_HOME change: the Grid ORACLE_HOME is not to be a sub-directory of the Grid ORACLE_BASE as it is when not using RAC.  So, with RAC your directory structure might look more like this:
    su -
    umask 0022
    mkdir -p /u01/app/oraInventory
    # Grid Base
    mkdir -p /u01/app/grid
    # Grid Home
    mkdir -p /u01/app/12.1.0.1/grid
    # Oracle  Base
    mkdir -p /u01/app/oracle
    # Oracle Home
    mkdir -p /u01/app/oracle/product/12.1.0.1/db_1
    # Ownership for all of the above...
    chown grid:oinstall /u01/app/grid
    chown grid:oinstall /u01/app/oraInventory
    chown grid:oinstall /u01/app/12.1.0.1
    chown grid:oinstall /u01/app/12.1.0.1/db_1
    chown oracle:oinstall /u01/app/oracle
    My examples show 12.1.0.1 but it's the same for 11.2.0.3.
    There's no requirement to create the home directories prior to running the OUI.  It can create them for you.  I just shown these commands to help you understand the big picture.
    The OUI will pop-up a warning if the Grid user's ORACLE_HOME is outside of his ORACLE_BASE as shown in the above mkdir commands, which is funny since it is the recommended setup in the Oracle RAC documentation.  I submitted a bug report several years ago.  To be consistent across all of my RAC and non-RAC servers I follow the more strict rules of RAC and use the mkdir commands shown above.

  • Configure Oracle Grid Infrastructure for a standalone server

    As I understand and as the following doc indicated, to install Oracle database, I'd have to install Grid Infrastructure first. I am not configuring RAC/cluster, only on a standalone server.
    I executed runinstaller, and choose " install the software only", then after I selected "configure oralce grid infrastructure for a standalone server", I am getting the following error:
    [INS-40410] The installer has detected a configured instance of Oracle Grid Infrastructure software on the system
    Please advice how this instance have been configured, and how to remove it before I can proceed?
    Thanks!

    943714 wrote:
    As I understand and as the following doc indicated, to install Oracle database, I'd have to install Grid Infrastructure first. I am not configuring RAC/cluster, only on a standalone server.
    I executed runinstaller, and choose " install the software only", then after I selected "configure oralce grid infrastructure for a standalone server", I am getting the following error:
    [INS-40410] The installer has detected a configured instance of Oracle Grid Infrastructure software on the system
    Please advice how this instance have been configured, and how to remove it before I can proceed?
    Thanks!what is OS name & version?
    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • Grid Infrastructure for a Standalone Server or Grid Infrastructure for a Cluster?

    Hi,
    I want to install a single instance database and I want to use ASM.
    Now my configuration is only one node but in the future probably it scale on multiple node.
    So, can I use Grid Infrastructure for a Cluster for only one node or I must use Grid Infrastructure for a Standalone Server?
    Regards

    If you plan later ro use more than one server, than install the cluster grid infrastructure. It is possible to install on one server.

Maybe you are looking for