Failover Testing with and with out Broker,flashback.

Hi,
We have a requirement, where we need test the Fail over on production database. Currently we have 11.2.0.3 on Linux as production and same on another machine as Standby. We did not enabled DG Broker and Flashback in any databases. I want below information:
1) How to test failover with out DG Broker and Flashback in any databases?
2) How to enable both DG broker and Flashback and test failover with DG Broker and Flashback?
3) How can i revert back the changes after Failover i.e., i want to see the production as production and standby as standby like earlier.
Thanks a lot in advance.
- Rajashekar

Hello again;
Change parameters as needed for you system
alter system set db_recovery_file_dest_size=20g;
alter system set db_recovery_file_dest=' /u01/app/oracle/fast_recovery_area';
SQL> shutdown immediate
SQL> startup mount
SQL> alter system set db_flashback_retention_target=2880;
System altered.
--flashback to be retained for two days
SQL> alter database flashback on;
Database altered.
SQL> alter database open; ( Not on the Standby side of course )
Test
set linesize 200
SQL> select * from v$flashback_database_log;
Flashback Retention
Days Setting
1 1440
2 2880
3 4320
4 5760
5 7200
6 8640
Best Regards
mseberg

Similar Messages

  • Name search with and with out case sensitive including * also.

    there is an urgent reuirement for name search .
    i am having 6 fields all are related to name like name prefix ,firstname, lastname etc. now i want select query so that i can search the person name with case ,with out case sensitive and ' * ' also.
    and one more thing
    i am having multiple selection for first name,lastname etc.
    so i must write select query for >=, = , <= etc also along with ' * ' .
    so can any one help me, requirement is urgent.
    i cannot add one more field in database.

    Hi, I did not understand your problem exactly, but I am sending you an sample query according to my understanding.
    select <fields names> from <tablename> where name = '%xxx'.
    here % is used for searching for all the names which ends with 'xxx'
    If you give some more details briefly then I can try for you.

  • Party (with and with out)

    Dear all,
    I have two quick questions:
    1)In few of our scenario's we used party and for some with out party.what is the difference.
    In both the cases we used both Business System and service what is the difference.
    for B2b Scenario's we did not use any third party adapters like seeburger,we used http,file etc.
    What are the case we go for third party adapters.
    2)dynamic file naming using var substitution.
    suppose my file name should be as follows test_%var1%.xml
    under advanced options of file adapter I gave var as var1 what needs to be passed to the reference payload.......,could you let me know
    thanks,
    Srini

    Business system details are maintained in SLD and is created in SLD .
    We need to import the business system into the directory
    In case of business service , it is directly created in  configuration directory .
    Business service is used when client is not ready to share information of his landscape , it is used just to represent client.
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/cfd1d49bf23e49e10000000a421937/frameset.htm
    hope this helps
    regards
    Ninad

  • Outbound with and with out message control

    hai All,
    In Out bound process when to go with message control and when to go with direct(without message control)?
    thanks in advance
    Praveen

    Hi,
    There are two ways to trigger an outbound idoc, 1. thru message control
    and 2. without a message control.
    Message control comes into picture if the application document is controlled by a output type.
    Suppose a purchase order is created, then to send the purchase order to vendor, with the help of output type, the idoc will be triggered. This output type along with message type will be configured in Partner profiles.
    Without message control comes into picture if its a master data like Customer master r Material master. U can use BD10,BD11 etc.,
    Regards
    Kannaiah

  • Linux behavior with and with out -Xmx

    I have questions about some strange behavior I am seeing with Java 5.0 on Linux.
    First here is the environment:
    bq. [~]:> uname -a \\ Linux xxxxxxxxxx 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:38:41 EDT 2006 i686 i686 i386 GNU/Linux
    bq. [~]:> java -version \\ java version "1.5.0_12" \\ Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04) \\ Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
    I wrote a very simple java program that just starts up and sleeps.
    Wait.java:
    bq. import java.lang.*; \\ public class Wait{bq. public static void main(String args[]) throws Throwable{bq. Thread.sleep(100000);
    I run the program with no memory arguments:
    bq. [~]:> java -classpath . Wait & \\ [1] 30841 \\ [~]:> pmap 30841 | tail -1 \\ mapped: 1220332K writeable/private: *1160336K* shared: 49468K
    Note that pmap is showing me that it is using over *1 gig* of memory. The java documentation says that if I don't specify a -Xmx that the Max is 64 Megs.
    Top however, seems to be showing me that I am only using *10 megs*.
    bq. [~]:> top -bp 30841 \\ 08:44:00 up 187 days, 14:20, 12 users, load average: 0.38, 0.69, 0.37 \\ 1 processes: 1 sleeping, 0 running, 0 zombie, 0 stopped \\ CPU states: cpu user nice system irq softirq iowait idle \\ total 13.6% 0.0% 3.9% 0.0% 0.0% 7.0% 75.3% \\ cpu00 16.9% 0.0% 3.7% 0.0% 0.0% 5.6% 73.5% \\ cpu01 11.2% 0.0% 2.8% 0.0% 0.0% 8.4% 77.5% \\ cpu02 11.2% 0.0% 2.8% 0.0% 0.0% 6.5% 79.4% \\ cpu03 15.0% 0.0% 6.6% 0.0% 0.0% 7.5% 70.7% \\ Mem: 4101252k av, 3859028k used, 242224k free, 0k shrd, 145796k buff \\ 2619760k actv, 545440k in_d, 65836k in_c \\ Swap: 2048184k av, 594480k used, 1453704k free 1726032k cached \\ PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND \\ *     30841 xxxxxxx   21   0 10336  10M  6408 S     0.0  0.2   0:00   0 java*
    Now I run the program with a 64 meg min and max heap.
    bq. [~]:> java -classpath . -Xms64m -Xmx64m Wait & \\ [2] 30894
    Then run pmap.
    bq. [~]:> pmap 30894 | tail -1 \\ mapped: 256276K writeable/private: *196280K*    shared: 49468K
    So it looks like it is using *196 megs*. Which is fine because I know that there is overhead on top of the actual Heap size.
    Then I run top on the process:
    bq. [~]:> top -bp 30894 \\ 08:45:13 up 187 days, 14:21, 12 users, load average: 0.26, 0.58, 0.36 \\ 1 processes: 1 sleeping, 0 running, 0 zombie, 0 stopped \\ CPU states: cpu user nice system irq softirq iowait idle \\ total 8.4% 0.0% 0.4% 0.2% 0.2% 7.4% 83.1% \\ cpu00 8.4% 0.0% 0.0% 0.9% 0.0% 6.5% 84.1% \\ cpu01 7.4% 0.0% 0.0% 0.0% 0.9% 7.4% 84.1% \\ cpu02 4.6% 0.0% 0.0% 0.0% 0.0% 8.4% 86.9% \\ cpu03 13.0% 0.0% 1.8% 0.0% 0.0% 7.4% 77.5% \\ Mem: 4101252k av, 3904008k used, 197244k free, 0k shrd, 146224k buff \\ 2657632k actv, 549712k in_d, 65836k in_c \\ Swap: 2048184k av, 594480k used, 1453704k free 1731604k cached
    bq. PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND \\ *     30894 xxxxxxx   21   0 10340  10M  6408 S     0.0  0.2   0:00   3 java*
    And it shows me that I am using *10 megs.*
    So what is going on here?
    1) Why is top and pmap showing diffrent values between the SIZE (top) and the writeable/private (pmap) ?
    2) if the value in pmap is correct, why if I don't specify the max heap is it not taking the document default value:
    From http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html
    bq. <quote> \\ -Xmxn Specify the maximum size, in bytes, of the memory allocation pool. This value must a multiple of 1024 greater than 2MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is 64MB. \\ </quote>

    So some more info.
    When I run the process with out -Xmx and run jmap -heap against it, it apear that the max heap is 1 Gig.
    bq. [~]:> java -classpath . Wait & \\ [1] 10956
    bq. [~]:> jmap -heap 10956 \\ Attaching to process ID 10956, please wait... \\ Debugger attached successfully. \\ Server compiler detected. \\ JVM version is 1.5.0_12-b04 \\ using thread-local object allocation. \\ Parallel GC with 4 thread(s) \\ Heap Configuration: \\ MinHeapFreeRatio = 40 \\ MaxHeapFreeRatio = 70 \\ MaxHeapSize = 1050673152 (1002.0MB) \\ NewSize = 655360 (0.625MB) \\ MaxNewSize = 4294901760 (4095.9375MB) \\ OldSize = 1441792 (1.375MB) \\ NewRatio = 8 \\ SurvivorRatio = 8 \\ PermSize = 16777216 (16.0MB) \\ MaxPermSize = 67108864 (64.0MB) \\ Heap Usage: \\ PS Young Generation \\ Eden Space: \\ capacity = 5570560 (5.3125MB) \\ used = 222872 (0.21254730224609375MB) \\ free = 5347688 (5.099952697753906MB) \\ 4.000890395220588% used \\ From Space: \\ capacity = 851968 (0.8125MB) \\ used = 0 (0.0MB) \\ free = 851968 (0.8125MB) \\ 0.0% used \\ To Space: \\ capacity = 851968 (0.8125MB) \\ used = 0 (0.0MB) \\ free = 851968 (0.8125MB) \\ 0.0% used \\ PS Old Generation \\ capacity = 58392576 (55.6875MB) \\ used = 0 (0.0MB) \\ free = 58392576 (55.6875MB) \\ 0.0% used \\ PS Perm Generation \\ capacity = 16777216 (16.0MB) \\ used = 1516432 (1.4461822509765625MB) \\ free = 15260784 (14.553817749023438MB) \\ 9.038639068603516% used
    So does this mean that the documentation at: http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html
    is wrong?
    Thanks,
    Joe Kampf

  • Internal table with and with out work area.

    Hi all,
    in performance terms which one is better 1) internal table with header line or 2) itab w/o header line and explicit work area for that itab.
    which one is better and how?
    Thanks in advance.
    SAI

    Hai Sai Ram
    Internal Table with header Line Improves the Performence
    1)
    TABLES CUSTOMERS.
    Defining an internal table with header line
    DATA ALL_CUSTOMERS LIKE CUSTOMERS OCCURS 100
                       WITH HEADER LINE.
    Reading all entries of the database table into the internal table
    SELECT * FROM CUSTOMERS INTO TABLE ALL_CUSTOMERS.
    2)
    Check the following code for the Difference
    REPORT ZWRITEDOC LINE-SIZE 124 NO STANDARD PAGE HEADING.
       TABLES: DD03L, "
               DD04T, "R/3-DD: Textos de los elementos de datos
               DD02T. "R/3-DD: Textos de tablas SAP
    Tabla temporal con las lineas de cada tabla
       DATA: BEGIN OF I_LINEAS OCCURS 100,
                LINEA(80),
             END OF I_LINEAS.
    Tabla con las caracteristicas de la tabla
       DATA: BEGIN OF I_TABLA OCCURS 100,
                CAMPO(12),
                TIPO(4),
                LONG(5) TYPE I,
                REF(20),
                DESCR(40),
             END OF I_TABLA.
       DATA: D_NOMBRE(80),
             D_DESCRIPCION(80).
       DATA :  BEGIN OF SOURCE OCCURS 1000,
            LINE(72),
       END OF SOURCE.
       PARAMETERS: PROGRAM LIKE SY-REPID DEFAULT SY-REPID.
       AT USER-COMMAND.
         CASE SY-UCOMM.
           WHEN 'GRAB'.
             PERFORM GRABAR.
         ENDCASE.
       START-OF-SELECTION.
         SET PF-STATUS  'ZSTATUS1'.
         READ REPORT PROGRAM INTO SOURCE.
         DATA L_GRAB.
         CLEAR L_GRAB.
    LOOP AT SOURCE.
       translate source to upper case.
           IF L_GRAB IS INITIAL.
             D_DESCRIPCION = I_LINEAS-LINEA.
           ENDIF.
           I_LINEAS = SOURCE.
           SEARCH I_LINEAS-LINEA FOR 'BEGIN OF'.
           IF SY-SUBRC = 0.
             SEARCH I_LINEAS-LINEA FOR 'DATA'.
             IF SY-SUBRC = 0.
               L_GRAB = 'X'.
               FREE I_LINEAS.
             ENDIF.
           ENDIF.
           IF L_GRAB = 'X'.
             I_LINEAS = SOURCE.
             APPEND I_LINEAS.
             SEARCH I_LINEAS-LINEA FOR 'END OF'.
             IF SY-SUBRC = 0.
               CLEAR L_GRAB.
               PERFORM PROCESAR_FICHERO.
               PERFORM IMPRIMIR.
               FREE I_LINEAS.
               CLEAR D_DESCRIPCION.
             ENDIF.
           ENDIF.
           SEARCH I_LINEAS-LINEA FOR 'WITH HEADER LINE'.
           IF SY-SUBRC = 0.
             APPEND I_LINEAS.
             PERFORM PROCESAR_FICHERO.
             PERFORM IMPRIMIR.
           ENDIF.
         ENDLOOP.
    *&      Form  GRABAR
          Graba el fichero en c:\temp\p.rtf y lo abre con word.
       FORM GRABAR.
         CALL FUNCTION 'LIST_DOWNLOAD'
             EXPORTING
            LIST_INDEX = SLIST_INDEX_DEFAULT
                  METHOD     = 'RTF'
              EXCEPTIONS
                   OTHERS     = 1.
         CALL FUNCTION 'EXECUTE_WINWORD'
              EXPORTING
                   I_FILE = 'C:\TEMP\P.RTF'
              EXCEPTIONS
                   OTHERS = 1.
       ENDFORM.                               " GRABAR
    *&      Form  PROCESAR_FICHERO
       FORM PROCESAR_FICHERO.
         DATA: L_AUX1(80),
              L_AUX2(80).
         FREE I_TABLA.
         LOOP AT I_LINEAS.
           CLEAR I_TABLA.
       translate i_lineas-linea to upper case.
           SEARCH I_LINEAS-LINEA FOR 'BEGIN OF'.
           IF SY-SUBRC = 0.
             SPLIT I_LINEAS-LINEA AT 'BEGIN OF' INTO L_AUX1 D_NOMBRE.
             SPLIT D_NOMBRE AT 'OCCURS' INTO D_NOMBRE L_AUX1.
           ENDIF.
           SEARCH I_LINEAS-LINEA FOR '('.
           IF SY-SUBRC = 0.
              SPLIT I_LINEAS-LINEA AT '(' INTO L_AUX1 L_AUX2.
             CONDENSE L_AUX1.
             I_TABLA-CAMPO = L_AUX1.
             SPLIT L_AUX2 AT ')' INTO L_AUX1 L_AUX2.
             CONDENSE L_AUX1.
             IF L_AUX1 CO '0123456789 '.
               I_TABLA-LONG = L_AUX1.
             ENDIF.
             I_TABLA-TIPO = 'CHAR'.
           ENDIF.
           SEARCH I_LINEAS-LINEA FOR 'LIKE'.
           IF SY-SUBRC = 0.
             SPLIT I_LINEAS-LINEA AT 'LIKE' INTO L_AUX1 L_AUX2.
             CONDENSE L_AUX1.
             I_TABLA-CAMPO = L_AUX1.
               SPLIT L_AUX2 AT ',' INTO L_AUX1 L_AUX2.
             CONDENSE L_AUX1.
             I_TABLA-REF = L_AUX1.
           ENDIF.
           SEARCH I_LINEAS-LINEA FOR 'TYPE'.
           IF SY-SUBRC = 0.
             SPLIT I_LINEAS-LINEA AT 'TYPE' INTO L_AUX1 L_AUX2.
             IF I_TABLA-CAMPO IS INITIAL.
               CONDENSE L_AUX1.
               I_TABLA-CAMPO = L_AUX1.
             ENDIF.
                 SPLIT L_AUX2 AT ',' INTO L_AUX1 L_AUX2.
            CONDENSE L_AUX1.
             CASE L_AUX1.
               WHEN 'I'.
                 I_TABLA-TIPO = 'INT'.
                 I_TABLA-LONG = 4.
               WHEN 'C'.
                 I_TABLA-TIPO = 'CHAR'.
               WHEN 'N'.
                 I_TABLA-TIPO = 'NUMC'.
               WHEN 'T'.
                 I_TABLA-TIPO = 'TIME'.
                 I_TABLA-LONG = 8.
               WHEN OTHERS.
                 I_TABLA-TIPO = L_AUX1.
             ENDCASE.
           ENDIF.
           SEARCH I_LINEAS-LINEA FOR '"'.
           IF SY-SUBRC = 0.
             SPLIT I_LINEAS-LINEA AT '"' INTO L_AUX1 L_AUX2.
             CONDENSE L_AUX2.
             I_TABLA-DESCR = L_AUX2.
           ENDIF.
           SEARCH I_LINEAS-LINEA FOR 'INCLUDE STRUCTURE'.
           IF SY-SUBRC = 0.
             SPLIT I_LINEAS-LINEA AT 'INCLUDE STRUCTURE' INTO L_AUX1 L_AUX2.
             SPLIT L_AUX2 AT '.' INTO L_AUX1 L_AUX2.
             CONDENSE L_AUX1.
             I_TABLA-CAMPO = 'INCLUDE STR'.
             I_TABLA-REF   = L_AUX1.
           ENDIF.
           SEARCH I_LINEAS-LINEA FOR 'WITH HEADER LINE'.
             IF SY-SUBRC = 0.
               IF NOT I_LINEAS-LINEA CA '"'.
                 SPLIT I_LINEAS-LINEA AT 'OCCURS' INTO L_AUX1 L_AUX2.
                 IF SY-SUBRC = 0.
                   SPLIT L_AUX1 AT 'LIKE' INTO L_AUX1 L_AUX2.
                   IF SY-SUBRC = 0.
                     CONDENSE L_AUX2.
                     IF NOT L_AUX2 IS INITIAL.
                       I_TABLA-CAMPO = '...'.
                       I_TABLA-TIPO  = 'TABI'.
                       I_TABLA-REF   = L_AUX2.
                       SELECT SINGLE * FROM DD02T
                        WHERE TABNAME = L_AUX2
                          AND DDLANGUAGE = SY-LANGU.
                       IF SY-SUBRC = 0.
                       I_TABLA-TIPO  = 'TABE'.
                       I_TABLA-DESCR   = DD02T-DDTEXT.
                       ENDIF.
                       IF L_AUX1 CA ':'.
                         SPLIT L_AUX1 AT 'DATA:' INTO L_AUX1 L_AUX2.
                       ELSE.
                         SPLIT L_AUX1 AT 'DATA' INTO L_AUX1 L_AUX2.
                       ENDIF.
                       D_NOMBRE = L_AUX2.
                     ENDIF.
                   ENDIF.
                 ENDIF.
               ENDIF.
             ENDIF.
           IF NOT I_TABLA-CAMPO IS INITIAL.
             APPEND I_TABLA.
           ENDIF.
         ENDLOOP.
         LOOP AT I_TABLA WHERE NOT REF IS INITIAL.
            SPLIT I_TABLA-REF AT '-' INTO L_AUX1 L_AUX2.
           SELECT SINGLE * FROM DD03L
            WHERE TABNAME = L_AUX1
              AND FIELDNAME = L_AUX2.
           IF SY-SUBRC = 0.
             I_TABLA-TIPO = DD03L-DATATYPE.
             I_TABLA-LONG = DD03L-INTLEN.
             IF I_TABLA-DESCR IS INITIAL.
               SELECT SINGLE * FROM DD04T
                WHERE ROLLNAME = DD03L-ROLLNAME
                  AND DDLANGUAGE = SY-LANGU.
               IF SY-SUBRC = 0.
                 I_TABLA-DESCR = DD04T-DDTEXT.
               ENDIF.
             ENDIF.
             MODIFY I_TABLA.
           ENDIF.
         ENDLOOP.
       ENDFORM.                               " PROCESAR_FICHERO
    *&      Form  IMPRIMIR
       FORM IMPRIMIR.
       DATA L_AUX(80).
         FORMAT COLOR COL_NORMAL INTENSIFIED ON.
         ULINE AT 1(80).
         WRITE: / SY-VLINE,
                 (76)     D_NOMBRE CENTERED,
                  SY-VLINE.
         SPLIT D_DESCRIPCION AT '*' INTO L_AUX D_DESCRIPCION.
         WRITE: / SY-VLINE,
                 (76)     D_DESCRIPCION CENTERED,
                  SY-VLINE.
         NEW-LINE.
         ULINE AT 1(80).
         DETAIL.
         FORMAT COLOR OFF.
         WRITE: /
               SY-VLINE,
             (10) 'CAMPO',
               SY-VLINE,
             (4)  'TIPO',
               SY-VLINE,
             (4) 'LONG',
               SY-VLINE,
             (16)  'REFERENCIA',
               SY-VLINE,
             (30)  'DESCRIPCION',
               SY-VLINE.
         NEW-LINE.
         ULINE AT 1(80).
         DETAIL.
         LOOP AT I_TABLA.
           WRITE: /
                 SY-VLINE,
              (10)   I_TABLA-CAMPO,
                 SY-VLINE,
                 I_TABLA-TIPO,
                 SY-VLINE,
              (4)   I_TABLA-LONG,
                 SY-VLINE,
              (16)   I_TABLA-REF,
                 SY-VLINE,
              (30)   I_TABLA-DESCR,
                 SY-VLINE.
         ENDLOOP.
         NEW-LINE.
         ULINE AT 1(80).
         SKIP 2.
       ENDFORM.                               " IMPRIMIR
    Thanks & regards
    Sreeni

  • How to replace "." with "," and "," with "." in a quantity field

    HI All,
    I wanna display the field mard-labst in the alv report. Based on the user default settings  2,454.500 is displayed as 2.454,500. Without changing the user default settings how can i display the decimal position correctly..Any help would be highly appreciated.
    Best regards,
    Subhakar Ramineni

    Hi...Subhakar..
    i got ur prob...this is the solution...just paste it and go through it...
    Report  YH642_TEST.
    TABLES:
      mard.
      DATA : W_mard_labst type p decimals 3,
              w_dt1(18).
    data:
      W_N TYPE I.
    SELECT SINGLE * FROM MARD INTO MARD WHERE  LABST = '10000.00'.
      WRITE: mard-labst .
      W_mard_labst = mard-labst.
      WRITE:/ W_mard_labst .
      w_dt1 = w_mard_labst .
      write W_mard_labst to w_dt1.
    W_N = STRLEN( W_DT1 ).
    W_N = W_N - 4.
    REPLACE ALL OCCURRENCES OF ',' IN W_DT1 WITH '.' .
    REPLACE ALL OCCURRENCES OF '.'
    IN SECTION OFFSET W_N LENGTH 4 OF W_DT1 WITH ','.
    WRITE: / W_DT1.

  • Documents created at the time of STO wit and with out SD

    Hi all
    Can any one help me in this matter
    What documents will be created at the time of STO with and with out SD.
    Wity Rgds
    Sekhar

    Hi
    1) Documents Generated for STO without SD:( STO bet. Plants belongs to same Company Code).
    At Issueing  Plant,  Stock Account is Credited,  BSX
       At Receiving Plant,  Stock account is Debited, BSX (+)..
    If you maintain Std. Price for your Material in receiving Plant and if there is any price diff. bet. Material at Issueing plant and Receiving Plant....then the Price Diff. Account ( Transaction event Key- AUM ) will be triggered.
    2) Documents Generated for STO with SD:( STO bet. Plants belongs to same Company Code)
    Documents will be generated same like above
    3)Documents Generated for STO with SD:( STO bet. Plants belongs to Diff. Company Code)
    At Supplying Plant:
    Stock Account will be Credited , BSX
    Cost of Goods sold Acc. will be Debited, GBB - VAY
    At Receiving Plant:
    Stock Account will be Debited, BSX
    GR/IR Clearing Acc. will be Credited, WRX
    Reward if useful
    Regards
    S.Baskaran

  • Gray cloud with and without "?" .

    What does it mean if a contact has a grey cloud with and with out a "?" beside their name? The KEY does not show it.

    hover your mouse pointer on the status icon
    Regards,
    Neil

  • VIP Failover Testing

    Hello,
    Am new to Oracle RAC. We have a 2 node 11gR2 Cluster and we are in the process of doing some failover testing. For database deployments we use an internal third part tool called the deployer which has tokens for DB configurations and the DBHost token in the deployer has the Hostname for either Node 1 or Node 2. In this way we are not actually utilising the HA feature because the connection is either to Node1 or Node 2 and if something happens to either the deployment cannot connect to the database on the respective Node which treats as a single Node instead of a Cluster.
    Instead of mentioning the DBHost value to point to the Physical Hostname of the Server in a Cluster I was thinking if I can use the VIP address i.e ipaddress-VIP for either of the Node. So after making changes I would like to do some failover testing manually and I am stuck here. How do I go about the testing scenarios.
    For Eg: if DBHOST token value is VIP for Node 2, connections are coming in to Node2 via deployer how do I proceed with the testing
    Should I bring down Node 2? If I reboot how can I see if it failed over or not to the surviving Node?
    Any help/suggestions much appreciated.
    Thanks!

    What you describe is having a RAC cluster, possibly working possibly not, and no actual use of the value of the licensing you paid for.
    My first advice to you is to read the docs and learn what RAC is, how it works, how to define and use services, and how a properly configured LISTENER.ORA and TNSNAMES.ORA should be constructed so you can compare that to what you have. With 11gR2 you should connect to the SCAN not the VIP.
    Here's how I would test RAC:
    1. Walk up to one of the servers while half the users are connected to each instance and do a SHUTDOWN ABORT. See what happens. Restart the killed node. Try it with the other node.
    2. With everything running properly and load on both machines disconnect the switch that provides the cache fusion interconnect or pull one of the cables out of the server. When you reestablish the connection what happens?
    3. Repeat #2 but this time with the connection to storage.
    The above should get you started.

  • HT201257 I just bought an imac in september 2012.  And i just find out that my microphone is not working.  So i did an apple hardware test and with no problems found?  I have sound but no one can hear me, not even the computer.  Should i bring it back to

    I just bought an imac in september 2012.  And i just find out that my microphone is not working.  So i did an apple hardware test and with no problems found?  I have sound but no one can hear me, not even the computer.  Should i bring it back to the store

    Before you go through that trouble open About this Mac > More Info... > System Report > Audio and see if the system actually knows it has a microphone.  Then you can look into Applications > Utilities >  Audio MIDI Setup and see if the microphone is there, select it and make sure the sliders are set to full. Then in System Preferences look for Sound > Input and make sure it shows up there and the sliders are at least half way up. If none of that works do a
    SMC RESET
    http://support.apple.com/kb/HT3964
    Shut down the computer.
    Unplug the computer's power cord and ALL peripherals.
    Wait 15 seconds.
    Attach the computers power cable.
    Wait another 5 seconds and press the power button to turn on the computer.
    It is the 5 second timing that initiates the reset.
    then go through the process of looking for the microphone again as the reset may reenable the mic.

  • Problem with XMLTABLE and LEFT OUTER JOIN

    Hi all.
    I have one problem with XMLTABLE and LEFT OUTER JOIN, in 11g it returns correct result but in 10g it doesn't, it is trated as INNER JOIN.
    SELECT * FROM v$version;
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    "CORE     11.2.0.1.0     Production"
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    --test for 11g
    CREATE TABLE XML_TEST(
         ID NUMBER(2,0),
         XML XMLTYPE
    INSERT INTO XML_TEST
    VALUES
         1,
         XMLTYPE
              <msg>
                   <data>
                        <fields>
                             <id>g1</id>
                             <dat>data1</dat>
                        </fields>
                   </data>
              </msg>
    INSERT INTO XML_TEST
    VALUES
         2,
         XMLTYPE
              <msg>
                   <data>
                        <fields>
                             <id>g2</id>
                             <dat>data2</dat>
                        </fields>
                   </data>
              </msg>
    INSERT INTO XML_TEST
    VALUES
         3,
         XMLTYPE
              <msg>
                   <data>
                        <fields>
                             <id>g3</id>
                             <dat>data3</dat>
                        </fields>
                        <fields>
                             <id>g4</id>
                             <dat>data4</dat>
                        </fields>
                        <fields>
                             <dat>data5</dat>
                        </fields>
                   </data>
              </msg>
    SELECT
         t.id,
         x.dat,
         y.seqno,
         y.id_real
    FROM
         xml_test t,
         XMLTABLE
              '/msg/data/fields'
              passing t.xml
              columns
                   dat VARCHAR2(10) path 'dat',
                   id XMLTYPE path 'id'
         )x LEFT OUTER JOIN
         XMLTABLE
              'id'
              passing x.id
              columns
                   seqno FOR ORDINALITY,
                   id_real VARCHAR2(30) PATH '.'
         )y ON 1=1
    ID     DAT     SEQNO     ID_REAL
    1     data1     1     g1
    2     data2     1     g2
    3     data3     1     g3
    3     data4     1     g4
    3     data5          Here's everything fine, now the problem:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    PL/SQL Release 10.2.0.1.0 - Production
    "CORE     10.2.0.1.0     Production"
    TNS for HPUX: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    --exactly the same environment as 11g (tables and rows)
    SELECT
         t.id,
         x.dat,
         y.seqno,
         y.id_real
    FROM
         xml_test t,
         XMLTABLE
              '/msg/data/fields'
              passing t.xml
              columns
                   dat VARCHAR2(10) path 'dat',
                   id XMLTYPE path 'id'
         )x LEFT OUTER JOIN
         XMLTABLE
              'id'
              passing x.id
              columns
                   seqno FOR ORDINALITY,
                   id_real VARCHAR2(30) PATH '.'
         )y ON 1=1
    ID     DAT     SEQNO     ID_REAL
    1     data1     1     g1
    2     data2     1     g2
    3     data3     1     g3
    3     data4     1     g4As you can see in 10g I don't have the last row, it seems that Oracle 10g doesn't recognize the LEFT OUTER JOIN.
    Is this a bug?, Metalink says that sometimes we can have an ORA-0600 but in this case there is no error returned, just incorrect results.
    Please help.
    Regards.

    Hi A_Non.
    Thanks a lot, I tried with this:
    SELECT
         t.id,
         x.dat,
         y.seqno,
         y.id_real
    FROM
         xml_test t,
         XMLTABLE
              '/msg/data/fields'
              passing t.xml
              columns
                   dat VARCHAR2(10) path 'dat',
                   id XMLTYPE path 'id'
         )x,
         XMLTABLE
              'id'
              passing x.id
              columns
                   seqno FOR ORDINALITY,
                   id_real VARCHAR2(30) PATH '.'
         )(+) y ;And is giving me the complete output.
    Thanks again.
    Regards.

  • I bought a iphone 4 from a guy on craigslist, I knew about ios 7.0 having the lock thing, but when I met him, his simcard was in the phone, I tested the phone with his simcard in from of him. The phone looked great with no problems and I even got the box

    I bought a iphone 4 from a guy on craigslist, I knew about ios 7.0 having the lock thing, but when I met him, his simcard was in the phone, I tested the phone with his simcard in from of him. The phone looked great with no problems and I even got the box with the accesories, so I knew it was his... I then did the reset on the phone (erase all data... from settings) and it went through and activated and everything was good... I used the phone for about a month with no problems at all, even had my apple ID in the icloud and everything... well ios 7.0.6 came out and I used my computer to restore the phone, because I feel that the cord and computer gives it a better restore, it did great no problems, and when it went to the part where I went to activate the phone, I get a enter your apple id and password to complete activation... Wait... why is this up i thought, I thought I did everything like I suppose to to succesfully switch it to me, the new owner... but now its asking for some C******@yahoo.com.... I only have @gmail.com emails and none start with a C... The guy sold me the phone because he was switching to Verizon, and I tried to call him, and now the number is disconnected... I guess he switched to Verizon with a new number... Now im stuck with a paperweight that costed me $200.00... What can I do at this point... Please help me... I restored it to give it to my Step Son as I just got me the iphone 5... Thank you for ANY HELP in advance... Thank you again.

    I bought a iphone 4 from a guy on craigslist, I knew about ios 7.0 having the lock thing, but when I met him, his simcard was in the phone, I tested the phone with his simcard in from of him. The phone looked great with no problems and I even got the box with the accesories, so I knew it was his... I then did the reset on the phone (erase all data... from settings) and it went through and activated and everything was good... I used the phone for about a month with no problems at all, even had my apple ID in the icloud and everything... well ios 7.0.6 came out and I used my computer to restore the phone, because I feel that the cord and computer gives it a better restore, it did great no problems, and when it went to the part where I went to activate the phone, I get a enter your apple id and password to complete activation... Wait... why is this up i thought, I thought I did everything like I suppose to to succesfully switch it to me, the new owner... but now its asking for some C******@yahoo.com.... I only have @gmail.com emails and none start with a C... The guy sold me the phone because he was switching to Verizon, and I tried to call him, and now the number is disconnected... I guess he switched to Verizon with a new number... Now im stuck with a paperweight that costed me $200.00... What can I do at this point... Please help me... I restored it to give it to my Step Son as I just got me the iphone 5... Thank you for ANY HELP in advance... Thank you again.

  • How to Test, Inbound idoc ,with out the Sender System, using a Text File

    Hi Guru's .
    we wanted to test BLAORD03 inbound idoc (Message Type BLAORD).with out the SENDER SYSTEM.
    on the same client.
    we wanted to test this idoc with text file from our local machine.
    Can anyone give us detail steps.like how to create  File layout
    with Segment name,and values for the fields.how to pass this file to the system.
    Thanks in advance.

    Hi Aparna.
    My requirement is to test the idoc with Inbound File.
    Generate a file with the data entered through segments through we19 ,and use the same file for processing through we16.
    when i am trying to do this syst complaing about
    Partner Profile not available, and some times
    port not available. and some  times with
    'No further processing defined'.
    but i maintained part profiles and port perfectly.
    Can you help me in testing with test 'File' port.

  • I want to de-install mac-excel test version and get the error message: you have not the privileges to de-install. Please login with the Mac-OS account you have installed mac-excel originally'. I don't know this account anymore. I am sysadm

    I want to de-install mac-excel test version and get the error message: 'You have not the privileges to de-install. Please login with the Mac-OS account you have installed mac-excel originally'. I don't know this account anymore. Possibly it does not exist anymore. anybody out there who can help ?

    Hi, I may suggest to activate the root account and try the uninstall process from that account. To do so, you have to:
    Go to System Preferences a open up the Users pane;
    On the left side of the pane, you shuold see Login Options;
    Enabled editing option clicking on the lock (it will ask your password);
    Once the pane is enabled, you should see something like Server Account Network (sorry my OS is in italian, so I don't exactly know the right translation), and right next to it a button;
    Click on that button, and a new pane shows up. Click on Open Directory Utility, and on the upper bar of OS X click on Edit;
    Select Enable Root Account (you can set a password, or not);
    Done that, you should log out and when the login window show up, type on the user field "root" and the password you choose;
    Theorically, from this account you will be able to unistall the application.
    After completing your task, I reccomend you to disable the root account, just by loggin in your personal account and repeating the steps I described before. Hope it helps

Maybe you are looking for