Change parameter instance_name after standby database has been activated

Hello ,
our primary database is configured as follows:
SQL> show parameter db_name;
NAME                                 TYPE        VALUE
db_name                              string      prod01
SQL> show parameter instance_name
NAME                                 TYPE        VALUE
instance_name                        string      prod01
the corresponding standby database is configured as:
SQL> show parameter db_name;
NAME                                 TYPE        VALUE
db_name                              string      prod01
SQL> show parameter instance_name
NAME                                 TYPE        VALUE
instance_name                        string      stbyprod01
Now the standby database shall be activated. Afterwards I want to change the parameter INSTANCE_NAME from stbyprod01 to prod01.
The question now is: what needs to be done to change the parameter INSTANCE_NAME? As a matter of fact the standby database will
already be activated and be treated and handled as a standalone database. The former primary database will  not be used anymore.
I would proceed as follows:
SQL> create pfile='initprod01.ora' from spfile;
SQL> shutdown immediate;
oracle #> edit the pfile and change the parameter INSTANCE_NAME from stbyprod01 to prod01
SQL> startup;
SQL> create spfile='spfileprod01.ora' from pfile;
SQL> shutdown immediate;
SQL> startup;
That should be all - from my point of view (I know that LISTENER.ORA and TNSNAMES.ORA should be modified, too).
If anybody has already experiences with changing the INSTANCE_NAME parameter but sees some further configurations: please just let me know!
Rgds
Jan

Hi ,
only "alter system set instance_name='TEST' scope=spfile" will work since the parameter INSTANCE_NAME is static. After restarting the database/instance the statement "show parameter instance_name" will show the new instance name.
But when selecting the view V$INSTANCE the value of the column INSTANCE_NAME has still the old value. Any idea why this value remains unchanged in the view V$INSTANCE?
Rgds
Jan

