Duplicate instance number from dba_hist_database_instance

We have a 3 node RAC and the instance names are rcmp1, rcmp2 and rcmp3 but when we query dba_hist_database_instance it shows one duplicate entry.... as below... any help is appreciated
select distinct
wr.dbid dbbid
, wr.instance_number instt_num
, wr.db_name dbb_name
, wr.instance_name instt_name
, wr.host_name host
from dba_hist_database_instance wr ;SQL> 2 3 4 5 6 7
DBBID INSTT_NUM DBB_NAME INSTT_NAME HOST
2701774225 1 RCMP rcmp1 rmodbp03
2701774225 3 RCMP rcmp3 rmodbp07
2701774225 1 RCMP rcmp2 rmodbp05
2701774225 2 RCMP rcmp2 rmodbp05
Thanks in advance

A change in host name can be a reason for a "duplicate" in the Workload Repository table. In which case you will have the old and new hostnames for the same instance, resulting in what seems to be a duplicate. (as is in my case when an idiot Unix sysadmin mucked around with the hostname on one node and removed the domain name from it, resulting in a non fully qualified hostname)
In your case, it seems that the instance config on host rmodbp05 (which is not fully qualified!) had its instance number updated/changed at some time.. It was instance 1 and now it is instance 2?
That seems like a problem with the original install, or a mess up that was caused when node 3 was inserted into the RAC?

