Crs upgrade

How to upgrade a Oracle 10g CRS in ORacle 5 node Rac?
i search on net and found some doc for it.
But want to know its pros and crons of upgrading a CRS and 101% accurate way of doing it.

Indeed this turned out to be a Java issue.
We tried to force the matter by installibng the latest JRE on the server. This made not much difference initially, and we went to TAC.
The TAC engineer asked us to put in the relevant path to JAva.exe in the system %path% variable and then to ensure that path also featured the java library directory in the root of the upgrade media.
This allowed us to work the upgrade tool, and we could see the button to click when BARS completed.
However, after following the upgrade procedure to the letter, the upgrade worked, but failed to retain the data from the 3.5 system.
At that point I decided to uninstall CRS 3.5 and remove all relevant directories from the server, then installed 4.0(4) successfully. All I had to do was upload scripts, convert using the CRS 4 editor and upload prompts etc.
We are now ready to go live.
My advice is to do the uninstall and install 4.0 on as clean as possible a platform you can.
/Chris

Similar Messages

  • How to rollback crs upgrade?

    Hi,
    My database is running on two node cluster database.it is cluster filesystem. database is running on Windows server. Now database and clusterware are runing 10.2.0.2 version. we r going to upgrade clusterware to 10.2.0.4. once upgrade will fail .. how to rollback to 10.2.0.2? .plz help
    Thanx in advance
    Thanks,

    You can Upgrade and Downgrade the OCR Configuration in Oracle RAC, here is the link
    http://www.stanford.edu/dept/itss/docs/oracle/10gR2/rac.102/b14197/votocr.htm#BABDAIDI
    oracle Clusterware downgrade is not supported, pls refer the below links
    Re: downgrade database from 10.2.0.4 to 10.2.0.2
    http://www.eygle.com/Notes/10204_patch_note_Linux_x86.htm
    Hope this helps,
    Regards,
    http://www.oracleracexpert.com
    Click here to [Time difference between the RAC nodes is out of sync|http://www.oracleracexpert.com/2009/12/time-difference-between-rac-nodes-is.html]
    Click here to [Duplicate RAC Database using RMAN|http://www.oracleracexpert.com/2009/12/duplicate-rac-database-using-rman.html]

  • Oracle 10g to 11g Upgrade - Oracle Clusterware problem

    Oracle10g RAC (2 Nodes) RHEL 4 64bit
    Hi All,
    I have began the procedure for upgrading Oracle Clusterware to 11g. However, during the install OUI was giving me certain error messages like it couldn't transfer the OUI installlogs to node 2. Well, I kept pushing through the install and after I ran the last rootupgrade script on node 2 it gave me the following error:
    Checking the existence of nodeapps on this node
    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Creating '/crs/home/install/paramfile.crs' with data used for CRS configuration
    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Failed to retrieve VIP details
    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Failed to retrieve VIP details
    Setting CRS configuration values in /crs/home/install/paramfile.crs
    So I ignored the error for the time being and after that I checked the status of crs and it gave me the following:
    [oracle@vtl-rac2 crsd]$ crsstatus
    HA Resource Target State
    ora.VMRACDEV.VMRACDEV1.inst ONLINE ONLINE on vtl-rac1
    ora.VMRACDEV.VMRACDEV2.inst ONLINE ONLINE on vtl-rac2
    ora.VMRACDEV.db ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.ASM1.asm ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.LISTENER_VTL-RAC1.lsnr ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.gsd ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.ons ONLINE OFFLINE
    ora.vtl-rac1.vip ONLINE ONLINE on vtl-rac1
    ora.vtl-rac2.ASM2.asm ONLINE ONLINE on vtl-rac2
    ora.vtl-rac2.LISTENER_VTL-RAC2.lsnr ONLINE ONLINE on vtl-rac2
    ora.vtl-rac2.gsd ONLINE ONLINE on vtl-rac2
    ora.vtl-rac2.ons ONLINE OFFLINE
    ora.vtl-rac2.vip ONLINE ONLINE on vtl-rac2
    So i tried to bring it back up by doing a crs_stop -all and crs_start -all and it gave me the following error:
    vtl-rac1 : CRS-1019: Resource ora.vtl-rac2.ons (application) cannot run on vtl-rac1
    Start of `ora.vtl-rac1.ons` on member `vtl-rac1` failed.
    vtl-rac2 : CRS-1019: Resource ora.vtl-rac1.ons (application) cannot run on vtl-rac2
    CRS-0223: Resource 'ora.VMRACDEV.db' has placement error.
    CRS-0215: Could not start resource 'ora.vtl-rac1.ons'.
    CRS-0215: Could not start resource 'ora.vtl-rac2.ons'.
    I am thinking that all of this is caused by the various issues I had with the install. If I am incorrect, then please let me know. If it is true, I would like to know if there are any 11g docs on how to clean up a failed clusterware upgrade. Any advice would be greatly appreciated on any of the situations I am having.
    Thank you

    Hi Chandra,
    Did CVU report any problems before the upgrade?No, there were no errors reported by CVU before the upgrade.
    I don't there is note out there for cleaning 11g CRS
    install...and I think can very use the 10g CRS note -
    239998.1.Yeah I might have to go that way.
    I have both the 11g CRS install and upgrade from 10g
    to 11CRS at
    http://chandradba.blogspot.com/2007/08/oracle-11g-rac-
    install-on-red-hat-50.html
    and
    http://chandradba.blogspot.com/2008/02/oracle-10g-crs-
    upgrade-to-11g-crs.html
    see if it helps.Yup, your guide is very simple, clear and error proof :) That's how mine when pretty much except right around 75% I started getting these strange errors of files not being able to be transferred to node 2. Anyways, it shouldn't be a problem as none of those errors were configuration related...or else I would have a messed up cluster.
    Well, I actually rebooted both machines and now the whole CRS stack is up!! So I guess I am ok. We'll just have to wait and see.
    Thanks for your help Chandra...I always appreciate it.

  • 10.1.2.3 failed upgrade

    db upgrade from 10.1.2.1 to 10.1.2.3 (2 node RAC)failed with following errors in alert log
    ORA-29702: error occurred in Cluster Group Service operation
    LMON: terminating instance due to error 29702
    CRS upgrade was sucessfull
    any one faced the same issue ?

    db upgrade from 10.1.2.1 to 10.1.2.3 (2 node RAC)failed with following errors in alert log
    ORA-29702: error occurred in Cluster Group Service operation
    LMON: terminating instance due to error 29702
    CRS upgrade was sucessfull
    any one faced the same issue ?

  • CRS-1019 Resource ora.devdb.devdb1.inst (application) cannot run on rac2

    I run a CRS upgrade from 10.2.0.1 to 10.2.0.3. The process runned ok but instance devdb1 on rac1 of the RAC does not start.
    crs_stat -t
    ora.devdb.db ONLINE ONLINE rac1
    ora.devdb.devdb1.inst ONLINE OFFLINE
    ora.devdb.devdb2.inst ONLINE ONLINE rac2
    I tried the following, without success:
    srvctl remove database -d devdb -f
    crs_unregister ora.devdb.db
    srvctl remove instance -d devdb -i devdb1
    srvctl remove instance -d devdb -i devdb2
    srvctl add database -d devdb -o $ORACLE_HOME
    srvctl add instance -d devdb -i devdb1 -n rac1
    srvctl add instance -d devdb -i devdb2 -n rac2
    srvctl stop database -d devdb
    srvctl start database -d devdb
    When I run:
    srvctl start instance -d devdb -i devdb1
    PRKP-1001: Error starting instance devdb1 on rac1
    CRS-0215 Could not start resource 'ora.devdb.devdb1.inst'
    When I run:
    crs_start ora.devdb.devdb1.inst
    Attempting to start 'ora.devdb.devdb1.inst' on member 'rac1'
    Start of 'ora.devdb.devdb1.inst' on member 'rac1' faileld.
    rac2: CRS-1019 Resource ora.devdb.devdb1.inst (application) cannot run on rac2
    CRS-0215 Could not start resource ora.devdb.devdb1.inst
    When I run on rac1 as oracle:
    sqlplus /nolog
    conn / as sysdba
    startup
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/01/app/oracle/product/10.2.0/db_1/dbs/initdevdb1.ora'
    Does anyone have some tips to help?
    Regards
    Cristian

    Hi Cristian,
    Maybe you have already solved your issue.
    Have you checked if the necessary pfile (initdevdb1.ora) is in the directory /01/app/oracle/product/10.2.0/db_1/dbs? if it is there then you might need to check the permissions on the path.
    I suppose you did the upgrade using a new binary home for your 10.2.0.3 version where the required parameter file(s) is/are still there in $OLD_ORACLE_HOME/dbs.
    If so, then copy them from there to the new $ORACLE_HOME/dbs then give it a try.
    Hope this helps.
    Regards,
    Jozsef

  • Oracle crs patch

    hello all.
    i have installed oracle 10g R2 10.2.0.1 and clusterware . i need to upgrade both CRS and RAC database to 10.2.0.4.
    oracle crs upgrade to 10.2.0.4 uses same patch which we use to upgrade oracle database 10.2.0.4. or do we have separte patches for oracle CRS. can i patch oracle CRS and oracle RAC on binaries with out creating database.
    appreaciate your support

    What do the patch release notes say?
    Oh, you don't read them!
    Kindly 'do the needful' and read them.
    Sybrand Bakker
    Senior Oracle DBA

  • 10205 RDBMS home with 10204 CRS

    Hi friends,
    We have a requirement to upgrade the CRS and ASM and Rdbms home from 10204 to 10205. For this purpose, I am not trying to upgrade the existing 10204 homes directly. Instead I am trying to install a new base version:
    1) Install base 10201 for ASM and Rdbms home (on same server where 10204 crs asm rdbms is there)
    2) upgrade base 10201 ASM and Rdbms to 10205 using patchset 8202632
    3) Upgrade CRS later during the weekend.
    My reason for doing this in this manner is so that I can save time during the actual outage window by just upgrading CRS at that time. But when I get to the point of applying the patchset, I get following error:
    Checking Oracle Clusterware Version
    The active version of oracleclusterware is not 10.2.0.5. Recommendation: you must upgrade all nodes of the Oracle Clusterware to 10205...you must upgrade all nodes of the Oracle Clusterware to 10205 before proceeding with this installation.
    What I have done is that I have checked the User Verified checkbox and proceeded with the installation and upgrade to 10205. So my question would be:
    Is what I did correct ?
    Should I have just stopped the installation and proceed with CRS upgrade first and then do this upgrade ?
    Will it cause any issues later like ASM or Rdbms home not working later when CRS is actually upgraded to 10205 ?
    Thanks in advance.

    I was checking this note "Oracle Clusterware - ASM - Database Version Compatibility (Doc ID 337737.1)
    " and "The Oracle Grid Infrastructure/Clusterware (CRS) version must be the highest version down to the 4th digit in the possible combinations at all times. This means you have to upgrade Grid Infrastructure/Clusterware first."
    I agree with this but I am not going to use the 10205 aSM and RDBMS homes until after the CRS itself is upgraded to 10205 on weekend. So on weekend all homes will be having 10205 only. Its only now when installing it separately that I need to know if its ok to do like this or if any issues....
    Thanks,

  • Agent_HOME

    Hi,
    I am getting below error when trying to see the agent status:
    [oracle@localhost ~]$ emctl status agent
    EM Configuration issue. /u01/home/oracle/product/11.2.0/db_1/localhost.localdomain_orcl not found.
    Please help me what's wrong is happening here.
    Regards,
    Michel

    This also not given the appropiate answer :
    [oracle@localhost ~]$ emca -config dbcontrol db parameters localhost.localdomain
    /u01/home/oracle/product/11.2.0/db_1/bin/emca [operation] [mode] [dbType] [flags] [parameters]
    -h | --h | -help | --help: prints this help message
    -version: prints the version
    -config dbcontrol db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [parameters]: configure Database Control for a database
    -config centralAgent (db | asm) [-cluster] [-silent] [parameters]: configure central agent management
    -config all db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [parameters]: configure both Database Control and central agent management
    -deconfig dbcontrol db [-repos drop] [-cluster] [-silent] [parameters]: de-configure Database Control
    -deconfig centralAgent (db | asm) [-cluster] [ -silent] [parameters]: de-configure central agent management
    -deconfig all db [-repos drop] [-cluster] [-silent] [parameters]: de-configure both Database Control and central agent management
    -addNode (db | asm) [-silent] [parameters]: configure EM for a newly added node for a database
    -deleteNode (db | asm) [-silent] [parameters]: de-configure EM for for a database on node getting deleted
    -addInst (db | asm) [-silent] [parameters]: configure EM for a new RAC instance
    -deleteInst (db | asm) [-silent] [parameters]: de-configure EM for a specified RAC instance
    -reconfig ports [-cluster] [parameters]: explicitly reassign Database Control ports
    -reconfig dbcontrol -cluster [-silent] [parameters]: reconfigures RAC Database Control deployment
    -displayConfig dbcontrol -cluster [-silent] [parameters]: displays information about the RAC Database Control configuration
    -migrate -from dbcontrol -to centralAgent  [-repos drop] [-cluster] [-silent] [parameters]: migrates EM configuration from Database Control to central agent
    -upgrade (db | asm | db_asm) [-cluster] [-silent] [parameters]: upgrades an earlier version of the EM configuration to the current version
    -updateTargets crs [-silent] [parameters]: updates new crs home for all dbcontrol and central agents on crs upgrade
    -restore (db | asm | db_asm) [-cluster] [-silent] [parameters]: restores the current version of the EM configuration to an earlier version
    Parameters and Options:
    [parameters]: [ -respFile fileName ] [ -paramName paramValue ]*
    db: perform configuration operation for a database (including databases that use ASM)
    asm: perform configuration operation for an ASM-only instance
    db_asm: perform upgrade/restore operation for a database and an ASM instance
    -repos create: create a new Database Control repository
    -repos drop: drop the current Database Control repository
    -repos recreate: drop the current Database Control repository and recreate a new one
    -cluster: perform configuration operation for a RAC database
    -silent: perform configuration operation without prompting for parameters
    -backup: configure automatic backup for a database
    Parameters for single instance databases
            ORACLE_HOSTNAME: Local hostname
            SID: Database SID
            PORT: Listener port number
            ORACLE_HOME: Database ORACLE_HOME
            LISTENER_OH: Listener ORACLE_HOME
            HOST_USER: Host username for automatic backup
            HOST_USER_PWD: Host user password for automatic backup
            BACKUP_SCHEDULE: Automatic backup schedule (HH:MM)
            EMAIL_ADDRESS: Email address for notifications
            MAIL_SERVER_NAME: Outgoing Mail (SMTP) server for notifications
            ASM_OH: ASM ORACLE_HOME
            ASM_SID: ASM SID
            ASM_PORT: ASM port
            ASM_USER_ROLE: ASM user role
            ASM_USER_NAME: ASM username
            ASM_USER_PWD: ASM user password
            SRC_OH: ORACLE_HOME for the database to be upgraded
            DBSNMP_PWD: Password for DBSNMP user
            SYSMAN_PWD: Password for SYSMAN user
            SYS_PWD: Password for SYS user
            DBCONTROL_HTTP_PORT: Database Control HTTP port
            AGENT_PORT: EM agent port
            RMI_PORT: RMI port for Database Control
            JMS_PORT: JMS port for Database Control
            EM_SWLIB_STAGE_LOC:  Software library location
            PORTS_FILE: Path to a static file specifying the ports to use (Default value : ${ORACLE_HOME}/install/staticports.ini).
    Additional Parameters for cluster databases
            CLUSTER_NAME: Cluster name
            DB_UNIQUE_NAME: Database unique name
            SERVICE_NAME: Service name
            EM_NODE: Database Control node name
            EM_NODE_LIST: Agent Node list [comma separated]
    Note: For Desktop Class Install always pass parameter ORACLE_HOSTNAME
          as "localhost" to any emca command

  • Installing and Configuring Oracle stand alone grid  Using Response Files

    Hello ,
    I am looking for some help if you have done the oracle restart (standalone grid) installation using response file , when i tried to install using response files it is not creating the ASM disks , so i might be missing some steps . Can you please share if you have done this installation of if you have a right document to do this .
    Version i am using 11.2.0.3
    OS : Linux
    Thanks
    Venkat

    Use the following in response file, replace oracle_base,oracle_home,oracle_hostname,diskgroup name,redundancy,disks as per your
    environment
    oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v11_2_0
    ORACLE_BASE=/u01/oracle
    ORACLE_HOME=/u01/product/11.2.0/grid
    INVENTORY_LOCATION=/oracle/install/oraInventory
    ORACLE_HOSTNAME=rhel5
    oracle.install.option=HA_CONFIG
    SELECTED_LANGUAGES=en
    UNIX_GROUP_NAME=dba
    oracle.install.asm.diskGroup.name=DATA
    oracle.install.asm.diskGroup.redundancy=EXTERNAL
    oracle.install.crs.config.autoConfigureClusterNodeVIP = false
    oracle.install.asm.SYSASMPassword=test
    oracle.install.asm.monitorPassword=test
    oracle.install.asm.diskGroup.disks=/dev/oracleasm/disks/TEST01,/dev/oracleasm/disks/TEST02
    oracle.install.asm.diskGroup.diskDiscoveryString=/dev/oracleasm/disks/*
    oracle.install.asm.OSDBA=asmdba
    oracle.install.asm.OSOPER=asmoper
    oracle.install.asm.OSASM=asmadmin
    oracle.install.asm.upgradeASM=false
    oracle.install.crs.config.gpnp.scanPort=0
    oracle.install.crs.config.clusterName=
    oracle.install.crs.config.gpnp.configureGNS=true
    oracle.install.crs.config.gpnp.gnsSubDomain=
    oracle.install.crs.config.gpnp.gnsVIPAddress=
    oracle.install.crs.config.autoConfigureClusterNodeVIP=false
    oracle.install.crs.config.clusterNodes=
    oracle.install.crs.config.storageOption=
    oracle.install.crs.config.sharedFileSystemStorage.diskDriveMapping=
    oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=
    oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=NORMAL
    oracle.install.crs.config.sharedFileSystemStorage.ocrLocations=
    oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=NORMAL
    oracle.install.crs.config.useIPMI=false
    oracle.install.crs.config.ipmi.bmcUsername=
    oracle.install.crs.config.ipmi.bmcPassword=
    oracle.install.crs.config.privateInterconnects=
    oracle.install.crs.config.gpnp.scanName=
    oracle.install.crs.upgrade.clusterNodes=

  • Install and Create Database Using ASM Restart

    I'm performing a clean install of Oracle grid + database (11gR2) on Oracle Linux R5U6. Both installs seem to go just fine. The ASM processes start and run just fine. But, when I try to create a database, I get the following errors:
    PRCR-1079: Failed to start resource ora.test.db
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    CRS-2674: Start of 'ora.test.db' on 'asm' failed
    ORA-01034: ORACLE not available
    ORA-01034: ORACLE not available
    0
    Any ideas?
    Thanks
    Jim
    -----------Create Groups and Users--------------------------------------------------------------------
    groupadd oinstall
    groupadd dba
    groupadd oper
    groupadd asmdba
    groupadd asmoper
    groupadd asmadmin
    useradd -g oinstall -G asmdba,asmoper,asmadmin grid
    useradd -g oinstall -G dba,oper,asmdba,asmoper,asmadmin oracle
    passwd grid
    passwd oracle
    [root@asm asm]# id oracle
    uid=502(oracle) gid=502(oinstall) groups=502(oinstall),503(dba),504(oper),505(asmdba),506(asmoper),507(asmadmin)
    [root@asm asm]# id grid
    uid=501(grid) gid=502(oinstall) groups=502(oinstall),505(asmdba),506(asmoper),507(asmadmin)
    [root@asm asm]# uname -rm
    2.6.18-238.el5 i686
    [root@asm asm]# uname -a
    Linux asm.protoeffect.cxm 2.6.18-238.el5 #1 SMP Tue Jan 4 15:24:05 EST 2011 i686 i686 i386 GNU/Linux
    ----------------------ASM RPM Installs---------------------------------------------------------
    [root@asm asm]# rpm -Uvh oracleasm-support-2.1.7-1.el5.i386.rpm \
    oracleasm-2.6.18-238.el5-2.0.5-1.el5.i686.rpm \
    oracleasmlib-2.0.4-1.el5.i386.rpm
    warning: oracleasm-support-2.1.7-1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
    Preparing... ########################################### [100%]
    1:oracleasm-support ########################################### [ 33%]
    2:oracleasm-2.6.18-238.el########################################### [ 67%]
    3:oracleasmlib ########################################### [100%]
    -------------------ASM Configure------------------------------------------------------------
    [root@asm asm]# /etc/init.d/oracleasm configure
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver. The following questions will determine whether the driver is
    loaded on boot and what permissions it will have. The current values
    will be shown in brackets ('[]'). Hitting <ENTER> without typing an
    answer will keep that current value. Ctrl-C will abort.
    Default user to own the driver interface []: grid
    Default group to own the driver interface []: asmadmin
    Start Oracle ASM library driver on boot (y/n) [n]: y
    Scan for Oracle ASM disks on boot (y/n) [y]: y
    Writing Oracle ASM library driver configuration: done
    Initializing the Oracle ASMLib driver: [  OK  ]
    Scanning the system for Oracle ASMLib disks: [  OK  ]
    -------------------Allocating Disks------------------------------------------------------------
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK1 /dev/sdb1
    Marking disk "DISK1" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK2 /dev/sdc1
    Marking disk "DISK2" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK3 /dev/sdd1
    Marking disk "DISK3" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK4 /dev/sde1
    Marking disk "DISK4" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK5 /dev/sdf1
    Marking disk "DISK5" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK6 /dev/sdg1
    Marking disk "DISK6" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK7 /dev/sdh1
    Marking disk "DISK7" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK8 /dev/sdi1
    Marking disk "DISK8" as an ASM disk: [  OK  ]
    [root@asm asm]#
    [root@asm asm]#
    [root@asm asm]# /etc/init.d/oracleasm listdisks
    DISK1
    DISK2
    DISK3
    DISK4
    DISK5
    DISK6
    DISK7
    DISK8
    ---------------------GRID Response File----------------------------------------------------------
    oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v11_2_0
    ORACLE_HOSTNAME=asm.protoeffect.cxm
    INVENTORY_LOCATION=/u01/app/oraInventory
    SELECTED_LANGUAGES=en
    oracle.install.option=HA_CONFIG
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/grid
    oracle.install.asm.OSDBA=asmdba
    oracle.install.asm.OSOPER=asmoper
    oracle.install.asm.OSASM=asmadmin
    oracle.install.crs.config.gpnp.scanName=
    oracle.install.crs.config.gpnp.scanPort=0
    oracle.install.crs.config.clusterName=
    oracle.install.crs.config.gpnp.configureGNS=true
    oracle.install.crs.config.gpnp.gnsSubDomain=
    oracle.install.crs.config.gpnp.gnsVIPAddress=
    oracle.install.crs.config.autoConfigureClusterNodeVIP=false
    oracle.install.crs.config.clusterNodes=
    oracle.install.crs.config.privateInterconnects=
    oracle.install.crs.config.storageOption=
    oracle.install.crs.config.sharedFileSystemStorage.diskDriveMapping=
    oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=
    oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=NORMAL
    oracle.install.crs.config.sharedFileSystemStorage.ocrLocations=
    oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=NORMAL
    oracle.install.crs.config.useIPMI=false
    oracle.install.crs.config.ipmi.bmcUsername=
    oracle.install.crs.config.ipmi.bmcPassword=
    oracle.install.asm.SYSASMPassword=
    oracle.install.asm.diskGroup.name=DATA
    oracle.install.asm.diskGroup.redundancy=NORMAL
    oracle.install.asm.diskGroup.disks=ORCL:DISK1,ORCL:DISK2,ORCL:DISK3,ORCL:DISK4
    oracle.install.asm.diskGroup.diskDiscoveryString=
    oracle.install.asm.monitorPassword=
    oracle.install.crs.upgrade.clusterNodes=
    oracle.install.asm.upgradeASM=false
    [grid@asm ~]$ ps -ef | grep pmon
    grid 9950 1 0 09:25 ? 00:00:00 asm_pmon_+ASM
    grid 10053 4345 0 09:26 pts/2 00:00:00 grep pmon
    ------------------------Database Software Install Response File-------------------------------------------------------
    oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
    oracle.install.option=INSTALL_DB_SWONLY
    ORACLE_HOSTNAME=asm.protoeffect.cxm
    UNIX_GROUP_NAME=oinstall
    INVENTORY_LOCATION=/u01/app/oraInventory
    SELECTED_LANGUAGES=en
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    ORACLE_BASE=/u01/app/oracle
    oracle.install.db.InstallEdition=EE
    oracle.install.db.isCustomInstall=false
    oracle.install.db.customComponents=
    oracle.install.db.DBA_GROUP=dba
    oracle.install.db.OPER_GROUP=oper
    oracle.install.db.CLUSTER_NODES=
    oracle.install.db.config.starterdb.type=GENERAL_PURPOSE
    oracle.install.db.config.starterdb.globalDBName=
    oracle.install.db.config.starterdb.SID=
    oracle.install.db.config.starterdb.characterSet=
    oracle.install.db.config.starterdb.memoryLimit=
    oracle.install.db.config.starterdb.memoryOption=false
    oracle.install.db.config.starterdb.installExampleSchemas=false
    oracle.install.db.config.starterdb.enableSecuritySettings=true
    oracle.install.db.config.starterdb.password.ALL=
    oracle.install.db.config.starterdb.password.SYS=
    oracle.install.db.config.starterdb.password.SYSTEM=
    oracle.install.db.config.starterdb.password.SYSMAN=
    oracle.install.db.config.starterdb.password.DBSNMP=
    oracle.install.db.config.starterdb.control=DB_CONTROL
    oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL=
    oracle.install.db.config.starterdb.dbcontrol.enableEmailNotification=false
    oracle.install.db.config.starterdb.dbcontrol.emailAddress=
    oracle.install.db.config.starterdb.dbcontrol.SMTPServer=
    oracle.install.db.config.starterdb.automatedBackup.enable=false
    oracle.install.db.config.starterdb.automatedBackup.osuid=
    oracle.install.db.config.starterdb.automatedBackup.ospwd=
    oracle.install.db.config.starterdb.storageType=
    oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=
    oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=
    oracle.install.db.config.asm.diskGroup=
    oracle.install.db.config.asm.ASMSNMPPassword=
    MYORACLESUPPORT_USERNAME=J
    MYORACLESUPPORT_PASSWORD=
    SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
    DECLINE_SECURITY_UPDATES=false
    PROXY_HOST=
    PROXY_PORT=
    -------------Database Creation Info------------------------------------------------------------------
    Name Value
    audit_file_dest {ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/adump
    audit_trail db
    compatible 11.2.0.0.0
    db_block_size 8KB
    db_create_file_dest +DATA
    db_domain
    db_name test
    diagnostic_dest {ORACLE_BASE}
    dispatchers (PROTOCOL=TCP) (SERVICE={SID}XDB)
    memory_target 1225MB
    open_cursors 300
    processes 150
    remote_login_passwordfile EXCLUSIVE
    undo_tablespace UNDOTBS1

    This is the problem with you
    Now time to solve this problem, to make “user grid in secondary group dba”
    http://justinnovation.wordpress.com/category/database/ora/
    # usermod -G asmadmin,asmdba,asmoper,dba grid
    Now you will notice the Privileges are changed
    # id grid
    uid=501(grid) gid=1000(oinstall) groups=1000(oinstall),1100(dba),1300(asmadmin),1400(asmdba),1500(asmoper)
    now try to runInstaller again!
    Good Luck!
    帖子经 Haseeb Alam编辑过

  • OEM DB Console doesn't exit

    Hi Guys,
    At the moment I dont have oracle enterprise manager (OEM DB console) on the server neither I have Oracle DB Console service on this cluster. Could anyone please let me know how can I install/run OEM on this environment. I have 2 node cluster Oracle 11g R2 on windows 2008 R2.
    Any help would be appreciated.
    Regards,

    Hi,
    I issue the command and following message arise.
    C:\>emca -config dbcontrol cluster -repos create
    C:\app\s_oracle_tdc02srv002\product\11.2.0\dbhome_1\bin\emca.bat [operation] [mo
    de] [dbType] [flags] [parameters]
    -h | h | -help | help: prints this help message
    -version: prints the version
    -config dbcontrol db [-repos (create | recreate)] [-cluster] [-silent] [-backup]
    [parameters]: configure Database Control for a database
    -config centralAgent (db | asm) [-cluster] [-silent] [parameters]: configure cen
    tral agent management
    -config all db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [para
    meters]: configure both Database Control and central agent management
    -deconfig dbcontrol db [-repos drop] [-cluster] [-silent] [parameters]: de-confi
    gure Database Control
    -deconfig centralAgent (db | asm) [-cluster] [ -silent] [parameters]: de-configu
    re central agent management
    -deconfig all db [-repos drop] [-cluster] [-silent] [parameters]: de-configure b
    oth Database Control and central agent management
    -addNode (db | asm) [-silent] [parameters]: configure EM for a newly added node
    for a database
    -deleteNode (db | asm) [-silent] [parameters]: de-configure EM for for a databas
    e on node getting deleted
    -addInst (db | asm) [-silent] [parameters]: configure EM for a new RAC instance
    -deleteInst (db | asm) [-silent] [parameters]: de-configure EM for a specified R
    AC instance
    -reconfig ports [-cluster] [parameters]: explicitly reassign Database Control po
    rts
    -reconfig dbcontrol -cluster [-silent] [parameters]: reconfigures RAC Database C
    ontrol deployment
    -displayConfig dbcontrol -cluster [-silent] [parameters]: displays information a
    bout the RAC Database Control configuration
    -migrate -from dbcontrol -to centralAgent [-repos drop] [-cluster] [-silent] [p
    arameters]: migrates EM configuration from Database Control to central agent
    -upgrade (db | asm | db_asm) [-cluster] [-silent] [parameters]: upgrades an earl
    ier version of the EM configuration to the current version
    -updateTargets crs [-silent] [parameters]: updates new crs home for all dbcontro
    l and central agents on crs upgrade
    -restore (db | asm | db_asm) [-cluster] [-silent] [parameters]: restores the cur
    rent version of the EM configuration to an earlier version
    Parameters and Options:
    [parameters]: [ -respFile fileName ] [ -paramName paramValue ]*
    db: perform configuration operation for a database (including databases that use
    ASM)
    asm: perform configuration operation for an ASM-only instance
    db_asm: perform upgrade/restore operation for a database and an ASM instance
    -repos create: create a new Database Control repository
    -repos drop: drop the current Database Control repository
    -repos recreate: drop the current Database Control repository and recreate a new
    one
    -cluster: perform configuration operation for a RAC database
    -silent: perform configuration operation without prompting for parameters
    -backup: configure automatic backup for a database
    Parameters for single instance databases
    ORACLE_HOSTNAME: Local hostname
    SID: Database SID
    PORT: Listener port number
    ORACLE_HOME: Database ORACLE_HOME
    LISTENER_OH: Listener ORACLE_HOME
    HOST_USER: Host username for automatic backup
    HOST_USER_PWD: Host user password for automatic backup
    BACKUP_SCHEDULE: Automatic backup schedule (HH:MM)
    EMAIL_ADDRESS: Email address for notifications
    MAIL_SERVER_NAME: Outgoing Mail (SMTP) server for notifications
    ASM_OH: ASM ORACLE_HOME
    ASM_SID: ASM SID
    ASM_PORT: ASM port
    ASM_USER_ROLE: ASM user role
    ASM_USER_NAME: ASM username
    ASM_USER_PWD: ASM user password
    SRC_OH: ORACLE_HOME for the database to be upgraded
    DBSNMP_PWD: Password for DBSNMP user
    SYSMAN_PWD: Password for SYSMAN user
    SYS_PWD: Password for SYS user
    DBCONTROL_HTTP_PORT: Database Control HTTP port
    AGENT_PORT: EM agent port
    RMI_PORT: RMI port for Database Control
    JMS_PORT: JMS port for Database Control
    EM_SWLIB_STAGE_LOC: Software library location
    PORTS_FILE: Path to a static file specifying the ports to use (Default v
    alue : ${ORACLE_HOME}/install/staticports.ini).
    Additional Parameters for cluster databases
    CLUSTER_NAME: Cluster name
    DB_UNIQUE_NAME: Database unique name
    SERVICE_NAME: Service name
    EM_NODE: Database Control node name
    EM_NODE_LIST: Agent Node list [comma separated]
    Note: For Desktop Class Install always pass parameter ORACLE_HOSTNAME
    as "localhost" to any emca command
    C:\>
    C:\>
    C:\>

  • How can I remove incorrect entry in OCR

    Hi all
    During a CRS upgrade from 10.2.0.4 to 11gR2 I noticed some errors relating to some values that should not have been there! This might have been due to an incorrectly removed node or database previously.
    Anyway, the output from ocrdump looks like this
    /u01/app/oracle/product/10.2.0/crs/bin/ocrdump.bin -stdout -keyname DATABASE.ONS_HOSTS
    [DATABASE.ONS_HOSTS]
    UNDEF :
    SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_READ, OTHER_PERMISSION : PROCR_READ, USER_NAME : oracle, GROUP_NAME : oinstall}
    [DATABASE.ONS_HOSTS.node4!my!domain]
    ORATEXT : node4.deg.aus
    SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_READ, OTHER_PERMISSION : PROCR_READ, USER_NAME : oracle, GROUP_NAME : oinstall}
    [DATABASE.ONS_HOSTS.node4!my!domain.PORT]
    ORATEXT :
    SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_READ, OTHER_PERMISSION : PROCR_READ, USER_NAME : oracle, GROUP_NAME : oinstall}
    [DATABASE.ONS_HOSTS.node2!my!domain]
    ORATEXT : node2.deg.aus
    SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_READ, OTHER_PERMISSION : PROCR_READ, USER_NAME : oracle, GROUP_NAME : oinstall}
    [DATABASE.ONS_HOSTS.node2!my!domain.PORT]
    ORATEXT : 6200
    SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_READ, OTHER_PERMISSION : PROCR_READ, USER_NAME : oracle, GROUP_NAME : oinstall}
    [DATABASE.ONS_HOSTS.node1]
    ORATEXT : node1
    SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_READ, OTHER_PERMISSION : PROCR_READ, USER_NAME : root, GROUP_NAME : root}
    [DATABASE.ONS_HOSTS.node1.PORT]
    ORATEXT : 6200
    SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_READ, OTHER_PERMISSION : PROCR_READ, USER_NAME : root, GROUP_NAME : root}I need to remove the entries [DATABASE.ONS_HOSTS.node4!my!domain] and [DATABASE.ONS_HOSTS.node4!my!domain.PORT] and wondered if I should use racgons remove_config - although as you will see there is no port listed for the [DATABASE.ONS_HOSTS.node4!my!domain]
    Many thanks

    Thanks again Sebastian - that really helped.
    If you dont mind one last question, I seem to have some orphan entries in OCR.
    $ ocrdump.bin -stdout -keyname DATABASE.LOG
    [DATABASE.LOG]
    UNDEF :
    SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_ALL_ACCESS, OTHER_PERMISSION : PROCR_ALL_ACCESS, USER_NAME : oracle, GROUP_NAME : oinstall}
    [DATABASE.LOG.test]
    UNDEF :
    SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_ALL_ACCESS, OTHER_PERMISSION : PROCR_ALL_ACCESS, USER_NAME : oratestt, GROUP_NAME : oinstall}
    [DATABASE.LOG.test.INSTANCE]
    UNDEF :
    SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_ALL_ACCESS, OTHER_PERMISSION : PROCR_ALL_ACCESS, USER_NAME : oratest, GROUP_NAME : oinstall}
    [DATABASE.LOG.testdb]
    UNDEF :
    SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_ALL_ACCESS, OTHER_PERMISSION : PROCR_READ, USER_NAME : oratest, GROUP_NAME : oinstall}
    [DATABASE.LOG.testdb.INSTANCE]
    UNDEF :
    SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_ALL_ACCESS, OTHER_PERMISSION : PROCR_READ, USER_NAME : oratest, GROUP_NAME : oinstall}Basically, the database and instances test and testdb do not exist but I cannot remove them using srvctl remove database or srvctl remove instance
    as I get PRKO-2007 : Invalid instance name: or PRKR-1001 : cluster database TESTDB does not exist. Also they do not appear in crs_stat.
    Any ideas how I can remove them from OCR? If I were to try crs_unregister, I am not sure what resource name to use because they don't show up in crs_stat.
    Many thanks

  • RANDOM ORA-01013 ON DB SERVER 10.2.0.4

    Hi,
    i'm encountering a EXCEPTION ON ORACLE DATABASE 10.2.0.4 ORA-01013 "RANDOM"!!!
    Enviroment:
    Server:
    OS Solaris 10 07/08
    RAC CRS 10.2.0.4
    DATABASE 10.2.0.4
    SSL LISTENER
    ORA-01013 RAISED
    Client:
    APPLICATION SERVER
    WEBLOGIC SERVER 8.1 SP6
    JDBC ORACLE THIN DRIVER Release 4.0
    MULTIPOOL
    TCPS
    ORA-03111 RECEIVED
    Customer:
    TELECOM ITALIA SPA
    When:
    During Production Operation
    AND
    After Upgrade DB 10.2.0.3 -> 10.2.0.4 AND CRS Upgrade 10.2.0.3 -> 10.2.0.4
    Action:
    Downgrade From 10.2.0.4 -> 10.2.0.3 Only for DataBase Server Only
    Issue is solved
    Question:
    Can I to upgrade my DB SERVER to 10.2.0.4 a day? DB SERVER 10.2.0.4 fix few bugs find.
    Please HELP me!!!
    Domenico Simone

    [email protected] wrote:
    Hi,
    I have J2EE java application deployed on Weblogic 8.1 Server SP6. It is using Multi Pool of Weblogic Application Server to call Package Stored Procedure on DB 10.2.0.4.
    During the session initiate on JDBC Pool Weblogic, Raise ORA-01013 (user requested cancel of current operation) on Stored Procedure Log, while on the same session pool Weblogic Application receives ORA-03111 –( A break was processed on the communications channel but was not properly handled by Net8 software. This is an internal error message not usually issued.)
    The problem has not systematic behavior, is Random!!!With what I have generally seen is if you have web application, there administrators configure something called timeout factor where by if they do not get the output of a particular query/procedure within a specified time they cancel the query hence receive ORA-1013.
    Now if that is to be believed true in your case and you say it was working for 10.1.0.3 but not for 10.1.0.4. Given all the other condition true.
    I suggest you manually run that query/stored procedure in 10.1.0.3 and 10.1.0.4 and test the response time/wait events/explain plan. If you find any difference then check why there is a difference and what can be done to reduce the response time of the procedure/query.
    Regards
    Anurag

  • Cannot start dbconsole in Oracle Personal 11g

    I just installed Oracle Personal, but the command emctl start fbconsole will not run - it gives a not found error message.
    IT says OC4J Configuration issue followed by a long path and I followed the path to OC4J_DBCONSOLE.
    the file not found is referring to that path plus the folder name continues which is in the format my host name : my SID
    I have no such folder under OC4J_DBCONSOLE I have 4 folders under it that are spplication-deployments, config, connectors, and META-INF.
    Bsaed on the long error message it looks like the last folder in the path is actually "j2ee" and the rest beginning with OC4J_DB_CONSOLE plus hostname plus SID is the missing file name.
    Can anyone tell me how to correct this? How does this long file get created?

    Here is the output I got from running emva...drop & create
    Thank you for looking at it
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\steve>emca -dbcontrol db -repos drop
    C:\app\steve\product\11.2.0\dbhome_2\bin\emca.bat [operation] [mode] [dbType] [f
    lags] [parameters]
    -h | h | -help | help: prints this help message
    -version: prints the version
    -config dbcontrol db [-repos (create | recreate)] [-cluster] [-silent] [-backup]
    [parameters]: configure Database Control for a database
    -config centralAgent (db | asm) [-cluster] [-silent] [parameters]: configure cen
    tral agent management
    -config all db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [para
    meters]: configure both Database Control and central agent management
    -deconfig dbcontrol db [-repos drop] [-cluster] [-silent] [parameters]: de-confi
    gure Database Control
    -deconfig centralAgent (db | asm) [-cluster] [ -silent] [parameters]: de-configu
    re central agent management
    -deconfig all db [-repos drop] [-cluster] [-silent] [parameters]: de-configure b
    oth Database Control and central agent management
    -addNode (db | asm) [-silent] [parameters]: configure EM for a newly added node
    for a database
    -deleteNode (db | asm) [-silent] [parameters]: de-configure EM for for a databas
    e on node getting deleted
    -addInst (db | asm) [-silent] [parameters]: configure EM for a new RAC instance
    -deleteInst (db | asm) [-silent] [parameters]: de-configure EM for a specified R
    AC instance
    -reconfig ports [-cluster] [parameters]: explicitly reassign Database Control po
    rts
    -reconfig dbcontrol -cluster [-silent] [parameters]: reconfigures RAC Database C
    ontrol deployment
    -displayConfig dbcontrol -cluster [-silent] [parameters]: displays information a
    bout the RAC Database Control configuration
    -migrate -from dbcontrol -to centralAgent [-repos drop] [-cluster] [-silent] [p
    arameters]: migrates EM configuration from Database Control to central agent
    -upgrade (db | asm | db_asm) [-cluster] [-silent] [parameters]: upgrades an earl
    ier version of the EM configuration to the current version
    -updateTargets crs [-silent] [parameters]: updates new crs home for all dbcontro
    l and central agents on crs upgrade
    -restore (db | asm | db_asm) [-cluster] [-silent] [parameters]: restores the cur
    rent version of the EM configuration to an earlier version
    Parameters and Options:
    [parameters]: [ -respFile fileName ] [ -paramName paramValue ]*
    db: perform configuration operation for a database (including databases that use
    ASM)
    asm: perform configuration operation for an ASM-only instance
    db_asm: perform upgrade/restore operation for a database and an ASM instance
    -repos create: create a new Database Control repository
    -repos drop: drop the current Database Control repository
    -repos recreate: drop the current Database Control repository and recreate a new
    one
    -cluster: perform configuration operation for a RAC database
    -silent: perform configuration operation without prompting for parameters
    -backup: configure automatic backup for a database
    Parameters for single instance databases
    ORACLE_HOSTNAME: Local hostname
    SID: Database SID
    PORT: Listener port number
    ORACLE_HOME: Database ORACLE_HOME
    LISTENER_OH: Listener ORACLE_HOME
    HOST: Listener Host
    HOST_USER: Host username for automatic backup
    HOST_USER_PWD: Host user password for automatic backup
    BACKUP_SCHEDULE: Automatic backup schedule (HH:MM)
    EMAIL_ADDRESS: Email address for notifications
    MAIL_SERVER_NAME: Outgoing Mail (SMTP) server for notifications
    ASM_OH: ASM ORACLE_HOME
    ASM_SID: ASM SID
    ASM_PORT: ASM port
    ASM_USER_ROLE: ASM user role
    ASM_USER_NAME: ASM username
    ASM_USER_PWD: ASM user password
    SRC_OH: ORACLE_HOME for the database to be upgraded
    DBSNMP_PWD: Password for DBSNMP user
    SYSMAN_PWD: Password for SYSMAN user
    SYS_PWD: Password for SYS user
    DBCONTROL_HTTP_PORT: Database Control HTTP port
    AGENT_PORT: EM agent port
    RMI_PORT: RMI port for Database Control
    JMS_PORT: JMS port for Database Control
    EM_SWLIB_STAGE_LOC: Software library location
    PORTS_FILE: Path to a static file specifying the ports to use (Default v
    alue : ${ORACLE_HOME}/install/staticports.ini).
    Additional Parameters for cluster databases
    CLUSTER_NAME: Cluster name
    DB_UNIQUE_NAME: Database unique name
    SERVICE_NAME: Service name
    EM_NODE: Database Control node name
    EM_NODE_LIST: Agent Node list [comma separated]
    Note: For Desktop Class Install always pass parameter ORACLE_HOSTNAME
    as "localhost" to any emca command
    C:\Users\steve>emca -dbcontrol db -repos create
    C:\app\steve\product\11.2.0\dbhome_2\bin\emca.bat [operation] [mode] [dbType] [f
    lags] [parameters]
    -h | h | -help | help: prints this help message
    -version: prints the version
    -config dbcontrol db [-repos (create | recreate)] [-cluster] [-silent] [-backup]
    [parameters]: configure Database Control for a database
    -config centralAgent (db | asm) [-cluster] [-silent] [parameters]: configure cen
    tral agent management
    -config all db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [para
    meters]: configure both Database Control and central agent management
    -deconfig dbcontrol db [-repos drop] [-cluster] [-silent] [parameters]: de-confi
    gure Database Control
    -deconfig centralAgent (db | asm) [-cluster] [ -silent] [parameters]: de-configu
    re central agent management
    -deconfig all db [-repos drop] [-cluster] [-silent] [parameters]: de-configure b
    oth Database Control and central agent management
    -addNode (db | asm) [-silent] [parameters]: configure EM for a newly added node
    for a database
    -deleteNode (db | asm) [-silent] [parameters]: de-configure EM for for a databas
    e on node getting deleted
    -addInst (db | asm) [-silent] [parameters]: configure EM for a new RAC instance
    -deleteInst (db | asm) [-silent] [parameters]: de-configure EM for a specified R
    AC instance
    -reconfig ports [-cluster] [parameters]: explicitly reassign Database Control po
    rts
    -reconfig dbcontrol -cluster [-silent] [parameters]: reconfigures RAC Database C
    ontrol deployment
    -displayConfig dbcontrol -cluster [-silent] [parameters]: displays information a
    bout the RAC Database Control configuration
    -migrate -from dbcontrol -to centralAgent [-repos drop] [-cluster] [-silent] [p
    arameters]: migrates EM configuration from Database Control to central agent
    -upgrade (db | asm | db_asm) [-cluster] [-silent] [parameters]: upgrades an earl
    ier version of the EM configuration to the current version
    -updateTargets crs [-silent] [parameters]: updates new crs home for all dbcontro
    l and central agents on crs upgrade
    -restore (db | asm | db_asm) [-cluster] [-silent] [parameters]: restores the cur
    rent version of the EM configuration to an earlier version
    Parameters and Options:
    [parameters]: [ -respFile fileName ] [ -paramName paramValue ]*
    db: perform configuration operation for a database (including databases that use
    ASM)
    asm: perform configuration operation for an ASM-only instance
    db_asm: perform upgrade/restore operation for a database and an ASM instance
    -repos create: create a new Database Control repository
    -repos drop: drop the current Database Control repository
    -repos recreate: drop the current Database Control repository and recreate a new
    one
    -cluster: perform configuration operation for a RAC database
    -silent: perform configuration operation without prompting for parameters
    -backup: configure automatic backup for a database
    Parameters for single instance databases
    ORACLE_HOSTNAME: Local hostname
    SID: Database SID
    PORT: Listener port number
    ORACLE_HOME: Database ORACLE_HOME
    LISTENER_OH: Listener ORACLE_HOME
    HOST: Listener Host
    HOST_USER: Host username for automatic backup
    HOST_USER_PWD: Host user password for automatic backup
    BACKUP_SCHEDULE: Automatic backup schedule (HH:MM)
    EMAIL_ADDRESS: Email address for notifications
    MAIL_SERVER_NAME: Outgoing Mail (SMTP) server for notifications
    ASM_OH: ASM ORACLE_HOME
    ASM_SID: ASM SID
    ASM_PORT: ASM port
    ASM_USER_ROLE: ASM user role
    ASM_USER_NAME: ASM username
    ASM_USER_PWD: ASM user password
    SRC_OH: ORACLE_HOME for the database to be upgraded
    DBSNMP_PWD: Password for DBSNMP user
    SYSMAN_PWD: Password for SYSMAN user
    SYS_PWD: Password for SYS user
    DBCONTROL_HTTP_PORT: Database Control HTTP port
    AGENT_PORT: EM agent port
    RMI_PORT: RMI port for Database Control
    JMS_PORT: JMS port for Database Control
    EM_SWLIB_STAGE_LOC: Software library location
    PORTS_FILE: Path to a static file specifying the ports to use (Default v
    alue : ${ORACLE_HOME}/install/staticports.ini).
    Additional Parameters for cluster databases
    CLUSTER_NAME: Cluster name
    DB_UNIQUE_NAME: Database unique name
    SERVICE_NAME: Service name
    EM_NODE: Database Control node name
    EM_NODE_LIST: Agent Node list [comma separated]
    Note: For Desktop Class Install always pass parameter ORACLE_HOSTNAME
    as "localhost" to any emca command
    C:\Users\steve>emctl start dbconsole
    OC4J Configuration issue. C:\app\steve\product\11.2.0\dbhome_2/oc4j/j2ee/OC4J_DB
    Console_steve-Laptop_XESTD not found.
    C:\Users\steve>set
    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users\steve\AppData\Roaming
    asl.log=Destination=file
    CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    CommonProgramW6432=C:\Program Files\Common Files
    COMPUTERNAME=STEVE-LAPTOP
    ComSpec=C:\Windows\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\steve
    LOCALAPPDATA=C:\Users\steve\AppData\Local
    LOGONSERVER=\\STEVE-LAPTOP
    NUMBER_OF_PROCESSORS=3
    OnlineServices=Online Services
    ORACLE_HOME=C:\app\steve\product\11.2.0\dbhome_2
    ORACLE_SID=XESTD
    ORACLE_UNQNAME=XESTD
    OS=Windows_NT
    Path=C:\app\steve\product\11.2.0\dbhome_2\bin;C:\Program Files\Common Files\Micr
    osoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\W
    indows Live;C:\Program Files (x86)\Embarcadero\RAD Studio\9.0\bin;C:\Users\Publi
    c\Documents\RAD Studio\9.0\Bpl;C:\Program Files (x86)\Embarcadero\RAD Studio\9.0
    \bin64;C:\Users\Public\Documents\RAD Studio\9.0\Bpl\Win64;C:\Program Files (x86)
    \Embarcadero\RAD Studio\9.0\bin;C:\Users\steve\Documents\RAD Studio\9.0\Bpl;C:\P
    rogram Files (x86)\Embarcadero\RAD Studio\9.0\bin64;C:\Users\steve\Documents\RAD
    Studio\9.0\Bpl\Win64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:
    \Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologie
    s\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared;C:\Users\Public
    \Documents\RAD Studio\9.0\Bpl;
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PCBRAND=Pavilion
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=AMD64 Family 16 Model 5 Stepping 3, AuthenticAMD
    PROCESSOR_LEVEL=16
    PROCESSOR_REVISION=0503
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC=C:\Users\Public
    QTJAVA=C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\Windows
    TEMP=C:\Users\steve\AppData\Local\Temp
    TMP=C:\Windows\TEMP
    USERDOMAIN=STEVE-LAPTOP
    USERNAME=steve
    USERPROFILE=C:\Users\steve
    windir=C:\Windows
    C:\Users\steve>emctl status dbconsole
    OC4J Configuration issue. C:\app\steve\product\11.2.0\dbhome_2/oc4j/j2ee/OC4J_DB
    Console_steve-Laptop_XESTD not found.
    C:\Users\steve>

  • CRS issue after upgrade of CRS to 10.2.0.5.0

    we have 3 node cluster HP -UX 10.2.0.3.0. We have upgraded the CRS to 10.2.0.5.0 on all the 3 nodes. 2 of the nodes are up and running. But on the 3rd node the CRS does not startup.
    Below is the error we see in the log file:
    2010-11-28 08:10:33.806: [    EVMD][1] Initializing OCR
    2010-11-28 08:10:34.668: [    EVMD][1] Active Version from OCR:10.2.0.5.0
    2010-11-28 08:10:34.668: [    EVMD][1] Exiting, Active Version greater than Software Version
    2010-11-28 08:10:34.668: [    EVMD][1][PANIC] EVMD exiting; Version Compatibility check failed
    2010-11-28 08:10:34.669: [    EVMD][1] Done.
    But the query software version gives the right one:
    $ crsctl query crs activeversion
    CRS active version on the cluster is [10.2.0.5.0]
    $ crsctl query crs softwareversion
    CRS software version on node [xxxxx] is [10.2.0.5.0]
    Can anyone please help me in solving this issue.
    Thanks

    Hi,
    post the output of
    crsctl query crs activeversion
    crsctl query crs releaseversion
    crsctl query crs softwareversion

Maybe you are looking for

  • I need to restart the database

    Hi Guys, I have migrated my database from oracle 9i to 10gR2 and from 32bit windows to 64bit RHEL4 using full database export and import. Everything works fine. We have got some performance enhancements also. But one report generation module which wa

  • XSU attribute mapping error

    I've encountered an attribute mapping problem when using the Java OracleXMLQuery class in XSU (Oracle XML Developer's Kit for PL/SQL on Windows NT - 9i 9.2.0.1.0). As an example, take a look at the following object type containing one field whose nam

  • Can Scheduler be used in ORACLE SOA to trigger FTP Adapter read operation

    I need to create an ESB project where scheduler should trigger the File/FTP Adapter read operation. Where can I provide the time settings viz. (xx HR: yy MM: zz SS everyday)? Is it possible in Oracle SOA? Please provide any tutorial where scheduler h

  • Why do i get NEX in the column output when i execute the query ?

    Hi All , I have a requirement to work on a developed report which is giving me NEX values for one of the enitire column ( This column is the output for the difference between two dates ( Key date - document date ) ) ,  when i drill down along the col

  • How to delete "other" files on hard drive

    Our 500 hard drive is almost full,  256 of it is labled as other,  how do access these files to deleate them?