Add Logfile member when the DB has standby

Hi
We have the production database with the following details:
From v$log
GROUP# MEMBERS ARC STATUS
1 1 NO CURRENT
2 1 YES INACTIVE
3 1 YES INACTIVE
GROUP# STATUS MEMBER
1 /u02/redogrpA/MM2PROD/redo01.log
2 /u02/redogrpA/MM2PROD/redo02.log
3 /u02/redogrpA/MM2PROD/redo03.log
4 /u02/redogrpA/MM2PROD/standby01.log
5 /u02/redogrpA/MM2PROD/standby02.log
6 /u02/redogrpA/MM2PROD/standby03.log
I am thinking to add 1 logfile to each group
but is it going to have any impact on the standby database?
Do I need to create the logfile in standby DB also or it will be created automatically.? and need to change any other thing like primary DB init.ora file etc..

Hi,
Gopalra is spot on... You nee dto have a similar configuration. Follow the set of steps and u should be sorted out.
( I assume u r using a pfile. We dont use spfile bcos of security concerns )
1.) On the Stdby Box : - Take the d/b off Recovery Mode.
2.) On the Primary d/b defer the shipping of logs to the Stdby Box.
3.) Shutdown the Primary Box & make changes in the init.ora files as per your requirement.
4.) On Primary Box , get the d/b into nomount stage and add the logfile to each group
5.) On Primary d/b open the d/b.
6.) On the Stdby d/b Shutdown the d/b & make changes in the init.ora files
7.) On the Stdby d/b , startup nomount.
8.) On the Stdby d/b get the d/b into nomount stage and add the logfile to each group
9.) On the Stdby do alter database mount standby database
10.) On the Primary d/b , enable the shipping of archive logs to stdby d/b
11. ) On the stdby d/b , get the d/b into recovery anaged mode disconnect from session.
Hope this clarifies.
Cheers.rCube.