Similar Messages

  • Wrong port (5xx00) after migration to other instance-number...

    On a solution manager system (7.01) someone have migrated to a different instance-number (from 72 to 4)...
    But the port for some services is the old one (57200 not 50400)...
    The hostname in the URL is wrong too (the old ones)...
    i.e. when we click J2EE-Config in solman_setup it doesnt work....we must change the port and host in URL manually..
    Unfortunetly we don't make the migration by our own, so we must solve the problem without further infos about the migration...
    Is there a central point, where we can change the port or hostname (NWA or Visual Admin) ?
    Or is there a point where i can search for the still wrong instance-number in the J2EE-Config ?
    In the Visual-Admin the HTTP Provider Port is on the right value (50400)...
    Edited by: Christoph Bastian on Aug 16, 2011 1:40 PM

    Hello Sunny,
    thanks for your answer...
    We have checked the profiles (RZ10) already, but there is no old value...
    best regards
    Christoph

  • How to change instance number on new SSM

    Hi,
    I just finished installing SSM4 on RHEL4/Oracle.
    In sapinst I missed changing the default central instance number from 01 (I intended to make it 60).
    Is there a procedure to change the instance number (SAPSYSTEM in profiles)?
    Thanks.
    Stephen S.

    There is an OSS Note how to change an InstanceID at OS level.
    1) SAP profiles
    2) start scripts
    3) env. vars. files from SIDadm and oraSID
    4) links at FS level

  • Showing "Instance" Number for documents

    When I print a document, I would like to know which version of the documents is the print-out based on. If I can show the "Instance" number from "Change Log" it would be great.
    Does anyone has an idea how this can be done? Thanks in advance.
    -Alan

    Use translation rules and profiles applied to appropriate dial peers.
    Chris
    Sent from Cisco Technical Support iPhone App

  • Change Instance Number

    Hi,
    I have a SAP Enterprise 470 system.
    OS: HP-UX 11.11
    DB: Oracle 9i
    SAPSID: B01
    DBSID: B01
    Instance Number : 00
    How to change the instance number from 00 to 01?
    Thks & Best Regards,

    Sorry a typo.
    <a href="http://www.sapadministration.com/">http://www.sapadministration.com/</a>=> Knowledge => MiniSAP 46D => Custom Minisap.pdf

  • Creation of Mfg Service contract from IB Instance number

    Hi Team,
    We have a requirement from client that we need to create a Mfg Service contract for a given IB Instance number. Can you please let me know, if we have any API for this?
    I tried to create contract using Oks_Contracts_Pub.Create_Contract_Header API but this contract is not associated with Instance in IB.
    Please help to provide any ideas on this. We are on 11.5.10 version.
    Thanks/Suresh K

    Solution: You need to associate Contract with Covered line with that serial number.

  • What instance number and config set number am I supposed to use for ODISRV?

    I'm trying to get one way sync working from ADS to OID using the OID that comes with Collaboration Suite 10.1.2 on Windows. The sync works fine if I run it manually (I forget the command I used for that). I can see user accounts show up in the DIT. The problem is that the sync never happens on a scheduled basis and it looks like it is due to ODISRV not running even after I did what the docs said and attempted to start it. It started with no errors but I guess the log file contained all the actual errors.
    The docs say to specify an instance number > 0 and a config set. Well, it's clear as mud as to which number to actually use. I assmed the configset value happened to match the nubmer in the Directory Manager GUI under the Integration Server entry (which was configset1 for me). I've tried to specify 1 2 and 3 for the instance numbers and I don't know what I'm supposed to use (and some of them are already being used so the command fails). How many instances are there running by default for ODISRV and how many for OID itself? What number should I be using based on that?
    Here are some entries in my logs:
    oidldap01s1304.log- OpName=search, duplicate while inserting in Hash Table.
    My comment on that snippet is a duplicate what? and what the hell hash table is it trying to use? The info isn't helpful at all.
    odisrv02.log- port 389/profile grp 999: registration failure, config set 1 already being executed by instance 0
    odisrv01.log- port 636/profile default: config set 0 already being executed by instance 2.
    oidmon.log - retry counts exceeded are listed for both odisrv01 and 02
    In all those logs the those errors keep repeating. I don't need OID on port 636 so is there a way I can stop/delete that while I'm fixing the sync issue? I saw nothing in the OEM website that allowed me to remove the SSL configuration.
    If I try stopping either instance 0 or 1 and try to restart I can't because the instance number is already used. What the hell am I supposed to do then? That means I can stop everything and not be able to start anything back up, does it not?
    any ideas how to make sense of this mess oracle developed?

    There are two configsets by default. Configset 1 is
    for synchronization and Configset 0 is used by
    provisioning (again, these are default settings).
    You cannot have two odisrv (Provisioning and Synch)
    with the same instance #.
    So, instance 1 could be Provisioning and instance 2
    could be Synch.
    Have you setup your synchronization mapping files?
    I would suggest you use the DIPTester utility to
    setup the synch. It might also be helpful to post the
    commands and the odisrv* logs (not the full dump, but
    the last snippet).Well I was trying to use ConfigSet 1 for synchronization but it either wouldn't let me because of how it is designed or I had screwed it up at that point since I didn't know what numbers to use for anything and it prevented me from using Set1 because of that. In the end I created a ConfigSet 2 and was able to get another instance of ODISRV running with that. That finally got the sync working on a scheduled basis. I'm now trying to get SSO working between OID and ADS and it seems that OID is too stupid to know that a user exists. I log onto the Windows PC into the domain and attempt to go to http://ssoServer.com:7778/pls/portal and login and I get an authorization denied message.
    I have debugging turned on as much as I can and the defaultIsland log file (forget the full filename but its an OC4J file in $ORACLE_HOME\opmn\logs directory). It says that I was denied access because the user could not be found and yet I see the user in the directory tree and it comes back in a search as well. The krbprinicipalname, uid, and orclcommonprinicipalname (I think that's what it's called) are all the same ([email protected]) and the orclusersearchbase is set to dc=mycompany,dc=com so I don't know why the account can't be found.
    ANy ideas on that issue?

  • How can I remove the page number from the first page of the document that is the cover page?

    How can I remove the page number from the first page of the document that is the cover page?

    If you open the Pages panel, (Window>Pages) you will see thumbnails of your master pages and your document pages. In new documents, there is usually a master called A-Master and one called None. If you drag the thumbnail of the None master onto the thumbnail of a document page, it will apply that master to that page. Presumably, you have made your page numbers on A-Master, so this will usually do the trick. If you have elements on A-Master that you need on the first page, but just not the page number, you can duplicate A-Master (which, by default will give you B-Master, but you can change the names if you like) and remove the page number on the duplicate and apply that to the document page.
    It might also be worth noting that you can apply master pages in the fly-out of the Pages panel. Go to the fly-out triangle and go down to Apply Master to Pages…, then select a master to apply and the range of pages (1-8 will give you all 8, 1, 3, 5, 7 will be the odds, 1-3, 4, 6-8 if you want continuous ranges and individual pages).

  • RMAN duplicate target database from active database - performance problem

    Hello. I’m running into a major performance problem when trying to duplicate a database from a target located inside our firewall to an auxiliary located outside our firewall. Both target and auxiliary are located in the same equipment room just on different subnets. Previously I had the auxiliary located on the same subnet as the target behind the firewall and duplicating a 4.5T database took 12 hours. Now with the auxiliary moved outside the firewall attempting to duplicate the same 4.5T database is estimated to exceed 35 hours. The target is a RAC instance using ASM and so is the auxiliary. Ping, tnsping, traceroutes to and from target and auxiliary all indicate no problem or latency. Any ideas on things to consider while hunting for this elusive performance decrease?
    Thanks in advance.

    It would obviously appear network related. Have you captured any network/firewall metrics? Are all components set to full duplex? Would it be possible to take the firewall down temporarily and then test the throughput? Do you encounter any latency if you were to copy a large file across the subnets?
    You may want to check V$RMAN_BACKUP_JOB_DETAILS, V$BACKUP_SYNC_IO or V$BACKUP_ASYNC_IO when the backup is running.

  • Get FI Documet number from BKPF table using CO document number in COVP tabl

    Hi,
    In  datasource 0CO_OM_CCA_9 , we have written a code in CMOD to get the FI Document Number from CO document Number.
    The flow of code is:
    1) From the CO document number, get reference document number  (REFBNfield) from, COVP table
    2) Pass this REFBN in AWKEY(10) field of BKPF table.
    3) We have created new field in datasource named 'ZBELRE' which gets populated with BELNR field obtained from BKPF table.
    This ZBELNR is the FI Document number.
    But somehow wrong FI Document number is getting populated.
    After analyzing code, we found that the AWKEY which we passed in BKPF table is incomplete and the full AWKEY is
    COVP-REFBN+COVP-AWORG
    Is this condition always remains true in all the cases? Also, is the selection criterion which we have used to find the FI document number from BKPF table is sufficient?
    Our CO Consultant says that we should also pass AWTYP along with AWKEY in BKPF table.
    Please suggest a solution.
    Following is the code :
    ***********Datasource Modification for0CO_OM_CCA_9*******************
      WHEN '0CO_OM_CCA_9'." Data Source
        TYPES:BEGIN OF ty_bkpf,
        belnr TYPE bkpf-belnr,
        xblnr TYPE bkpf-xblnr,
        bktxt TYPE bkpf-bktxt,
        awkey TYPE bkpf-awkey,
        bukrs TYPE bkpf-bukrs,
        gjahr TYPE bkpf-gjahr,
        END OF ty_bkpf.
        TYPES : BEGIN OF ty_bseg1,
        lifnr TYPE bseg-lifnr,
        belnr TYPE bseg-belnr,
        bukrs TYPE bseg-bukrs,
        gjahr TYPE bseg-gjahr,
        END OF ty_bseg1.
        DATA: it_bkpf TYPE STANDARD TABLE OF ty_bkpf,
        wa_bkpf TYPE ty_bkpf,
        it_bseg1 TYPE STANDARD TABLE OF ty_bseg1,
        wa_bseg1 TYPE ty_bseg1,
        l_s_icctrcsta1 TYPE icctrcsta1.
        "Extract structure for Datasoure 0co_om_cca_9.
        DATA: l_awkey TYPE bkpf-awkey.
        DATA: l_gjahr1 TYPE gjahr.
        DATA: len TYPE i,
        l_cnt TYPE i.
        l_cnt = 10.
        SELECT lifnr
        belnr
        bukrs
        gjahr
        FROM bseg
        INTO TABLE it_bseg1.
        DELETE ADJACENT DUPLICATES FROM it_bseg1 COMPARING belnr gjahr .
        SELECT belnr
        xblnr
        bktxt
        awkey
        bukrs
        gjahr
        FROM bkpf
        INTO TABLE it_bkpf.
        IF sy-subrc EQ 0.
          CLEAR: l_s_icctrcsta1,
          wa_bkpf,
          l_awkey,
          wa_bseg1.
          LOOP AT c_t_data INTO l_s_icctrcsta1.
            MOVE l_s_icctrcsta1-fiscper(4) TO l_gjahr1.
            READ TABLE it_bkpf INTO wa_bkpf WITH KEY awkey(10) =
            l_s_icctrcsta1-refbn
            gjahr = l_gjahr1.
            IF sy-subrc EQ 0.
              MOVE wa_bkpf-belnr TO l_s_icctrcsta1-zzbelnr.
              MOVE wa_bkpf-xblnr TO l_s_icctrcsta1-zzxblnr.
              MOVE wa_bkpf-bktxt TO l_s_icctrcsta1-zzbktxt.
              MODIFY c_t_data FROM l_s_icctrcsta1.
              READ TABLE it_bseg1 INTO wa_bseg1
              WITH KEY
              belnr = wa_bkpf-belnr
              bukrs = wa_bkpf-bukrs
              gjahr = wa_bkpf-gjahr.
              IF sy-subrc EQ 0.
                MOVE wa_bseg1-lifnr TO l_s_icctrcsta1-lifnr.
                MODIFY c_t_data FROM l_s_icctrcsta1.
                CLEAR: l_s_icctrcsta1,
                wa_bseg1,
                l_gjahr1.
              ENDIF.
            ENDIF.
            CLEAR: l_s_icctrcsta1.
          ENDLOOP.
        ENDIF.
    ***End of Datasource Modification for 0CO_OM_CCA_9*******************

    Hi,
    this forum is for the SAP BusinessObjects BI Solution Architecture. Please post your question into the corresponding product forum for SPA BW
    regards
    Ingo Hilgefort

  • Port number from 7777 to 8080 - URGENT please

    dear all,
    i'm using Apex 2.2,
    i wanted to change port number from 7777 to 8080,
    due to Security Reasons, i have to change the port from 7777 to 8080
    in which File i need to do the Changes & what are the Steps to be Followes,
    http://10.33.20.6:7777/pls/apex1/apex
    i wanted to change the same to
    http://10.33.20.6:8080/pls/apex1/apex
    please Help me out in this,
    its is Very URGENT PLEASE
    Many thanks

    This is unlikely to be any help becaue your URL specified 'pls' in the path indicating that you are using mod_plsql, but but you might like to check that you are not inadvertently servicing your Apex instance with the embedded PL/SQL gateway.
    Check to see if you are using EPG with the simple sql :
    SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;
    If value returned is 7777 then you appear to be using EPG.
    Change the port using EXEC DBMS_XDB.SETHTTPPORT(8080);
    And then navigate your http://10.33.20.6:8080/pls/apex
    As I said it's unlikely to be any help but wort checking all the same.

  • AR Duplicate invoice number

    Hi
    From past many years we have been getting duplicate transaction numbers in Oracle AR. Because of this the new invoices get stuck in the interface table(ra_interface_lines_all) with the error Duplicate Invoice Number.
    To address this we are changing the old invoice numbers present in the base tables(ar_payment_schedules_all,ra_customer_trx_all and ra_customer_trx_lines_all) with -1 as suffix ,so that the newer transactions will flow into oracle.But we need to find a permanent solution to this problem.
    Any suggestions will be welcomed.

    Hi,
    in receivables module the transaction number sequence is controlled by the configuration "Transaction Source" .... typically any organization would have two sources one for manual transaction entered in the receivables module directly ... another for transactions imported from Order management or any third party systems ...
    When there are two different sources, it is often said to have two different sequence numbers (which cannot overlay each other) ... probably a larger sequence ...say For Manual Invoices 10000001 and for Imported Invoices 5000001 .. in which case chances of duplication would be NIL ....
    Also check the Transaction source configuration, since there is an option available to accept Duplicate Invoice numbers .. make sure that checkbox is unchecked as well .....
    Also it is recommended by oracle not to make updates to base table / transaction data .. it is a much simpler approach to assign unique transactions numbers for new ones getting imported ...
    The key areas to check is the Transaction source configuration ... navigation in receivables module is Setup > Transactions > Sources
    Regards,
    Ivruksha

  • How to find the largest odd number and smallest even number from an array

    Hello All
    I want to find out largest odd number and the smallest even number from an arry numbers? What is the best method to achieve this.
    Thanks
    Sravz

    You need to sit down and figure out an algo on how you would do it if you had to do the same thing from a blind container perspective:
    1 - collect all the items you want to look at
    2 - look at an item
    3 - is it odd?
    4 - if it is odd then check if it is larger than previously largest number
    5 - save it if it is larger
    6 - return back to 2 unless no more items
    7 - item is not odd so it must be even--is it smaller than previous
    8 - save it if it is smaller
    9 - return back to 2 unless no more items
    Now you just need to know how to check if something is even or odd: to do this you will need the modulous operator--integer division.
    Note: this all assumes that your needs are for integer type of numbers, otherwise there is not enough information to define an answer. For instance, if you are using floats at 0.5--it that even or odd? Do you consider an err factor when dealing with floats? etc...

  • Duplicate Reciept number check in POS inbound

    Dear All,
    How can i restrict the SAP system, if ithe same duplicate transaction reciept number(ex: 00010009696) is coming from POS twice, while doing Non sales aggregated transaction.
    what configuration setting is required for this check, i have tried this in Checking rules for POS inbound, by checking the reciept number check but still cannot resolve this issue....
    Please help...
    Regards
    dubey

    Dear Saurabh
    The duplicate receipt number check normally will happen in POS DM in case of POS Inbound. So it is important that you have a POS DM in your landscape. In case you do not have it, the convertor program that has been written to dump data from POS to ECC will have to be coded accordingly to take care of the duplicate receipt numbers.
    Hope this helps.
    Regards
    Manish

  • I want to remove duplicate vendor number

    I want to remove duplicate vendor number,  should I put deletion flag or block them ?
    Also in some cases there are some dependancies (open PO, pending invoice, payment due), can somebody suggest safe way ?

    I would recommend to set both indicators.
    Block will restrict the usage, while deletion indicator makes the vendor going to the archive file/removing it from the table with the next archiving run.
    You have to decide what you want to do with the open business cases.
    You either convert them to the correct vendor directly, or you finish it during the next month with standard business process.
    Blocking of vendor master may have some impact to open business cases.

Maybe you are looking for