Database restore with same SID and different schema owner

Dear all,
I have quality system on HP-UX oracle platform which has been upgraded from 4.6C to ECC 5.0
and schema owner for the database is still SAPR3
I have installed new Test system with version ECC 5.0 with same SID and now i need to refresh its database with Data from QAS system ... owner at Test system is SAPC11 which is new installation ECC 5.0 and where SID is C11.
I need to know once i restore data what steps i need to carry out at Test system
i.e like change ENV settings from SAPC11 to SAPR3.
Please note SID is same on both hosts. and owner is different SAPR3 and SAPC11
Regards,
RR

Dear all ,
Thanks for your views . but i have already installed ECC 5.0 on
target machine with schema owner as default SAPC11 (sid)
Is there any other way out ... instead of doing reinstallation with schema owner SAPR3 / instead of doing Export-Import system copy method which again is as good as reinstallation.
I would like to have your views on following ,
when i will restore database from source to taget
al tables in target machine will be having owner as SAPR3 ( which came from source ) ...but my DB owner at Target machine is SAPC11 ( as far as ENV and all profiles are concerned ) .... cant i use SAPR3 user which got restored with backup of source to target to start my instance at Target machine... may be by changing ENV settings.
I really appreciate and thank you in adavance for sharing your views.
Regards,
RR

