Create a second instance by DBCA

I have a simple RHEL3 box with 1 G memory, I had used the DBCA to install a database, 10g r2, on it. How can I use the DBCA to create a second instance on the same DB? Someone´s thread said it can, But when I run the dbca, there is no place I can pick to create second instance, all I have is to create another database and next. My oracle was 10g r2 (10.2.0.1) SE1 version downloaded from Oracle. Is a problem with my original download copy or setup of the dbca? Thx.
Chi

Thanks Kuljeet. I think I missed that part of fundamentals. So how about the second schema vs second instance? Some users said that the second instance will need more overhead for oracle structure. and many experienced users said that second schema on the same instance is bad idea. The reason I want is to separate the test part of the database operation to a second environment (not sure it is a good word). So the management of Oracle will be simpler. My 10g r2 is part of BAAN erp application, BAAN uses Oracle as a data/index storage only, Most of the processes is around running SELECT, UPDATE and INSERT sql (developed from BAAN´s 4G script). No procedure, no function, no trigger or any other involved. However, during the set-up of the BAAN, contractor created a test set of database, then repeated the data/index tables to a prod set. So that our BAAN users can test some processes and move that processes to prod.

Similar Messages

  • How do I create a second instance of oc4j in a standalone enviroment

    I am using OC4J standalone to deploy a sparql endpoint using jena, joseki, and the oracle jena adaptor. OC4J is running on the same server as my DEV and QAR databases. The current instance of OC4J is using a data source called "OracleSemDS" to connect to my DEV database. We are now ready to migrate the endpoint to QAR. As I was setting up the QAR endpoint, I discovered the the jena/joseki tools are hard-coded to use the "OracleSemDS" data source. Therefore, I cannot have 2 endpoints running in the same OC4J instance where one points to DEV and the other points to QAR.
    Therefore, I need to create a second instance of OC4J that specifies QAR as the "OracleSemDS" data connection. Can someone tell me how to do that?
    Thanks,
    Phil

    jphilb wrote:
    I am using OC4J standalone to deploy a sparql endpoint using jena, joseki, and the oracle jena adaptor. OC4J is running on the same server as my DEV and QAR databases. The current instance of OC4J is using a data source called "OracleSemDS" to connect to my DEV database. We are now ready to migrate the endpoint to QAR. As I was setting up the QAR endpoint, I discovered the the jena/joseki tools are hard-coded to use the "OracleSemDS" data source. Therefore, I cannot have 2 endpoints running in the same OC4J instance where one points to DEV and the other points to QAR.
    Therefore, I need to create a second instance of OC4J that specifies QAR as the "OracleSemDS" data connection. Can someone tell me how to do that?
    Thanks,
    Philgday Phil -- Melli Annamalai from the Oracle Server PM team pointed me to your question. I was an OC4J Product Manager before we bought out BEA and I swapped over to WLS -- so I have some information below that hopefully is of assistance to you.
    Since you are using OC4J standalone, the simplest way to get a second instance, is to just clone the existing, whole directory structure of your working OC4J instance into another directory, and configure/run it from that directory. To map the OracleSemDS to another target (QAR) you change the data-sources.xml file in the second instance. If you want to run them concurrently on the same server, you'll need to change the ports in the second instance so they have unique values: default-web-site.xml, rmi.xml, internal-settings.xml, jms.xml. These additional ports can be specified on the command line as a Java property string, albeit this is not a documented nor supported feature. See http://buttso.blogspot.com/2007/02/specifying-oc4j-standalone-ports-from.html for more information.
    Now as an example, assuming you have your OC4J you want to clone in the dev directory, and now want to create a second instance of OC4J in qar, I'd do this:
    cp -rp dev/* qar
    cd qar/j2ee/home/config
    vi data-sources.xml
    (edit any other files if needed to alter ports) ...
    cd ..
    java -jar oc4j.jar That should work, and should create the second instance using the current configuration (ie dev) as its basis (including deployed apps). Of course, you'll need to manage them independently from here as they really are just two separate OC4J standalone instances.
    Now what else you could potentially do is to create a secondary configuration file subset only which only changes the necessary files to support running the second instance. In this case, you'd make a copy of the j2ee/home/config/server.xml, j2ee/home/config/application.xml and j2ee/home/config/data-sources.xml files, renaming them to qar-server.xml, qar-application.xml and qar-data-sources.xml.
    Then do the following:
    1. In qar-server.xml file, you'd change the global-application application to point at qar-application.xml instead of application.xml:
    <global-application name="default" path="qar-application.xml" parent="system" start="true" />
    2. Change qar-application.xml so that it used the qar-data-sources.xml file:
    <data-sources path="qar-data-sources.xml" />
    3. Change qar-data-sources.xml file so it points to the qar database target.
    4. Start OC4J, telling it to use qar-server.xml instead of the default server.xml
    D:\java\oc4j-10135-prod\j2ee\home>java -jar oc4j.jar -config config/qar-server.xmlI think you could run into some concurrency problems if you try and run the two instances simulataneously, but in general it should be OK I think if you run them separately.
    Another solution here is look at how the application specifies/uses datasources. The hard coding of the data-source name into the applicaiton via a direct JNDI lookup works, but restricts the flexibility you as a deployer/administrator has.
    If the application used the Java EE resource-ref approach to look up and use the datasource, then the actual JNDI name of the datasource the application uses it totally abstracted from the actual physical name of the datasource that is created on the container -- so you'd have DEVDS and QARDS as physical datasources configured and running on OC4J -- and what happens is that as you deploy the application, you essentially map its lookup and use of OracleSemDS (which would need to change to a java:env/ namespace) to the physical datasource you want it to use (DEVDS or QARDS for example). You can easily alter this post deployment by changing the generated orion-application.xml file to point at the alternate physical datasource. Following that, you can also create separate deployment plans which map the app to the different datasources, then feed this in with the deployment operation so that the correct mapping to either DEVDS or QARDS is done during the deployment process.
    I don't know what scope you have to change the application so the above may not be possible -- you'd need to change the lookup code so that it uses the Java EE reference model and change the meta-inf/application.xml to add the corresponding resource-ref entry which declares the logical datasource name that needs to be mapped on deployment.
    Another approach here may be to use an application embedded datasource, where you put a data-sources.xml file into the application archive itself (along with an orion-application.xml file which references it) whereupon at deployment time, a datasource specific to the application will be created. In this manner, you'd have say two copies of the same application to deploy (DEV, QAR) which contain different data-sources.xml file. From memory, each application will have its own JNDI namespace so their datasources can co-exist with the same names, with application level data-sources overriding server level ones. Since you'll most likely want to keep the same context-root for the web modules (which has to be unique per server) you'll generally need to run just one of the applications at a time. I'd do this like this: deploy one, stop it, deploy the other, stop it, then start only the one you need to test. In that way, you'll have one copy of the application running (either DEV or QAR) and one datasource definition running within it.
    Here's some documentation links to get you going:
    Managing Application Lifecycle (start, stop): http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13978/adminclient.htm#BABHJAFE <-- describes admin_client.jar but general principles apply to ascontrol management of application.
    Packaging and Testing Applications: http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13979/packag.htm#BHCFBEEC
    Application Level DataSources: http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13975/datasrc.htm#CHDIBFHG
    Using Deployment Plans: http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13980/deployplan.htm#CHDFEFAE
    cheers
    -steve-

  • Creating a Second Instance

    Hello All,
    i am runnig 8i on win2003 server, now i need to create another instance on the same server. can any one pls provide the steps to to it...thanks in adv.
    regards
    Kris

    > I was not sarcastic,
    Er.. I go guns blazing irrespectively. ;-)
    > just wanted to know your views.
    Very strong ones after taking over several db platforms as a DBA with multiple instances per platform. And no scalability.
    Simple example on one specific Oracle v7 platform many years ago. Data volumes grew and so did the sizes of batch transactions. Until rollback space issue result. With no free space anywhere to increase rollbacks... but with all 5 (or so instances) having more than sufficient total rollback space to cater for all 5 systems (with volumes increases) with ease.
    Not to mention the poor buffer cache hit ratios having 5 small buffer caches (per system) instead of a single large one.
    Met a lot of resistance when I wanted to change this.. especially from management and the Oracle Pro*C developers/designers (ignorance is bliss). But as it was my domain and my responsibility I simply told them it will be consolidated into a single instance (authority goes hand-in-hand with responsibility and accountability in my book).
    And a lot of problems were resolved as a result - not too mention not having to spend money on modding the batch application to "work around" the rollback problem. Which is what management's intention was.
    Not saying that there are no exceptions to this "one instance, one server" rule. But then exceptions are exceptions...

  • Creating second instance 10g (non rac)

    We are 10G 64bit on a Windows/VM box - or will be:)
    Is it possible to create multiple instances of oracle on a single server?
    Generally speaking - would I create the second instance just like the first instance but with a different db name?
    Any reasons why I wouldn't want to create multiple database instances on the same server?
    Currently we have our client (enterprise manager) installed on a separate box and use the same client to connect to several databases. If I had multiple instances on one server how would enterprise manager connect to multiple instances with the same ip?
    Thanks for taking my question!.
    Kathie

    When running the second DBCA the global database name and sid would be unique as well?Yea, the global database name must be unique.
    I could also use the same flashback directory as this area has the sid in the directory path? Yea, you can use the same flashback directory for any database on the same server.
    Forum question: Is there a way to close a question and give credit for an answer? I dont, know, but the interesting about the participation on this forum is HELP
    Luck.
    Have a good day.
    Regards.

  • Creating objects in a second instance

    I have created a second instance through the console of a directory server, which has been configured with the same rootdn as the original.
    When I open up the console why in the new instance does it show the rootdn on the config tab but the original doesnt ......
    also ....
    why when i go into the second instance i try creating data objects for root suffixes ive created to mirror the original instance, does it create them under cn=config ......
    Thanks
    G

    Hi
    I have read that creating objects in a loop degrades
    performance. Can someone explain why this should be
    so?Every object creation takes time, so if you create
    lot of unnecessary temporary items in loop it degrades
    performance (so it is nothing loop specific).

  • Second Instance for OWA

    Greetings!
    Here, users use forms because lots of them have access to more than one mailbox and that mailboxes are not set full access and we don´t have it mapped to do configure the full access yet. 
    So, we would like to setup a second instance of OWA, bind it a new URL and set this second instance to integrated authentication, taking advantage of SSO. 
    Is it possible? To create a second site with OWA or a new OWA on the same site in the same server? If yes, some step by step? or article?
    Thanks in advance.
    Fabio Martins MCDST/MCSA Brasil!!!

    Hi Martins,
    Based on my knowledge, we cannot create a new OWA VD in the same site.
    I find a related blog for your reference to create a second instance of OWA, hope it is helpful:
    How to create multiple instances of OWA
    http://searchexchange.techtarget.com/tutorial/How-to-create-multiple-instances-of-OWA
    Disclaimer:
    Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure
    that you completely understand the risk before retrieving any suggestions from the above link.
    Detailed steps:
    1. Assign an additional IP address to your client access server
    2. Create a new website
    3. Create a new virtual directory
    4. New-OWAVirtualDirectory –Name "owa" –Website "Contoso.com"
    5. Assign users to specific websites
    6. Use segmentation to disable OWA features
    Thanks
    Mavis Huang
    TechNet Community Support

  • Problem with listener whe I create a new instance

    Hi
    I can not create two instances on my Oracle data base, the listener is not running or the service is not registred. This is my state:
    I´ve installed Database Oracle 11gR2 on OEL (Oracle Linux Enterprise) and I need two instance, I created my first instance and I had some problems with my environment variable
    but now it is fixed, when I execute: '*lsnrctl status*' it answers me:
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 13-DEC-2010 16:48:03
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SPHYNX)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                13-DEC-2010 15:09:39
    Uptime                    0 days 1 hr. 38 min. 23 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /home/oracle/app/oracle/diag/tnslsnr/SPHYNX/listener/alert/log.xml
    Listening Endpoints Summary...
    +(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SPHYNX)(PORT=1521)))+
    The listener supports no services
    The command completed successfully
    where SPHYNX is the computer´s name, when I read the 'forums.oracle' I see that the line where it tells me:
    +'The listener supports no services'+
    it´s wrong but I don´t undertand the problem
    my Oracle´s enviroment variables are: env | grep ORA
    ORACLE_BASE=/home/oracle/app/oracle
    ORACLE_BIN=/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin
    ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1
    and my listener is the created in the Oracle´s intallation, it is:
    +# listener.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora+
    +# Generated by Oracle configuration tools.+
    LISTENER =
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = SPHYNX)(PORT = 1521))+
    +)+
    +)+
    ADR_BASE_LISTENER = /home/oracle/app/oracle
    my tnsmanes is:
    +# tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora+
    +# Generated by Oracle configuration tools.+
    INS1 =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))+
    +(CONNECT_DATA =+
    +(SERVER = DEDICATED)+
    +(SERVICE_NAME = INS1)+
    +)+
    +)+
    it´s created automatically when I delete my initial Instance orcl, created in the installation, and I create the instance INS1
    My user is a special user called 'oracle' and it is not sudoer.
    when I try to create the second instance the wizard tell me that the Enterprise Configuration is failed because the listener is not actived or the data base´s service is not registred in
    it. I do not write the exact output because it is in spanish and I write a translation.
    regards,
    Pablo

    I am sorry if there is any inconsistency but I am not the final user, I don´t know if the final user had some conection´s problem but I could access to the Enterprise Manager in the instance and I had to restart the computer many times after the first configuration, but the user never tell me anything about problems. I only access to the instance with the Enterprise Manager and it´s running
    I´m sorry but I normally have Oracle on Windows and this is my first contact with Oracle and Linux, on Windows I never had these problems because Oracle did everything automatically on Windows.
    The output that I receive with your commands is:
    +[oracle@SPHYNX ~]$ uname -a+
    Linux SPHYNX 2.6.18-194.el5xen #1 SMP Mon Mar 29 22:22:00 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
    +[oracle@SPHYNX ~]$ uptime+
    +19:12:22 up 6:16, 1 user, load average: 0.27, 0.18, 0.17+
    +[oracle@SPHYNX ~]$ id+
    uid=501(oracle) gid=501(oracle) grupos=501(oracle)
    +[oracle@SPHYNX ~]$ ps -ef | grep -i pmon+
    oracle   25336 25300  0 19:12 pts/1    00:00:00 grep -i pmon
    +[oracle@SPHYNX ~]$ env | sort+
    _=/bin/env
    CVS_RSH=ssh
    G_BROKEN_FILENAMES=1
    HISTSIZE=1000
    HOME=/home/oracle
    HOSTNAME= SPHYNX
    INPUTRC=/etc/inputrc
    JAVA_HOME=/usr/java/jdk1.6.0_22/
    LANG=es_ES.UTF-8
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
    MAIL=/var/spool/mail/oracle
    ORACLE_BASE=/home/oracle/app/oracle
    ORACLE_BIN=/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin
    ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1
    PATH=/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin::/usr/java/jdk1.6.0_22/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    PWD=/home/oracle
    SHELL=/bin/bash
    SHLVL=1
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_CLIENT=163.117.129.155 54971 22
    SSH_CONNECTION=163.117.129.155 54971 163.117.129.170 22
    SSH_TTY=/dev/pts/1
    TERM=vt100
    USER=oracle
    +[oracle@SPHYNX ~]$ cat /etc/hosts+
    +# Do not remove the following line, or various programs+
    +# that require network functionality will fail.+
    +127.0.0.1 SPHYNX localhost.localdomain localhost+
    +::1 localhost6.localdomain6 localhost6+
    +[oracle@SPHYNX ~]$ date+
    lun dic 13 19:12:31 CET 2010

  • Create a new instance on Test server running apps 11.5.10

    Hi,
    How do I go about creating a second instance on the same server? I would like to have a test development instance which ideally should be a mirror of the test instance on the same server.
    OS : HP UX 11
    database: Oracle 9.2.0.5
    apps: E-business suite 11.5.10

    Use Rapid Clone to create an exact copy of your test instance.
    Note: 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230672.1

  • Create new JVM instances

    My question is about JVM instances. How do you create additional instances and how do you make sure that you are using the same instance? For example, if I execute an app like so
    java StartDeamonhow can I make sure that when I execute a second app that it is running in the same JVM so that it interacts with the first app?
    java StopDeamonAnd vice versa, how could I make sure that an app such as this one runs in a separate JVM so that it doesn't affect the processes in the previous JVM?
    java KillAllDaemonsInThisJVMInstanceDoes that make sense?

    would you mind elaborating on that? what options are
    there for a custom solution? How do others do it if
    not in Java? If I execute a second program, does it
    automatically get put in the same JVM instance of the
    first program? I'm assuming it does.No. In windows, for example, when you run a Java program you are really starting a new instance of java.exe. There is nothing built in for it to know to use an existing instance.
    Do additional
    JVM instances get created automatically? If so, what
    is the criteria?Always using a new instance is the MO. If you want some other behavior you need to implement it yourself.
    It's not easy. Even if you find an existing instance of the JVM, you need someway of sending it a message telling it to run your main method. Also, how will you be sure that the JVM is one created by your application and not some other application that won't appreciate your application crashing it's private party?
    Do a search on these forums and you will find a bunch of solutions (many of which are probably unusable.)
    Off the top of my head, you could use memory mapped files to mark whether your application is running. If a second instance is started, send a message to a port that will tell the first instance to create a second instance of your app (assuming there is only one application.)
    Is the application a GUI or non-visual?

  • Second instance

    Hi!
    Is it possible to create a second instance with Oracle XE to have two seperated databases?

    The Data Sheet and the FAQ are saying 'Single instance only' ;-)

  • Second Instance Creation

    Hi ,
    How do I create a second instance on my box , running linux?
    Thanks in advance ,
    Subhash.
    null

    Set the environment variable ORACLE_SID to the name of the new
    instance, then enter svrmgrl and create your new database.
    Rick
    Subhash (guest) wrote:
    : Hi ,
    : How do I create a second instance on my box , running linux?
    : Thanks in advance ,
    : Subhash.
    null

  • Only one CPU core high sys usage when create database instance via dbca

    when using dbca to create database instance
    JUST ONLY ONE CPU core high sys usage
    how to troubleshoot it
    see this:
    top - 09:28:19 up 55 days, 20:38, 10 users,  load average: 1.00, 1.08, 1.31
    Tasks: 1231 total,   2 running, 1228 sleeping,   0 stopped,   1 zombie
    Cpu(s):  0.0%us,  1.3%sy,  0.0%ni, 98.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:  57588328k total, 55028620k used,  2559708k free,   196852k buffers
    Swap: 16386292k total,    23156k used, 16363136k free, 23011232k cached
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                        
    11343 oracle    25   0 1771m  30m  23m R 99.7  0.1   5:36.39 oracle                                                                                         
    3692 oracle    16   0 13948 2348  816 S  1.6  0.0  17:00.94 top                                                                                            
    11432 root      15   0 13540 2024  820 R  1.3  0.0   0:00.21 top                                                                                            
    11034 oracle    16   0  737m 171m  33m S  0.3  0.3   0:52.39 java                                                                                           
    11435 oracle    15   0 66056 1596 1180 S  0.3  0.0   0:00.01 bash                                                                                           
        1 root      15   0   784  172  160 S  0.0  0.0  38:56.76 init                                                                                           
        2 root      RT  -5     0    0    0 S  0.0  0.0   0:00.58 migration/0                                                                                    
        3 root      34  19     0    0    0 S  0.0  0.0   0:00.75 ksoftirqd/0                                                                                    
        4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0                                                                                     
        5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.81 migration/1                                                                                    
        6 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/1                                                                                    
        7 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/1                                                                                     
        8 root      RT  -5     0    0    0 S  0.0  0.0   0:02.53 migration/2    mpstat info
    [root@localhost ~]# mpstat -P ALL 2
    Linux 2.6.18-164.el5 (localhost.localdomain)    09/12/12
    09:29:09     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:11     all    0.01    0.00    1.27    0.01    0.00    0.01    0.00   98.69   1658.29
    09:29:11       0    0.50    0.00    0.00    0.00    0.00    0.50    0.00   98.99   1657.29
    09:29:11      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:11      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      77    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      78    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      79    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:13     all    0.01    0.00    1.26    0.01    0.00    0.02    0.00   98.70   1761.19
    09:29:13       0    0.50    0.00    0.50    1.00    0.00    1.99    0.00   96.02   1761.19
    09:29:13      71    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      72    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:13      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      77    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      78    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      79    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00          you can see there is only one CPU CORE (core 74 but is random , other core have same status but just one CPU core)
    [root@localhost ~]# vmstat -S m 2
    procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
    r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
    3  0     23   1861    203  24267    0    0     8    12    0    0  0  0 99  0  0
    4  0     23   1845    203  24262    0    0   602 16460 3682 8121  2  2 96  1  0
    3  0     23   1842    203  24276    0    0   692  7520 3297 6610  2  2 97  0  0
    3  0     23   1830    203  24277    0    0   786  3040 3302 7118  2  2 97  0  0
    4  0     23   1829    203  24277    0    0   126  3144 3247 7343  2  1 97  0  0
    3  0     23   1827    203  24279    0    0    76  2944 3292 7502  2  2 96  0  0
    3  0     23   1823    203  24281    0    0     0  3248 3164 7656  2  1 97  0  0
    2  0     23   1827    203  24279    0    0     0  3646 3080 7480  2  1 97  0  0
    2  0     23   1828    203  24279    0    0     0   476 2942 5648  1  1 98  0  0
    3  0     23   1824    203  24281    0    0     2  7476 3377 8111  2  2 97  0  0iostat infor
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               1.28    0.00    1.29    0.00    0.00   97.43
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    hda               0.00         0.00         0.00          0          0
    sda               5.47         0.00        83.58          0        168
    sda1              0.00         0.00         0.00          0          0
    sda2              5.47         0.00        83.58          0        168
    sda3              0.00         0.00         0.00          0          0
    sda4              0.00         0.00         0.00          0          0
    sda5              0.00         0.00         0.00          0          0
    sdb               8.96         0.00       123.38          0        248
    sdb1              8.96         0.00       123.38          0        248
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               1.27    0.00    1.27    0.00    0.00   97.46
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    hda               0.00         0.00         0.00          0          0
    sda               0.00         0.00         0.00          0          0
    sda1              0.00         0.00         0.00          0          0
    sda2              0.00         0.00         0.00          0          0
    sda3              0.00         0.00         0.00          0          0
    sda4              0.00         0.00         0.00          0          0
    sda5              0.00         0.00         0.00          0          0
    sdb              17.50         0.00       236.00          0        472
    sdb1             17.50         0.00       236.00          0        472
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               1.29    0.00    1.30    0.01    0.00   97.41
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    hda               0.00         0.00         0.00          0          0
    sda               0.50         0.00        16.00          0         32
    sda1              0.00         0.00         0.00          0          0
    sda2              0.50         0.00        16.00          0         32
    sda3              0.00         0.00         0.00          0          0
    sda4              0.00         0.00         0.00          0          0
    sda5              0.00         0.00         0.00          0          0
    sdb               7.50         0.00       144.00          0        288
    sdb1              7.50         0.00       144.00          0        288more detail:
    database version 11.2.0.2.0
    system version
    [root@localhost ~]# cat /etc/issue
    Red Hat Enterprise Linux Server release 5.4 (Tikanga)
    Kernel \r on an \m
    [root@localhost ~]# lsb_release
    LSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
    [root@localhost ~]# uname -a
    Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linuxhardware info
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 47
    model name      :        Intel(R) Xeon(R) CPU E7- 4860  @ 2.27GHz
    stepping        : 2
    cpu MHz         : 2261.057
    cache size      : 24576 KB
    physical id     : 3
    siblings        : 20
    core id         : 18
    cpu cores       : 10
    apicid          : 229
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 11
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx pdpe1gb rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx smx est tm2 cx16 xtpr popcnt lahf_lm
    bogomips        : 4522.11
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 44 bits physical, 48 bits virtual
    [root@localhost ~]# free -m
                 total       used       free     shared    buffers     cached
    Mem:         56238      55892        346          0        196      23645
    -/+ buffers/cache:      32050      24188
    Swap:        16002         22      15979
    [root@localhost ~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda2              19G  4.9G   14G  27% /
    /dev/sda5             230G   27G  192G  12% /home
    /dev/sda1              99M   12M   83M  13% /boot
    /dev/sdb1             2.9T  2.3T  464G  84% /arrayEdited by: JOhnLiu on Sep 11, 2012 7:31 PM

    JOhnLiu wrote:
    thanks for reply sb92075
    [root@localhost ~]# mpstat -P ALL 2
    Linux 2.6.18-164.el5 (localhost.localdomain)    09/12/12
    09:29:09     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:11     all    0.01    0.00    1.27    0.01    0.00    0.01    0.00   98.69   1658.29
    09:29:11       0    0.50    0.00    0.00    0.00    0.00    0.50    0.00   98.99   1657.29
    09:29:11      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:11      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00I think you don't understand what i mean .
    there just have ONLY ONE CORE %sys 100
    the top command show average of all cpu core sys% usage
    when the one core sys% is 100%
    the system are very slow .
    e.g: when I create a database instance used for a long time . over 2 hours
    but generally it will be done at most 1 hours or shorteris any type of OS virtualization involved in this environment?

  • Creating ASM instance with dbca

    Hi All
    I have 3 questions
    1 - Is the file needed to install ASM software is the same as the file need to install regular oracle software or they are 2 different installation files ?
    2 - Do I need to create 2 oracle homes , one for ASM and one for regular oracle software or only one ORACLE_HOME is needed ?
    3 - Do I need to run dbca once or twice to create the asm instance and database instance ?
    Thanks
    Edited by: user12302159 on Sep 25, 2010 12:58 PM

    Hello,
    1 - Is the file needed to install ASM software is the same as the file need to install regular oracle software or they are 2 different installation files ?
    Answer:The regular database uses normal file system but asm uses Raw devices which is not a file system at all it is just an empty disk.
    2 - Do I need to create 2 oracle homes , one for ASM and one for regular oracle software or only one ORACLE_HOME is needed ?
    actually you will need oracle home and asm home yes in 11g release 2 they added something being called grid infra structure and they made the cluster home and the asm home and the grid home combined in one home but it is not being called oracle home because oracle home is just for the oracle software.
    3 - Do I need to run dbca once or twice to create the asm instance and database instance ?
    In 10g yes 2 times you will do that and you can run it once and after you install ASM it asks you if you want to do anything else so you can do it once or twice.in 11g release 2 you dont use the dbca anymore to isntall asm you just use the grid software.
    Kind regards
    Mohamed

  • Second instance RAC startup problem

    Oracle 9.2.0.4 on RH AS 2.1.
    I have started up the node1 instance well.
    I have added the second thread (and second tablespace) for instance 2 (in node2).
    SQL> alter database add logfile thread 2
    2 '/opt/orafiles/test/redo03.log' size 10m,
    3 '/opt/orafiles/test/redo04.log' size 10m;
    SQL> alter database enable public thread 2;
    But whe I try to startup the instance 2 (in node2) I get the following error;
    SQL> startup
    ORACLE instance started.
    Total System Global Area 131143096 bytes
    Fixed Size 452024 bytes
    Variable Size 92274688 bytes
    Database Buffers 37748736 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    ORA-00305: log 3 of thread 2 inconsistent; belongs to another database
    ORA-00312: online log 3 thread 2: '/opt/orafiles/test/redo03.log'
    Any idea?

    How did you create the 2nd instance? If you go through the DBCA and add an instance to the RAC database, then you can create your redo log files there.
    Just from the information provided, it looks like you're trying to start the 2nd instance using redo logs that belong to the RAC database (and the 2nd instance isn't part of the RAC database)...but I can't see what you did before the add logfile action.

  • Create one more instance in same database?

    Hi All,
    Any one can u help me, How can create one more(second) instance in same database.please give the steps My environemnt is HP_UX 11.00 and Oracle 8i.
    Thanks in advanz
    ruby

    Legatti and Aryndin are correct.
    You are either asking how to create another database with its associated instance on the same server as an existing database
    OR
    you are asking how to add another instance to a RAC clusered database.
    In the first case see the DBA Administration manul which has a chapter on the subject of creating databases. The DBCA utility can be used to do this or you can do it manually.
    For the second the existing database must first be installed with the RAC option on a clustered server. There are RAC specific manuals available that cover the steps to add another instance on another node to the database.
    HTH -- Mark D Powell --

Maybe you are looking for

  • Message 2100 not found; No message file for product=RDBMS, facility=UL

    Hi, I am trying to run sqlldr. But I got this message: Message 2100 not found; No message file for product=RDBMS, facility=UL; I checked my ORACLE_HOME and it is set to: C:\oraclexe\app\oracle\product\10.2.0\server which includes the folders BIN,RDBM

  • PDF file downloading from server to client

    Hello, I am a newbie to Oralce UCM. Writing a component to merge some PDF files and allow user to save/open it on client side. The file downloaded is of 0 bytes and when opened it says - Adobe Reader could not open the the file because it is either n

  • Missing ActiveX DLLs

    Good morning. After deploying Adobe Reader 11.0.08 within my environment, I have received multiple reports of users being unable to launch PDFs in the browser.  Upon further research, the following files are missing on the reported computers. Locatio

  • Picking Request

    Friends, I had a question on Sales Document flow. When you expand the document flow of Sales Order or a delivery, you see different status like Sales, Delivery, Picking Request, Invoice & Accounting. In that, Can You give me steps to create Picking r

  • Can You Set Snooze Off (by Default) for New Alarms?

    I'd like to be able to have the snooze function off by default when creating alarms using the Clock app (particularly for alarms created via Siri, but also for manually set alarms), but there seems to be no way to do this. Do you have to create the a