Problem with data hold creating a Physical Standby Database turorial

There is a tutorial for creating a Data Guard Physical Standby Database:
http://www.Oracle.com/technology/OBE/11gr1_db/HA/DataGuard/physstby/physstdby.htm

I tried to install it on two servers. One for a primary database (deuxieme for the physical standby.
I have the error on creating C. the database of watch on the #6 action network:

«On the rescue system, set the ORACLE_SID to your < SID physical standby > environment variable (i.e. orclsby1) and start the instance in NOMOUNT mode with the text initialization parameter file.»

When I try to connect to the instance that is idle, there is an error pops up:

C:\ > sqlplus / as sysdba

SQL * more: version 11.1.0.7.0 - Production Thursday, May 21, 16:28:10 2009

Copyright (c) 1982, 2008, Oracle. All rights reserved.

ERROR:
ORA-12560: TNS:protocol adapter error

I ' v checked listener, and it is managed. There is no database service because there is still no database.

The question is did some data installed a guard configuration using this tutorial? Are there errors in there? What should I do to complete the installation?

On Windhose for any service must have been created using the oradim command.
Oracle tutorials are usually centered on Unix, because Windhose is an odd man out, so they do not discuss.
"Please do the needful" and create the service before the beginning of the instance in nomount mode

Tip: oradim is documented and has a help = clause of y.

IIRC there is an option in control database (in the part of the interview) that automates everything.

----------------
Sybrand Bakker
Senior Oracle DBA

Experts: those who read documentation

Tags: Database

Similar Questions

  • Problem PHP/Data Services, creating entry in the database

    Hello

    I use Flash Builder with Flex 4.1 SDK.

    I don't have bproblem to connect to a database, but some commands do not work.

    When I connect to a database by using the wizard in the Data/Services section, I use the link 'click here to generate a sample' to 'configure PHP services' Assistant.

    Flash Builder then creates the basis for my CRUD methods (counting[ServiceName],[ServiceName]to create, delete[ServiceName], count with all[ServiceName], get[ServiceName]ByID).

    Most of the methods of work, but does not have the create method.

    After hours to analyze the code, I noticed that in the file .as [ServiceName] _Super_ of services. [yourservice] package, the create method used another class to transmit its data.

    While most methods use the 'mx.rpc.AsyncToken", use it create "mx.data.ItemReference"class as a return type.

    I changed the method to create so it would use the "mx.rpc.AsyncToken" and I got things market.

    I also commented the following piece of code for thing make it work:

    dmOperation = new mx.data.ManagedOperation ("createUsers", "create");

    dmOperation.parameters = "item";

    _usersRPCDataManager.addManagedOperation (dmOperation);

    I was then able to use the create method.

    I'm sure I'm missing an important part of the knowledge here.

    While some methods use the mx.data.ItemReference, most methods use the mx.rpc.AsyncToken.

    Can someone explain to me what I have to do in order to be on the right track?

    Thank you for your time

    I think that you must call commit() on the service after calling create(). Try it. This should solve the problem.

  • How to open a physical standby database "Manual" in read/write mode

    Hello

    I am running Oracle Database 10g Release 10.2.0.3.0 - 64 bit Standard Edition Production on Linux version 2.6.9 - 42.0.8.ELsmp ([email protected]) (version gcc 3.4.6 20060404 (Red Hat 3.4.6 - 3))

    I created a physical standby database, but since I am running Standard Edition, I don't use the features in DataGuard. I use the utility rsync to copy on the data pending archivelogs, and I periodically applied to the standby database.

    The standby database is started in this way:

    startup nomount pfile='/u01/oradata/orcl/initorcl.stdby';
    ALTER database base_de_donnees eve of Mount;

    Everything works perfectly, I can "open database in read-only alter" and then I can make selects in the tables to confirm that everything is up-to-date.

    The thing is, if I stop the database and then perform the boot simply:

    stop immediately;
    start-up;

    The database opens with an error message, but it is always in read-only mode...

    I read that the default behavior for a database ensure must open read-only, as I am experiencing, but I would like to know what is the right way to open it in read-write mode correctly (I understand that after this, my watch will not standby more and I need to recreate my database pending).

    Thank you

    Carpet

    Try: -.

    ALTER database activate standby database;

    This should open read-write (you will not be able to recover thereafter)

  • Create a physical standby DB: your favorite way

    Version: 10.2, 11.2
    Operating system: aix/solaris/linux

    What is your preferred way of creating a physical Standby DB? Using the normal procedure of RMAN, use RMAN Duplicate, using plain SQL,... etc?

    Hello;

    RMAN duplicate for standby Data Guard.

    Its short and sweet, and quick.

    Here are my notes:

    http://www.Visi.com/~mseberg/duprman2.html

    Best regards

    mseberg

  • Problems with saving files, creating new layouts div fluid

    Problems with saving files, creating new layouts div fluid. Can I reinstall all the software Dreamweaver?

    Thank you

    I reinstalled and all is well.

    Sent from my iPad

  • How to change the character of database defined on the physical standby database?

    Hello

    We hear a database to WE8ISO8859P1 character and migrated the character set using csscan/csalter scripts to WE8MSWIN1252. This database has a configuration also physical standby database, and after the migration, the database physical standby shows always defined as WE8ISO8859P1 character. How can I change the characters on the physics of the day before? I asked a Service request with Oracle, and they said that you re-create the database pending is the only way to support the development of the tank set to the standby database. Is this true?


    Thank you
    Anthony

    You have received good advice from the Support of Oracle, so I recommend doing a complete refresh of Eve, but if you want to play with fire...

    On the elementary level, you can: -.

    target connection.
    RUN {}
    ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT ' / home/oracle/rman_%d_%T_%s_%p';
    BACKUP CURRENT CONTROLFILE TO SLEEP;
    }

    or

    ALTER DATABASE CREATE STANDBY CONTROLFILE AS ' / home/oracle/standby.ctl';

    Then you stop the watch, replace the with the new primary backup controlfile and make sure that file names are correct (select name from v$ datafile). If the file names are correct, start the recovery. Otherwise, rename files, or difficulty with the rman command 'catalogue start with '.

  • Structure of the event: problem with data transfer

    Hello everyone,

    for three days I'm troubleshooting an issue in LabView with the event structures. I really hope someone can help here, because I can't find anything on the entire WEB.

    I had six groups of equal to a VI entry, each containing five checks enum (among others) where the user can specify some configuration of measurement data. I want the program to do is: to recognize if a any of these enum values has been changed and if yes, then submit the values containing the cluster in a subvi then calculates the wiring and affect the material of the ports. In addition, i need to submit the number of the enum element that was changed, so the program is able to clear the user input in the case of a breach (e.g. If the user sets two entries of enum control 1 meter and 2 Group 1 and then tries to set a third counter of entry to port 3, the program displays a message and deletes third entry as the number of entries of counter is limited to 2 per cluster).

    To resolve this problem, I used a structure of the event with 6 x 5 cases (change of enum value 1 Group 1 Group 1 enum value 2 change... and so on until the change in the value enum 5 Group 6).

    The problem is that if the user changes a value, the event structure reacts and performs the proper case; However VALUES of the cluster, the user changed are not subject to the SECOND time that an event occurs. It is a kind of a situation, "n-1". For example, if all five controls Enum of Group 1 are 'disabled' first and the user sets enum 3 of 'Meter entry', the structure of the event runs but submits the values previous to the Subvi (all enums 'Disabled'). When the user makes the second change, say that enum SWITCH1 to "Analog Input", the structure of the event is running again and passes the values of the FIRST user to the Subvi editing, then the Subvi gets data "enum 3 meter inlet and all other disabled enumerations.

    In easier words: if I have new values on my cluster "Kanal 1" (left side of the screenshot) and run the structure of the event, on the right side to "Kanal 1" indicator, I get the previous values (n-1).

    The structure of my event is in a while loop. If I create a timeout every 10 ms, and a loop of 250 ms the waiting time, I got the 80% chance that the recent changes are transferred to the Subvi correctly, in other cases I have a delay of the 1 step as described above. It seems to be directly based on the time that I specify the while to wait - but I can't explain it and I cannot accept a less than 100% chance to transfer the correct data, nor can I accept delays of a few seconds for each loop run. If I indicate timeout (infinite) get delayed 1-1 step values in all cases.

    When I specify cases of event to react on "all items value change" of the structure of the event behaves properly - but then I can't handle indicate which element has changed, as the CtlRef of output in case of a structure does not specify "enum 1, enum 2..." but only "Group 1".

    Does anyone have a solution to this? It is certainly a problem with the structure of the event, but I can't understand what to change.

    Thank you much in advance,

    Mr. Boiger

    This is because the terminal is read until the structure of the event runs.   Terminal is read, the event structure is waiting for an event.  The change in value.  Business events are running, but the value is the old value.

    Put the terminal inside the event.

    Or, you can display the connector called "New value" on the side left (stretching down from the border of the node 'CtrRef').  Use a wire one to come.

  • TO_CHAR fucntion problem with dates.

    Hi all

    I tested the following problem with 10g and 11g databases, and the problem is the same.

    create table aa (a date);
      insert into aa values('23-Mar-2014');
     commit;
    

    now the following query gives no results

    select count(*) from aa
    where to_char(a,'dd-Mon-yyyy') >='23-MAR-2014' and to_char(a,'dd-Mon-yyyy') <='23-Apr-2014';
    COUNT(*)
    ----------
     0
    

    and the following query gives the results

    select count(*) from aa
    where a>='23-Mar-2014' and a<='23-Apr-2014'
    
    COUNT(*)
    ----------
      1
    

    Why?

    We need the to_char working for our criteria of search dot net application.

    kindly guide us.

    Thank you

    You're hurting. Why convert a date into a string of characters and try to compare it to another string? This is false.

    Insert into aa values('23-Mar-2014');

    should be

    insert into aa values (to_date (March 23, 2014 ',' MON-DD-YYYY "");)

    and your selection should be:

    Select count (*) in aa

    where a > = to_date (March 23, 2014 ',' MON-DD-YYYY') and to_date (April 23, 2014 ',' MON-DD-YYYY "")

  • Rename a data file in a physical standby

    Hi all

    I have the following problem.

    Oracle Enterprise Linux 64-bit 11.2.0.2.0

    Primary and standby are configured with standby_file_management = MANUAL

    I added a tablespace with a primary data file a few days ago.

    Today, I realized sleep did not change due to the following error:


    ORA-01111: name for the data file 13 is unknown - rename it to the correct file

    ORA-01110: data file 13: ' / oracle1/11.2.0.2/dbs/UNNAMED00013'

    ORA-01157: cannot identify/lock data file 13 - see DBWR trace file

    ORA-01111: name for the data file 13 is unknown - rename it to the correct file

    ORA-01110: data file 13: ' / oracle1/11.2.0.2/dbs/UNNAMED00013'

    According to the MOS it says I should rename database in standby mode, but it does not allow me to do so, it is said that dB must be open; but I can't open it because it is a standby DB.

    Even if I want to open read-only, it says:

    SQL > ALTER DATABASE OPEN read-ONLY.

    ALTER DATABASE OPEN READ ONLY

    *

    ERROR on line 1:

    ORA-10458: standby database requires recovery

    ORA-01157: cannot identify/lock data file 13 - see DBWR trace file

    ORA-01111: name for the data file 13 is unknown - rename it to the correct file

    ORA-01110: data file 13: ' / oracle1/11.2.0.2/dbs/UNNAMED00013'

    /Oracle1/11.2.0.2/DBS/UNNAMED00013 data file does not exist

    How can I solve it?

    Thank you very much.

    Hello;

    My friend CKPT has a post on it:

    Without file NAME in standby mode after the addition of new files to primary ORA-01111, ORA-01110

    http://www.Oracle-CKPT.com/unnamed-file-in-standby-after-adding-new-file-to-primary-ora-01111-ora-01110-ora-01157/

    Sound also cover in the book he co-authored:

    Oracle Data Guard 11 GR 2 Administration beginner & #039; s Guide | Packt Publishing

    Best regards

    mseberg

  • Problem with date and time

    HP Elite m9498d, Windows Vista 32-bit. Battery change, but the time and date again goes back to January 2002?

    Then, it might be a problem with the BIOS itself. Try to update the BIOS which for sure should solve the problem.

  • Problems with date calculation

    I have a java (and much more far vb) background and it seems that I'm really dependent functions for date calculations.  I'm trying to do a few things, but have not been able to accomplish them.

    I do not have

    Calendar.add()
    

    I briefly contemplated an add function by converting into long then do the calculation and returns a new calendar object, but the problems with this approach comes flourishes as soon as I started.  Just trying to find out if a date was yesterday was me banging my head against the wall.

    Any help please?

    I wrote this, but I don't know if there is a simpler method, go to this issue the wrong way, etc.

    public static boolean isYesterday(Calendar c) {
        Calendar today = Calendar.getInstance();
        int newDay = today.get(Calendar.DAY_OF_MONTH);
        if (newDay == 1) { //get last day of previous month
            int newMonth = today.get(Calendar.MONTH);
            int newYear = today.get(Calendar.YEAR);
            /* If jan 1, get dec of last year */
            if (newMonth == 0) { //Java Calendar.MONTH is zero-based
                newMonth = 11;
                newYear -= 1;
            today.set(Calendar.YEAR, newYear);
            }
            today.set(Calendar.MONTH, newMonth);
            newDay = DateTimeUtilities.getNumberOfDaysInMonth(newMonth, newYear);
        } else {
            newDay -= 1;
        }
        today.set(Calendar.DAY_OF_MONTH, newDay);
        return DateTimeUtilities.isSameDate(today.getTime().getTime(), c.getTime().getTime());
    }
    

    'convert to tz to the device.

    I recommend that stick you with using UTC for everything.  If you want to display to the user, then a DateField will convert the hour UTC to local time.  SImpleDateFormat.formatLocal will also print you long time UTC to local time.  So I recommend that you do not have to convert once at the local level.

    Remember that System.currentTimeMillis () is time not UTC/GMT.

    Of course, that's a good advice or not depends on your app.

    I'm not aware of any third-party code that helps, I reinvented wheels square to all my treatment to date.  But I never really looked at.

    About your code, assuming that c calendar uses the local time zone, so I think that the code works.

  • PROBLEM WITH MY WIRELESS CREATE A CARD POINT ACCESS

    I have a problem with my pc I can't create create a point access via the default tool windows 7

    Hello

    Sorry, this forum is in English only.

    Please select your language from the drop-down menu, at the top of this page to post your question in the language of your choice.

    If you can't find your language above, support for additional international sites options are by following the link below:

    http://support.Microsoft.com/common/international.aspx

    Concerning

  • Problem with date settings

    Hi all. I have the problem with the Sub statement


    SELECT THE DOUBLE TO_DATE(:P_DATE,'DD/MM/YY')

    it get me ' 10 / 04/2012 '

    but I want 10/04/12 not as above.

    I saw that DD/MM/YY not like 'DD/MM/YYYY' still it gives me 10/04/2012 why can someone explain?

    Kind regards
    Uraja

    To_Date will always give you the output date format-based nls...

    Instead, you can try

    SELECT to_char (TO_DATE(:P_DATE,'DD/MM/YY'), ' DD/MM/YY') FROM DUAL;

    or replace nls_Date_format jj/mm/aa

  • Problem with access policies (create several resources)

    I'm having a problem with access policies:

    The first policy must create a resource.
    And the following policies should create childs on the resource.

    The problem here is that when the policies will add the childs, the resource is not configured yet.
    And then each will create a resource but I want just a single resource of the childs.


    When the resource is already deployed, policies to update this resource correctly.

    How can I fix?

    TKS

    Ricardo,

    I had a similar problem. In a post processing Manager, I managed the membership of the user to specific through the removeMemberUser roles and the addMemberUser of the tcGroupOperationsIntf class.
    The last parameter of this method is a Boolean value that, if true, would automatically trigger access by programming strategies in post processing.
    The problem is that there also is an OOTB handler for triggering access rules, so I was basically triggering twice access policies and duplicate resources appear.

    I hope this helps.

    See you soon

  • Problem with Date calc

    I am trying to get this FormCalc calculation to work:

    Date2Num (form1. Page1_SF. EffectDates.endDate, ' DD/MM/YYYY') - Date2Num (form1. Page1_SF. EffectDates.startDate, "DD/MM/YYYY")

    Evently, I will divide by 7 to get the number of weeks, but the initial calculation won't work after the dates entered.

    Can you tell me what the problem with my forumula?

    Thank you.

    Odd. Something strange on the Date2Num format. I changed them in the calculation for "YYYY-MM-DD" and it works. Note that this is the calculation of the number of days elapsed.

    If (HasValue (form1. Page1_SF. EffectDates.endDate) & HasValue (form1. Page1_SF. EffectDates.startDate)) then
    $.rawValue = Date2Num (form1. Page1_SF. EffectDates.endDate.rawValue, 'YYYY-MM-DD') - Date2Num (form1. Page1_SF. EffectDates.startDate.rawValue, "YYYY-MM-DD")
    on the other
    $.rawValue = null
    endif
    Steve

Maybe you are looking for

  • Gravity is HARD on my Tecra M1 disk problem?

    I have a Tecra M1, 1.6 GHz, MS Windows Xp sp2.Last week, I posted a message to describe the problem of my computer. He started very slowly every time I restarted the computer. I logged on and there were Windows to notice that my system has problems.

  • HP Pavilion dv7-6c95dx - do not pick up the Samsung 840 Evo SSD for clean installation

    Hello Laptop model: HP Pavilion dv7-6c95dx I bought a new Samsung 840 Evo 500 GB SSD and going on to replace the main HARD drive. Tried to install Windows 7 Ultimate on it using the USB bootable Win 7, it loads the installation and starts ok and then

  • Need help with the driver 64 bit, Win 7 for Photosmart C8180

    Hello. I downloaded the 64-bit driver for Windows 7, the Photosmart C8180 All-in-one. It shows the download link, the download for 64-bit file is the same file as the 32-bit file. However, I downloaded one that says that it is for the 64-bit Windows

  • Slider Windows screen black problem

    Hello Yesterday, I bought pc components to build a pc 0 Case: NOX Coolbay SX Devil Power: Approx. APP650PS 650W Motherboard: Gigabyte 970 a - DS3P AM3 + Socket CPU: AMD - 6300 FX Graphics card: AMD R7 Sapphire 250 RAM: Stock (Kingston 4GB DDR3) HARD

  • vmfex vem esxi 5.1

    I think that a new vib vem is necessary for use with esxi 5.1 - it would be in the new version of 2.0(4a)? I can't find any reference in the release notes...