Similar Messages

  • How do I sign my VB / VS 2010 based shared COM add-in for Excel so it loads when the user has checked "Require application add-ins to be signed by a trusted publisher"?

    My COM add-in is developed using VS 2010 and VB. It's a shared COM add-in (not VSTO) and it works with Excel 2007 - 2013. My installer is signed with a code signing certificate but it would appear that my add-in's .dll should also be signed if the user has
    checked the "Require application add-ins to be signed by a trusted publisher" option.
    The "Sign the assembly" option is checked in my add-in's VB -> My Project -> Signing. I have a .snk file selected which I seem to recall generating 6 or 7 years ago when I ported the COM add-in from VB6 to .NET. 
    I have an up-to-date Comodo code signing certificate (a pfx file called MyCompanyCodeSigningCertificatePrivateKey.pfx) which I purchased to use with the installer and was wondering if and how I could use this.
    I tried selecting my pfx file in the My Project -> Signing -> "Choose a strong name key file" dialog. It made a copy of the pfx file in my project folder but when I tried to build the project, I got the following error:
    Error 1 Cannot import the following key file: MyCompanyCodeSigningCertificatePrivateKey.pfx. The key file may be password protected. To correct this, try to import the certificate again or manually install the certificate to the Strong Name CSP with the
    following key container name: VS_KEY_C0B6F251F0FB6016
    After a little research, I found out I might be able to use signtool to sign the dll in a post-build step.
    I added the following command to the post-build event, before the command I use to regasm the assembly.
    "path to signtool\signtool" sign /f "MyCompanyCodeSigningCertificatePrivateKey.pfx" /p "xxxx" /v "$(TargetPath)"
    When I built the project, the dll appeared to get signed (the output window showed a bunch of confirming text as well as "Successfully signed: c:\MyAddIn\bin\Release\MyAddIn.dll") but the next step in the post-build (regasm myaddin.dll /codebase)
    issued a warning RA0000 (see below) but reported "Types registered successfully".
    Here's the message I get from regasm, even though the output window says the dll was sucessfully signed:
    RegAsm : warning RA0000: Registering an unsigned assembly with /codebase can cause your assembly to interfere with other applications that may be installed on the same computer. The /codebase switch is intended to be used only with signed assemblies. Please give your assembly a strong name and re-register it.
    Types registered successfully
    I'm not using a shim if that makes a difference.
    How do I sign my add-in so it loads when the user has checked "Require application add-ins to be signed by a trusted publisher"?
    Any tips would be appreciated.

    Hello,
    Why do you need to use the regasm utility from the post-build action?
    There is a difference between signing the assembly with a strong name and digital signature. The
    How to: Sign an Assembly with a Strong Name article in MSDN explains how to sign an assembly with a strong name (.snk). See
    How to digitally sign a strong named assembly for adding a digital signature.
    You may also find the
    What's the Difference, Part Five: certificate signing vs strong naming article helpful.

  • I need to set up a DSN for my Thunderbird 24.3.0 or at least know when the email has been received by a client.

    My employer wants to be able to know when a client has received an email sent by us. I have researched DSN extensions and add-ons for Thunderbird but the only one I could find was not compatible with version 17. I updated to version 24 and still I can not find a solution. All we want is to be able to know when the client has received our emails.

    Hey,
    There are a number of them [https://addons.mozilla.org/en-US/thunderbird/search/?q=dsn%20extensions DSN extention search results]
    If you have any questions about the support for those add ons please see their support page that is listed on the add on profile page.

  • Fail to add logfile member

    SQL> alter database add logfile member
    2 d:\log2_copy.dbf to group 2;
    d:\log2_copy.dbf to group 2
    ERROR at line 2:
    ORA-02236: invalid file name
    I login as system.

    You need to use single quotes around the file name - as the following example shows
    SQL> connect system
    Enter password:
    Connected.
    SQL> alter database add logfile member c:\test.log to group 2;
    alter database add logfile member c:\test.log to group 2
    ERROR at line 1:
    ORA-02236: invalid file name
    SQL> alter database add logfile member 'c:\test.log' to group 2;
    Database altered.
    SQL>

  • HT201272 How do I download previously purchased albums from iTunes when the album has either disappeared from my computer or the tunes are not playable?  The album shows as purchased on the iTunes store, but not available to download to my authorized devi

    How do I download previously purchased albums from iTunes when the album has either disappeared from my computer or the tunes are not playable?  The albums show as purchased on the iTunes store, but not available to download to my authorized device.  I also have albums that appear in my library, but are not able to be added to my iPod from my computer

    When you download something from the iCloud, it is a brand new licensed copy. Your iCloud account just contains a notation that you have this app. It isn't storing an actual copy of the app from your Mac.

  • How do i get an itunes library from a phone when the computer has crashed and it needs to go on a new computer

    How do i get an itunes library from a phone when the computer has crashed and it needs to go on a new computer

    1) ensure iTunes is authorized for your iTunes store account(s)
    2) connect your device and right-click or control-click it in the iTunes Source list, then choose transfer purchases from the shortcut menu that appears.
    3) sync the device
    iTunes will wipe the iPhone but, since you transferred your purchases in the previous step, your content will be in your library and you can re-populate the iPhone with it.
    above works for purchases from the iTunes store. for everything else, check out this post by Zevoneer.

  • Oracle Text Index  - Trailing Search when the String has spaces

    Hi Am trying to use CONTAINS to tune a trailing LIKE search.  But it's not working when the string has spaces in between them
    For e.g in say if table person has column name which has following values
    JOHN
    FRED JOHNSON
    JOHN ROBERTS
    select * from person where name like 'JOHN%'
    Above query will give JOHN and JOHN ROBERTS. If i use CONTAINS As below
    select * from person where CONTAINS(name,'JOHN%',1) > 0
    It brings back all three records. If i remove spaces in column itself, its working bit if i try to remove spaces in Query, i am getting a Text error as i have Text index only on the name column.  I would like to know is it possible to use CONTAINS but get same result set on trailing search as how a normal LIKE will do.
    Below is how i did Index creation
    create index txt_idx1 on person (name)
    indextype is ctxsys.context
    parameters('DATASTORE ctxsys.default_datastore');

    You could use some method, like a multi_column_datastore or user_datastore to append some specific starting characters, then include those in your search, as shown below.
    SCOTT@orcl12c> CREATE TABLE person
      2    (name  VARCHAR2(60))
      3  /
    Table created.
    SCOTT@orcl12c> INSERT ALL
      2  INTO person VALUES ('JOHN')
      3  INTO person VALUES ('FRED JOHNSON')
      4  INTO person VALUES ('JOHN ROBERTS')
      5  SELECT * FROM DUAL
      6  /
    3 rows created.
    SCOTT@orcl12c> BEGIN
      2    CTX_DDL.CREATE_PREFERENCE ('test_ds', 'MULTI_COLUMN_DATASTORE');
      3    CTX_DDL.SET_ATTRIBUTE ('test_ds', 'COLUMNS', '''start ''||name||'' end'' name');
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> create index txt_idx1 on person (name)
      2  indextype is ctxsys.context
      3  parameters('DATASTORE test_ds')
      4  /
    Index created.
    SCOTT@orcl12c> select * from person where CONTAINS(name,'start JOHN%',1) > 0
      2  /
    NAME
    JOHN
    JOHN ROBERTS
    2 rows selected.
    SCOTT@orcl12c>

  • How do you exit a game from full screen mode when the game has crashed?

    Hey there
    There has seriously got to be a better way of exiting a crashed game than just turning the power off.
    I sometimes play Sims 3 on my mac, and we all know that Sims 3 is the most poorly coded game out there, so it crashes a lot. I don't understand how you can get out of the full screen without switching the machine off the wrong way.
    I have tried every single keyboard command people say to exit full screen mode, but they don't work when the game has crashed! In fact pressed every single button on the keyboard to try and exit, but nothing works.
    On Windows it's so simple, you press the start button on the keyboard, but on a mac it doesnt work.
    So any help to what i can do?
    Thanks

    Force quit just the game itself.
    Command + option + esc
    It's like control + alt + delete on Windows.

  • Can I use the "Find My iPad" app in my MacBook Pro when the iPad has a different Apple ID?

    Can I use the "Find My iPad" app in my MacBook Pro when the iPan has a different Apple ID & password than the MacBook Pro?

    On your Macbook you access Find My iPad via a Web Browser at http://icloud.com
    This will require you to sign on using the Apple ID and password used for the iPad iCloud.

  • My Iphone4 charges when The battery has fully died but when its on the lighting bolt does not appear. "Help"!

    My Iphone4 charges when The battery has fully died but when its on the lighting bolt does not appear. "Help"!

    Every iPod comes with complimentary, single-incident telephone technical support within 90 days of your iPod purchase.  If you also purchased AppleCare, then your warranty is extended for technical support and hardware coverage for two years from the original purchase date of your iPod.
    Suggest that you take full advantage of the above.

  • Iv sent an iMessage to someone abroad but deleted it before it delivered, will it still send as an iMessage when the person has wifi?

    Iv sent an iMessage to someone abroad but deleted it before it delivered, will it still send as an iMessage when the person has wifi?

    Your question is a bit unclear. However, once the message is sent, it is beyond your control. You can't unsend it. If the person has an active data connection and an iOS device, it should show as an iMessage.

  • TS3212 Why do I download iTunes when the installation has been prompted to install package

    Why do I download iTunes when the installation has been prompted to install package

    See this User Tip by turingtest2
    https://discussions.apple.com/docs/DOC-6562

  • How to find the date when the users has been created in Hyperion Essbase

    Please let me know, if there is any option or way to find the date when the users has been created in Hyperion.
    Essbase - 9.3.1.0.0
    Sun Solaris SPARC (32-bit) - 5.8
    If not in Hyperion, could you please let me know if it gets stored in the repository. If yes, please let me know the table name in Oracle.

    I don't know of a way of getting this information from Shared Services via the standard web UI. However you can see when a native user was created in openLDAP. If your users are all native then you can use an ldap browser to view the CreateTimestamp.
    Port: 58089
    User DN:CN=911,ou=People,dc=css,dc=hyperion,dc=com
    Password: Your shared services admin user password
    You should see each new native user under the ou=People and each CN will have a create timestamp.
    I can't help if all you users are external or your using the old Essbase native security.
    Gee

  • Looking for a way to log privilege adds even when the user has that priv

    We've run into a situation where we want IDM to log privilege adds/removes, even when that privilege already exists (for add) or doesn't exist (for remove) on a person.  Let me give some background.
    We are a small team working on an IDM project, each team member with 6-30 months of experience with the IDM product.  We're using 7.1.
    We have two systems, one of which is queryable and (certain) privileges updatable via REST API -- we'll call this system REST.  The second system of course is IDM.
    When an IDM privilege is added or removed, the business requirement is to always keep IDM and REST in sync, privilege-wise.  This is no problem and we have provisioning set up to make the API call, and it works great.  However, if there is a problem with the REST API (network issue, just plain down, etc.) this sync can't happen.  So, within the provisioning framework, if there is a failure, the failure is logged and the privilege is reverted, keeping REST and IDM synced.  A job runs regularly to check this log table and re-attempt the appropriate action, which of course will trigger provisioning again, hopefully successfully.
    The problem occurs in a situation like this, where each point comes in chronological order.
    1. User X gets privilege Y granted within an IDM UI.
    2. Provisioning triggers, but for some reason the REST API call fails (twice, because of retry).
    3. The failure task for the REST API call removes privilege Y from user X.  The error is logged.
    4. After a while, some job runs which removes privilege Y from all users whose names begin with X.  Even if the job explicitly removes privilege Y from user X, this is not logged in the system in any way, doesn't trigger provisioning, etc.
    5. After another while, the "retry job" runs and attempts action #1 again.  This time, the provisioning succeeds.  Now user X has privilege Y on both IDM and REST.  However, because of step 4, clearly user X should not have privilege Y.
    The same (well, reverse) issue occurs when removing the priv in step 1 and doing a grant in step 4.  During tests, one can just set up a To Identity Center step and remove/assign a privilege to an arbitrary person, then run the job containing this step repeatedly.  If the action has no net effect, there's no record (in, for example, sentries, oentries, or indeed in mxi_(old)values).  It would be great if there was a generic way to cause these actions to be logged, and we've actually thought of a couple other cases where this logging would be useful as well.  Is there some simple way?  Is it already logged in some esoteric table we haven't thought of?
    Any thoughts on this interesting scenario would be appreciated.  Thanks!

    Hi Chris,
    If I understand correctly, since you are using the log to ensure that the privileges are synced.
    Any chance you could enhance step 4 to remove information about the failed assignment from the log, so that it will not be retried?
    Note also, that this is improved in IdM7.2 and the framework. You will only get the privilege assigned after the add-member task has successfully assigned the privilege in the back-end system (which is what you are trying to achieve).
    Best regard
    John Erik Setsaas
    Development Architect IdM

  • [SOLVED] - Thunderbird constantly crashing, especially when using Add Ons Manager, but sometimes just when the program has been sitting open.

    Hello,
    I was using Thunderbird earlier today when the power went out in my neighborhood. Since the power has been restored Thunderbird has been crashing early and often. I can't get the program to open unless I rename or delete the "extensions" folder in ~\Library\Thunderbird\Profiles\<Profile Name>
    It will crash immediately if I go to Tools--> Addons. Eventually it will just crash from just sitting open in the background. I've attached the crash report below. I'm on OSX 10.10.1
    I've tried deleting and reinstalling Thunderbird (both the current and previous version)
    I've tried repairing permissions
    I've tried using Time Machine to restore the entire Profiles folder from before the power outage.
    Any suggestions? I've been using Thunderbird for years and I'm quite comfortable with it, but might have to switch to Postbox if I can't fix this.
    Thanks.
    AdapterDeviceID: 0x6720
    AdapterVendorID: 0x1002
    Add-ons: %7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:31.3.0
    BuildID: 20141127140543
    CrashTime: 1419384832
    EMCheckCompatibility: true
    EventLoopNestingLevel: 1
    FramePoisonBase: 7ffffffff0dea000
    FramePoisonSize: 4096
    InstallTime: 1419372200
    Notes: AdapterVendorID: 0x1002, AdapterDeviceID: 0x6720GL Layers! GL Context? GL Context+ GL Layers+
    ProductID: {3550f703-e582-4d05-9a08-453d09bdfdc6}
    ProductName: Thunderbird
    ReleaseChannel: release
    SecondsSinceLastCrash: 22
    StartupTime: 1419384814
    Theme: classic/1.0
    Throttleable: 1
    Vendor:
    Version: 31.3.0
    useragent_locale: en-US
    This report also contains technical information about the state of the application when it crashed.

    That did it, thank you!
    It was located in ~/Users/<username>/Library/Internet Plug-Ins

Maybe you are looking for