Similar Messages

  • Start recording video AFTER touch block has been activated - is it possible?

    So I'm in the camera app, I've enabled touch block. But i can only take pictures, either with the hardware camera button or the volume rockers. How do i engage the video recording function AFTER touch block has been activated?

    That seems strange since i can take pictures after having enabled touch block. As it is now i have to edit out the first seconds if I want to film underwater. Very unnecessary

  • Changing unit price after AP invoice has been created

    Hi all,
    We realized the unit price was incorrect after the PO, GR and AP invoice was already created. Is there a way to update the unit price on the item?
    Thanks,
    Jane

    Hi,
    This is not possible, you have to reverse transaction by AP Credit memo and recreate new transaction. If you have FIFO valuation method then you can change price through Inventory Revaluation but in that case your AP Invoice amount remains unchange.
    Regards,
    Sachin

  • How can we change the structure after a Journal has been created??

    Hi Experts,
                    We have made an application and create a journal for it using the journal wizard.
    But later on on the development, we need to change or modify the structure of the application.
    so when we try to do it, the system prompt that we cant change the structure because it has journals.
    so we use the clear journal function and try it again. It still give the same prompt.
                    How can we deal with this problem?? we really need to change the structure.
    Thanks,
    Bennie Jay

    Hi Shova V.
                  I tried it and it worked!!! thanks!!  although it doesn't work for the first time when i try to modify. if have to process it first for  it to work.
                  I just hope in the next version it shouldn't be manually done.
    Thanks,
    Benniejay

  • Write off FICA documents with no segments after New GL has been activated

    Hi Gurus,
    The scenario we are facing is as follows"
    The client had already implemented FICA as part of its legacy, but SAP FICO was not implemented. As part of the new framework, we are implementing SAP FICO as well, while at the same time New GL is now being activated.
    All ancillary configurations have been maintained for deriving profit center/segment information on main and sub transactions through use of CO Account assignment key.
    Issue:
    The issue we are facing now is that, while writing off (FP04) any FICA document which has a profit center/segment information, we are able to write it off. But any FICA document which does not have segment information, we are getting the error "Segment Missing"
    Probable Solutions:
    1) Tried maintaining the  value as "2" (Account Assignment) at the following node:
    FICAIMG-->Business transactions--> Define specifications for Write-offs
    This solution did not help us in writing off the FICA document
    2)Custom logic in event 5030?
    Custom logic can be maintained in the FM at event 5030, where we should be able to derive the profit center/segment info. based on the business area
    Please let me know if any other options can be tried and also if the custom logic at event 5030 should help us resolve the write off issue?

    Hi, I have the same laptop and had the same problem.
    I have solved it by adding the following arguments to the kernel command line:
    acpi_osi=Linux acpi_backlight=vendor
    Note: acpi_osi only did the trick, but then the backlight service fails. acpi_backlight fixes the service.

  • How to reinstall CRS after database has been creaed.

    Hi gurus
    I need to reinstall the CRS because I used wrong IP alias when privious installation.The database has been created and put into the test enviroment. I am required to reinstall the CRS without affecting the database normal running.
    How to achive this. A step by step procedure is preferable or just a link is OK.
    Thanks for your time?

    Do you need to change a hostname or an IP address ?
    What hostname or IP address do you need to change ?
    VIP ? Public address ? Interconnect ?
    Following discussion may help:
    Re: Need to change IP address and host name on a ORACLE 10g RAC setup.
    Edited by: P. Forstmann on 2 avr. 2010 09:11
    Edited by: P. Forstmann on 2 avr. 2010 09:17

  • Creating a Materialized View Log After the Data has been instered

    Hi,
    I am trying to create a method of replication from Oracle to MySQL using the Materialized View Log table.
    This has been done before and works quite well, the only problem is that I am trying to impliment the log after the table has been created and populated and wish to push all the existing data through the log file...
    Does anyone know if it is possible to refresh the Materialized View Log and not a Materialized View.
    The way the replication is intended to work is:
    Oracle> Data inserted into table
    Oracle> writes the vector data to the MVL
    Script> Monitors the MVL and can see the changes being made to the Oracle Table
    Script> Updates MySQL with the data and removes the rows from the MVL
    MySQL is then used with other unix systems
    Currently we export the data from the table using Triggers and a cronjob running every x minute to check for changes in the TriggerTables
    Many thanks for your time on this, I have been checking for almost a whole working day and not found the answer to this problem.

    Thats what I thought, the MVL will only read data that has changed since it was created and wont have the option to load in all the data as though it was made before the table was created.
    From what I have read, the MVL is quicker than a Trigger and I have some free code that prooved to work from a MVL using it as a reference to know what records to update. There is not that much to a MVL, a record ID and type of update, New, Update or Delete.
    I think what I will have to do is work on a the same principle for the MVL but use a Trigger as this way we can do a full reload if required at any point.
    Many thanks for your help.

  • Is there a way to see what font was used originally, after the type has been converted to outlines?

    Hi all, I would really like to know if there is any way to find out what font was used originally in an Illustrator document, after the type has been converted to outlines? The reason for this is I need to update some wording in a couple of old logos I had made and I have NO idea what font I had used...for the life of me I just cannot remember. Because this was so urgent for one of my projects I had to do a search online via "WhatTheFont" to see what font it could be (which I then didn't seem to have in my library!), and repurchase it. I am 99% sure I HAVE the font - or something VERY close - but under a different name.
    Normally I keep a much better record of fonts used but there have been times occasionally in the past when I have done something in a hurry and changed the type to outlines without keeping the original, or keeping detailed notes at least. The fact that I did NOT keep notes on a few projects I have done in the past has made me want to kick myself because now I need to revisit one of those again..grrr:)
    Can anyone offer any advice? I appreciate your help as always:)
    best,
    Christine

    Christine,
    You can also ask in the Typography forum,
    http://forums.adobe.com/community/design_development/typography?view=discussions&start=0
    The guy running whatfontis is a regular poster there.
    And apart from
    http://www.whatfontis.com/
    there are
    http://www.identifont.com/
    http://new.myfonts.com/WhatTheFont/
    and especially for script,
    http://www.bowfinprintworks.com/ScriptIDGuide.html

  • How to re-trigger BA00 after sales order has been rescheduled

    Dear Gurus,
    Could you please kindly advise how I could re-trigger BA00 after sales order has been rescheduled?
    The scenario is following:
    When the sales order was completed, the order confirmation output has been sent to the customer. But later, when the ATP confirmed quantity was changed or order was rescheduled, the committed delivery date has been changed. It caused confusion, because in the order confirmation letter we sent to customer, there is a different date.
    I'd like to also trigger BA00 to resend the order confirmation, but I checked the output routine, it only checks if the order is completed or not. Shall I ask ABAPer to add additional logic in the routine or there is other easier way to re-trigger BA00?
    Many thanks in advance!

    Have you allowed multiple issue for BA00 output type? In that case, you can manually trigger it from VA02. If you are trying to have it sent automatically, then add the logic into the routine.

  • Where is the Document Number of a Journal after the Journal has been deleted in GL?

    hi, guys,
    can anyone tell me where is the Document Number going after the journal has been deleted in GL? can it be reused by another journal? or it is killed and dead in database?
    thanks.
    Ejw

    They possibly still exist on the hard drive if you haven't overwritten that space already.
    Your only hope is to try a file recovery program like Data Rescue 3 or some sort like that.
    (note: the product linked to is an example of the suggested kind of software that may help you; it is not in any way my recommendation or endorsement of the product. I haven't used this product and can't comment on its effectiveness).

  • Microsoft Azure Backups not reducing available recovery points or destination usage after retention period has been reduced.

    Microsoft Azure Backups not reducing available recovery points or destination usage after retention period has been reduced.  
    I had the retention period set to 30 day with around 6.8TB of backups. Over a week ago I changed the retention period down to 7 days, and it took a couple of days for the total recovery points to go down to 7. The destination usage was still going up.   
    I have come in today (monday) and the total backups is now 10 and the destination usage is now 7.57TB.  
    I only have the one server backing up to Azure Backups Services.  
    My questions are;  
    1. how long does it take for azure to delete backups from outside the retention period*   
    2. why are there move recovery points that the retention period?  
    3. Is there a way to purge just the backups outside the retention period?  
    *It does say the backup agent, "space allocation data is updated on a daily basis".
    It would be a great help if anyone had some information on this as the storage costs are getting very high.
    Thanks for the help in advance
    Z  

    Hi,
    Any update for this issue?
    If issue still exists, please open a case from http://azure.microsoft.com/en-us/support/options/, pick Recovery Services & problem type as “Backup”.
    Also please let me know the case ID so I can forward it to related support team for monitoring. Thank you for your time.
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • IPhone 4 Can't receive incoming calls and sms after 3G has been activated

    I can't receive incoming calls and sms on my iPhone 4 after the 3G connection has been activated and used actively by me. Outgoing calls and messages do work and as long as I use the Wi-Fi connection everything's fine but the problem appears after switching to 3G. Any help? Thx in advance!  

    I think the next step is to do a reset by holding the sleep and home buttons down at the same time until the Apple logo appears.  If you haven't done this before, keep holding the buttons when the turn off slider appears.  The screen will go black and after what seems like an eternity, actually several seconds, the Apple logo will appear.  When the logo appears, release the buttons.

  • Cannot create a session after the response has been committed (Tomcat 6)

    I'm getting a rather annoying error when I try to open a pretty basic JSP page.
    I'm rather new to the whole JSP scene, so I'm following the example found on pages 287 and onwards in "JSF in Action - Manning" in case anyone wanted to check my code against the source.
    I've searched for about 4 hours now, coming back to this site a couple of times, once reading about writeouts and stuff. But I'm not really sure this is the issue in this case and if it is, where exactly the problem lies.
    I've already fixed a number of errors I got (jtsl.jar and standard.jar missing etc...) but this particular problem is driving me (and my co-workers for that matter :-) ) up the wall.
    Anyone willing to help me out here?
    Error:
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Cannot create a session after the response has been committed
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
    root cause
    java.lang.IllegalStateException: Cannot create a session after the response has been committed
         org.apache.catalina.connector.Request.doGetSession(Request.java:2301)
         org.apache.catalina.connector.Request.getSession(Request.java:2075)
         org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
         org.apache.myfaces.context.servlet.SessionMap.setAttribute(SessionMap.java:53)
         org.apache.myfaces.util.AbstractAttributeMap.put(AbstractAttributeMap.java:103)
         org.apache.myfaces.util.AbstractAttributeMap.put(AbstractAttributeMap.java:35)
         org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedViewInServletSession(JspStateManagerImpl.java:523)
         org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:358)
         javax.faces.application.StateManager.saveView(StateManager.java:47)
         org.apache.myfaces.application.jsp.JspViewHandlerImpl$StateMarkerAwareWriter.flushToWriter(JspViewHandlerImpl.java:387)
         org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:322)
         org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
         org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
    Source Code of login.jsp:
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <f:view>
    <html>
    <head>
         <title>
              <h:outputText value="ProjectTrack"/>
         </title>
    </head>
         <body>
              <table>
                   <tr>
                        <td>
                             <h:graphicImage url="/images/logo Skillteam.jpg"
                             alt="Welcome to ProjectTrack"
                             title="Welcome to ProjectTrack"
                             width="435" height="120"/>
                        </td>
                   <td>
                        <font face="Arial, sans-serif"
                        size="6">
                        <h:outputText value="ProjectTrack"/>
                        </font>
                   </td>
                   </tr>
         http://forum.java.sun.com/post!default.jspa?forumID=45#
    Click for bold     </table>
         </body>
    </html>
    </f:view>
    web.xml & faces-config
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
         <display-name>ProjectTrack</display-name>
         <welcome-file-list>
         <welcome-file>faces/login.jsp</welcome-file>
         <welcome-file>index.html</welcome-file>
         </welcome-file-list>
         <servlet>
         <servlet-name>Faces Servlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>
         <url-pattern>/faces/*</url-pattern>
         </servlet-mapping>
    </web-app>
    <?xml version="1.0"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
         <navigation-rule>
              <from-view-id>/login.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>success</from-outcome>
                   <to-view-id>/inbox.jsp</to-view-id>
              </navigation-case>
              <navigation-case>
                   <from-outcome>failure</from-outcome>
                   <to-view-id>/login.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
    </faces-config>Setup:
    Eclipse Europe 3.3.0
    Tomcat 6.0.13
    MyFaces 1.2
    JRE 1.6.0_02

    When searching for this error, this was the first page google gave me. I found the answer and just in case anyone else stumbles in here with the same question I thought I'd share my findings.
    Unfortunately, if your problem is the same as mine, you're going to feel pretty silly. I was navigating to the wrong page. If MyFaces(when running tomcat) tries to resolve to a page that doesn't exist, the error given above is what happens.
    In my case I accidentally put my .jsp page into the wrong directory and ended up banging my head against the wall for an hour figuring that out. Hope this helps someone.

  • Last active change request of a object which has been transported

    Hi to all,
    I need a method to obtain the last active change request of a object which has been transported to the corresponding target system. I know that the CR tables are E070 and E071, but how can I know the last active and transported CR of each object? Any suggestion?
    Thank you very much,
    Antonio

    Hi Antonio, As u are aware that you can get TR information from E070 and E071 tables.From these two tables we can get the latest TR. In table E070 there are two fields with AS4DATE, AS4TIME.So, U can find the latest transported object on these two fileds.Also, u need to check the TRSTATUS field which specifies whether the object is transported ( R Released) or still Modifiable( Active as D).
    However this table will also contains subtasks and main request. This can be diffrentiated with the help of STRKORR field of E070. If blank then its a main req else its a subtask where the field would contain the Main Request No.
    Hope this would be of some help for u r development.
    Regards,
    Swaroop

  • HT3986 How do I start up Mac after the Windows has been installed.

    How do I start up Mac after the Windows has been installed? And after I installed the Windows, my Audio is gone. How can I get it back?

    Welcome to the Apple Support Communities
    1. To boot into Mac OS X, press X key while your computer is starting.
    2. Install Boot Camp drivers

Maybe you are looking for

  • How to change axis values in Numbers

    In v1.7 I have tried to change the axis values on existing charts but can't find how to do it... So I tried to create bar charts from scratch in order to rebuild the old ones with the new axis data but I can't find out how to set any of the axis valu

  • Sales order has 52 line items but in vbep some are not available

    Hi, what could be the reason for the problem; Sales order has 52 line items but in vbep some are not available... and some has 2 etenr as '0001' and '0002', why 2 lines in vbep for 1 posnr of order. Thanks. deniz.

  • Unable to send AS2-MDN ack

    Hi We have configured an AS2 with one of our partner, we are able to send/receive 850 but our partner is unable to receive an MDN back from us for the 850, verified all the setups everything looks good.. I put in an SR also, but if anyone of you had

  • Materialised view runs for ever ...

    Hi I'd appreciate if someone could shine some light on an issue I'm having with a materialised view. I inherited this when I came into my current project, so before you ask me why tables are not partitioned or why a MV is being used for such a scenar

  • Shipment IDOC stuck in status 03, having segments 86,255

    Hi experts, We have a small issue in the idoc being sent to partner. An outbound idoc is stuck in status 03 , the idoc is from a shipment and has 448 deliveries in it. The idoc is with the 86,255 number of segments. Idoc details: Basic type SHPMNT05