LVM for RAC 9i under Redhat AS 2.1

Hi,
LVM is not part of the Redhat AS 2.1. So what can I do to optimize the creation of RAW Devices ?
Or is it supported to use the LVM from Redhat 7.3 Version ?
Has anybody experience in Installing RAC under Redhat AS 2.1.
regards
Stefan

You might use OCFS (Oracle Cluster File System) instead of raw devices.
I'm in the process of trying to install RAC on Linux AS 2.1 update2 as I speak.
If you've accomplished this, please respond with any tips.
Thanks
-Bob

Similar Messages

  • Fast installation for oracle db under redhat linux 4 update 3

    dear sirs...
    i know little about linux, however, i create a simple script that will preform pre-installation operations for linux 4 update 3. it will update the files, create oracle user, and so on. you will find its source. if possible i hope someone can upgrade this script such that there it will check the OS packages, and stop the changes if any of the packages is missing.
    thanks for any help and best regards.
    notes:
    1- to use this script, type the text in linux gedit. save it in a file and put the file in a safe place so that every time you want to install the db, you can find it ready.
    2- do not use notepad to create the file, it will not work.
    3- before you run the script, be sure that all packages needed by the db exists.
    4- the script assumes that you have just installed linux for running the database only.
    5- to run the script in linux , login as root user, and type . scriptfilename
    6- the script should be executed only once.
    /usr/sbin/groupadd oinstall
    /usr/sbin/groupadd dba
    /usr/sbin/useradd -m -g oinstall -G dba oracle
    passwd oracle
    mkdir -p /home/oracle
    chown -R oracle:oinstall /home/oracle
    chmod -R 775 /home/oracle
    cat >> /etc/sysctl.conf <<EOF
    # the following lines are added by a script
    kernel.shmall = 2097152
    kernel.shmmax = 536870912
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 262144
    net.core.wmem_default = 262144
    net.core.rmem_max = 262144
    net.core.wmem_max = 262144
    EOF
    /sbin/sysctl -p
    cat >> /etc/security/limits.conf <<EOF
    # the following lines are added by a script
    oracle soft nproc 2047
    oracle hard nproc 16384
    oracle soft nofile 1024
    oracle hard nofile 65536
    EOF
    cat >> /etc/pam.d/login <<EOF
    # the following lines are added by a script
    session required /lib/security/pam_limits.so
    EOF
    cat >> /etc/profile <<EOF
    # the following lines are added by a script
    if [ \$USER = "oracle" ]; then
    if [ \$SHELL = "/bin/ksh" ]; then
    ulimit -p 16384
    ulimit -n 65536
    else
    ulimit -u 16384 -n 65536
    fi
    umask 022
    fi
    EOF
    cat >> /etc/csh.login <<EOF
    # the following lines are added by a script
    if ( \$USER == "oracle" ) then
    limit maxproc 16384
    limit descriptors 65536
    umask 022
    endif
    EOF

    Nice.
    A fair chunk of additional work would go into this to ensure that existing settings are not clobbered, but it should be OK on a new install of Linux.
    Why not require that they use the DVD (so you have all RPMs on one media), cd to the RPMS directory and simply 'rpm -i' all the prereq packages? Then you don't need to 'rpm -q' and inspect the status.

  • Is that true for RAC vs Redhat on cost?

    Hi,
    see below link, video,
    http://www.redhat.com/promo/streamline/HighAvailabilityDatabase/?intcmp=70160000000HUrE
    So Redhat has better RAC solution.
    Redhat RAC + Oracle Standard edtion, beat Oracle enterprise? performance, and cost.
    Peter

    > Is that true for RAC vs Redhat on cost?
    No. The assumption from Redhat in this video is that the application and data can be neatly partitioned into customers and orders. (a shared nothing cluster approach)
    If this is truly the case (which will be unusual), then there is really very little need for RAC - and many other solutions that are even better than this "offering" from Redhat. (exactly what are they trying sell here anyway?)
    But as this neat and tidy border very seldom exist, how do you integrate the separated data sets? A few methods.
    You can look at it from the db side. Distributed selects over database links (that can easily kill performance). Materialised views (more expensive SAN space). Etc.
    You can look at it from the app side. Make the app use dual connections, one to each database. Move the joining logic and code from the database into the app. Of course, a great way to turn the app fat, make the database a bit bucket, and kick performance repeatedly in the nuts.
    You can look at it from the app server side. Have the app server (with its scalability etc) access the databases, integrate the data and cache the data. Only.. isn't this exactly what a database does? And what about the cost for these app servers that needs tons of memory for caching. (Hint to Redhat: JBoss ain't that good and makes a poor database)
    Is RAC expensive? That depends... If you go and buy huge SMP boxes as RAC nodes, your h/w is going to be as expensive as your s/w. If you buy MPP blades, your h/w cost will be a fraction of your s/w cost.
    And that is a key point that is often missed. And one that I had all kinds of arguments with management about. There is a complexity factor in doing high availability, redundancy and scalability.
    With MPP that complexity moves from the h/w into the s/w. So unlike the traditional approach (dating from buying very very expensive mainframe h/w), you buy cheap h/w. And as the complexity is in the s/w, you pay more for the s/w. Google's cluster of clusters is the prime example of this.
    Thus the cost moves from the h/w to the s/w. So is RAC really that expensive? And remember that one needs to compare apples to apples here. If you price another solution to compare with RAC, that solution needs to provide the same feature set you want from RAC.
    And that's where the Redhat video falls flat. They do not offer the same feature set. And if that is truly the feature set needed by the client, then RAC is the wrong architecture to use in the first place.

  • Audio transmit problem under redhat linux 9

    Hi !!
    I have already compiled J2sdk1.4.2 and JMF2.1.1e performance pack for linux and they both work alright under Redhat linux 9. JMStudio works fine to playback audio files. The problem I'm having is when I try to transmit and receive audio files through AVTransmit2, AVReceive2 and JMStudio!! They just don't work!!
    AVTransmit2 and JMStudio just starts to transmit but on the receiving end both jmstudio and avreceiver2 just waits for rtp data but none arrives!!
    Can anyone help me with this problem?? I've already tried spending a whole day cranking my brain about this!!
    Thanks in advance

    make sure your hostname is somehostname.com , and make sure you have your IP mapped to your hostname in /etc/hosts file.

  • Installation oracle 9i under Redhat 4

    hi everybody,
    I'm trying to install oracle 9i under Redhat ES4, and I have this error message,
    thanks for your help,
    regards
    [root@localhost ~]# more /home/oracle/oraInventory/logs/oraInstall2008-12-23_07-
    19-22PM.err
    java.lang.UnsatisfiedLinkError: /tmp/OraInstall2008-12-23_07-19-22PM/libactionUn
    ix22.so: /tmp/OraInstall2008-12-23_07-19-22PM/libactionUnix22.so: symbol errno,
    version GLIBC_2.0 not defined in file libc.so.6 with link time reference
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1419)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1314)
    at java.lang.Runtime.load0(Runtime.java:698)
    at java.lang.System.load(System.java:797)
    at ssOiGenClassux22.<clinit>(ssOiGenClassux22.java:25)
    at sscreateLinkux.createLink(sscreateLinkux.java:255)
    at sscreateLinkux.installAction(sscreateLinkux.java:83)
    at oracle.sysman.oii.oiis.OiisCompActions.doActionWithException(OiisComp
    Actions.java:1357)
    at oracle.sysman.oii.oiis.OiisCompActions.doActionImpl(OiisCompActions.j
    ava:1157)
    at oracle.sysman.oii.oiis.OiisCompActions.doAction(OiisCompActions.java:
    604)
    at CompActions.doActionP1createLink3(CompActions.java:310)
    at CompActions.stateChangeActions(CompActions.java:106)
    at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiilActionThr.run(Oiic
    InstallActionsPhase.java:604)
    at oracle.sysman.oii.oiic.OiicInstallActionsPhase.executeProductPhases(O
    iicInstallActionsPhase.java:2199)
    at oracle.sysman.oii.oiic.OiicInstallActionsPhase.doInstalls(OiicInstall
    ActionsPhase.java:2052)
    at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiInstRun.run(OiicInst
    allActionsPhase.java:2945)
    at java.lang.Thread.run(Thread.java:484)

    I'm more than a bit confused why anyone would be installing, 10 years after its release, a now desupported version of the product. It seems from what you posted that you are installing on an operating system version that did not exist when 9i (whatever that means - 9.0.3 or 9.2.0.5 are version numbers) was released.
    I would suggest installing 10.2.0.1 on Redhat 4, 11.1.0.6 on version 5, finding an ancient version of the O/S if you want 9.x or playing games with the install to see if you can trick it into thinking you have compatibility which is generally speaking a bad idea.

  • Best practice for RAC planned downtime maintenance?

    I have a 3 node RAC on Linux redhat. DB version is 11gr2.
    I want to know the steps to perform each node OS patch upgrade.
    I want to be sure I did right steps:
    1). Node 1, stop crs and do the OS patch upgrade.
    2). same steps for Node 2, 3.
    Is this right?
    Thank you for any help.

    user569151 wrote:
    I have a 3 node RAC on Linux redhat. DB version is 11gr2.
    I want to know the steps to perform each node OS patch upgrade.
    I want to be sure I did right steps:
    1). Node 1, stop crs and do the OS patch upgrade.
    2). same steps for Node 2, 3.
    If your RAC environment is configured properly follow this step:
    Node 1:
    * Relocate services to node 2 or 3 and stop database instance and service using SRVCTL
    * Stop Clusterware using CRSCTL
    * Disable automatic Startup of Clusterware on this node using CRSCTL
    * Patch your OS
    * Relink Oracle Binaries (Grid Infrastructure/Oracle Database) (P.S You will need unlock and re-lock your Grid Home to relink binaries see note RAC: Frequently Asked Questions [ID 220970.1])
    If you are using ACFS you must check if that OS Upgrade will affect ACFS drivers (ACFS Supported On OS Platforms. [ID 1369107.1])
    * Enable Automatic Startup of Clusterware on this node using CRSCTL
    * Start Clusterware using CRSCTL
    * Start Database and Services with SRVCTL
    Repeat steps above on Node 2 and 3
    Of course don't forget a good plan to backup and recovery to support case of failure.
    http://docs.oracle.com/cd/E11882_01/server.112/e17157/planned.htm#CJACDIJD
    Is It Necessary To Relink Oracle Following OS Upgrade? [ID 444595.1]
    My concern is here, let's say each node has to be restarted.
    So my procedure should be on 1st node: crsctl stop crs to stop everything and failover everything to other nodes.
    I wonder crsctl stop crs will cause ASM instance to be down?Yes "CRSCTL STOP CRS" will try stop all clusterware resource with clean state. If any problem occurs will be raised on your prompt.
    Regards,
    Levi Pereira
    Edited by: Levi Pereira on Nov 1, 2012 7:35 PM

  • Shared Disks For RAC

    Hi,
    I plan to use shared disks to create Oracle RAC using ASM. What options do I have? OCFS2? or any other option?
    Can some one lead me to a documnet on how can I use the shared disks for RAC?
    Thanks.

    javed555 wrote:
    I plan to use shared disks to create Oracle RAC using ASM. What options do I have? You have two options:
    1. Create shared virtual, i.e. file-backed disks. These files will be stored in /OVS/sharedDisk/ and made available to each guest
    2. Expose physical devices directly to each guest, e.g. an LVM partition or a multipath LUN.
    With both options, the disks show up as devices in the guests and you would then provision them with ASM, exactly the same way as if your RAC nodes were physical.
    OCFS2 or NFS are required to create shared storage for Oracle VM Servers. This is to ensure the /OVS mount point is shared between multiple Oracle VM Servers.

  • Cannot automate listener on startup under redhat 6.3

    dear oracle specialists  i installed oracle 11g r2 under RedHat 6.3 linux after successfull installation and automating db start
    cannot automate listener start up however able to start it mannually since i am new bi as well to oracle so as to
    linux scripting may help me to find the mistake
    oracle
    2918  0.0  0.4 1984168 18440 ?  
    Ss   06:33   0:00 ora_pmon_ice
    oracle
    2920  0.3  0.3 1982056 15308 ?  
    Ss   06:33   0:00 ora_vktm_ice
    oracle
    2924  0.0  0.3 1982056 15392 ?  
    Ss   06:33   0:00 ora_gen0_ice
    oracle
    2926  0.0  0.3 1982056 15248 ?  
    Ss   06:33   0:00 ora_diag_ice
    oracle
    2928  0.0  0.5 1982080 23492 ?  
    Ss   06:33   0:00 ora_dbrm_ice
    oracle
    2930  0.0  0.3 1982056 15464 ?  
    Ss   06:33   0:00 ora_psp0_ice
    oracle
    2932  0.0  0.4 1982568 19000 ?  
    Ss   06:33   0:00 ora_dia0_ice
    oracle
    2934  1.6  0.9 1982056 39228 ?  
    Ss   06:33   0:03 ora_mman_ice
    oracle
    2936  0.0  0.5 1987812 22012 ?  
    Ss   06:33   0:00 ora_dbw0_ice
    oracle
    2938  0.0  0.5 1997608 23436 ?  
    Ss   06:33   0:00 ora_lgwr_ice
    oracle
    2940  0.0  0.4 1982568 18356 ?  
    Ss   06:33   0:00 ora_ckpt_ice
    oracle
    2942  0.0  0.7 1982616 34412 ?  
    Ss   06:33   0:00 ora_smon_ice
    oracle
    2944  0.0  0.5 1982576 22268 ?  
    Ss   06:33   0:00 ora_reco_ice
    oracle
    2946  0.2  1.4 1987896 64636 ?  
    Ss   06:33   0:00 ora_mmon_ice
    oracle
    2948  0.0  0.4 1982056 20340 ?  
    Ss   06:33   0:00 ora_mmnl_ice
    oracle
    2950  0.0  0.3 1983956 15356 ?  
    Ss   06:33   0:00 ora_d000_ice
    oracle
    2952  0.0  0.3 1983120 14520 ?  
    Ss   06:33   0:00 ora_s000_ice
    oracle
    2994  0.0  0.3 1982056 17344 ?  
    Ss   06:33   0:00 ora_qmnc_ice
    oracle
    3205  0.1  1.2 1988764 54972 ?  
    Ss   06:33   0:00 ora_cjq0_ice
    oracle
    3207  0.0  0.7 1983640 31268 ?  
    Ss   06:33   0:00 ora_q000_ice
    oracle
    3209  0.0  0.7 1985556 32068 ?  
    Ss   06:33   0:00 ora_q001_ice
    oracle
    3269  1.0  0.6 1983632 27092 ?  
    Ss   06:36   0:00 ora_j000_ice
    oracle
    3271  0.0  0.3 1982052 15032 ?  
    Ss   06:36   0:00 ora_j001_ice
    here is my database looks like after automatic loads of an operating system after issuing
    ps aux command
    and here is my  listener after issuing ./lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-AUG-2013 06:42:43
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       Linux Error: 111: Connection refused
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ICELANDLOCAL.localdomain)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       Linux Error: 111: Connection refused
    enviroment variables .bash_profile
    export PATH
    umask 022
    export TMPDIR=/tmp
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/11.2.1/dbhome_1
    export ORACLE_HOME_LISTNER=$ORACLE_BASE/product/11.2.1/dbhome_1
    export ORACLE_HOME_LISTNER=$ORACLE_HOME
    export TNS_ADMIN=ORACLE_HOME/network/admin
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    export PATH=$ORACLE_HOME/bin:$PATH
    export ORACLE_SID=ice
    and my startup script dbora from oracle
    # description: Oracle auto start-stop script.
    # Set ORA_HOME to be equivalent to the $ORACLE_HOME
    # from which you wish to execute dbstart and dbshut;
    # Set ORA_OWNER to the user id of the owner of the
    # Oracle database in ORA_HOME.
    ORA_HOME=/u01/app/oracle/product/11.2.1/dbhome_1
    ORA_OWNER=oracle
    if [ ! -f $ORA_HOME/bin/dbstart ]
    then
        echo "Oracle startup: cannot start"
        exit
    fi
    case "$1" in
        'start')
            # Start the Oracle databases:
            # The following command assumes that the oracle login
            # will not prompt the user for any values
            su $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start LISTENER"
    su $ORA_OWNER -c $ORA_HOME/bin/dbstart $ORA_HOME
            touch /var/lock/subsys/dbora
        'stop')
            # Stop the Oracle databases:
            # The following command assumes that the oracle login
            # will not prompt the user for any values
            su $ORA_OWNER -c $ORA_HOME/bin/dbshut $ORA_HOME
            su $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl stop LISTENER"
            rm -f /var/lock/subsys/dbora
    esac
    any suggestions or help would be appricieated
    thanks in advance

    user9116138 wrote:
    Salut Ad thanks for reply my listener does not create /tmp/listener_start.log after adding  following lines to dbora file
    su $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start LISTENER"  > /tmp/listener_start.log
    make it "su $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start LISTENER"  > /tmp/listener_start.log  2>&1
    when i issue the command ./lsnrctl start that gives an outcome like
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-AUG-2013 16:25:15
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    TNS-01106: Listener using listener name LISTENER has already been started
    So how is it that it is already started?
    [oracle@ICELANDLOCAL bin]$ ./lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-AUG-2013 16:25:43
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Starting /u01/app/oracle/product/11.2.1/dbhome_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/11.2.1/dbhome_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/ICELANDLOCAL/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ICELANDLOCAL.localdomain)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                02-AUG-2013 16:25:43
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.1/dbhome_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/ICELANDLOCAL/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ICELANDLOCAL.localdomain)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    So what did you do in between .. what you show here is that you issued a startup and got 'already started', then again issued a startup and got a clean startup.  You obviously are not showing us everything.  Like the command that you actually used when you got the 'already started' message.
    do not know what to do

  • Solutions for access as ROOT for RAC DBA duties

    Our Networking Team and Applications Team are going through some growing pains. We are trying to resolve what permissions should be given to a RAC DBA. Our RAC DBA is responsible for Oracle Clusterware, Oracle Automatic Storage
    Management and Oracle RDBMS software. The OS, Server and Storage Subsystem are the responsibility of the System Administrator. We have the following Environment:
    Production and Test (RAC)
    Oracle Enterprise Linux 5 update 2
    Oracle Clusterware 11.2.0.2 -- Grid Infrastructure
    Oracle ASM 11.2.0.2
    Oracle Database 11.2.0.2 EE
    Development (Single Instance)
    Oracle Enterprise Linux 5 update 2
    Oracle ASM 11.2.0.2 -- Grid Infrastructure
    Oracle Database 11.2.0.2 EE
    As the RAC DBA, I have identified the following areas that require ROOT for RAC and Single Instance DB's; however, I understand there may be more:
    diagcollection.pl
    - diagnostic tool for Oracle Clusterware and may be requested by Oracle Support
    ocrconfig
    - to repair ocr configuration issue (add, replace and remove requires root)
    srvctl modify
    - required root to change ip address
    tar
    - TAR Grid Infrastructure Directory structure preserving files with ROOT ownership
    cluvfy
    - cluvfy fix it scripts need to run as ROOT
    - some cluvfy commands under 11gr1 would only run properly for -post cfs check as ROOT in our last installation
    ASM Libraries
    - ROOT required to install and configure ASM libraries
    fdisk - l
    - this is used to see disks attached which is relevant when ASM disks are not mounted
    /etc/sysconfig/oracleasm
    - oracleasm loading configuration file
    /usr/sbin/oracleasm
    - to make disks available to ASMLIB (scandisks etc.)
    /usr/sbin/asmtool
    - asm config tool due to bug
    asm cluster file system
    - some commands require ROOT (mounting etc.)
    - acfsutil
    /var/log/messages
    - loading errors ohas and oracleasm would be logged here
    cvuqdisk
    - needs to be loaded for new install
    root.sh
    - script needed to run at install, upgrades and patching
    oraInstRoot.sh
    - script needed to run at install
    rootupgrade.sh
    - upgrade script
    roothas.pl
    - upgrade script
    ocrcheck
    - check for ocr corruption
    - corrupt check portion requires ROOT
    - oracle local registry
    Grid Infrstructure
    - .runInstaller from Grid Infrastructure
    - includes upgrades
    asm configuration assistant (asmca)
    - configuration of asm diskgroups
    - vol mgr for asm disks
    ocrconfig
    - ocr configuration tool
    - ocr import
    - ocr export
    - oracle local registry
    ocrdump
    - used to check ocr backup file
    - oracle local registry
    opatch
    - patching grid control requires ROOT
    crsctl
    - Startup and Shutdown Oracle Clusterware, Oracle ASM and Database/Instance
    - restore voting disk
    - restore ocr
    - set log for dynamic debugging
    - check install periodically
    srvctl
    - modify nodeapps (ex. ip address change)
    - add filesystem (acfs)
    What solutions have people found so that RAC DBA can perform responsibilites yet not have ROOT password?

    In all the environments I've worked in, I either had direct su access with knowledge of the root password or used sudo. I really can't imagine an environment that would require something other than either of those two options.
    In places with stricter auditing requirements we used sudo in conjunction with the sudosh shell wrapper to log all activities to syslog, but this was used by everyone and not just the DBA
    Is SUDO the only solutuion? Every command need to be entered into SUDO config files that necessitates ROOT access.
    As I demonstrated in the other thread, giving the oracle user sudo access to files that are writable by the oracle user (eg. root.sh) gives them the ability to access to a root shell. It is good to implement a "minimum privileges necessary" policy in your organization but it has to be within reason. The minimum privilege necessary for running and maintaining CRS is root.
    Edited by: AllYourDataBase on Apr 18, 2011 1:44 PM

  • Tasks that require ROOT for RAC DBA

    Our Networking Team and Applications Team are going through some growing pains. We are trying to resolve what permissions should be given to a RAC DBA. Our RAC DBA is responsible for Oracle Clusterware, Oracle Automatic Storage
    Management and Oracle RDBMS software. The OS, Server and Storage Subsystem are the responsibility of the System Administrator. We have the following Environment:
    Production and Test (RAC)
    Oracle Enterprise Linux 5 update 2
    Oracle Clusterware 11.2.0.2 -- Grid Infrastructure
    Oracle ASM 11.2.0.2
    Oracle Database 11.2.0.2 EE
    Development (Single Instance)
    Oracle Enterprise Linux 5 update 2
    Oracle ASM 11.2.0.2 -- Grid Infrastructure
    Oracle Database 11.2.0.2 EE
    As the RAC DBA, I have identified the following areas that require ROOT for RAC and Single Instance DB's; however, I understand there may be more:
    diagcollection.pl
    - diagnostic tool for Oracle Clusterware and may be requested by Oracle Support
    ocrconfig
    - to repair ocr configuration issue (add, replace and remove requires root)
    srvctl modify
    - required root to change ip address
    tar
    - TAR Grid Infrastructure Directory structure preserving files with ROOT ownership
    cluvfy
    - cluvfy fix it scripts need to run as ROOT
    - some cluvfy commands under 11gr1 would only run properly for -post cfs check as ROOT in our last installation
    ASM Libraries
    - ROOT required to install and configure ASM libraries
    fdisk - l
    - this is used to see disks attached which is relevant when ASM disks are not mounted
    /etc/sysconfig/oracleasm
    - oracleasm loading configuration file
    /usr/sbin/oracleasm
    - to make disks available to ASMLIB (scandisks etc.)
    /usr/sbin/asmtool
    - asm config tool due to bug
    asm cluster file system
    - some commands require ROOT (mounting etc.)
    - acfsutil
    /var/log/messages
    - loading errors ohas and oracleasm would be logged here
    cvuqdisk
    - needs to be loaded for new install
    root.sh
    - script needed to run at install, upgrades and patching
    oraInstRoot.sh
    - script needed to run at install
    rootupgrade.sh
    - upgrade script
    roothas.pl
    - upgrade script
    ocrcheck
    - check for ocr corruption
    - corrupt check portion requires ROOT
    - oracle local registry
    Grid Infrstructure
    - .runInstaller from Grid Infrastructure
    - includes upgrades
    asm configuration assistant (asmca)
    - configuration of asm diskgroups
    - vol mgr for asm disks
    ocrconfig
    - ocr configuration tool
    - ocr import
    - ocr export
    - oracle local registry
    ocrdump
    - used to check ocr backup file
    - oracle local registry
    opatch
    - patching grid control requires ROOT
    crsctl
    - Startup and Shutdown Oracle Clusterware, Oracle ASM and Database/Instance
    - restore voting disk
    - restore ocr
    - set log for dynamic debugging
    - check install periodically
    srvctl
    - modify nodeapps (ex. ip address change)
    - add filesystem (acfs)
    What other items would a RAC DBA need to have ROOT access for?

    I'd like to say at the outset that this is a scenario and I am NOT in anyway choosing who does what. A simple -- not so simple -- discussion of roles and responsibilities and associated privileges. If you say that the System Administrator is managing the Grid Infrastructure then this would include all Clusterware and Storage Management (ASM) activities. The System Administrator would manage the OCR and Voting Disks, backups, integrity checks etc. The DBA would then only be responsible for adding the storage within the database itself like assigning tablespaces that reference ASM Disk Groups. This doesn't mean that the DBA can't see the ASM information in the database. The major challenge seems to give your DBA access to the OS, networking and storage tools to preliminarily investigate what they believe to be a OS, networking or storage issue. Without this crossover, your System Administrator may be doing work that is unnecessary. A DBA should have clear understandings of what performance the storage system, cpu, memory and networking should be providing and access to the tools that allow them to understand what side of the fence an issue resides.
    There seem to be choices for an organization.
    1) Is there a position called RAC DBA or is the RAC portion managed by the System Administrator.
    2) If a RAC DBA exists then what should the System Administrator be responsible for
    3) What access is need for an existing RAC DBA?
    4) How will access privileges be given to the RAC DBA?
    5) other considerations regarding security?
    I agree that there needs to be crossover regarding handling workload and issues. The agreements on roles and responsibilities shouldn't stop the crossover but they should help in understanding who is ultimately responsible for certain areas of the system and application.
    If this isn't happening at organizations then how is it handled? or not handled?

  • If i have an itune account for a nano under my account and then on my laptop create a new account, can i have a new itunes account for a shuffle?

    if i have an itune account for a nano under my account and then on my laptop create a new user account under a different, can i have a new itunes account for a shuffle?

    Welcome to the Apple Community.
    You should use the same iTunes account for all your devices.

  • How can I have a collective AWR report for RAC database in 10gR2 and 11gR1?

    Plz correct me here
    awrrpt.sql takes the snapshot at the instance level and incase we have 5 instances we have to take 5 awr reports for a particular period.correct???
    If above is true ,any wayout to collect a single collective AWR report for RAC database which includes information on all the instances in Oracle 10g R2 or 11gR1 ?
    Thanks in advance
    Gagan

    I have never come across a way for this. though I can n't say it is not there.
    But I guess it may not be feasible too becuase as we know the current AWR report contains data which is specific for one instance.
    Various hit ratios, top events, instance effeciency reports.... what not ..
    It would be really nice to see something is a new format where it lists values from each instance in a single report.. I guess such a thing Does not exiist as of now.

  • Urgent help needed in configuring X1151A for RAC cluster

    for RAC requirements I have to configure this card to use the interface name of ce1 but I have tried changing slots and puting /etc/hostname.ce1 file out there but it fails .. it always comes up as ce0.
    my question is : How can I cofigure this card to come up as ce1 ? in the other box I had to do nothing .. i just placed the /etc/hostname.ce1 file with hostname and it works perfect.
    can you please email me a copy of your response at [email protected] ?
    thanks
    Sami

    Look for "ce" instances in the /etc/path_to_inst file. You'll need to change the lines so that the hardware path you want is "1".
    Keep a backup and write down the pathname. You can give that path to a 'boot -a' prompt if anything bad happens.
    Darren

  • Error for rman for RAC db

    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: TEST (DBID=485988764) connected to recovery catalog database
    RMAN> run {
    2> resync catalog;
    3> allocate channel oem_backup_disk1 type disk
    4> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
    5> allocate channel oem_backup_disk2 type disk
    6> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
    7> backup as COMPRESSED BACKUPSET tag=Nov100921
    8> archivelog all not backed up 2 times;
    9> release channel oem_backup_disk1;
    10> release channel oem_backup_disk2;
    11> }
    12>
    starting full resync of recovery catalog full resync complete
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of allocate command at 11/10/2009 09:22:07
    RMAN-06004: ORACLE error from recovery catalog database:
    ORACLE error from recovery catalog database:
    This is the error for RAC database. This error is because if i include recovery catalog in the script. if there is no recovery catalog then it is working fine.

    run {
    allocate channel oem_backup_disk1 type disk format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
    backup as COMPRESSED BACKUPSET tag=Nov100921 archivelog all not backed up 2 times;
    release channel oem_backup_disk1;
    it worked successfully.
    if i run like this keeping it in script
    run {
    resync catalog;
    allocate channel oem_backup_disk1 type disk
    format '/misc/OraBackup/${3}/%d_ARCH_%T_%t_%s';
    allocate channel oem_backup_disk2 type disk
    format '/misc/OraBackup/${3}/%d_ARCH_%T_%t_%s';
    backup as COMPRESSED BACKUPSET tag=$TAG
    archivelog all not backed up 2 times;
    release channel oem_backup_disk1;
    release channel oem_backup_disk2;
    then i will get the error
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: TEST (DBID=485988764) connected to recovery catalog database
    RMAN> run {
    2> resync catalog;
    3> allocate channel oem_backup_disk1 type disk
    4> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
    5> allocate channel oem_backup_disk2 type disk
    6> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
    7> backup as COMPRESSED BACKUPSET tag=Nov100921
    8> archivelog all not backed up 2 times;
    9> release channel oem_backup_disk1;
    10> release channel oem_backup_disk2;
    11> }
    12>
    starting full resync of recovery catalog full resync complete
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of allocate command at 11/10/2009 09:22:07
    RMAN-06004: ORACLE error from recovery catalog database:
    ORACLE error from recovery catalog database:

  • What is acceptable level of Private Interconnect Latency for RAC

    We have build 3 Node RAC on RHEL5.4 on VMware.
    There is node eviction problem due to loss of Network Heartbeat.
    ocssd.log:[    CSSD]2010-03-05 17:48:21.908 [84704144] >TRACE: clssnmReadDskHeartbeat: node 3, vm-lnx-rds1173, has a disk HB, but no network HB, DHB has rcfg 0, wrtcnt, 2, LATS 1185024, lastSeqNo 2, timestamp 1267791501/1961474
    Ping statistics from Node2 to Node1 are as below
    --- rds1171-priv ping statistics ---
    443 packets transmitted, 443 received, 0% packet loss, time 538119ms
    rtt min/avg/max/mdev = 0.150/2.030/630.212/29.929 ms
    [root@vm-lnx-rds1172 oracle]#
    Can this be reason for Node eviction? What is acceptable level of of private interconnect latency for RAC ?

    What is acceptable level of of private interconnect latency for RAC ?Normal local network latency should be enough. By the way latency settings are very generous.
    Can you check if your to-be-evicted node runs and is reachable when seeing the node eviction messages?
    In addition to that: Can you check the log files of the eviced node. Check for time stamps around "2010-03-05 17:48:21.908". Make sure all systems are NTP synchronized.
    Ronny Egner
    My Blog: http://blog.ronnyegner-consulting.de

Maybe you are looking for

  • OSX will not start after reboot from single user mode

    Hello, Yesterday my iBook G4 was only starting in BASH mode. I've looked at discussions describing Kernel Panic and have followed the advice posted to the following post: http://discussions.apple.com/message.jspa?messageID=1553062#1553062 When I rebo

  • Macbook Pro startup

    Hi, quite new to this but since upgradeing my Macbook pro from 10.7.4 to 10.7.5, the startup process is now showing a apple logo prior to going to the desktop. When I turn it on I see the normal, bright Apple screen with logo and spinning ring, this

  • Kernel Panic Since ATI Radeon HD 5770 was installed

    Hi I have a Mac Pro 3,1. I recently installed ATI Radeon HD 5770 card powering 2 x Apple Cinema Displays. I also have 2 x ATI Radeon HD 2600 XT pwering 2 17" non Apple monitors. Since installing the 5770, the Mac has regular kernel panics - at least

  • My pictures couldnt show in the iPhoto :(

    i just synchronous my iPhone into iPhoto. But some of the pictures couldn't show up in the iPhoto. They just show in black. I reboot my mac but it just the same, couldnt show those pics. How can i do now?? Plz help me :((

  • Why when I take photos with my iPad do only a few of them appear on my MacBook Pro?

    I have noticed that when I take photos with my iPad only some of them transfer automatically to my MacBook Pro.  Can anyone explain why this is happening please?