where is put in STANDBY and PRIMARY

Hello

in 10g R2, dataguard on HP unix

When connected in sleep mode, how can we find out where is the main server?

or:


When it is connected to the primary, how can we find out where is the backup server?

Thank you.

the primary; log_archive_dest_x look athe parameter you will see something like:

SQL > select name, value of the parameter $ v where name like '% log_ar % ';
....
LOG_ARCHIVE_DEST_2
SERVICE = TEST_STANDBY LGWR ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_
Nom_unique = test TIMEOUT = 120
....

tnsping TEST_STANDBY and here is your sleep.

Since the day before; query, if fal_server is configured:

SQL > select name, value of the parameter $ v where name = 'fal_server;

VALUE NAME
---------- ----------
fal_server TESTPROD

tnsping TESTPROD and here is your main.

Tags: Database

Similar Questions

  • standby and primary

    On my primary database
    When I archive log list, it gives me

    Database log mode Archive Mode
    Active AutoArchive
    Archive destination/u04/oradata/arch/Prod.
    More old sequence of journal online 29627
    Log sequence archive 29629
    Current log sequence 29629

    On my database of relief, when I archive journal list, it gives me

    SQL > archive logs list;
    Database log mode Archive Mode
    Active AutoArchive
    Archive destination/u04/oradata/arch/STNBY /.
    More old sequence of journal online 29627
    Log sequence to archive 0
    Current log sequence 29629

    But in the main hotback, it appears with these errors

    RMAN-08137: WARNING: log archiving not deleted because it is still necessary
    Archive newspaper filename=/u04/oradata/arch/PROD/PROD_0001_749397572_0000028449.arc thread = 1 sequence = 28449
    RMAN-08137: WARNING: log archiving not deleted because it is still necessary
    Archive newspaper filename=/u04/oradata/arch/PROD/PROD_0001_749397572_0000028450.arc thread = 1 sequence = 28450
    RMAN-08137: WARNING: log archiving not deleted because it is still necessary

    I don't know to sleep is not synchronized with the primary.
    Can someone explain in detail how to solve this problem.
    Any help is greatly appreciated.

    Thank you

    As I said in a previous post, I think you should be able to stop production by referring to the expectation, by disabling the indicated parameters of such Production.

    EG (do on prod)
    The "n" is only for those destinations that are the the eve of production - do not remove check-in local destination own submissions of prod.
    ALTER system set log_archive_dest_state_N = "DAVID";
    ALTER system set log_archive_dest_N = "; (two apostrophes)
    ALTER system set log_archive_dest_state_N = 'enable '.
    ALTER system set fal_client = ";
    ALTER system set fal_server = ";
    ALTER system set log_archive_config = ";
    ALTER system set remote_listener = ";

    alter system switch logfile;

    Confirm that only the remaining archive log destinations (local production) receive an archived redo log.

    Check the log of alerts for error messages.

    Perform an incremental backup of level zero on the primary, or however you make a FULL backup of the production.
    After that is completed successfully, you should be able to cross-check of Rman & remove obsolete. To delete all old backups and archived redo logs, which is no longer necessary.

    There is no need to change the controlfile to Prod at any time during the creation of a facility of DataGuard.
    The controlfile 'sleep' created on the host Prod during standby configuration steps - is NOT used on the production host, but transferred and used on the host of the previous day only.

    The installation manual, maintenance and monitoring of a Dataguard configuration is a very technical proposal.
    You must be very familiar with the machinery and used commands. RMAN backup and configuration strategies are also considerations.
    I maintain my own, 'playDB' primary and physical DataGuard configuration of Eve, linking a Test and Dev hosts, where I practice switch-overs and PSU patch again and again, without affecting the 'development', the test (QAT) or production programs.

    You use spfile - NOT pfile.
    If your production is currently using a pfile file, you will need to have a failure at some point to implement using spfile, before a successful DG configuration is possible. Use this same feature to define primary school "db_unique_name" to something a little supposed EG: name of host or first, ready for a future scenario DG.

    Good luck.

  • PhoneGap build - where to put application icons and splashscreen files

    As build phonegap says to download only www.zip folder so I'm not able to understand where I should put the icons and the splashscreen for each platform folder. Should I put inside www?

    The reason for asking this question is that if we're supposed to keep the icons and splash inside www only so my application will become very heavy icons and useless and splash screen files will be added in my app that my application is cross-platform supported and I have included icons and splash for all platforms.

    If we are working offline (phonegap cli) then we used to keep files inside "res" outside the folder "www" and cordova build process automatically copy only specific platform icons and splash screen files, but here, it will add all the files even some of then are no longer required for the selected platform. Please let me know if one any idea on this subject.

    a. When you use Phonegap Build, your icons and splash are anywhere you want. BMP does not require a specific directory of your zip file structure. Neither requires a naming scheme.

    The best is:

    -have index.html and config.xml icon.png in the root directory of your zip

    -all the rest well organized, have you like

    -Make sure the paths in your config file are completely correct.

    For example:

    / index.html

    / config. XML

    Icon.PNG

    /myOtherPages/Page2.html

    /myOtherPages/page3.html

    /myOtherPages/page4.html

    / myOtherPages /...

    /myIcons/icon60.PNG

    /myIcons/icon90.PNG

    /myIcons/icon120.PNG

    / myIcons /...

    /mySplashes/splash320x480.PNG

    /mySplashes/splash480x320.PNG

    / mySplashes /...

    / myJavascriptfiles /...

    / myCSSfiles /...

    / myGraphics /...

    (b) make use of the file .pgbomit what is called to say a BMP to include only the directories and files that are required for each operating system.

    See the section commissioning of the BMPS documentation:

    Getting started | PhoneGap Docs

  • Removal of archives on Standby and primary

    My scenario:

    RDBMS 11.2.0.3

    I want to put this, but some input from you guys.

    RMAN delete on primary policy: CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;

    RMAN delete pending policy: CONFIGURE ARCHIVELOG DELETION POLICY to APPLIED on STANDBY BACKED UP 1 TIME FOR 'SBT_TAPE ';

    Rman backups are taken on the strip of the main server instead of the day before. and I wanted to know if it's the best way to avoid to get the archive deleted before sent and deleted once applied on the Stanby site.



    Hello;

    N ° if you take backups on the primary then I would change the DELETION STRATEGY on letter waiting.

    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;

    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY;

    Or use this

    Remove the Archivelogs applied on the physics of the standby database

    Best regards

    mseberg

  • has asked to connect but not where to put the id and password

    I installed, uninstalled and reinstalled my Adobe Photoshop Elements and Adobe Premiere elements 13 several times on my Windows PC under Windows 7. Once I get to the part to enter my Adobe ID, I don't have any space to conclude (screenshot). I activated my products online but I'm still not able to use them. Help, please! I tried all the troubleshooting techniques that I could find online. Also, when I do contact us on the view of Adobe, it is said that the cat is available 24 hours per day/7 days a week, but yet he is never an option for me to choose.

    Adobe.PNG

    Close all Adobe applications and complete all Adobe processes from the Task Manager.

    N ° 1)

    Press Windows button (located between Ctrl and Alt buttons) with the key R together at once, you will get a command window.

    Type below command and press the enter"" key.

    AppData

    It will open the Appdata folder.

    Then go to the Local > Adobe > OOBE. OOBE folder and delete "' Opm.db ' file."

    Step 2)

    Go to C: > Program (x 86) > " common files" > Adobe.

    Open the Adobe folder and delete folders named Adobe Application Manager and OOBE.

    Impossible to remove? try to rename. as old OOBE.

    Step 3)


    (1) open Control Panel and then click on the network and Internet"" option.

    2) click on Internet options, click on the tab "connections".

    (3) in the 'Connections' tab, select 'LAN' settings, you will be able to view the LAN settings box.

    (4) check the box-"automatically detect settings" and then "uncheck" all the other boxes as "configuration Script auto use", "Use a proxy server," proxy server ", then click on the ok button."

    6) click on 'Network settings' button once again, make sure that "Automatically detect settings" is the only option you select, the window of properties of LAN so clear.

    Step 4)

    Click on the link below and download Adobe Application manager and install the same:

    http://download.adobe.com/pub/Adobe/creativesuite/CC/Win/ApplicationManager9.0_all.exe

    Once the installation is complete, look for the icon of Adobe Application Manager launch on desktop and double-click it.

    It will start the update process.

    Once completed, it will be updated for Adobe Creative Cloud app. No need to login.

    Then run Photoshop elements 13 and try to sign in and check.

  • RA-12514: TNS:listener do not 11 g standby and primary

    Hello

    We are in the process of creation of database on Linux, when I am trying to connect to the auxiliary primary database, I am struck error, any ideas below.

    RMAN target sys/oracle@adg auxiliary sys/oracle@adg1

    I am able to do tnsping from two servers.

    sleep mode
    ---------------
    [oracle@adg1 admin] $ tnsping adg

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on August 18, 2011 18:49:15

    Copyright (c) 1997, 2009, Oracle. All rights reserved.

    Use settings files:
    /U01/app/Oracle/product/11.2.0/Db_1/network/admin/SQLNET.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = adg.xxxx.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = adg.xxxx.com) (UR = A)))
    OK (0 msec)
    [oracle@adg1 admin] $ tnsping adg1

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on August 18, 2011 18:49:15

    Copyright (c) 1997, 2009, Oracle. All rights reserved.

    Use settings files:
    /U01/app/Oracle/product/11.2.0/Db_1/network/admin/SQLNET.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = adg1.xxxxcom) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = adg1.xxxx.com) (UR = A)))
    OK (0 msec)
    [oracle@adg1 admin] $


    Elementary school:
    ========
    [oracle@adg admin] $ tnsping adg

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on August 19, 2011 10:06:29

    Copyright (c) 1997, 2009, Oracle. All rights reserved.

    Use settings files:


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = adg.xxx.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = adg.xxxx.com)(UR=A)))
    OK (10 ms)
    [oracle@adg admin] $ tnsping adg1

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on August 19, 2011 10:06:29

    Copyright (c) 1997, 2009, Oracle. All rights reserved.

    Use settings files:


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = adg1.xxx.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = adg1.xxx.com) (UR = A)))
    OK (0 msec)
    [oracle@adg admin] $



    ================================

    listener.ora ensures
    ---------------------------
    [oracle@adg1 admin] $ cat listener.ora
    listener.ora # Network Configuration file: /u01/app/11.2.0/grid/network/admin/listener.ora
    # Generated by Oracle configuration tools.

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = adg1.xxx.com) (PORT = 1521))
    )
    )

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ADG)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/db_1)
    (SID_NAME = ADG1)
    )
    )

    tnsnames.ora ensures
    ------------------------------
    [oracle@adg1 admin] $ cat tnsnames.ora
    tnsnames.ora # Network Configuration file: /u01/app/11.2.0/grid/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.

    ADG1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = adg1.xxx.com) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = adg1.xxx.com) (UR = A)
    )
    )

    ADG =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = adg.xx.com) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = adg.xxx.com) (UR = A)
    )
    )

    [oracle@adg1 admin] $

    Your watch listener.ora. DBNAME overall aka the name of your Service isn't ADG ADG1.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ADG)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (SID_NAME = ADG1)
    )
    )
    

    But in your tnsnames file you are referring to the adg1 service.

    ADG1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = adg1.xxx.com)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = adg1.xxx.com) (UR=A)
    )
    )
    

    Replace the ADG service_name.

  • Auto standby and sleep

    My system wakes up hours even after being put on standby, and then back to mode 'sleep' in itself.

    This happens when I wake up to go to the bathroom in the middle of the night. When I get to a certain place in the hallway, I hear the 'click' in my computer room that occurs subsequently to the top. Then I change course to control the computer and I find it wakes up. He will then go back to sleep in a few minutes. Either it's haunted to wake up when I do (it seems to wake up when I get to a specific place in the hallway (*?), or he wakes up frequently while I'm asleep.)

    Any way to prevent it to wake up or get a log of his self-directed behavior?

    Try disabling "Wake for network access" and "Enable Power Nap" in system preferences > energy saver.

  • Where to put the java code - best practices

    Hello. I work with the Jdeveloper 11.2.2. I'm trying to understand the best practices for where to put the code. After reviewing the http://docs.oracle.com/cd/E26098_01/web.1112/e16182.pdf, it seemed that request module was the preferred location (although many examples in the pdf file reside in the main methods). After some time of coding, if, I noticed that there was a certain libraries imported and wondered if this would impact performance.

    I looked at the articles published on the forum, in particular Re: programmatically access the method of service (customer interface) . This link mentions for access to the code a bean of support - and the bulk of the recommendations seem to be using the data control to drag to the Joint Strike Fighter, or use the links to access code.

    My interest lies in where to put the java code in the first place; In the view object, entity object, and... other Am, backing bean object?

    I can describe several guess better know where to put the code and the advantages and disadvantages:

    1. in the application module
    Benefits: Central location for code makes development and support easier as there are not multiple access points. Kinda like a data control centralizes the services, the module of the application can act as a conduit for the different parts of the code you have in your model objects.
    Cons: Everything in one place means that the module of the application becomes bloated. I don't know how the memory works in java - if the app module has tons of different libraries are all called when even a method of re - run a simple query is called? Memory of pigs?

    2. write the code in the objects it affects. If you write code that accesses a view object, write it to a display object. Then make it visible for the customer.
    benefits: the code is accessible through ducts less (for example, I expect that if you call the module from the application of a JSF backing bean, then the module of the application calls the view object, you have three different pieces of code-)
    CONT: the code gets spread, more difficult to locate etc.

    I would greatly appreciate your thought on the issue.


    Kind regards
    Stuart

    Published by: Stuart Fleming on May 20, 2012 05:25

    Published by: Stuart Fleming on May 20, 2012 05:27

    First point here is when you say 'where to put the code of java' and you're referring to ADF BC, the point is that you put 'code of java business logic' in the ADF business components. Of course it is very good to have the Java code in the ViewController layer that covers the user interface layer. Just don't put the business logic in the user interface layer and don't put no logical user interface in the model layer. In your 2 examples you seem to consider the ADF BC layer only, so I'll assume that you're not only serious logic java code.

    Meanwhile, I'm not keen on best practices in the term that people are following best practices without thinking, usually best practices come with conditions and forget to apply. Fortunately you do not here that you have thought through the pros and cons of each (nice work).

    Anyway, back on topic and turn off my soap box, regarding where to put your code, my thoughts:

    (1) If you have only 1 or 2 methods set in the AppModuleImpl

    (2) If you have hundreds of methods, or there is that a chance #1 above will turn into #2, divide the code between the AppModuleImpl, the ViewImpl and the ViewRowImpls. Why? Because your AM will become overloaded with hundreds of methods making it unreadable. Put the code where it should logically go instead. Methods that operate on a specific line of VO Approfondissez partner ViewRowImpl, methods that work across lines in a VO enter the ViewImpl and methods that work throughout your in the associated AppModuleImpl.

    To be honest that you never the option you choose, one thing I recommend as a best practice is to be consistent and document standard so not know your other programmers.

    BTW, it is not a question about loading a lot of libraries/imports in a class, it has no performance cost. However if your methods require a lot of class variables, then yes there will be a memory of the costs.

    On a side note, if you are interested in more ideas on how to create ADF applications properly think about joining the EMG "ADF", a forum which deals with ADF architecture, best practices (cough), deployment architectures free online and more.

    Kind regards

    CM.

  • I can't see where to put a Web site and go to my fitrfox of Mozilla. What should I do?

    The area where I placed a site to visit is no longer visible to me. So, I have no where to put, say, www.beoproperties.com or www.mapquest.com

    What should I do?

    Hello DrRomie, please see the following article that contains the most common fixes for the issue you described: the Navigation buttons such as back, home, bookmarks and recharge are missing

  • iCloud often ask a security code 4 digits.  I have no idea what it is, my code is six digits.  What is the 4 digit version and where I put or find it?

    iCloud often ask a security code 4 digits.  I have no idea what it is, my code is six digits.  What is the 4 digit version and where I put or find it?

    Have you implemented 2-step audit on your Apple ID? If you do this, then whenever you connect to icloud.com you are likely to be asked for the security code, which will be sent by SMS to your device of 'trust' - mainly the mobile phone you have registered with Apple.

    The six-digit code that you think is probably the password in your iOS device, which is quite distinct.

  • I will not let me connect to my main, connect you to where I put my password in and then logs on just continuous vista startup repair in time ever I start my computer

    I will not let me connect to my main, connect you to where I put my password in and then logs on just continuous vista startup repair in time ever I start my computer

    Follow these steps to try to solve your problems of boot.

     

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    http://www.windowsvistauserguide.com/system_restore.htm

    Read the above for a very good graph shows how backward more than 5 days in the System Restore Points by checking the correct box.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

     

    If the system or Mode restore safe work not and you do not have a Microsoft Vista DVD, make a repair disc to do a Startup Repair:

    Download the ISO on the link provided and make a record of repair time it starts.

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.

    When you have changed that, insert the Bootable disk you did in the drive and reboot.

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    Link above shows what the process looks like and a manual, it load the repair options.

    NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.

    Read all the info on the website on how to create and use:

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    ISO Burner:http://www.snapfiles.com/get/active-isoburner.html

    It's a very good Vista startup repair disk.

    You can do a system restart tool, system, etc it restore.

    It is NOT a disc of resettlement.

    And the 32-bit is what normally comes on a computer, unless 64-bit.

    See you soon.

    Mick Murphy - Microsoft partner

  • Where to put the report server ip and port for the Siebel server?

    Hello

    Where to put the report server ip and port for the Siebel server? I have checked the document "Reports Siebel Guide" but does not know where is the configuration section ' ip address of the server and port ' for 'Oracle BI Publisher.

    Note: I have installed BI Publisher, now necessary to define the ip editor and siebel server port.

    Please help, thanks.

    Hello

    Communication between Siebel and BEEP coming through webservices. You must set the Siebel Outboundwebservice 'PublicReportService' address to address BI Publisher.

    Similarly, the address of the webservice Siebel Inbound 'BIPSiebelSecurityWS' will be used by BEEP setting under the security model of Siebel - Siebel end Webservice poin of connecting to Siebel EAI, data inorder of success authenticate the Siebel user to perform the tasks of report being initiate Siebel UI.

    Please go through the integration document attached to the thread "Re: ADVISE WEBCAST: BI Publisher 11g Configuration with Siebel", it is any integration Siebel with BEEP 11g steps. " But if you go through each step, there are details about why we do it. Through this way you can better understand the integration.

    I hope this helps.

    Thank you
    Maria

  • Hello, I got a serial number for adobe package I installed 3/4 years ago, but I don't know where I put the serial number and now I need it! Is anyway to find the series through the application code? Thank you!

    Hello, I got a serial number for adobe package I installed 3/4 years ago, but I don't know where I put the serial number and now I need it! Is anyway to find the series through the application code? Thank you!

    If it's a Windows machine, and then try running Belarc Advisor

    http://www.Belarc.com/free_download.html

    For a Mac, you can try:

    https://Mac-product-key-Finder.com/

    Find the serial number of your Adobe product quickly

  • I just upgraded from CS 6 (Dreamweaver) and now when I click on an image on a web page in Dreamweaver is wrong in the folder where the photo is stored and more.  If this continues, I'll have to go back to 6 CS that I put in a lot of photos.

    I just upgraded from CS 6 (Dreamweaver) and now when I click on an image on a web page in Dreamweaver is wrong in the folder where the photo is stored and more.  If this continues, I'll have to go back to 6 CS that I put in a lot of photos.

    I use dw cc and I just double-click on the photo I want to change in dreamweaver CC and my images folder opens, select new photo and then it updates and I'm good to go, I use a mac

  • Problems with Windows 10 screen standby and sleep mode

    After downloading 10 Windows on my desktop all-in-one HP, I have problems with the display of standby and sleep mode.  When the computer turns off, he doesn't have the bright screen.

    After the upgrade to Windows 10, some laptops have experienced one or more of the following symptoms:

    • > Power LED remains lit after stopping
    • > Computer enters standby or hibernation.

    HP recommends that customers see these symptoms first update the graphics drivers by removing and then reinstalling the hardware in Device Manager.

    See the section updating the graphics driver from where can I find drivers Windows 10 and software for my model?

Maybe you are looking for