SQL Database replication between Primary and DR site

Hi,
We are setting up a DR Site, for our Production SAP system.
At present the curren setup for Production SAP system are as follows.
SAP ERP 2005 (SAP ECC 6.), ABAP+JAVA on Windows with MS SQL Server
2005.
Data are stored on SAN and SAP installed on MSCS Cluster enviornment.
For Setting up the DR site, we are setting up Central System
installation and replication will be configured between SAP
Production/Primary system and DR site.
We are shoadwing at our test setup and facing below replication issues
while setting up transactional replication in MS SQL server 2005.
1. At present 78716 articles are available on Production Database, and
SQL fails the replication publication after 59000 articles.
We open the ticket with Microsoft and below are the suggestion provided
by them.
1. Microsfot suggest to prepare 2\3 publications for total number of
tables, 1 publication for all Views and 1 publication for SPs,
Functions and Data types with single Distributor Agent. Distribution Agent will
take care of propagating changes in the tables across the publications.
2. All related tables (Parent child relationship) to be published on
one publication.
3. It would recommend to create 4 publications: 2 for the tables, 1 for
the views and the other for the stored procedures. This would ensure
better manageability.
The main concerns here is about splitting the tables into two different
sets with about 30,000 in one of the publications and the rest in the
second publication.
You will have to make sure that all the dependant tables are included
in the same publication. Since this database is a SAP database, requesting to  provide information as follows.
1. Identify and split the entire set of table into two/three groups.
2. How to publish dynamic tables (The tables which get created post
publication process).
Regards,
JP

