ASM and Oracle VM

I am looking for a best practice here for Oracle VM 3.0.3 and to receive the best (Fastest) I/O performance.
We have a FC Storage Appliance with 12 2TB disks in it.
I normally would give this whole thing to ASM as 6 RAID01 2TB Raidsets.
Then Make each RAIDSET an ASMDISK and oracle does the rest as each disk is a member of an external redundancy DISKGROUP.
Now if we through Oracle VM into the mix what is the best practice here to get equivalent performance?
I think I want to do the same with the RAIDSETS, make each one a Repository I guess, and someone make the VM guests aware.
I do WANT to use physical disks and not disk images. I just started playing with the Fiber Channel Appliance today, so I am green when it comes to FC and more familiar with SAS.
Right now the appliance has 6 vdisks and 6 volumes of 2TB each.
I want one VM Guest that can run from 2 different VM servers to have access is the goal. How can I get there?

Avi Miller wrote:
Present the physical LUNs to your Oracle VM Servers and map them directly into the guests. What are the exact steps to accomplish this? I have the LUNs visible via "fdisk -l" on the OVM server, but that is as far as I have gone. Not sure what to do in the Manager yet, as this is completely different than what I did with NFS disks so far. Where I make the export available to the OVM server, add a new Repository in Hardware/Storage/File Servers/Register File Server. Then once that is created I can present that repository to the VM servers, and then create vdisks. And finally present those vdisks to the guest.
So in this case what are the steps to get to the guest?

