Oracle 9i rename db instance

Hi all,
Just inquiring if anyone has used the NID utility successfully to rename a database instance.
This is on a windows env.
Thanks

Check below:
[http://www.oracle-base.com/articles/9i/DBNEWID.php]
[http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch14.htm#1656]
-Anantha

Similar Messages

  • Rename RAC-Instances in 11.2.0.2

    Hi,
    I have two Nodes RAC-Systems Version 11.2.0.2 on Linux Redhat 5.4 X86-64.
    + Node names stb, dwh
    + Database name : RAC
    + Instance-Name 1 : RAC1 on stb
    + Instance-Name 2 : RAC2 on dwh
    After executing the following steps:
    + Delete Instance RAC2 with dbca on dwh
    + Convert Instance RAC1 to Instance RACONE_1 (RAC one node)
    + Relocate Instance RACONE_1 to dwh
    + Convert Instance RACONE_1 (RAC one node) to RACONE ( normal RAC )
    + Add Instance RACONE2 to stb
    Since yesterday after shutdowning the corresponding instance I have tried unsuccessfully to rename the instance RACONE2 resp. RACONE to the previous names RAC1 & RAC2 with srvctl modify on the node with the running instance.
    Can any expert help me?
    Thanks
    hqt200475
    Note: http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/srvctladmin.htm#i1009714 shows:
    srvctl modify instance -d db_unique_name -i instance_name
    {-n node_name | -z}
    Notes:
    * You cannot use this command to rename or relocate a running instance.
    * This command is only available with Oracle Clusterware and Oracle RAC.

    Hi,
    + srvctl stop instance -d -i RACONE2
    + srvctl modify instance -d RAC -i RAC1 -n stb
    Here I have the problem:
    I don't know how to change the name RACONE2 to RAC1 and RACONE to RAC2.
    Do you know the answer?Never tried to change the name of the instance in RAC 11.2.
    But in earlier versions I always perform the following steps to update OCR after changing INSTANCE_NAME in Database (SPFILE).
    We needs to invoke SRVCTL to remove and again add the database information to OCR.
    e.g
    *****before the rename*****
    srvctl stop database -d
    srvctl remove instance -d -i
    srvctl remove instance -d -i
    (repeat above command for each instance as needed)
    *****and after the rename*****
    srvctl add instance -d -i -n
    (repeat above command for each instance as needed)Regards,
    Levi Pereira
    Edited by: Levi Pereira on Jan 30, 2011 10:36 PM

  • Is it possible to rename MSSQL Instance Name

    Hi everyone,
    I have two sql instances installed in two node failover cluster mode, i want to rename one of my sql instance, is it possible to change instance name ,
    if possible please suggest the way how i can rename the instance name. 

    Hello,
    Please read the following article.
    https://msdn.microsoft.com/en-us/library/ms178083.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • (ORACLE 8.X OPS)  INSTANCE GROUP

    제품 : ORACLE SERVER
    작성날짜 : 2004-08-13
    [ORACLE 8.X OPS] INSTANCE GROUP
    ================================
    SCOPE
    Oracle Parallel Server(OPS) Option은 8~9i Standard Edition에서는 지원하지
    않는다.
    Explanation
    Oracle 8이상부터 관리상의 목적으로 인스턴스들을 몇개의 논리적 그룹으로 나누어,
    그룹단위로 작업을 수행할 수 있다.
    인스턴스 그룹은 특정한 목적을 ( 자원 할당, parallel query 등 ) 위해 인스턴스들을 그룹화 시킨 것이다.
    따라서 자원에 대한 partition을 효율적으로 할 수 있게 한다.
    1. Instance Group의 지정방법
    인스턴스 그룹을 지정하기 위해서는 인스턴스 그룹에 포함시킬 인스턴스에서
    initSID.ora file에 INSTANCE_GROUPS를 지정하여야 한다.
    예를 들어 instance 1에서는 파라미터 값을 다음과 같이 지정할 수 있다.
    INSTANCE_GROUPS = groupB, groupD
    그리고 instance 3에서는 다음과 같이 지정되어 있을 수 있다.
    INSTANCE_GROUPS = groupA, groupD
    위와 같은 상황에서 instance 1과 3은 모두 인스턴스 그룹 group D에 속한다. 뿐만 아니라 다른 그룹에도 속한다.
    2. Instance Group의 사용방법
    인스턴스 그룹을 다음 두가지 이유에 따라 사용할 수 있다.
    1) Parallel operation 작업시 group 지정 ( PARALLEL_INSTANCE_GROUP )
    2) GV$에 대한 조회시, 결과를 돌려줄 인스턴스의 지정 ( OPS_ADMIN_GROUP: oracle8.0에서만 사용가능함 )
    PARALLEL_INSTANCE_GROUP과 OPS_ADMIN_GROUP의 기본값은, 실행중인 모든 인스턴스이다.
    a. PARALLEL_INSTANCE_GROUP
    Parallel Operation을 처리할 때 인스턴스 그룹을 지정하기 위해서는 initSID.ora 파일에 다음과 같이 지정해야 한다.
    PARALLEL_INSTANCE_GROUP = groupname
    PARALLEL_INSTANCE_GROUP 파라미터가 지정된 인스턴스에서 발생한
    모든 parallel operation은 그룹내에서 처리된다.
    PARALLEL_INSTANCE_GROUP은 ALTER SESSION이나 ALTER SYSTEM 문으로 값을 바꿀 수 있는 dynamic 파라미터이다.
    기본값은 현재 실행중인 모든 인스턴스이다. PARALLEL_INSTANCE_GROUP에는 그 값을 지정한 인스턴스가 포함되지 않아도 된다.
    b. OPS_ADMIN_GROUP ( Oracle 8.0 ops only)
    GV$ 관련 뷰를 조회할 때 결과를 취합할 인스턴스들은 OPS_ADMIN_GROUP 파라미터로 지정한다.
    Example
    1. Instance Group의 member 조회 방법
    인스턴스 그룹의 멤버들을 조회하기 위해서는 GV$PARAMETER를 조회하면 된다.
    조회 결과로는 INSTANCE_GROUPS 파라미터의 값들이 출력된다.
    2. case study
    인스턴스 1의 initialization 파라미터 파일에 다음과 같이 지정되어 있다.
    INSTANCE_GROUPS = Ga, Gb
    PARALLEL_INSTANCE_GROUP = Gb
    인스턴스 2의 initialization 파라미터 파일에 다음과 같이 지정되어 있다.
    INSTANCE_GROUPS = Gb, Gc
    PARALLEL_INSTANCE_GROUP = Gc
    인스턴스 1에서 다음과 같은 명령을 수행할 때는 Gb 그룹에 속하는 인스턴스들에서 작업이 수행된다.
    두개의 parallel server process가 인스턴스 1과 2에서 생성된다.
    ALTER TABLE table PARALLEL (DEGREE 2 INSTANCES 2);
    SELECT COUNT(*) FROM table;
    만약 아래 명령을 인스턴스 2에서 수행시키면 Gc 그룹이 사용된다. 이때 두개의 parallel server process는 인스턴스 2에서만 생성된다.
    ALTER SESSION SET PARALLEL_INSTANCE_GROUP = 'Gc';
    SELECT COUNT(*) FROM table;
    다음 명령을 인스턴스 1에서 실행시키면 기본 인스턴스 그룹 ( 모든 인스턴스 ) 이 사용된다.
    두개의 parallel server process가 인스턴스 1, 2 에서 생성된다.
    ALTER SESSION SET PARALLEL_INSTANCE_GROUP = '';
    SELECT COUNT(*) FROM table;
    Reference Ducumment
    Oracle8 Parallel Server Concepts & Administration

    제품 : ORACLE SERVER
    작성날짜 : 2004-08-13
    [ORACLE 8.X OPS] INSTANCE GROUP
    ================================
    SCOPE
    Oracle Parallel Server(OPS) Option은 8~9i Standard Edition에서는 지원하지
    않는다.
    Explanation
    Oracle 8이상부터 관리상의 목적으로 인스턴스들을 몇개의 논리적 그룹으로 나누어,
    그룹단위로 작업을 수행할 수 있다.
    인스턴스 그룹은 특정한 목적을 ( 자원 할당, parallel query 등 ) 위해 인스턴스들을 그룹화 시킨 것이다.
    따라서 자원에 대한 partition을 효율적으로 할 수 있게 한다.
    1. Instance Group의 지정방법
    인스턴스 그룹을 지정하기 위해서는 인스턴스 그룹에 포함시킬 인스턴스에서
    initSID.ora file에 INSTANCE_GROUPS를 지정하여야 한다.
    예를 들어 instance 1에서는 파라미터 값을 다음과 같이 지정할 수 있다.
    INSTANCE_GROUPS = groupB, groupD
    그리고 instance 3에서는 다음과 같이 지정되어 있을 수 있다.
    INSTANCE_GROUPS = groupA, groupD
    위와 같은 상황에서 instance 1과 3은 모두 인스턴스 그룹 group D에 속한다. 뿐만 아니라 다른 그룹에도 속한다.
    2. Instance Group의 사용방법
    인스턴스 그룹을 다음 두가지 이유에 따라 사용할 수 있다.
    1) Parallel operation 작업시 group 지정 ( PARALLEL_INSTANCE_GROUP )
    2) GV$에 대한 조회시, 결과를 돌려줄 인스턴스의 지정 ( OPS_ADMIN_GROUP: oracle8.0에서만 사용가능함 )
    PARALLEL_INSTANCE_GROUP과 OPS_ADMIN_GROUP의 기본값은, 실행중인 모든 인스턴스이다.
    a. PARALLEL_INSTANCE_GROUP
    Parallel Operation을 처리할 때 인스턴스 그룹을 지정하기 위해서는 initSID.ora 파일에 다음과 같이 지정해야 한다.
    PARALLEL_INSTANCE_GROUP = groupname
    PARALLEL_INSTANCE_GROUP 파라미터가 지정된 인스턴스에서 발생한
    모든 parallel operation은 그룹내에서 처리된다.
    PARALLEL_INSTANCE_GROUP은 ALTER SESSION이나 ALTER SYSTEM 문으로 값을 바꿀 수 있는 dynamic 파라미터이다.
    기본값은 현재 실행중인 모든 인스턴스이다. PARALLEL_INSTANCE_GROUP에는 그 값을 지정한 인스턴스가 포함되지 않아도 된다.
    b. OPS_ADMIN_GROUP ( Oracle 8.0 ops only)
    GV$ 관련 뷰를 조회할 때 결과를 취합할 인스턴스들은 OPS_ADMIN_GROUP 파라미터로 지정한다.
    Example
    1. Instance Group의 member 조회 방법
    인스턴스 그룹의 멤버들을 조회하기 위해서는 GV$PARAMETER를 조회하면 된다.
    조회 결과로는 INSTANCE_GROUPS 파라미터의 값들이 출력된다.
    2. case study
    인스턴스 1의 initialization 파라미터 파일에 다음과 같이 지정되어 있다.
    INSTANCE_GROUPS = Ga, Gb
    PARALLEL_INSTANCE_GROUP = Gb
    인스턴스 2의 initialization 파라미터 파일에 다음과 같이 지정되어 있다.
    INSTANCE_GROUPS = Gb, Gc
    PARALLEL_INSTANCE_GROUP = Gc
    인스턴스 1에서 다음과 같은 명령을 수행할 때는 Gb 그룹에 속하는 인스턴스들에서 작업이 수행된다.
    두개의 parallel server process가 인스턴스 1과 2에서 생성된다.
    ALTER TABLE table PARALLEL (DEGREE 2 INSTANCES 2);
    SELECT COUNT(*) FROM table;
    만약 아래 명령을 인스턴스 2에서 수행시키면 Gc 그룹이 사용된다. 이때 두개의 parallel server process는 인스턴스 2에서만 생성된다.
    ALTER SESSION SET PARALLEL_INSTANCE_GROUP = 'Gc';
    SELECT COUNT(*) FROM table;
    다음 명령을 인스턴스 1에서 실행시키면 기본 인스턴스 그룹 ( 모든 인스턴스 ) 이 사용된다.
    두개의 parallel server process가 인스턴스 1, 2 에서 생성된다.
    ALTER SESSION SET PARALLEL_INSTANCE_GROUP = '';
    SELECT COUNT(*) FROM table;
    Reference Ducumment
    Oracle8 Parallel Server Concepts & Administration

  • Possible in 8i to rename an instance ?

    I've got an instance that the suits say is a controversial
    name.... say warrior.
    They want it renamed to something 'business like' such as ;
    lx101c or linux1 or something.
    I couldn't find any cookbook on doing this, so I thought I'd ask
    the crowd if anyone's had the pleasure.
    By trying, failing, and falling back to square 1,
    I know some of the things I need to keep in mind are :
    1. /etc/oratab
    2. initwarrior.ora vs. initlinux1.ora
    3. tnsnames.ora
    4. listener.ora
    5. altering / changing the database name in the control files
    somehow. This is the part that laughs at me.
    If anybody can lend advice, I'd appreciate it.
    - Freddy
    [email protected]
    null

    Here is a copy of the notes that I've gleened off the web
    in expectation of needing the info' myself. I've yet to
    try them out (or tidy them up!) but they should get you
    started,
    colin.
    >> Article on how to modify a database to run under a new
    ORACLE_SID.
    This entry describes how to change the ORACLE_SID for an
    instance, without
    recreating the database.
    1. Shutdown the instance
    2. Backup all control, redo, and data files.
    3. Go through the .profile, .cshrc, .login, oratab,
    tnsnames.ora,
    (for net v2), and redefine the ORACLE_SID environment
    variable
    to a new value.
    For example, search through disks and do a grep ORACLE_SID *
    4. Change locations to the "dbs" directory
    % cd $ORACLE_HOME/dbs
    and rename the following files:
    o init<sid>.ora (or use pfile to point to the init
    file.)
    o control file(s) This is optional if you do not rename
    any
    of the controlfiles, and the control_files parameter is
    used.
    The control_files parameter is set in the init<SID>.ora
    file
    or in a file it references with the ifile parameter.
    Make
    sure that the control_files parameter does not point to
    old
    file names, if you have renamed them.
    o crdb<sid>.sql & crdb2<sid>.sql This is optional. These
    are
    only used at database creation.
    5. Change locations to the "rdbms/admin" directory
    % cd $ORACLE_HOME/rdbms/admin
    and rename the file:
    o startup<sid>.sql This is optional. On some
    platforms,
    this file may be in the "$ORACLE_HOME/rdbms/install"
    directory.
    Make sure that the contents of this file do not
    reference old
    init<SID>.ora files that have been renamed. This file
    simplifies the "startup exclusive" process to start your
    database.
    6. To rename the database files and redo log files, you would
    follow the
    instructions in the RTSS bulletin 98863.723.
    7. Change the ORACLE_SID environment variable to the new value.
    8. Check in the "$ORACLE_HOME/dbs" directory to see if the
    password
    file has been enabled. If enabled, the file orapw<OLD_SID>
    will
    exist and a new password file for the new SID must be
    created
    (renaming the old file will not work). If orapw<OLD_SID>
    does not
    exist, skip to step 9. To create a new password file, issue
    the following command as oracle owner:
    orapwd file=orapw<NEWSID> password=?? entries=<number of
    users to be
    granted permission to start the database instance>
    9. Start up the database and verify that it works. Once you
    have done
    this, shutdown the database and take a final backup of all
    control,
    redo, and data files.
    10. When the instance is started, the control file is updated
    with the
    current ORACLE_SID.
    >> Article on how to modify a database to run under a new
    ORACLE_SID.
    This entry describes how to change the "db_name" for a database
    without
    recreating the database.
    1. Login to SQL*DBA or Server Manager
    % sqldba
    SQLDBA> connect internal
    2. Type
    SQLDBA> alter database backup controlfile to trace
    resetlogs;
    This will write in a trace file, the "CREATE CONTROLFILE"
    command that
    would recreate the controlfile as it currently exists.
    3. Exit SQL*DBA
    SQLDBA> exit
    4. Change locations to the directory where your trace files are
    located.
    They are usually in the $ORACLE_HOME/rdbms/log directory. If
    user_dump_dest is set in the init<SID>.ora file, then go to
    the
    directory listed in the user_dump_dest variable. The trace
    file will
    have the form "ora_NNNN.trc with NNNN being a number.
    5. Get the "CREATE CONTROLFILE" command from the trace file and
    put it in a
    new file called something like "ccf.sql".
    6. Edit the "ccf.sql" file
    FROM: CREATE CONTROLFILE REUSE DATABASE "olddbname"
    NORESETLOGS ...
    TO: CREATE CONTROLFILE set DATABASE "newdbname" RESETLOGS
    7. Save and exit the "ccf.sql" file
    8. Rename the old control files for backup purposes and so they
    are
    not in the way of creating the new ones.
    9. Edit the init<SID>.ora file so that db_name="newdb_name" .
    10. Login to SQL*DBA or Server Manager
    % sqldba
    SQLDBA> connect internal Type:
    11. Startup
    SQLDBA> startup nomount
    12. Run the "ccf.sql" script
    SQLDBA> @ccf
    13. Issue the alter database command
    SQLDBA> alter database open;
    14. Make sure the database is working.
    15. Shutdown and backup the database.
    Some said to this...
    This doc is for v7, the problem that I am having is with v8. I
    use basically
    the same steps, except I do a reuse for the controlfile. The
    problem that I
    am having is not being able to reset the database id the new (in
    v8) unique
    identifier for each database. I don't know if taking the reuse
    out of the
    create controlfile script will be different because the reuse is
    only
    supposed to say reuse the file not any of the data within the
    file, thereby
    logically the dbid is stored in the data dictionary not the
    control file.
    >> Changing a D/B to run under a new ORACLE_SID
    1. Shutdown instance
    2. Backup all control, redo and data files.
    3. Go thru the .profile, .cshrc, .login, oratab,
    tnsnames.ora(for net v2),
    and redefine the environment variable ORACLE_SID to a new
    value.
    ie search thru disks and do a grep ORACLE_SID *
    4. Rename the following files in $ORACLE_HOME/dbs
    . init<sid>.ora
    (or use pfile to point to the init file.)
    . control file(s)
    This is optional if you don't rename any of the
    controlfiles, and the
    control_files parameter is used. control_files would be
    set in the
    init<sid>.ora file or in a file it references with the
    ifile parameter.
    Make sure control_files doesn't point to any old file
    names, if you
    renamed them.
    . crdb<sid>.sql & crdb2<sid>.sql
    This is optional. These are only used at database
    creation.
    5. Rename the following files in $ORACLE_HOME/rdbms/admin
    . startup<sid>.sql
    This is optional.
    On some platforms, this file may be in
    $ORACLE_HOME/rdbms/install
    Make sure the contents of this file do not reference old
    init<sid>.ora
    files that have been renamed. This file simplifies the
    process to
    "startup exclusive" your database.
    6. To rename the database files and redo log files, you would
    follow the
    instructions in the bulletin: 98863.723.
    7. Change the ORACLE_SID environment variable to the new value.
    8. start up database and verify it works. Once you have done
    this, shutdown
    the database and take a final backup of all control, redo
    and data files.
    9. When the instance is started, the control file gets updated
    with the
    current ORACLE_SID.
    >> Changing the dbname for a database.
    1. sqldba
    2. connect internal
    3. alter database backup controlfile to trace;
    This will write in a trace file, the CREATE CONTROLFILE
    command that
    would recreate the controlfile as it currently exists.
    4. Exit and go to the directory where your trace files are
    located.
    They are usually in the $ORACLE_HOME/rdbms/log directory.
    If user_dump_dest is set in the initSID.ora, then go to the
    directory
    listed in the user_dump_dest variable.
    The trace file will have the form "ora_NNNN.trc with NNNN
    being a number.
    5. Get the CREATE CONTROLFILE command from the trace file and
    put it in a
    new file called something like ccf.sql.
    6. Edit the ccf.sql file and modify the CREATE CONTROLFILE
    command.
    Just change the word "REUSE" to "SET",and "NORESETLOGS" to
    "RESETLOGS",
    and modify the dbname.
    Old line:
    CREATE CONTROLFILE REUSE DATABASE "olddbname"
    NORESETLOGS ...
    New line:
    CREATE CONTROLFILE set DATABASE "newdbname" RESETLOGS
    Then save the ccf.sql file.
    7. Rename the old control files for backup purposes and so they
    are not in
    the way of creating the new ones.
    8. Edit initSID.ora so that db_name="newdbname".
    9. sqldba
    10. connect internal
    11. startup nomount
    12. @ccf
    13. alter database open;
    14. Make sure the database is working. Shutdown and backup the
    database.
    null

  • Which is better?    Two Oracle user in one instance OR  in two instances?

    Which is better?
    I could not find any benchmark for number of instances per user
    in the same machine.
    suppose that you have two major Oracle user, from performance
    point of view it is better to make separate instances in same
    machine or keep these two users in the same instance.

    Hi.
    I understand that you will use oracle for two different
    applications on the same host.
    Each instance has its SGA and background processes. So, using
    two different schemas(users) in one instance you can share
    phisical memory between the applications. Concerning background
    processes, you can start as many of them as you wish, so it's
    not a problem. If you decided that one DBW is not enough, you
    could configure oracle to use two or more.
    best regards,
    Andrew

  • Rename asm instance in RAC

    Hello,
    ClusterWare 11.2.0.3 + RAC db same version .
    I need to rename one of the ASM instances
    How can this be done ?
    the situation is as follows , I needed to take one of the server out of the cluster and then bring him back in .
    when I have added him , he got a new ASM instance name (was ASM1 now it got ASM3 , 2 node rac) ,
    thanks
    S.

    Sahar wrote:
    ClusterWare 11.2.0.3 + RAC db same version .
    I need to rename one of the ASM instancesNo you don't. Supply reasons and justification for wanting to changes the SID of an ASM instance,
    the situation is as follows , I needed to take one of the server out of the cluster and then bring him back in .
    when I have added him , he got a new ASM instance name (was ASM1 now it got ASM3 , 2 node rac) ,So? What is wrong with an instance called +ASM3 in a 2 node RAC? How does that now reduce and impair cluster functionality?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Oracle 11g OMS: Database Instance Home Tab:  Page Refreshed Timezone Issue

    Hi all...I've searched the forums and search engines for specific information on this issue, but have not seen a viable solution so far. We have Oracle 11g Grid Control 11.1.0.1
    installed on a Solaris V490 using Solaris 10, with an Oracle 11.2.0.1 database.
    The Database instance Home tab for all 50+ databases shows the date and time of the 'Page Refreshed' in GMT. The OS and the Agent software both are configured
    with the TZ set to US/Eastern. All other page displays e.g. Performance, Availability for Data Guard Standby etc. all show the refreshed time in EDT, it is ONLY
    the Home tab for the instance that has the GMT format.
    I have not seen any threads or other information that describes specifically how to correct this or even to change it. There are many related posts about the Agent
    end.properties, the OS /etc/timezone configuration parameters, the TZ environment variable etc. but in my case they are all set properly.
    Does anyone have any additional ideas or suggestions or knowledge about how , or even whether, this can be resolved?
    Thanks!
    DPH

    sqlplus ... Connected to an idle instance.That means the database you're trying to connect with is offline, thus the:
    ORA-01034: ORACLE not availableNo big surprise there, instance (that you're trying to connect with) is offline.
    First, make sure the service OracleServiceXE for the database is running, see the services applet, Start/Run/services.msc and if it does not show "Started" hit the Start button with the OracleServiceXE selected.
    sqlplus sys/admin@XE as sysdbaThat connection attempt uses sqlnet to the XE tnsalias. If you're on the database host the ...@XE part is not needed, better to use:
    $ sqlplus /nolog
    connect /as sysdba;
    ... Connected. #if its running
    -- or use:
    $ sqlplus
    ... username: sys as sysdba
    ... password ...
    Connected.
    -- also try
    $ sqlplus system
    ... password: ....
    Connected.
    select name from v$database;
    ...That also assumes the environment/registry entries have been configured correctly.
    tnsping XE ... Attempting to contact [tnsalias connect details] ... OK (10 msec)That tells you the listener is running. It does not mean anything more than your listener is running at the host and port specified for your tnsalias are correct. It does not attempt an actual database connection. So if the database is offline but the listener is running a tnsping will not identify that particuler "problem".
    lsnrctl status ... Endpoints Summary ... PROTOCOL=tcp)(HOST=chilakamarthy)(PORT=1521)))...That bit of info also verifies the listener is running. Again, check your services.msc applet make sure the service shows Started.
    Edited by: clcarter on Jun 7, 2012 2:15 PM
    clarify tnsping

  • Oracle financials on one instance and PO,PA,EAM, Inventory etc on another

    Hi all,
    Can any one suggest a possible solution architecture with Oracle HRMS and Financial suite on one instance and all other modules like PO, PA, Inventory, EAM etc on another instance?
    Regards,
    Rajesh

    Please open a new thread for new questions.
    In your case, here is what you can do
    1) Manually copy all HR setups from HR instance to the SCM instance.
    2) Extract data such as employees, assignments etc.c from HR instance
    3) Load the data into the SCM instance using API/Interfaces.
    4) Retire HR instance.
    Hope this answers your question
    Sandeep Gandhi
    Omkar Technologies Inc.
    Independent Techno-functional Consultant
    513-325-9026

  • Oracle installation with 2 instance

    Hi,
    We had one instance installed on the system. We are now installing the new instance for CE 71 on hp with oracle.
    The database installation is conplete, and SAP installation is still in progress.
    While running the OUA, the runInstaller gave me
    1) issues with the permission mode of /oracle/oraInventory (orainst.loc, oraInstroot.sh and locks directory). I did change the permissions and continued with the DB installation.
    2) When runInstaller asked me to run root.sh, it asked for the local path of the bin directory (usr/local/bin, which had files for oraenv, dbhome and coraenv for new user ora<OLDSID>).
    I specified it as a new folder /usr/local/newbin (where it created the files for oraenv, dbhome and coraenv for new user ora<NEWSID>)
    Could you please create let me know whether I followed a wrong step? Also, is there a need to add the new directory to /usr/local/newbin to path?
    please advise.
    Thanks,
    Antarpreet

    > We had one instance installed on the system. We are now installing the new instance for CE 71 on hp with oracle.
    > The database installation is conplete, and SAP installation is still in progress.
    Did you read the installation guide? Usually your start with sapinst and start the installation. SApinst stops and request you to install the database using the script RUNINSTALLER (you don't use runInstaller or DBCA or other Oracle tools) and then you move on with the installation.
    If you follow all those steps it's not necessary to adapt any environments or to change settings.
    This is thoroughly described in the installation guide.
    Markus

  • Windows 64-Bit Oracle DBCA creating new Instance ORA-27102: out of memory

    Wondering has anyone encountered this?
    We are running Oracle 10 R2 running on Windows Server 2003 ( This database is on a 64-bit Platform)
    Memory capacity is 16 GB on the server.
    We are using DBCA to streamline db creation of the new “EDR” DB instance – here are a few different attempts we’ve done:
    (all have failed )
    FYI - during this installation we’ve monitored the memory allocation/usage of the Windows Server and there
    was about 13-14 GB Free
    The existing instance takes up less than 4GB of space.
    We tried following:
    1. Allocating 8GB of Memory to new EDR Instance without shutting down other Oracle Instance.
    2. Allocating 8GB of Memory to new EDR Instance and shutting down other Oracle Instance
    3. Rebooted Server keeping other oracle instance shutdown.
    4. After Reboot Allocated 8GB to new EDR Instance
    5. Attempted allocating less memory 2GB to new EDR instance
    6. Early this morning we also tried omitting backup scheduling as part of configuration for DBCA
    for that instance.
    Each time we received error in DBCA GUI during DB Creation at 2% completion
    ORA-27102: out of memory
    oraclehome\product\10.2.0\db_1\cfgtoollogs\dbca\EDR
    (cloneRmanRestore.log) first set of file created. (along with a RmanRestoreDatafile.sql, which failed (see log below)
    then halted install/creation of DB
    ORA-27102: out of memory
    OSD-00025: additional error information
    O/S-Error: (OS 1453) Insufficient quota to complete the requested service.
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    O/S-Error: (OS 1453) Insufficient quota to complete the requested service.
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information

    After much effort it was discovered it was a setting during the installation of a parameter which caused this error. Using the TEMPLATE to create a new instance, you can setup parameters
    LOCK_SGA = TRUE
    causes this error. In addition if in our situation, even if we did not use the "template" created a barebones DB instance. Once the parameter is updated in SQL*Plus it will cause the datbase to be in a in operable state.
    You can start it up with a PFILE to fix it, In windows it required modifying the registry to FORCE the PFILE to load, by running on the commandline to use the PFILE it failed.
    Hope this helps someone in the future..
    ON WINDOWS DONT USE
    LOCK_SGA = TRUE
    It may work fine for Unix/LINUX OS? But in our current config it had problems.

  • Oracle Crashes - CKPT: TERMINATING INSTANCE

    When ever I try to create the following MV , the oracle instance crashes and I
    have to reboot the server.
    Database: 9.0.1 on Window NT
    CREATE MATERIALIZED VIEW HAR.DPREC_PATIENT_NAME
    PCTFREE 10 PCTUSED 40 INITRANS 2 MAXTRANS 255
    STORAGE(
    INITIAL 100 K
    NEXT 100 K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    FREELISTS 1
    FREELIST GROUPS 1
    BUFFER_POOL DEFAULT
    TABLESPACE SDM
    NOLOGGING
    NOCACHE
    NOPARALLEL
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
    STORAGE(
    INITIAL 1024 K
    NEXT 1024 K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    FREELISTS 1
    FREELIST GROUPS 1
    BUFFER_POOL DEFAULT
    REFRESH FORCE
    ON DEMAND
    START WITH TO_DATE('19-Aug-2004 09:37:40','dd-mon-yyyy hh24:mi:ss')
    NEXT SYSDATE + 1
    WITH PRIMARY KEY
    USING DEFAULT LOCAL ROLLBACK SEGMENT
    -- ENABLE QUERY REWRITE ( Cannot use this option with SYSDATE)
    AS
    SELECT DISTINCT(OAK.SERVICE_EVENT.CLIENT_ID),
    OAK.PERSON_NAME.NAME_CREATED_TMSTMP, OAK.PERSON_NAME.NAME_DEACTIVATED_TMSTMP,
    OAK.PERSON_NAME.PREFERRED_GIVEN_NAMES,OAK.PERSON_NAME.PREFERRED_SURNAME
    FROM
    OAK.PERSON_NAME@DPREC, OAK.DEPARTMENTAL_PATIENT_RECORD@DPREC,
    OAK.SERVICE_EVENT@DPREC
    WHERE
    OAK.DEPARTMENTAL_PATIENT_RECORD.SERVICE_ID = OAK.SERVICE_EVENT.SERVICE_ID AND
    OAK.SERVICE_EVENT.PERSON_ID = OAK.PERSON_NAME.PERSON_ID AND
    OAK.SERVICE_EVENT.EFFECTIVE_TO_TMSTMP > SYSDATE AND
    OAK.DEPARTMENTAL_PATIENT_RECORD.EFFECTIVE_TO_TMSTMP > SYSDATE AND
    OAK.PERSON_NAME.EFFECTIVE_TO_TMSTMP > SYSDATE;
    Got the following error in Alert log after this query
    Mon Oct 25 14:05:54 2004
    CKPT: terminating instance due to error 472
    Instance terminated by CKPT, pid = 498
    and there is no PMON or CKPT trace file created.
    When I try to restart the database I Get the following errors:
    Mon Oct 25 14:11:34 2004
    ORA-00202: controlfile: 'g:\oradata\sdmp\cntl01.ora'
    ORA-27086: skgfglk: unable to lock file - already in use
    OSD-04002: unable to open file
    O/S-Error: (OS 5) Access is denied.
    It works fine when I reboot the server.
    Any Idea ??

    Yea there are many third party vendor softwares we are currently using in data Warehouse. But this error never occured before when we created MV's
    Any Idea. ??

  • Oracle XE switching between instances

    Hi,
    I've installed oracle XE and created second database. Currently, I have two databases, can switch between them and have 8GB of user data available, even in separate DBs. I wonder, if this is license agreement complient. Only one instance is running at a time, have only one instalation...
    Thanks in advance Jakub
    Edited by: user11108056 on 25.5.2010 5:16

    There is one more reference about licensing in instalation manual:
    On a single computer, only one installation of the Oracle Database XE software can be performed. This does not affect any existing installation or new installations of Oracle Database 10g Standard Edition, Oracle Database 10g Standard Edition One, or Oracle Database 10g Enterprise Edition. In addition, users can run only one instance of the Oracle Database XE database on each individual computer. To run more than one Oracle Database server instance or install more than one copy of the database software, upgrade to Oracle Database 10g Standard Edition, Oracle Database 10g Standard Edition One, or Oracle Database 10g Enterprise Edition.
    But even this does not look like a problem to me...
    Jakub
    Edited by: user11108056 on 25.5.2010 7:10

  • Oracle 11.2 default instance volume is 50 GiB - How can I increase size?

    Hi,
    I created an ebs Oracle 11.2 instance that defaulted to a volume size of 50GiB.
    Does anyone know how to increase the volume size to 300GiB?
    This didn't work:
    I created another volume (300Gib), attached it to the instance, mounted the drive, but when I ran the Oracle install script - that drive didn't show up:
    Select a disk device to store your datafiles and redo logs on:
    ID DEVICE_NAME
    [0] Refresh List
    [1] Use Default
    [2] /dev/sdc1
    Thanks.

    I didnt have any luck with the scripts it comes with the AMI so I just cut and paste of what I need heres the script I use.
    You can mount the 300G to /u02 or whatever you want
    and change the ORACLE_SID to <YOUR_SID_NAME>
    Also you have to run it as user oracle instead of Root
    and make sure that the ORACLE_HOME is correct
    ORACLE_SID=<YOUR_SID_NAME>
    SID=${ORACLE_SID}
    GLOBAL_NAME=${SID}
    SYS_PWD=s
    SYSTEM_PWD=s
    DBSNMP_PWD=s
    SYSMAN_PWD=s
    DBF_MOUNT=/u02
    FRA_MOUNT=/u02
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
    DBCA_TEMPLATE_DIR=${ORACLE_HOME}/assistants/dbca/templates
    DBCA_TEMPLATE_NAME=${DBCA_TEMPLATE_DIR}/General_Purpose.dbc
    ORACLE_OWNER=oracle
    DBCA=${ORACLE_HOME}/bin/dbca
    SQLPLUS=${ORACLE_HOME}/bin/sqlplus
    EMCTL=${ORACLE_HOME}/bin/emctl
    DB_FILE_DIR=${DBF_MOUNT}/oradata
    RECO_AREA=${FRA_MOUNT}/flash_recovery_area
    CHARSET=AL32UTF8
    export ORACLE_SID=${SID}
    mkdir -p ${DBF_MOUNT}/admin/${ORACLE_SID}
    mkdir -p ${DBF_MOUNT}/admin/${ORACLE_SID}/dbs
    mkdir -p ${DBF_MOUNT}/admin/${ORACLE_SID}/adump
    export EMKEY_LOCATION=${DBF_MOUNT}/admin/${ORACLE_SID}/dbs
    echo
    echo "Please wait while your database is created..."
    echo
    ${DBCA} -silent -createDatabase -templateName ${DBCA_TEMPLATE_NAME} -gdbName ${GLOBAL_NAME} -sid ${SID} -sysPassword ${SYS_PWD} -systemPassword ${SYSTEM_PWD} -dbsnmpPassword ${DBSNMP_PWD} -sysmanPassword ${SYSMAN_PWD} -emConfiguration LOCAL -storageType FS -datafileJarLocation ${DBCA_TEMPLATE_DIR} -sampleSchema true -datafileDestination ${DB_FILE_DIR} -recoveryAreaDestination ${RECO_AREA} -characterSet AL32UTF8
    RV=$?
    if [ $RV -ne 0 ]
    then
    echo
    echo "There was a problem creating your database.  Please review the log file shown above."
    else
    ${EMCTL} stop dbconsole
    ${SQLPLUS} /nolog << EOF
    ${SQLPLUS} /nolog << EOF
    connect / as sysdba
    alter system set audit_file_dest='${DBF_MOUNT}/admin/${ORACLE_SID}/adump' scope=spfile;
    EXEC DBMS_XDB.SETHTTPPORT(8080);
    ALTER USER anonymous ACCOUNT UNLOCK
    @${ORACLE_HOME}/apex/.apxxepwd_custom.sql ${APEX_PWD}
    shutdown immediate
    exit
    EOF
    mv $ORACLE_HOME/dbs/spfile${ORACLE_SID}.ora ${DBF_MOUNT}/admin/${ORACLE_SID}/dbs/.
    mv $ORACLE_HOME/dbs/orapw${ORACLE_SID} ${DBF_MOUNT}/admin/${ORACLE_SID}/dbs/.
    ln -s ${DBF_MOUNT}/admin/${ORACLE_SID}/dbs/spfile${ORACLE_SID}.ora ${ORACLE_HOME}/dbs/.
    ln -s ${DBF_MOUNT}/admin/${ORACLE_SID}/dbs/orapw${ORACLE_SID} ${ORACLE_HOME}/dbs/.
    ${SQLPLUS} /nolog << EOF
    connect / as sysdba
    startup mount
    alter database archivelog;
    alter database open;
    exit
    EOF
    ${SQLPLUS} /nolog << EOF
    connect sysman/${SYSMAN_PWD}
    @/home/oracle/scripts/osbws/submit_osb_cloud_backup.pls
    exit
    EOF
    ${EMCTL} start dbconsole
    echo
    grep ORACLE_SID /home/oracle/.bash_profile > /dev/null 2>&1
    if [ $? -eq 0 ]
    then
    echo "Not adding ORACLE_SID=${SID} to /home/oracle/.bash_profile"
    echo "because ORACLE_SID is already set in that file."
    else
    echo "Adding ORACLE_SID=${SID} to /home/oracle/.bash_profile"
    echo "export ORACLE_SID=${SID}" >> /home/oracle/.bash_profile
    fi
    OH="\/u01\/app\/oracle\/product\/11.2.0\/db_1"
    cp /etc/oratab /tmp/oratab.bak
    sed "s/${ORACLE_SID}:${OH}:N/${ORACLE_SID}:${OH}:Y/" /tmp/oratab.bak > /etc/oratab
    echo
    echo "The database was created successfully."
    fi
    echo
    echo
    /home/oracle/scripts/setup_osbws.sh
    echo
    echo "You can connect to your database as follows:"
    echo
    echo "Command Line: sqlplus sys/<your-password> as sysdba"
    echo "Enterprise Manager Database Console: https://${ORACLE_HOSTNAME}:<port number>/em e.g. https://${ORACLE_HOSTNAME}:1158/em"
    echo "Oracle Application Express (APEX): http://${ORACLE_HOSTNAME}:<port number>/apex e.g. http://${ORACLE_HOSTNAME}:8080/apex"
    echo "Actual ports numbers can be found in ${ORACLE_HOME}/install/portlist.ini file. If this is the first database being created on this machine, the above example URLs should work."
    echo
    echo "Thank You for choosing Oracle Database on EC2."Edited by: vxwo0owxv on May 11, 2011 1:01 PM

  • Oracle Data Guard, SAP instances not coming up after switchover

    Dear Experts,
    We have implemented Dataguard, Uisng Maximum performance with real time apply (redo log apply). Redo logs are apply from primary to standby perfectly. And the SAP Instances are up and running, when we create a user in primary its reflecting in standby server.
    When i do the the switchover from primary <--> standby. There is no communication between R3 and database. I have refered the Note 400241, have not got the solution. I changed the password of the OPS$ user uisng brtools utility. Still getting the r3trans return code 0012.
    O/s-Windows 2003 server
    DB- Oracle 10g
    SAP ECC 6.0
    Regards,
    Nisar

    Hi Nisar,
    We would like to implement the data guard , the system landscapes are also similar to your site. Can u pls give me the documentation which explains step by step configuration. We are not able to activate oracle enterprise manager where the configuration is slightly simple. Is it possible to have the primary and standy database with same db_name?. Pls help to proceed further.
    Regards
    SK

Maybe you are looking for

  • IPod classic 80gb mb1477ll unknown error 53/50 when trying to sync?

    So I have a 80gb ipod mb1477ll, and when I try to sync I get a couple hundred songs done and I get a "song title" cannot be be transferred because of an unknown error 53 or sometimes 50. I also sometimes get a "users" ipod failed because disk is not

  • I have a PC (not Mac/apple computer) with dual monitors.

    I have a problem with itune in full screen blacking out my second monitor. How do I fix this problem?

  • Image Overflow indicator for InDesign

    Does anyone know if there is any software out there that can detect if an image file that has been pulled into InDesign is being cut off because the image isn't properly scaled in the image box. Something that works similar to a text overflow box err

  • Oop's ram

    I bought 2 x 1GB 240-Pin 128Mx64 DDR2 PC2-5300 Unbuffered RAM from crucial. Now in system profile the new ram shows speed PC2-3200U-288 and for the built-in ram PC2-4200U-444. Have I installed a lesser upgrade against the original pair? Thanks

  • Bridge to create thumbnails from web application

    Hi all, I'm looking for a solution to create thumbnails on my web application server (eps, ai, psd.. files). Did you think that it a good idea (and possible) to use Bridge on a server (I have a licnese for InDesign server) to generate thumbnails with