Hi,
for database mirroring and log shipping there a several very good whitepapers and other documents out there:
[http://download.microsoft.com/download/d/9/4/d948f981-926e-40fa-a026-5bfcf076d9b9/SAP_SQL2005_Best%20Practices.doc]
[http://blogs.msdn.com/saponsqlserver/archive/2007/09/26/what-did-we-learn-using-database-mirroring-over-the-last-two-years-in-our-sap-erp-system-second-revision.aspx]
[http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032297524&EventCategory=5&culture=en-US&CountryCode=US]
[http://sqlcat.com/whitepapers/archive/2007/11/19/database-mirroring-best-practices-and-performance-considerations.aspx]
Furthermore see note 965908 for this.
The needed bandwidth depends on the amount of log you create in a given timeframe. Internet bandwidth can be suffient, if you don't generate much log (btw, i don't understand the term RTD is 220).
In the log shipping scenario you can run the DR site in standby mode, then a readonly access (as DBCC etc.) is possible.
Regards
  Clas Hortien

Similar Messages

  • ACS Database Replication between SE and Windows

    I currently have 2 Windows ACS servers (4.0.1.27) in production and replicating databases. I also have a solution engine (appliance) running 4.1.4.13.7. I plan to upgrade the Windows ACS servers to 4.1.4.13.7 (same as the SE). I know that the software versions have to match for replication to work. Recently, I received conflicting information about database replication. I was told that a ACS SE (solution engine 1113) can not replicate to a Windows ACS server, even if the software versions match. Before I change my production environment, I thought would seek out additional input.

    Yes, you can replication acs windows with acs appliance. It works fine.
    Regards,
    ~JG

  • Database link between oracle and sql server

    dear all,
    i m a newbie to oracle and i need your help to know how to create a database link between oracle and sql server.my oracle version 10.2.0.3 and platform is redhat linux 5.7.your help appreciated.
    thanks in advance.

    [oracle@localhost ~]$ rpm -qa | grep -i odbc
    php-odbc-4.3.9-3.15
    unixODBC-kde-2.2.11-1.RHEL4.1
    MyODBC-2.50.39-21.RHEL4.1
    postgresql-odbc-7.3-8.RHEL4.1
    freeradius-unixODBC-1.0.1-3.RHEL4.3
    qt-ODBC-3.3.3-9.3
    unixODBC-devel-2.2.11-1.RHEL4.1
    unixODBC-2.2.11-1.RHEL4.1
    is this showing odbc installed in os?

  • V$dataguard_stats showing 8 hrs delay between Primary and standby

    Hello All,
    My Primary and standby database are in sync but v$dataguard_stats on standby server showing 8 hrs delay between Primary and standby.
    DB Version:11.2.0.1.0
    Server :AIX
    Primary:
    SQL> select /*+ FULL(c) PARALLEL(c, 35) */ distinct SEQUENCE# "Last Sequence Generated" FROM V$ARCHIVED_LOG c WHERE (THREAD#,FIRST_TIME ) IN (select /*+ FULL(c) PARALLEL(c, 35) */ THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG c GROUP BY THREAD#);
    Last Sequence Generated
                       4521
    Standby:
    SQL> SELECT  APPL.SEQUENCE# "Last Sequence Applied"
    FROM (SELECT THREAD# ,SEQUENCE# FROM V$ARCHIVED_LOG WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)) ARCH,
      2    3  (SELECT THREAD# ,SEQUENCE# FROM V$LOG_HISTORY WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$LOG_HISTORY GROUP BY THREAD#)) APPL
      4  WHERE ARCH.THREAD# = APPL.THREAD#;
    Last Sequence Applied
                     4521
    SQL> SELECT ARCH.THREAD# "Thread", ARCH.SEQUENCE# "Last Sequence Received", APPL.SEQUENCE# "Last Sequence Applied", (ARCH.SEQUENCE# - APPL.SEQUENCE#) "Difference"
      2  FROM (SELECT THREAD# ,SEQUENCE# FROM V$ARCHIVED_LOG WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)) ARCH,
      3  (SELECT THREAD# ,SEQUENCE# FROM V$LOG_HISTORY WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$LOG_HISTORY GROUP BY THREAD#)) APPL
    WHERE ARCH.THREAD# = APPL.THREAD#;
      4
        Thread Last Sequence Received Last Sequence Applied Difference
             1                   4521                  4521          0
    SQL> select name, 'Hours', to_number(substr(value,5,2)) from v$dataguard_stats where name = 'apply lag' ;
    NAME                             'HOUR TO_NUMBER(SUBSTR(VALUE,5,2))
    apply lag                        Hours                            8------------------------------------------------------------------>>>Problem area

    SQL> SELECT status, error
    FROM V$ARCHIVE_DEST_STATUS
    WHERE STATUS <> 'DEFERRED' AND STATUS <> 'INACTIVE';  2    3
    STATUS    ERROR
    VALID
    VALID
    Standby--Generally in Night it happens that primary and standby 'apply lag' is 8/10/4 hrs .When manually checked database are in sync but  v$dataguard_stats showing difference in hrs
    NAME                             'AL
    SUBSTR(VALUE,1,12)
    apply lag                        ALL
    +00 04:11:03
    SQL> SQL>   2
    NAME                             'SECOND TO_NUMBER(SUBSTR(VALUE,11,2))
    apply lag                        Seconds                             3
    SQL> SQL>   2
    NAME                             'MINUTE TO_NUMBER(SUBSTR(VALUE,8,2))
    apply lag                        Minutes                           11
    SQL> SQL>   2
    NAME                             'HOUR TO_NUMBER(SUBSTR(VALUE,5,2))
    apply lag                        Hours                            4
    SQL> SQL>   2
    NAME                             'DAY TO_NUMBER(SUBSTR(VALUE,2,2))
    apply lag                        Days                            0

  • Data Replication Between Sqlserver and Oracle11g using materialized view.

    I have Sqlserver 2005 as my source and oracle11g as my target.I need to populate the target daily with change data from source.
    for that we have created a dblink between sqlserver and oracle and replicated that table as a Materialized view in Oracle.
    problem we are getting here is Fast refresh option is not available.each day it will pick full data from the source.
    is there any way to use Fast refresh in this scenario??
    Thanks in advance.
    Regards,
    Balaram.

    Pl do not post duplicates - Data Replication Between Sqlserver and Oracle11g using materialized view.

  • How to switch between primary and secondary langua...

    Hi guys,
    I've got an e52 but the only way to type in sec. Language while writing a message is:
    Option-> Input Options-> writing language-> primary writing language (which must be changed to new one)
    so there is no use of second. lang. or at least I don't know how to switch quickly between primary and second language without going that path.
    ANY HELP WOULD BE APPRECIATE.
    Aram

    HI Everyone,
    not sure if this helps. My solution is more fo Singpore users.
    As i text between English and Chinese, I was unable to set my Secondary language to Chinese as there is no option to do so in the Writing language menu.
    By discovery, i first set my Primay language as Chinese. Then further down the Language menu there is this option Default input. Click on that and select the default using Text case and select Ok.
    When writing sms, you can switch between this 2 languages using the # key.
    Hope it helps.
    Have a pleasant day.
    Aram_ocp wrote:
    Hi guys,
    I've got an e52 but the only way to type in sec. Language while writing a message is:
    Option-> Input Options-> writing language-> primary writing language (which must be changed to new one)
    so there is no use of second. lang. or at least I don't know how to switch quickly between primary and second language without going that path.
    ANY HELP WOULD BE APPRECIATE.
    Aram

  • Replication between Oracle and SQL Server

    Does anyone have any experience with replicating data between SQL Server and Oracle database system? If so, I am experiencing time out errors when replicating data. I replicating from SQL Server 2k to Oracle and it time out on the Oracle side.

    how to configure my apply process to work with sql server by getway , I want to make replication
    note :
    I make dblink between oracle and sql and make insert from oracle to sql
    is it sufficient to make replication by OEM between oracle and oracle and then add new apply process to work with gateway for sql server and how ?

  • How to create database link between oracle and SQL Server

    Hello Everyone,
    Here i have Oracle Database 9i and SQL Server 2005 databases.
    I have some tables in sql server db and i want to access from Oracle.
    How to create a database link between these two servers
    Thanks,

    Thanks for Everyone,
    I was struggle with this almost 10 days....
    I created Database link from Oracle to SQL Server
    Now it is fine.........
    Here i am giving my servers configuration and proceedure how i created the db link...@
    Using Generic Connectivity (HSODBC) we can create db link between Oracle and SQL server.
    Machine (1)
    DB Version : Oracle 9.2.0.7.0
    Operating System : HP-UX Itanuim 64 11.23
    IP : 192.168.0.31
    Host : abcdbt
    Machine (2)
    Version : SQL Server 2005
    Operating System : Windows server 2003 x86
    IP : 192.168.0.175
    Host : SQLDEV1
    User/PW : sa/abc@123! (Connect to database)
    Database : SQLTEST (exsisting)
    Table : T (“ T “ is the table existing in SQLTEST database with 10 rows)
    Prerequisites in Machine (2):
    a)     Oracle 10g software
    b)     User account to access SQL Server database (sa/abc@123!)
    c)     Existing SQL Server Database (SQLTEST)
    d) Tables (testing purpose) (T)
    Steps:
    1)     Install Oracle 10.2.0.1 (Only SW,No need of database) *(Machine 2)*
    2)     Create a DSN where your windows Oracle 10g SW resides *(Machine 2)*
    Control panel >> Administrative Tools >> Data Source (ODBC) >> System DSN ADD
    You can follow this link also.....
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    I created DSN as
    DSN name : SQLTEST
    User : SA/abc@123! (Existing user account)
    Host : 192.168.0.175 (machine 2)
    Already I have 1 database in SQL Server with the name SQLTEST
    You can create DSN with different name also (not same as db name also)
    3)     Create a hsodbc init file in $ORACLE_HOME\hs\admin *(Machine 2)*
    Create init<DSN NAME> file
    Ex: initSQLTEST
    Copy inithsodbc to initSQLTEST
    And edit
    initSQLTEST file
    HS_FDS_CONNECT_INFO = SQLTEST    <DSN NAME>*
    HS_FDS_TRACE_LEVEL = OFF*
    save the file....@
    4)     Configure Listener.ora *(Machine 2)*
    LISTENER_NEW =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
    SID_LIST_LISTENER_NEW =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = SQLTEST) *+< Here SQLTEST is DSN NAME >+*
    (ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
    (PROGRAM = hsodbc))
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc) )
    :> lsnrctl start LISTENER_NEW
    5)     Configure tnsname.ora *(Machine 2)*
    SQLTEST11 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = SQLTEST))
    (HS=OK)
    :> tnsping SQLTEST11
    If No errors then conti….
    6)     Configure a file *(Machine 1)*
    Cd $TNS_ADMIN ($ORACLE_HOME/network/admin)
    Create a file
    $ vi TEST_abcdbt_ifile.ora
    something=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST =192.168.0.175) (PORT=1525))
    (CONNECT_DATA=
    (SID=SQLTEST))
    (HS=OK)
    $ tnsping something
    $ sqlplus system/manager
    Your connected to Oracle database *(machine 1)*
    create database link xyz connect to “sa” identified by “abc@123!” using ‘SOMETHING’;
    select * from t@xyz;10 rows selected.
    Thanks,
    Edited by: ram5424 on Feb 10, 2010 7:24 PM

  • I need step by step way to make replication between oracle and sql server

    I succeeded in make dblink between oracle and microsoft sql
    and I try to insert data using dblink to microsoft sql
    what will I do now to make replication between them

    how to configure my apply process to work with sql server by getway , I want to make replication
    note :
    I make dblink between oracle and sql and make insert from oracle to sql
    is it sufficient to make replication by OEM between oracle and oracle and then add new apply process to work with gateway for sql server and how ?

  • Database replication between 2ACSs (V4.0 & V4.1)

    Hi All,
    1. ACS in production in the N/W:
    Release 4.0(1) Build 44
    2.Installed recently another ACS serer for backup purposes and currently as no Data :Release 4.1(1) Build 23
    Now...
    a. Will it be possible to (auto)replicate between these two vesrions.
    b.Will some one provide steps/links to configure replication and any required configuration changes to make sure (1) is primary & (2) backup [incase primary fails)
    Thanks in advance.
    MS

    Cisco does not recommend to do replication between different versions of ACS.
    I have also seen dissimilar versions to cause problems like database corruption, though it might work in some case.
    To be on safer side keep both ACS on same version and only then replicate.
    Following link can help you configure replication:
    http://www.cisco.com/univercd/cc/td/doc/product/access/acs_soft/csacs4nt/acs41/user/scadv.htm#wp756476
    For configuring Backup ACS incase primary fails you need to configure backup server on the AAA client (router,switch) because only AAA client will forward the request to secondary server in case primary fails.
    ~Rohit

  • Shared FRA disk between Primary and Standby RAC

    Hello all,
    I need some clarification.  Can a ASM +FRADG shared between RAC 2 nodes 11gR2 Primary and RAC 2 nodes 11gR2 Physical Standby Database in order to use it for backup and recovery on both databases.
    Thank you.

    Hi,
    If you are looking this document:
    http://docs.oracle.com/cd/E11882_01/server.112/e18951/asmcon.htm#OSTMG94055
    Then I understand it that you can use ASM diskgroups only inside same Oracle Clusterware.
    So if you have two separate RAC clusters (two separate Oracle Clusterware) then you cannot share ASM between those.
    And I don't think it would be wise even if it would be possible.
    This is because if one database will fill up your FRA disks then both RAC databases are hold (if you are putting your archivelogs in the FRA).
    Also disk/diskgroup maintenance jobs might be difficult in that kind of configuration.

  • Time zone difference between primary and physical standby

    Dear Team,
    We have Primary database server (with EST Time zone) and physical standby (with PST time zone), in case of switch over/fail over to physical standby
    what are the major impacts.
    Is it mandatory to be in time sync?
    Thanks in advance
    Aj

    CURRENT_TIMESTAMP
    04-FEB-10 10.22.20.444692 AM +05:30
    ( above is same on primary and standby)
    SQL> select systimestamp from dual;
    SYSTIMESTAMP
    03-FEB-10 08.52.46.934125 PM -08:00
    (above is 3hr diff from primary and standby)It is 13hrs difference
    One is around Indian subcontinent and other should be in US western region ?
    Systimestamp is the timestamp of the OS of the server and hence the difference and the sysdate value will be from systimestamp and if the applications uses SYSDATE then there can be an issue...

  • Achieving Autofailover between Branches and HQ site using OSPF

    Hi there,
    I have a number of Branches and ATMs which connect to the HQ via GRE tunnels through L2MPLS of the service provdiers network.
    Recently I commisioned a DR site that I would like all the branches and ATMs to point to incase of disaster.
    Most importantly I am supposed to achieve an auto-failover solution between Branches and ATMs towards HQ, @ATM and branch has duo links from different providers for resiliency.
    The standard I am supposed to use is OSPF between branches and HQ, where we have GRE tunnels running in between, is there anyone who can assist me on how to achieve auto-failover solution between the Branches and HQ using OSPF on the existing GRE tunnels.
    Sample configuration would really help
    Thanks.

    What you are asking for here is a full blown network design. It is more than just a few configuration commands.
    We can point you in the right direction but we cannot do the entire thing for you.
    We would need to know things like is there a direct link between HQ and DR, how many branches, is OSPF already in use, if so what areas do you have, are you proposing to use the same IPs at the DR site  etc etc.
    But before all that have you thought about how the applications would work ?
    Presumably you have applications that run on servers at HQ. How do you sync this information to the DR site servers ?
    So a couple of scenarios -
    1) the link at HQ fails and all sites automatically switch to DR. Then 10 minutes later the link comes back up so all sites switch back to HQ.
    How are you going to make sure that any data written to servers in DR is now replicated to the HQ servers in real time.
    2) a branch primary link fails. It switches to DR but all the other branches are still going to HQ.
    Again how you are going to ensure the data remains consistent between the HQ and DR servers as you now have two active sites.
    Routing protocols are very good at automatically providing failover but they don't understand the applications.
    The hard part with DR is not the network, although that in itself can be challenging, but how the applications are going to work.
    So if you only want to invoke DR if there is a major outage at your HQ sites which could last for days for example then using a dynamic routing protocol could create more problems than it would solve.
    You may not have applications that need to be kept in sync so it may not be an issue for you.
    But even then what you are asking for is not trivial, DR never is.
    Perhaps you can clarify exactly how it is meant to work otherwise we cannot really point you in the right direction.
    Jon

  • Can XMP be used by an external SQL database to index photos and access keywords?

    I am developing an image library to be accessible by my company's intranet. Since my company has literally thousands of employees who will be adding content to the library, I am wondering if for example, I write keywords to the photos via Photoshop, Lightroom, etc. and then add them to the library, is there a way to have the SQL database query the JPG or TIFF files for the XMP data and import it into fields in the SQL database?
    I don't know if there is an existing app out there that would do this already but if anyone knows anything, I'm all ears.
    Cheers.

    Hi Martin,
    You can take a look on our Kalimages Pro software:
    http://www.kalimages.net/EN/Index.html
    Best regards

  • Material replication between SAP and SRM

    Howdy friends.
    Is there any way to stop having to manually activate the material replication queue between SAP and SRM each time please?
    Our admin team go to transaction SMQ2 each day and for 2-3 years have been manually activating each queue manually and doing this several times per queue as the entries do not reach zero. Surely, it is possible to set this up to be automatic as a job?
    Ciao,
    Mike

    Hello,
    I could not find the SDN Weblog but here a link to an article that migh help you....[url]http://searchsap.techtarget.com/tip/0,289483,sid21_gci1245134_mem1,00.html[url]
    That should help you check your settings, et al and resolve your issue.
    Regards, Dean.

Maybe you are looking for

  • How to get javascript variable in jsp variable

    Hi all, i have a variable str in my javascript function var str = somevaluei want this str value in jsp variable in the same page... how can this be done..??? any ideas... Thanks

  • Ipod Shuffle not charging or being detected by computer or Itunes

    My Ipod shuffle is less than three months old, and has suddenly quit working. It is not detected by Itunes or the computer, except when it's first plugged in a red light flashes on the Ipod itself, then turns off. I have tried several cables, and I h

  • The folder path 'C:' contains an invalid character.

    "The folder path 'C:' contains an invalid character." I get this error message whenever I try to install iTunes 7.0.2.16 (the most recent version). I tell it to install with all the default paths, options, everything. I have tried changing the path t

  • Two page view in Reader X

    I upgraded to Adobe Reader X and cannot find the two page view, which I find very useful especially in the wide screens we have nowadays. Anybody knows where it has gone? thanks

  • Deployee The DC. I got this Error

    Hi Experts when i deployee the DC i get foll error. Please check it . how to solve this issue... Deployment exception : Server servername did not accept login request as admin on port 50218. Details: ERROR: Could not establish connection to server se