Similar Messages

  • How to create directories with same name in different schemas

    I have two schemas on the same database.
    I am trying to create directories with same name, but different paths in both the schemas.
    When i created the directories in second schema, the directory paths of the first schema are automatically changed to the second path.
    Is there any solution to create directories with same name, but different path in two different schemas on the same database.
    Thanks,
    Sridhar.

    Hi,
    >>When i created the directories in second schema, the directory paths of the first schema are automatically changed to the second path.
    If you have removed the REPLACE clause of your create statement, then you would see that is not possible.
    SYSTEM> connect scott/tiger
    Connected.
    SCOTT> create directory mydir as '/tmp';
    Directory created.
    SCOTT> connect legatti/pwd
    Connected.
    LEGATTI> create directory mydir as '/tmp';
    create directory mydir as '/tmp'
    ERROR at line 1:
    ORA-00955: name is already used by an existing object
    LEGATTI> select owner,object_name,object_type,created
      2  from dba_objects where object_name='MYDIR';
    OWNER     OBJECT_NAME    OBJECT_TYPE         CREATED
    SYS       MYDIR          DIRECTORY           19/12/2007Cheers
    Legatti

  • Database Recreation with same SID

    Os : Linux
    Database : 9.i
    I am working on a remote server. I need to delete the Database and recreate with the Same SID.
    DBCA is not invoked due to display problem.
    I need to delete the database manually and create manually. I already created thru scripts on the same machine manually.
    How to delete and create with the same SID ?

    Just delete following thing
    datafile ( get info from v$datafile )
    control file ( get info from v$controlfile 0
    redologs ( get info v$logfile )
    temp file ( get info from v$tempfile )
    Since you creating database with same SID , so keep init<SID>.ora/spfile , entry in oratab , tnsnames.ora entry and listener.ora

  • Is it possible to install two SAP system with same SID but different instance numbers on one host?

    Is it possible to install two SAP system with same system ID (SID) but different instance numbers on one host?
    If yes, then how?
    If no, then why?
    Thanks in advance.
    Regards,
    Sarim

    Is it possible to install two SAP system with same system ID (SID) but different instance numbers on one host?
    Yes, it is possible. If one is CI (PAS) and the second one is an AS (AAS). In this case there will be only one database.
    If you are talking about two separate SAP systems with separate databases (Eg: A BI and an ECC) with the same SID then the problem will be with the database (Eg: Oracle)
    The database will be installed under /oracle/SID/112_64 (ORACLE_HOME) unless one database is running on 10 G and in that case the ORACLE_HOME will be /oracle/SID/102_64
    The next issue will be with the SAP file systems like /sapmnt/SID
    The most important problem will be with the switch to the sidadm and orasid users and the conflicts there. If there is a need to stop one of the SAP systems and if you do a switch to sidadm and issue a stopsap command which system will be stopped ?
    These are few of the many problems I can think of.
    So if we are talking about two separate systems with their own databases I would rule out the possibility of having two systems with the same SID.
    Regards
    RB

  • ARD won't save multiple computers with same IP and different port!

    I'm trying to access multiple computers over the internet behind a firewall with port forwarding.
    I can access each computer, but ARD won't save the IP address and port (in IP Address column of ARD 3.1) of multiple computers with the same IP address. It will only save ONE. I've tried 'add by address', adding a list for each computer or adding a list for all those computers. Nothing has worked. ARD will actually change the first computer's IP address to 0.0.0.0
    Example: Static IP address
    Computer 1 xx.xxx.xxx.xxx:51 (public port 51 is forwarded to port 5900 on computer 1)
    Computer 2 xx.xxx.xxx.xxx:52 (public port 52 is forwarded to port 5900 on computer 2)
    Computer 3 xx.xxx.xxx.xxx:53 (public port 53 is forwarded to port 5900 on computer 3)
    Has Apple really overlooked this or am I missing something? Isn't this how most people would remotely manage multiple Macs offsite?
    Thanks

    ARD cannot do this as you're asking. If your
    workstations get their addresses from an NAT device
    rather than being "real", the ports also need to be
    forwarded in the router to the workstation's internal
    IP address. ARD uses port 3283 for the reporting and
    updating function, so if your Macs are getting their
    IP addresses through NAT, since you can only forward
    a port to a single workstation, you can only get
    reports, push package/files to etc. for a single
    workstation.
    ARD uses the VNC protocol for observation and
    control, though, and there are a range of IP
    addresses for that protocol, starting with 5900. ARD
    uses 5900 by default, so that port would be forwarded
    to the first workstation. You would, I believe, need
    to install VNC servers on the systems (since the ARD
    client cannot listen on any port other than 5900
    while VNC servers can be set for other ports such as
    5901, 5902, etc. You would then forward 5901 to the
    second workstation (and on to 5902, 5903, etc.). You
    can then use the following information:
    Remote Desktop 2: How to specify a port number
    for a VNC client
    to connect.
    The only other options are: 1) to run the ARD
    administrator on a workstation on the network, and
    then take control of that system from outside, either
    via VNC or another copy of ARD, or 2) set up a
    virtual private network (VPN) so that when you
    connect from outside, your admin system is officially
    part of the local network.
    Hope this helps.
    That definitely helps. I have ARD installed on my MBP and on a workstation on the LAN. I have used ARD from the MBP to control ARD on a workstation on the local network, but it can get a little tricky. I already have VNC setup on all the workstations. I used to use COTVNC prior to purchasing ARD 3.1.
    I guess what I'm really asking is...
    How do I add a list of workstations and save the settings (same IP address for each workstation with different ports?) to control/VNC via ARD?
    I simply want a list that shows each workstation, so I can control/VNC them using ARD offsite.
    Name: Computer 1 IP Address: 123.123.123.123:5901
    Name: Computer 2 IP Address: 123.123.123.123:5902
    Name: Computer 3 IP Address: 123.123.123.123:5903
    I don't want to have to manually type in the IP address into ARD every time.
    Will ARD simply not add another computer to the list if it has the same IP address but different port number as a computer already on the list? I haven't been able to find a way to make ARD do this.

  • Select data from a table and a view: field with same content and different type

    hi all,
    I need data from a table hrp1001 and a view V_USR_NAME. What they have in common are the content of the fields SOBID and BNAME .
    It will be easier if those fields add a same type but they dont.
    Any suggestions for a workaround?
    Thanks

    Hi Ramesh,
    Specify the date format as YYYYMMDD in where condition.
    Dates are internally stored in SAP as YYYYMMDD only.
    Change your date format in WHERE condition as follows.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and bdatu = <b>'99991231'.</b>
    I doubt check your data base table EQUK on this date for the existince of data.
    Otherwise, just change the conidition on BDATU like below to see all entries prior to this date.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and <b> bdatu <= '99991231'.</b>
    Thanks,
    Vinay
    Thanks,
    Vinay

  • Two database with the same sid but different ORACLE_HOME on one host

    two database with the same sid but different
    ORACLE_HOME on one host,and if configure them with
    two differnt lisnter staticaclly,this abosultely work
    because in the lisnter.ora we must provice
    ORACLE_HOME variable,with this ORACLE_HOME the client
    can differentiate which database to connect,but if
    use dynamically register feature,how can the client
    tell which database to connect?

    Also note that this type of configurtion may not be supported.
    Just because a given configuration works in certain given conditions does not mean that it would be supported.
    If this setup is for a configuration that has any value, please also Contact Oracle Support to get their inputs on what you are trying to accomplish.

  • Requesting license for two different ssystem with same SID

    Hello,
    Is it possible to request 2 license for two systems with same SID. The systems are on different machines and their HW key are different but both have same SID. While requesting license, will it permit to create 2 different license with SAME SID.
    Regards
    Deb

    Hi Anil,
    The one for which the license is already requested is the main development portal with SID EP2. I have installed one local version of SAP EP with the same SID EP2. Now we need a license for the second system.
    If we change the HW key of the original license which is already applied in the main development portal under SMP and apply for a new license for the new local version, can it have any future implications, if any.
    What is the best way to deal with the situation. Is there a full proof way to change the SID of the EP system, which I can try in the local EP system.
    Regards
    Deb

  • Query parameters with the same name and different values

    According to HTTP, multiple query or post parameters with the
    same name and different values are permitted. They are transfered
    over the wire in the following format -
    name1=val1&name1=val2&name1=val3
    The problem is that I can't see anyway of assigning multiple
    parameters with the same name and different values to the request
    object of mx.rpc.http.HTTPService. I have tried using the
    flash.utils.Dictionary object as it does strict key comparison but
    that doesn't work too. I have tried setting an array of values to a
    property of the request object but that sends the request to the
    server in the following format -
    name1=val1,val2,val3
    The java servlet engines throw exceptions when they see this.
    Any help would be greatly appreciated.

    If you're not on 8.1.4 move there. 8.1.3 had limitations in the wsrp
    release.
    wrote:
    I have an html select box that contains several values, and multiple
    selection is enabled. When my code runs as a remote portlet, the
    following is showing up in the soap monitor when I select multiple
    values and submit the form:
    <urn:interactionParams>
    <urn:portletStateChange>cloneBeforeWrite</urn:portletStateChange>
    <urn:interactionState>_action=addEmployeesToGroup</urn:interactionState>
    <urn:formParameters
    name="P62005wlw-select_key:{actionForm.selectedEmployees}OldValue">
    <urn:value>true</urn:value>
    </urn:formParameters>
    <urn:formParameters
    name="P62005wlw-select_key:{actionForm.selectedEmployees}">
    <urn:value>beatest1</urn:value>
    </urn:formParameters>
    In this case, I selected beatest1 and beatest2, but only beatest1 comes
    through to the remote portlet. Is this a known bug, and, if so, is
    there a patch or workaround available?
    Thanks in advance,
    Andy

  • Create a different db with same db_name and now cannot start apex

    Hi All
    we create a db in the same box with my old db.
    The purpose is we need to change the default character set to unicode.
    And How do we start apex?
    Is there a command line tool to start apex?
    -Thanks for the help!

    Hi umesh,
    Thanks for your help.
    That means we can set up two database with same db_name and domain is system. the duplicate DB (second DB) does not affect primary DB in system and makes a confusion for client application? suppose i use TNS to control each DB by IP .
    also, can we use db_link to link two differnet OS plastform( window 32 bit and linuc 64 bit redhat with service name) oacle version is 10 g too?
    I try to configure a TNS in primary DB tnaname file but fail with TNS : no listener ora-12541 during connect linux DB server.
    But I copy this TNS to new window 32 bit PC with oracle client. it works to link to linux db services.
    which issue?
    Thnak for help
    JIM
    Edited by: user589812 on Jul 3, 2009 9:00 AM

  • Adding systems with same SID in SMSY - solution manager

    Dear All,
    We are having systems with same SID's which  belongs to different landscape created for various customers.
    Currently We are having only one solution manager.
    I consider this example for explanation.
    Customer 1 : DEV --> QAS --> PRD ( SID's)
    customer 2 :  DEV --> ACC --> PRD  ( SID's)
    I would like to add  these 6 systems in a solution manager. For Customer 1 , I have included the systems in SMSY . But when i tries to add DEV, PRD for customer 2 , it fails  since this SID's are already present.
    Is there any other way to include by giving the different SID's DE2 but with correct IP and host Or we need to have one more solution manager ? Please anyone suggest me on this
    Thanks
    Raj

    Dear Juan ,
       We can add systems with same SID in smsy. I have attached the way in which i have done. This may help others. Thank you all for your suggestion
    Only use more than three characters if your landscape contains multiple systems with the same system ID (if you have a mirrored backup system that has the same ID as the original system, for example).
    If multiple systems in your landscape have the same system ID, choose as system name the system ID with a suffix of up to 5 characters (a sequential number, for example) to create a unique system name.
    The system accepts a system name of more than 3 characters if you choose Enter to confirm.
    Thanks
    Raj

  • Change in hardware key on new installation with same SID

    Dear Experts,
    Background:
    We installed SAP Netweaver 7.3 EHP1 on Microsoft Windows Server 2008 and applied SAP License on it.
    So there was a specific SID, Hardware key and Installation No to our installation.
    After few months our Server machine got crashed and we formatted it.
    Problem:
    Now we want to install SAP Netweaver 7.3 EHP1 again on same Server machine.
    Here question is:
    1. Will the Hardware Key be same if I install SAP Netweaver 7.3 EHP1 with the same SID as it was before ?
    Note: We want to apply the same license that was there before the crash. But we can apply same license if and only if after installing with same SID as before, system generates the same Hardware Key as before Crash !!
    Other Information:
    Information that we got from SAP Note (94998 - Requesting license keys and deleting systems ) that :
    "  For the following data changes, you require a new license key:
    Customer hardware key - database - installation number - system ID.
    Thanks in advance for your apt responses.
    Muddassar Khan

    Hi Muddassar,
    With OS reinstallation , the HW Key will change.
    I suggest you apply for a new License with the new Hardware Key.
    Was this a Test System??
    You said after few Months , the system Crashed.
    Have you taken a Backup (Windows System State) ??
    Regards,
    Ashish .A. Poojary

  • I have a iPod touch 5th generation and when i turn on the device, its white screen with black lines and different colors

    I can turn off the device naturally. But when i turn it on it shows all white with black lines and different colors. Is my LCD screen broken? If it is, can apple fix it?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar                              
    If not covered by warranty
    Apple will exchange your iPod for a refurbished one for $99 for 16 GB 5G and $149 for the other 5Gs. They do not fix yours.
      Apple - iPod Repair price                             

  • What issues we may face in installing a new Prod portal with same SID as existing one

    Hello All -
    We found some vbs script files in the host of EP Prod system. On confirmation from SAP we deleted those files without any harm to our prod EP system. But customer is still concerned about the security of the system and wanted us build the new EP prod system with same SID.
    We approached SAP and they suggested to install a new EP system and do customization rather than performing system copy from existing prod EP system because that may still bring those security threat changes to new EP prod system. (we ll decommission the old EP if everything works fine in new EP)
    Now I would like to list all the issues we may face in building a new EP system with same SID as that of already existing one and then doing entire customization again in new EP from Basis team point of view. The following are very few i could think of. Could you please add some other concerns you could think of.
    1) Keeping in mind that this EP system is in use for more than 6 years, some of the customization could have been done on lower versions. So could those changes be again exported from Dev and imported into new version of EP we are building now ?
    2) Can't add two hosts with same name in DNS Server
    3) Can't add two systems with same SID in Solution Manager for calculation of SPS to upgrade new EP

    You would have to run ipsinstall and install the new gateway. Make sure to follow the installation instruction for installing a gateway.
    After you install the gateway you follow the steps in the link you posted to let the server know there is a new gateway.
    Then make sure to restart the gateway and server.
    HTH ..

  • Two methods with same name but different return type?

    Can I have two methods with same name but different return type in Java? I used to do this in C++ (method overloading or function overloading)
    Here is my code:
    import java.io.*;
    public class Test{
    public static void main(String ar[]){
    try{          
    //I give an invalid file name to throw IO error.
    File file = new File("c:/invalid file name becasue of spaces");
    FileWriter writer = new FileWriter(file ,true);
    writer.write("Test");
    writer.close();     
    } catch (IOException IOe){
         System.out.println("Failure");
    //call first method - displays stack trace on screen
         showerr(NPe);
    //call second method - returns stack trace as string
            String msg = showerr(NPe);
            System.out.println(msg);
    } // end of main
    public static void showerr(Exception e){
         StringWriter sw = new StringWriter();
         PrintWriter pw = new PrintWriter(sw);
         e.printStackTrace(pw);
         try{
         pw.close();
         sw.close();
         catch (IOException IOe){
         IOe.printStackTrace();     
         String stackTrace = sw.toString();
         System.out.println("Null Ptr\n" +  stackTrace );
    }//end of first showerr
    public static String showerr(Exception e){
         StringWriter sw = new StringWriter();
         PrintWriter pw = new PrintWriter(sw);
         e.printStackTrace(pw);
         try{
         pw.close();
         sw.close();
         catch (IOException IOe){
         IOe.printStackTrace();     
         return sw.toString();
    }//end of second showerr
    } // end of class
    [\code]

    Overloading is when you have multiple methods that have the same name and the same return type but take different parameters. See example
    public class Overloader {
         public String buildError(Exception e){
              java.util.Date now = new java.util.Date() ;
              java.text.DateFormat format = java.text.DateFormat.getInstance() ;
              StringBuffer buffer = new StringBuffer() ;
              buffer.append(format.format(now))
                   .append( " : " )
                   .append( e.getClass().getName() )
                   .append( " : " )
                   .append( e.getMessage() ) ;
              return buffer.toString() ;
         public String buildError(String msg){
              java.util.Date now = new java.util.Date() ;
              java.text.DateFormat format = java.text.DateFormat.getInstance() ;
              StringBuffer buffer = new StringBuffer() ;
              buffer.append(format.format(now))
                   .append( " : " )
                   .append( msg ) ;
              return buffer.toString() ;
         public String buildErrors(int errCount){
              java.util.Date now = new java.util.Date() ;
              java.text.DateFormat format = java.text.DateFormat.getInstance() ;
              StringBuffer buffer = new StringBuffer() ;
              buffer.append(format.format(now))
                   .append( " : " )
                   .append( "There have been " )
                   .append( errCount )
                   .append( " errors encountered.")  ;
              return buffer.toString() ;
    }Make sense ???
    Regards,

Maybe you are looking for

  • ATV1 not syncing with iTunes 11.1.0.126 on Windows 7, 3689 error!

    Hi all, I have that famous 3689 error, saying there is firewall issue. I read meny threads here, but to help. I am connecting through a hub, directly to the ATV1, with fixed IP numbers. I reset the ATV1 to factory settings. I disabled the firewall. I

  • Problem with Adobe Premiere pro cs3 3.0

    Hello there! I have this odd new problem in adobe premiere cs3 that i havent encountered before and ive tried to solve it but cant =/ If i import a picture into the project it lies there like it should ready to be dragged onto the timeline, the probl

  • Financial statement  version:functional area

    Hi, I created a financial statement  version with functional area and run it(S_PL0_86000032 ) , most items are correct, however, the item which assigned function area always 0, this means that system can not get any data via function area. would anyo

  • Business role customizing not working in crm 2007 web client

    Can someone tell me what services need to be activated via sicf for business role customizing to work in the Web Client under the Administration component in CRM 2007.  I have everything else working in this are eg surveys, document template, fact sh

  • Migration to BO 3.0

    Hello everybody, We are facing some problems in our customer during the migration to BO 3.0 using Integration Kit for SAP. First of all, we use BW queries to construct our universes and we realize that we have to set some additional privilegies to  u