Similar Messages

  • About ASM and Oracle user

    Hi,
    is there any way to installing ASM executable and database executable by diffrent operating system user.
    It means that
    there are two user one of them
    [tuba@pttstgen24 ~]$ id
    uid=500(tuba) gid=500(dba) groups=500(dba),501(oinstall)
    and the other one
    [tuba02@pttstgen24 database]$ id
    uid=501(tuba02) gid=501(oinstall) groups=500(dba),501(oinstall)
    I want to install ASM by using tuba and I want to create db by using tuba02
    but it gives the error and db installation did not discover the ASM.
    However,
    when installing db with tuba on ASM it is successfull?
    İs there any way to install ASM and Db by different users??

    Hi Terbas,
    Its is possible on Oracle 11g, see this link http://www.filibeto.org/sun/lib/nonsun/oracle/11.1.0.6.0/B28359_01/install.111/b28263/rcprelin.htm#BABGCHAD
    Regards,
    Rodrigo Mufalani

  • ASM and DB on different machine

    Hi,
    Have one question, we are given 2 VM's on which ASM and Oracle DB is installed. We are asked to start both machine in sequence, after starting Machine-1 we need to start Machine-2 then only DB (orcl) on Machine-2 can be opened.
    If we miss sequence it gives does not come up and gives error like:
    SQL> startup;
    ORA-01078: failure in processing system parameters
    ORA-01565: error in identifying file '+DATA/orcl/spfileorcl.ora'
    ORA-17503: ksfdopn:2 Failed to open file +DATA/orcl/spfileorcl.ora
    ORA-29701: unable to connect to Cluster Synchronization Service
    The initorcl.ora on Machine-2 has following entry:
    SPFILE='+DATA/orcl/spfileorcl.ora'
    Can someone please suggest how this two machines would be configured, what entries on Machine-2 are pointing to ASM instance on Machine-1.
    Please suggest..
    Thanks!

    bLaK wrote:
    Thanks for the reply HTH!
    I am new to this and learning ASM. What i wanted to know is how and what setting are done in Machine-2 that it refers to ASM instance on Machine-1.
    Where can I see that?
    Regards!What is your database & ASM version?
    Are you using Grid?
    My first post explanation is specific to any ASM & RDBMS instance on server.
    Describe more how these two servers configured.
    you can check by
    $crsctl check cssd
    Or let's say how can we tell CSS service where is ASM instance located..It will be handled by CSSD process.
    read this manual http://www.oracle.com/technetwork/database/asm-10gr2-bestpractices.pdf
    Since CSS provides cluster management and node monitor management, it inherently monitors ASM and
    its shared storage components (disks and diskgroups). Upon startup, ASM will register itself and all
    diskgroups it has mounted, with CSS. This allows CSS across all RAC nodes to keep diskgroup metadata
    in-sync. Any new diskgroups that are created are also dynamically registered and broadcasted to other
    nodes in the cluster.
    As with the database, internode communication is used to synchronize activities in ASM instances. CSS is
    used to heartbeat the health of the ASM instances. ASM internode messages are initiated by structural
    changes that require synchronization; e.g. adding a disk. Thus, ASM uses the same integrated lock
    management infrastructure that is used by the database for efficient synchronization.

  • How do I map Hitachi SAN LUNs to Solaris 10 and Oracle 10g ASM?

    Hi all,
    I am working on an Oracle 10g RAC and ASM installation with Sun E6900 servers attached to a Hitachi SAN for shared storage with Sun Solaris 10 as the server OS. We are using Oracle 10g Release 2 (10.2.0.3) RAC clusterware
    for the clustering software and raw devices for shared storage and Veritas VxFs 4.1 filesystem.
    My question is this:
    How do I map the raw devices and LUNs on the Hitachi SAN to Solaris 10 OS and Oracle 10g RAC ASM?
    I am aware that with an Oracle 10g RAC and ASM instance, one needs to configure the ASM instance initialization parameter file to set the asm_diskstring setting to recognize the LUNs that are presented to the host.
    I know that Sun Solaris 10 uses /dev/rdsk/CwTxDySz naming convention at the OS level for disks. However, how would I map this to Oracle 10g ASM settings?
    I cannot find this critical piece of information ANYWHERE!!!!
    Thanks for your help!

    Yes that is correct however due to use of Solaris 10 MPxIO multipathing software that we are using with the Hitachi SAN it does present an extra layer of complexity and issues with ASM configuration. Which means that ASM may get confused when it attempts to find the new LUNs from the Hitachi SAN at the Solaris OS level. Oracle Metalink note 396015.1 states this issue.
    So my question is this: how to configure the ASM instance initialization parameter asm_diskstring to recognize the new Hitachi LUNs presented to the Solaris 10 host?
    Lets say that I have the following new LUNs:
    /dev/rdsk/c7t1d1s6
    /dev/rdsk/c7t1d2s6
    /dev/rdsk/c7t1d3s6
    /dev/rdsk/c7t1d4s6
    Would I set the ASM initialization parameter for asm_diskstring to /dev/rdsk/c7t1d*s6
    as correct setting so that the ASM instance recognizes my new Hitachi LUNs? Solaris needs to map these LUNs using pseudo devices in the Solaris OS for ASM to recognize the new disks.
    How would I set this up in Solaris 10 with Sun multipathing (MPxIO) and Oracle 10g RAC ASM?
    I want to get this right to avoid the dreaded ORA-15072 errors when creating a diskgroup with external redundancy for the Oracle 10g RAC ASM installation process.

  • Oracle10gRAC installation with ASM, SGeRAC and Oracle Clusterware on Ita64

    Hello!
    Does anyone have an installation guide for the configuration: Oracle10gRAC with ASM, SGeRAC and Oracle Clusterware on Itanium?
    Thanks in advance, Mara

    859875 wrote:
    Thanks Fiedi. Thanks a lot for your response.
    Last month I did RAC installation where I need format raw devices using below commands :
    clean all
    create part ext
    create part log
    Is it not required for standalone DB installation with ASM ?
    Basically preparing disk for ASM on RAC or non RAC is the same
    >
    >
    I am able to create 4 logical raw devices (175GB) each. 2 for Data and 2 for DB flash. However I am not able to clean those raw devices with "clean all" command.
    Can you help me ?
    what error did you get?. Try delete the logical partition and recreate it

  • Oracle ASM and Database are coming up at the same time and running into ERR

    We have Oracle 11G Grid Infrastructure and Oracle 10.2.0.4 running under grid user and oracle user.
    Its AIX 61 LPAR.
    I am running into this error when we do a reboot.
    2010-07-22 19:21:48.581: [    RACG][1310] [667728][1310][ora.maksbx1.MAKSBX11.inst]: SQL> ORA-01565: error in identifying file '+MAKSBX01_DATA_DG1/maksbx1
    /spfileMAKSBX1.ora'
    ORA-17503: ksfdopn:2 Failed to open file +MAKSBX01_DATA_DG1/maksbx1/spfileMAKSBX1.ora
    ORA-15056: additional error message
    2010-07-22 19:21:48.581: [    RACG][1310] [667728][1310][ora.maksbx1.MAKSBX11.inst]: ORA-17503: ksfdopn:DGOpenFile05 Failed to open fi
    ORA-01078: failure in processing system parameters
    SQL> Disconnected
    This is from $ORACLE_HOME/log/srvrname/racg/init<instanace>.log
    After the reboot, wait for 5 min and if I run this command
    srvctl start database -d MAKSBX1 -- DB Comes up with out any error.
    What this tells me is, after the reboot, CRS/ASM is coming up and at the same time DB is also trying to come up and resulting in error.
    Question is:
    Where can I put a sleep 90 or 180 so that DB will come only after ASM is completely up. We didn't write or create any startup scripts for AIX, what ever is there is coming from Oracle 11g Grid and ORacle 10g Database.
    Can some one please point me where I can find those init scripts and where i should either put sleep or dependency so that they don't collide.

    Hi,
    please make sure that you have exported right SID
    ORA-17503: ksfdopn:2 Failed to open file +MAKSBX01_DATA_DG1/maksbx1/spfileMAKSBX1.ora
    echo $ORACLE_SIDand also export ORACLE_SID=+ASM1
    $asmcmd
    asmcmd> cd MAKSBX01_DATA_DG1
    asmcmd> cd maksbx1
    and check for spfileMAKSBX1.ora
    ORA-17503: ksfdopn:string Failed to open file string
    Cause: file open failed due to either insufficient OS permission or the name of file exceeds maximum file name length.
    Thanks
    So you are able to connect later using SRVCTL, hmmmm
    Edited by: CKPT on Jul 23, 2010 9:06 AM

  • Problems While Accessing ASM In Oracle 11.2.0.1

    Hi All,
    In my UAT database I could see all my database services are up and running.
    oracle@blrvqorasdb01:ARSUATDB [home/oracle] > ps -ef|grep pmon
    oracle 4409 3229 0 09:34:57 ? 0:12 ora_pmon_ARSUATDB
    oracle 10111 9608 0 15:59:59 pts/6 0:00 grep pmon
    oracle 4053 3229 0 09:31:40 ? 0:08 asm_pmon_+ASM
    When I logged in to my ASM profile as a sysasm I am getting the below error:-
    oracle@blrvqorasdb01:+ASM [home/oracle] > sqlplus "/ as sysasm"
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Dec 16 16:08:47 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-09817: Write to audit file failed.
    SVR4 Error: 28: No space left on device
    Additional information: 12
    ORA-01075: you are currently logged on
    I am able to login to the database and create objects in it. Can anyone advice me why am I getting the above error.
    For a workaround I thought of stopping and starting ASM instance but I am getting the below error:-
    oracle@blrvqorasdb01:+ASM [u01/11.2.0/grid] > srvctl stop asm -f
    PRCR-1070 : Failed to check if resource ora.asm is registered
    Cannot communicate with crsd
    Please advice...
    Regards,
    Arijit

    Arijit_DBA wrote:
    Hi All,
    In my UAT database I could see all my database services are up and running.
    oracle@blrvqorasdb01:ARSUATDB [home/oracle] > ps -ef|grep pmon
    oracle 4409 3229 0 09:34:57 ? 0:12 ora_pmon_ARSUATDB
    oracle 10111 9608 0 15:59:59 pts/6 0:00 grep pmon
    oracle 4053 3229 0 09:31:40 ? 0:08 asm_pmon_+ASM
    When I logged in to my ASM profile as a sysasm I am getting the below error:-
    oracle@blrvqorasdb01:+ASM [home/oracle] > sqlplus "/ as sysasm"
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Dec 16 16:08:47 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-09817: Write to audit file failed.
    SVR4 Error: 28: No space left on device
    Additional information: 12
    ORA-01075: you are currently logged on
    I am able to login to the database and create objects in it. Can anyone advice me why am I getting the above error.
    lack of disk space at OS level

  • The Script root.sh problem - ora.asm and ASM and Clusterware Stack failed

    Folks,
    Hello. I am installing Oracle 11gR2 RAC using 2 VMs (rac1 and rac2) whose OS are Oracle Linux 5.6 in VMPlayer according to the website http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html
    I am installing Grid infrastructure. On step 9 of 10 - execute script /u01/app/grid/root.sh for 2 VMs rac1 and rac2.
    After run root.sh in rac1 successfully. I run root.sh in rac2 and get an error as below:
    [root@rac2 grid]# ./root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
    ORACLE_OWNER= ora11g
    ORACLE_HOME= /u01/app/grid
    Enter the full pathname of the local bin directory: [usr/local/bin]: /usr/local/bin
    Copying dbhome to /usr/local/bin ...
    Copying oraenv to /usr/local/bin ...
    Copying coraenv to /usr/local/bin ...
    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    2012-03-05 16:32:52: Parsing the host name
    2012-03-05 16:32:52: Checking for super user privileges
    2012-03-05 16:32:52: User has super user privileges
    Using configuration parameter file: /u01/app/grid/crs/install/crsconfig_params
    Creating trace directory
    LOCAL ADD MODE
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Adding daemon to inittab
    CRS-4123: Oracle High Availability Services has been started.
    ohasd is starting
    CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node rac1, number 1, and is terminating
    An active cluster was found during exclusive startup, restarting to join the cluster
    CRS-2672: Attempting to start 'ora.mdnsd' on 'rac2'
    CRS-2676: Start of 'ora.mdnsd' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.gipcd' on 'rac2'
    CRS-2676: Start of 'ora.gipcd' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.gpnpd' on 'rac2'
    CRS-2676: Start of 'ora.gpnpd' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac2'
    CRS-2676: Start of 'ora.cssdmonitor' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'rac2'
    CRS-2672: Attempting to start 'ora.diskmon' on 'rac2'
    CRS-2676: Start of 'ora.diskmon' on 'rac2' succeeded
    CRS-2676: Start of 'ora.cssd' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.ctssd' on 'rac2'
    Start action for octssd aborted
    CRS-2676: Start of 'ora.ctssd' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.drivers.acfs' on 'rac2'
    CRS-2672: Attempting to start 'ora.asm' on 'rac2'
    CRS-2676: Start of 'ora.drivers.acfs' on 'rac2' succeeded
    CRS-2676: Start of 'ora.asm' on 'rac2' succeeded
    CRS-2664: Resource 'ora.ctssd' is already running on 'rac2'
    CRS-4000: Command Start failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/grid/bin/crsctl start resource ora.asm -init
    Start of resource "ora.asm -init" failed
    Failed to start ASM
    Failed to start Oracle Clusterware stack
    [root@rac2 grid]#
    As we see the output above, at the end of the output
    1) Start of resource ora.asm -init failed
    2) Failed to start ASM
    3) Failed to start Oracle Clusterware stack
    The runInstaller is in the first VM rac1. My question is:
    Do any folk understand how to solve the script root.sh in rac2 problem ( 3 fails of ora.asm, ASM and Clusterware stack as above) ?
    Thanks.

    Please check there is no firewall exist:
    try this like:
    root.sh fails on second node
    MOS note:
    11gR2 Grid: root.sh Fails to Start the Clusterware on the Second Node Due to Firewall on Private Network [ID 981357.1]
    Grid Infrastructure 11.2.0.2 Installation or Upgrade may fail due to Multicasting Requirement [ID 1212703.1] (Most probabily this issue)

  • Directory Setup for RAC and Oracle Restart

    I have three database installations that I'd like some insight on the initial directory structure and permissions. The three installations are:
    1) Prod RAC - OEL 5U2, 11.2.0.2 Grid Infrastructure, 11.2.0.2 DB EE with RAC option
    2) Test RAC - OEL 5U2, 11.2.0.2 Grid Infrastructure, 11.2.0.2 DB EE with RAC option
    3) Single Instance - OEL 5U2, 11.2.0.2 Grid Infrastructure Standalone (Oracle Restart), 11.2.0.2 DB EE
    The they all have two users GRID (for Grid Infrastructure Software Owner) and ORACLE (for Oracle Database Software Owner).
    We had a consultant install the databases. It's very weird since we have an inconsistency in directories and permission. I want to understand the inconsistency between RAC installations as well as Oracle Restart Install.
    SEE BELOW: The two RAC servers have different owners for /u01/app/11.2.0.2 directory. The Oracle Restart Installation - Single Instance has the same owner as Prod RAC but different than Test RAC. What the consultant said was that ORACLE_BASE would be /u01/app/oracle for both Grid Infrastructure and Database installations. This was to apply to TEST/PROD RAC (3 node, 3 instances, 1 instance/node) and Oracle Restart installation. The GRID_HOME would be /u01/app/11.2.0.2/grid and ORACLE_HOME would be /u01/app/11.2.0.2/db_1. It seems like the owners aren't setup correctly. Why? I don't want problems with patching or upgrading. If this setup is technically incorrect what is the best way to setup so there's no owner/permission issues. Is it necessary to have two separate ORACLE_BASE's like /u01/app/grid?
    PRODUCTION REAL APPLICATION CLUSTER (Displaying only one Node details)
    $ cd app
    drwxr-xr-x 6 root oinstall 4096 Feb 26 2011 .
    drwxr-xr-x 3 root oinstall 4096 Apr 21 2009 ..
    drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 11.2.0.2
    drwxrwxr-x 2 emagent oinstall 4096 Feb 26 2011 emagent
    drwxrwxr-x 9 oracle oinstall 4096 May 16 2011 oracle
    drwxrwx--- 7 grid oinstall 4096 Feb 26 2011 oraInventory
    $ cd 11.2.0.2
    drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 .
    drwxr-xr-x 6 root oinstall 4096 Feb 26 2011 ..
    drwxr-xr-x 79 oracle oinstall 4096 Mar 29 2011 db_1
    drwxr-xr-x 69 root oinstall 4096 Feb 26 2011 grid
    $ cd ..
    $ cd oracle
    9 oracle oinstall 4096 May 16 2011 .
    drwxr-xr-x 6 root oinstall 4096 Feb 26 2011 ..
    drwxr-xr-x 4 oracle oinstall 4096 Feb 26 2011 admin
    drwxr-xr-x 3 oracle oinstall 4096 Feb 26 2011 cfgtoollogs
    drwxrwxr-x 2 grid oinstall 4096 Feb 26 2011 Clusterware
    drwxrwxr-x 11 grid oinstall 4096 Feb 26 2011 diag
    drwxrwxr-x 3 grid oinstall 4096 Feb 26 2011 hqrac03
    drwxr----- 3 oracle oinstall 4096 May 16 2011 oradiag_oracle
    drwxr-xr-x 3 root root 4096 Mar 13 2011 oradiag_root
    TEST REAL APPLICATION CLUSTER (Displaying only one Node details)
    $ cd app
    drwxr-xr-x 6 root oinstall 4096 Jan 26 2011 ./
    drwxr-xr-x 3 root oinstall 4096 Jan 26 2009 ../
    drwxrwxr-x 4 root oinstall 4096 Jan 26 2011 11.2.0.2/
    drwxrwxr-x 2 emagent oinstall 4096 Mar 1 2011 emagent/
    drwxrwxr-x 10 grid oinstall 4096 May 16 2011 oracle/
    drwxrwx--- 7 grid oinstall 4096 Jan 27 2011 oraInventory/
    $ cd 11.2.0.2
    drwxrwxr-x 4 root oinstall 4096 Jan 26 2011 ./
    drwxr-xr-x 6 root oinstall 4096 Jan 26 2011 ../
    drwxr-xr-x 80 oracle oinstall 4096 Mar 17 2011 db_1/
    drwxr-xr-x 70 root oinstall 4096 Jan 27 2011 grid/
    $ cd ..
    $ cd oracle
    drwxrwxr-x 10 grid oinstall 4096 May 16 2011 ./
    drwxr-xr-x 6 root oinstall 4096 Jan 26 2011 ../
    drwxr-xr-x 4 oracle oinstall 4096 Feb 2 2011 admin/
    drwxr-xr-x 4 oracle oinstall 4096 Feb 2 2011 cfgtoollogs/
    drwxr-xr-x 2 grid oinstall 4096 Jan 26 2011 Clusterware/
    drwxrwxr-x 11 grid oinstall 4096 Jan 26 2011 diag/
    drwxr-xr-x 3 grid oinstall 4096 Jan 26 2011 hqract03/
    drwxr-xr-x 3 grid oinstall 4096 Mar 23 2011 oradiag_grid/
    drwxr----- 3 oracle oinstall 4096 May 16 2011 oradiag_oracle/
    drwxr-xr-x 3 root root 4096 Jan 27 2011 oradiag_root/
    SINGLE INSTANCE DATABASE (ORACLE RESTART)
    $ cd app
    drwxrwxr-x 6 503 oinstall 4096 Feb 26 2011 .
    drwxr-xr-x 3 root root 4096 Apr 16 2009 ..
    drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 11.2.0.2
    drwxrwxr-x 8 grid oinstall 4096 Feb 26 2011 oracle
    drwxrwx--- 6 grid oinstall 4096 Feb 26 2011 oraInventory
    $ cd 11.2.0.2
    drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 .
    drwxrwxr-x 6 503 oinstall 4096 Feb 26 2011 ..
    drwxr-xr-x 76 oracle oinstall 4096 Apr 6 2011 db_1
    drwxr-x--- 69 root oinstall 4096 Feb 26 2011 grid
    $ cd ..
    $ cd oracle
    drwxrwxr-x 8 grid oinstall 4096 Feb 26 2011 .
    drwxrwxr-x 6 503 oinstall 4096 Feb 26 2011 ..
    drwxrwxr-x 5 grid oinstall 4096 Feb 26 2011 admin
    drwxrwxr-x 7 grid oinstall 4096 Feb 26 2011 cfgtoollogs
    drwxrwxr-x 2 grid oinstall 4096 Feb 26 2011 checkpoints
    drwxrwxr-x 2 grid oinstall 4096 Feb 26 2011 Clusterware
    drwxrwxr-x 11 grid oinstall 4096 Feb 26 2011 diag
    drwxrwxr-x 3 grid oinstall 4096 Feb 26 2011 hqods01
    Thanks so much.

    Hello
    I did only check prod, as that is the important one.
    i am afraid that setup is not clean. I won't use the work is wrong, but need to be normalized.
    grid oracle base need to be separate from oracle oracle base, and the grid oracle home, MUST be outside of oracle base/oracle home of the oracle user.
    In a multi user setup, the structure should be as follow.
    grid user, group oinstall, asm* groups
    oracle user, group oinstall, dba and db* groups
    The GRID install, have, grid home and oracle base
    the oracle base for grid should be, /u01/app/grid
    the grid home should be, /u01/app/11.2.0.3/grid
    the Oracle user have several homes, and oracle base
    the oracle base for oracle should be, /u01/oracle
    so, for permissions, when I create this, i do as root
    mkdir -p /u01/app/11.2.0.3/grid
    mkdir -p /u01/app/grid
    mkdir -p /u01/app/oracle
    mkdir -p /u01/app/oraInventory
    chown -R grid:oinstall /u01
    chown -R oracle:oinstall /u01/app/oracle
    then, you install grid .. you have so say oracle home is /u01/app/grid and oracle home is /u01/app/11.2.0.3/grid
    at the end, the root.sh as part of the install will take care of the permissions for oraInventory, and the rest for grid.
    when grid is installed, you can move to the oracle db install you use oracle base as /u01/app/oracle and oracle home as /u01/app/oracle/product/11.2.0.3/dbhome_1
    that will give you
    2 4 drwxr-xr-x 6 root oinstall 4096 Sep 21 03:20 /u01
    5996545 4 drwxr-xr-x 6 root oinstall 4096 Sep 18 22:58 /u01/app
    5996546 4 drwxr-xr-x 8 grid oinstall 4096 Sep 18 22:50 /u01/app/grid
    5996547 4 drwxr-xr-x 3 root oinstall 4096 Sep 18 22:30 /u01/app/11.2.0.3
    5996548 4 drwxr-xr-x 69 root oinstall 4096 Sep 21 10:52 /u01/app/11.2.0.3/grid
    5996549 4 drwxrwx--- 5 grid oinstall 4096 Oct 30 22:08 /u01/app/oraInventory
    7406840 4 drwxr-xr-x 7 oracle oinstall 4096 Oct 30 22:09 /u01/app/oracle
    7406841 4 drwxr-xr-x 3 oracle oinstall 4096 Sep 18 22:58 /u01/app/oracle/product
    7406842 4 drwxr-xr-x 6 oracle oinstall 4096 Oct 30 22:04 /u01/app/oracle/product/11.2.0.3
    7766052 4 drwxr-xr-x 77 oracle oinstall 4096 Nov 2 01:20 /u01/app/oracle/product/11.2.0.3/dbhome_1
    Each user have to use his own oracle_base, as each oracle_base will store files and folders created for logs, admin, diagnostic with different permissions and different usages, for a reason you have role separation.
    example of the content of each oracle base
    $ find /u01/app/oracle/ -maxdepth 1 -ls
    7406840 4 drwxr-xr-x 7 oracle oinstall 4096 Oct 30 22:09 /u01/app/oracle/
    7406841 4 drwxr-xr-x 3 oracle oinstall 4096 Sep 18 22:58 /u01/app/oracle/product
    8749076 4 drwxrwxr-x 3 oracle asmadmin 4096 Sep 18 23:03 /u01/app/oracle/diag
    8749064 4 drwxr-x--- 6 oracle oinstall 4096 Oct 30 22:09 /u01/app/oracle/admin
    8716289 4 drwxr-xr-x 2 oracle oinstall 4096 Oct 30 22:18 /u01/app/oracle/checkpoints
    8749061 4 drwxr-x--- 5 oracle oinstall 4096 Sep 18 23:12 /u01/app/oracle/cfgtoollogs
    $ find /u01/app/grid/ -maxdepth 1 -ls
    5996546 4 drwxr-xr-x 8 grid oinstall 4096 Sep 18 22:50 /u01/app/grid/
    7307540 4 drwxrwxr-x 4 grid oinstall 4096 Sep 18 22:49 /u01/app/grid/diag
    7307474 4 drwxr-xr-x 2 grid oinstall 4096 Sep 18 22:33 /u01/app/grid/Clusterware
    7307265 4 drwxr-xr-x 2 grid oinstall 4096 Sep 18 22:33 /u01/app/grid/checkpoints
    7307532 4 drwxr-x--- 4 grid oinstall 4096 Sep 18 22:49 /u01/app/grid/cfgtoollogs
    7406796 4 drwxr-xr-x 3 root root 4096 Sep 18 22:50 /u01/app/grid/oradiag_root
    Take care,
    Alvaro.

  • Can cold backup be taken for ASM managed oracle 10g databases

    Can cold backup be taken for ASM managed oracle 10g databases
    Pls help

    do we still need to take cold backupYou need to take backup. Hot or cold depends on how your DB is running (archivelog or not).
    Will we have file permisions for copyng Use RMAN and don't worry about that.

  • About ASM and SAN...

    Hello Guys,
    I have to implement 3 nodes RAC 10gR2 ob centOS4 operating system. I have study so many documents about rac instaltion and configurations. I have learn how to set the network requirements with private, public and virtual IPs and all other stuff. I have learn installtion of clusterware and database with cluster enable functionality.
    BUT the storage options are still not clear to me. We have purchases SAN and we are planning to implement ASM for the storage. Now i want to know:
    How many disk and disk partitions 3 node structure will require on SAN?
    How ASM will access SAN, or you can say OS will access this shared storage?
    Voting disk and OCR can not be store on sharted storage and need to be store on raw devices... what these raw device can be? How it can be access by all nodes?
    Above three questions are disturbing me a lot. If they are clear to me the whole storage concept will be clear and i can implement RAC.
    Please help me by answering the above 3 questions. I will be vert greatful to you.
    Regards,
    Imran

    How many disk and disk partitions 3 node structure will require on SAN?
    There's no real answer to that! With Oracle generally, RAC or no RAC, the answer to how many disks you should have is "as many as possible". Partitioning is really up to you, too, depending on what you find easiest to manage. If you have a single SAN array, for example, comprised of 15 disks that you choose to partition into three or four logical volumes so that you can call one 'data', one 'redo', one 'OS', and one 'other' -that's entirely up to you, since Oracle could care less how you partition, what you call them or how many of them there are. Moreover, everything on every partition is being striped across those 15 disks anyway, so who cares?
    I think, however, you might be thinking of the RAC-specific issues of the voting disk and the Oracle Cluster Registry. If you were using a cluster file system, they could be just two files on the file system, about 120M in size between them. Since you are going to use ASM and these two elements can't be stored inside an ASM array, you'll have to create two raw partitions for this purpose. The rest you then chop up for ASM's use.
    It is NOT true, incidentally, that "Voting disk and OCR can not be store on sharted storage". By definition, the voting disk and OCR must be on shared storage! Indeed, raw partitions, ASM arrays and cluster file systems are ALL shared storage technologies. It just so happens that those two files can't use ASM... but raw or cfs are fine.
    A raw partition is not, of course, intrinsically 'shared storage'... but if it's a raw partition on your SAN, to which all three of your nodes are physically attached, then it is shareable. It's shareable simply because three nodes can see it. And because there's no file system there with exclusive and blocking file locks, what one node does to a raw partition doesn't stop another node accessing it simultaneously (which is the definition of shared storage, of course).
    How will ASM access SAN? By you partitioning the SAN into a number of logical volumes, each one of which will be kept raw, and you then declaring each such volume as a candidate disk. You'll wrap all candidate disks up into an ASM disk group... and then Oracle will write to that disk group and hence through to the underlying logical volumes. Which comes back to the original question: how many logical volumes should you create out of, say, a 15 disk LUN on a SAN?
    Depends, as I said, on a lot of things, but for example RAID5 runs best when there are either 5 or 9 disks in the array (or did when last I looked at an EMC Clariion SAN!). So if your underlying RAID technology was going to be RAID5, you might well create 3 5-disk logical volumes on the one LUN. To let ASM use all 15 disks, you'd then create a 3-disk diskgroup (where 1 ASM disk = 1 SAN logical volume). On the other hand, you might want to keep some disks back for future storage, in which case a 1-disk ASM diskgroup representing a single 9-disk logical volume might be the go, with the remaining 6 disks on the LUN available for future expansion.
    It's a complicated topic, unfortunately. You're dealing with physical storage which is already abstracted into logical volumes and then abstracted even further by wrapping those logical volumes up into ASM disk groups. You balance performance, expandability, management convenience, your SAN vendor's optimisation tricks and so on... and hopefully come out with something that works for you!

  • Migrating Non ASM, Non RMAN to New Server with ASM and RMAN - Possible?

    We currently have a database ( Oracle 10g R1 ) on a Sun Solaris server that is NOT using ASM or RMAN. The database is about 300GB. We are getting a new server and we want to install Oracle 10g R2 with ASM and RMAN and migrate the database.
    I have seen the documentation on migrating non ASM to an ASM server but the methods all use RMAN. Is it possible to migrate to an ASM database without using RMAN? Would datapump import/export work if I created a new database on the new server with all the same tablespaces? Or, do I have to bite the bullet, install RMAN on the old server and do the backup?
    Thanks.

    If you're not using RMAN that doesn't mean you can't use it to perform a single backup, rman is contained in every oracle RDBMS installation version 10G or higher.
    this is only a sample of how to do it
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '<file_system_path>/%U.DBF';
    --first we allocate the channel default channel.
    RMAN>RUN
    ALLOCATE CHANNEL DEFAULTCHANNEL TYPE DISK;
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    BACKUP DATABASE;
    SHUTDOWN
    }then once you have it, you can do what you want.
    It should also be possible to manually restore the database from the original datafiles but it's better to follow the solution involving RMAN.
    Bye Alessandro

  • Installing Oracle Database with ASM on Oracle VM for SPARC

    We're installing Solaris 11 and Oracle VM for SPARC so we can install Oracle Database with ASM. There is a requirement when creating the database that the raw disk have an owner that is the same as the database. Everytime we try to change the owner it will always show that the owner is root.
    Any ideas?

    Hi
    Please let me know from where you are allocating ASM raw disks for the guest domain.
    i hope you are changing the disk permissions using chown -R
    Also confirm the permission using command # ls -IL /dev/rdsk
    Regards
    AB

  • Configure ASM for oracle Grid installation

    Hi,
    I do not know how to configure ASM for oracle grid infrastructure. As i tried to install oracle grid infrastructure says [INS - 30507] Empty ASM disk group.
    I have to configure Asm before installing 11g R2. Please let me know what i have to do and provide the steps to configure and administer asm.
    Thanks in advance.

    http://docs.oracle.com/cd/E11882_01/install.112/e24660.pdf
    ORACLE-BASE - Oracle Database 11g Release 2 RAC On Oracle Linux 5.8 Using VirtualBox

  • How can I remove asm and ocr installation in AIX?

    Hi,
    I try to install single instance with using ASM in AIX.
    But I did not make successfully.
    Now I want to remove ASM and OCR installation then
    I will plan to make new clear installation.
    How can I remove asm and ocr ??
    Or How can I control my removing is fully correct ?

    1) ASM Instance Clean-Up Procedures
    Stop all of the databases that use the ASM instance that is running from the Oracle home that is on the node that you are deleting.
    On the node that you are deleting, if this is the Oracle home which from which the ASM instance runs, then remove the ASM configuration by completing the following steps. Run the command srvctl stop asm -n node_name for all of the nodes on which this Oracle home exists. Run the command srvctl remove asm -n node for all nodes on which this Oracle home exists. If there are databases on this node that use ASM, then use DBCA Disk Group Management to create an ASM instance on one of the existing Oracle homes on the node, restart the databases if you stopped them.
    If you are using a cluster file system for your ASM Oracle home, then ensure that your local node has the $ORACLE_BASE and $ORACLE_HOME environment variables set correctly. Run the following commands from a node other than the node that you are deleting, where node_number is the node number of the node that you are deleting:
    rm -r $ORACLE_BASE/admin/+ASMnode_number
    rm -f $ORACLE_HOME/dbs/*ASMnode_number
    If you are not using a cluster file system for your ASM Oracle home, then run the rm or delete commands mentioned in the previous step on each node on which the Oracle home exists.
    2) Deleting an Oracle Clusterware Home Using OUI in Silent Mode
    !!! Oracle recommends that you back up your voting disk and OCR files after you complete the node deletion process.
    If you ran the Oracle Interface Configuration Tool (OIFCFG) with the -global flag during the installation, then skip this step. Otherwise, from a node that is going to remain in your cluster, from the CRS_home/bin directory, run the following command where node2 is the name of the node that you are deleting:
    ./oifcfg delif –node node2
    Obtain the remote port number, which you will use in the next step, using the following command from the CRS_home/opmn/conf directory:
    cat ons.config
    From CRS_home/bin on a node that is going to remain in the cluster, run the Oracle Notification Service Utility (RACGONS) as in the following example where remote_port is the ONS remote port number that you obtained in the previous step and node2 is the name of the node that you are deleting:
    ./racgons remove_config node2:remote_port
    On the node to be deleted, run rootdelete.sh as the root user from the CRS_home/install directory. If you are deleting more than one node, then perform this step on all of the other nodes that you are deleting.
    From any node that you are not deleting, run the following command from the CRS_home/install directory as the root user where node2,node2-number represents the node and the node number that you want to delete:
    ./rootdeletenode.sh node2,node2-number
    If necessary, identify the node number using the following command on the node that you are deleting:
    CRS_home/bin/olsnodes -n
    Perform this step only if your are using a non-shared Oracle home. On the node or nodes to be deleted, run the following command from the CRS_home/oui/bin directory where node_to_be_deleted is the name of the node that you are deleting:
    ./runInstaller -updateNodeList ORACLE_HOME=CRS_home
    "CLUSTER_NODES={node_to_be_deleted}"
    CRS=TRUE -local
    Deinstall the Oracle Clusterware home from the node that you are deleting using OUI as follows by running the following command from the Oracle_home/oui/bin directory, where CRS_home is the name defined for the Oracle Clusterware home:
    ./runInstaller -deinstall –silent "REMOVE_HOMES={CRS_home}"
    Perform step 9 from the previous section about using OUI interactively under the heading "Deleting an Oracle Clusterware Home Using OUI in Interactive Mode".

Maybe you are looking for

  • Can you transfer purchased music from itunes to Musicmatch?

    I like using itunes but my mp3 player isn't compatible. Wondering if all those purchased songs are wasted.

  • Sharing files with other members of my family on the wireless network

    I would like to share my files with other members of my family on the wireless network. Unfortunately, their pcs are MS Windows OS and connected in workgroup type while I am on Mac. I can access internet via the same wireless router but cannot see ot

  • Thinkpad T420, Integrated Graphics, Dual Monitors

    Warning: this isn't really a problem thread. I've looked and looked but can't find a definitive answer for my question. I'm seriously considering a Thinkpad T420 for a new work laptop. I've heard great things from many people, but the most important

  • ORA-01019: unable to allocate memory in the user side

    hi, I have a windows desktop with Win XP. It has a few Oracle software on it. Oracle 8i Oracle 9i DS Rel2 Oracle Pl/Sql Dev Oracle_Sid is set as the env variable. Now when i try to log into sqlplus from bin directory of the 8i database, i have no pro

  • PSPremier.suit and Impress Font Challenge

    I have recently installed Snow Leopard and the 10.6.1 upgrade, and am having issues with smashed text in applications like Keynote '09. Any text using fonts from the PSPremier.suit collection all have this characteristic. Anyone got any ideas how to