DR system for NW MS-SQL 2005

Hi experts,
We are planning to implement a production with a DR system. The DR system located at remote site will be a standby machine for the production system on MSSQL 2005 win 2008. Both of these severs able to ping each other via WAN and having the same specs.
Both the Production and DR system is NW 7.0 with ABAP + JAVA (XI & EP) and we are planning to install with same SID.
The DR system will be install using system copy. On the regular update from Production to DR, we are planning to use MSSQL Log Shipping method.
1) Log shipping has taken care the MSSQL 2005 part. However, we are not sure on the Java part transfer from the production to the DR? How is normally done.
2) The production server has a local hard disk and external storage(san). The db files will be installed on external storage and Windows on local hd. Where is SAP applications normally installed, local hard disk or external storage (san). What is the advantage and disadvantage for installing in local and external?
Appreaciate any help on this and if you could guide me to some documents specifically related to the above.
Any precaution when do the installation to take note.
Thanks in advance.
kb

Hi KB,
I can share my experience and i hope that would help you in building DR setup
Assumming you have both Production & DR systems builded. In brief, we have OS level scheduled tasks to copy the content of our \usr\sap directory content into DR systems at regular intervals. And below are the no of schedule task that you need...
1. Ensure your SAN based disk content are in sync, In our setup we ensure both DB & CI content is stored in SAN based disk and are in sync all the time (using the concept of establish/split of EMC SAN)
2. Ensure, you all the required Profiles (that are specific to DR system host names) are in place.
3. create a schedule taks, for copying all DLLs of OS directory (winnt)
4. create a schedule task, for copying your DI instance \usr\sap content
5. create all environment variables
6. When you want to fail-over (PROD->DR), ABAP stack of system would come online provided DB & it's coresponding \sa\<SID> and profiles content in place.
7. For JAVA based instance you need to reform ConfigTool changes, wherein you modify the DB Connection specific settings and Instance Properties such that your DR system ConfigTool contains the DR system hostnames rather Production (because the \usr\sap & DB content is from Production system copied over to DR)
All these above mentioned scheduled tasks to copy the content of Production System over DR system is using ROBOCOPY of windows command line utility. so you need completely knowledge of ROBOCOPY to prepare those scripts such that expected content is copied over to DR systems.
My only intention was to give some glance overview of preparing DR systems prior to DR activation and while DR activation. Beyond this scope of explaination certainly not that i can share in this forum.
I hope  this helps in startup with your preparation.
Regards
Sekhar

Similar Messages

  • Need Checklist for migrating MS SQL 2005 SP2 to MS SQL 2012

    Dear Member,
    We are in process of  migrating our MS SQL 2005 SP2 db engine / SSIS/SSRS services to 2012.Need to know steps/checklist and experiences of migration.
    I have read on Microsoft site (http://msdn.microsoft.com/en-in/library/ms143393(v=sql.110).aspx), that we can only migrate SQL 2005 with SP4 to SQL 2012.Do we need to upgrade first existing 2005 SP2 to SP4 and then start migration.
    Regards,
    Mahesh 

    Hello,
    Yes, you need to apply SP4 first, if you choose to perform an in-place upgrade.
    You have the option to perform a side-by-side upgrade too. Please refer to the following guide:
    http://download.microsoft.com/download/9/5/3/9533501A-6F3E-4D03-A6A3-359AF6A79877/SQL_Server_2012_Upgrade_Technical_Reference_Guide_White_Paper.pdf
    Hope this helps.
    Regards,
    Alberto Morillo

  • Issue in Java system installation: MS SQL 2005

    Dear All,
       I am installing a  SAP Netweaver '04 SR1 , Java system with data base MS SQL 2005.
    I am facing the issue hereby i will attach the jload.java.log file.
    Can any one help me out in fixing it?
    java version "1.4.2_16"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_16-b05)
    Java HotSpot(TM) Client VM (build 1.4.2_16-b05, mixed mode)
    Mar 16, 2009 11:09:42 PM com.sap.inst.jload.Jload main
    INFO: Jload -sec KS7,jdbc/pool/KS7,D:\usr\sap\KS7\SYS\global/security/data/SecStore.properties,D:\usr\sap\KS7\SYS\global/security/data/SecStore.key -dataDir D:/Netweaver/netweaver1\J2EE_OSINDEP\J2EE-ENG/JDMP -job C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\ONE_HOST/IMPORT.XML -log C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\ONE_HOST/jload.log
    Mar 16, 2009 11:09:43 PM com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    java.sql.SQLException: [SAP NetWeaver][SQLServer JDBC Driver]Unable to connect.  Invalid URL.
    Thanks
    Raj

    Hi
      Yes, everything is checked it. Error appears in the phase of Load Java Database content (18 of 25).
    ERROR 2009-03-17 03:35:49
    CJS-20065  Execution of JLoad tool 'C:\j2sdk1.4.2_16/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/KS7/JC00/j2ee\jdbc\base.jar;D:\usr\sap/KS7/JC00/j2ee\jdbc\util.jar;D:\usr\sap/KS7/JC00/j2ee\jdbc\sqlserver.jar;D:\usr\sap/KS7/JC00/j2ee\jdbc\spy.jar;D:/usr/sap/KS7/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/KS7/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/KS7/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/KS7/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/KS7/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'KS7,jdbc/pool/KS7,D:\usr\sap\KS7\SYS\global/security/data/SecStore.properties,D:\usr\sap\KS7\SYS\global/security/data/SecStore.key' '-dataDir' 'D:/Netweaver/netweaver1\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\ONE_HOST/IMPORT.XML' '-log' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\ONE_HOST/jload.log'' aborts with returncode 1. Check 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\ONE_HOST/jload.log' and 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\ONE_HOST/jload.java.log' for more information.
    Thanks
    Raj

  • Database restore from SQL 2000 to SQL 2005 for SBO 2005B

    Hi Everyone,
    I am facing some problems in regards to the restore of SBO Database from SQL 2000 to SQL 2005.
    Let me explain you the problem.
    See I am using SAP B1 2005B with patch level 38 in my laptop with SQL 2000. I have made an company in this and done work in it as a production company and now I want to restore this company in the server which has SQL 2005. How to do it.
    I have taken a backup in my laptop from SAP B1 Server Suite Manager which has SQL 2000 and sucessfully backed up but when I am trying to restore in the server which has SQL 2005 I am getting the following error in SQL 2005 in server :-
    Restore failed for Server 'DXBAP001'.  (Microsoft.SqlServer.Smo)
    System.Data.SqlClient.SqlError: Directory lookup for the file "C:\Program Files\Microsoft SQL Server\MSSQL\data\SBO_DCHAR.mdf" failed with the operating system error 3(The system cannot find the path specified.). (Microsoft.SqlServer.Smo)
    Please let me know the solution for it.
    Thanks in Advance.
    Regards,
    Kawish Junaid Mazhari

    Hi,
    In SQL 2005 create a database and name as the 200 one was (though any name would do).  when you create the database note the location of the .mdb and .ldf file.
    once this had created right click on your new database > tasks > restore database
    in the new window select from device and point it to your .bak file created from your 2000 system, ensure you put a tick in the restore box on the new line.
    in the options tab tick overwrite database, and, change the file locations in the restore as directory to the file locations of the new database.  the file names must be the same too.
    you can change the original file names after the restore.
    that should do the trick.
    thanks,
    mike

  • Optimal Locations for SQL 2005 TempDB & ReportServerTempDB MDF & LDF Files

    Hello.  I have SQL Server 2005 SP4 installed on Windows Server 2003 R2 Standard SP2. 
    The server has four CPU cores.  The server was configured with the following drive configuration.
    RAID 1 - System drive
    RAID 5 - SQL MDF files
    RAID 1 - SQL LDF files
    There is currently one of each of the following files on the server. 
    The MDF files are on the RAID 5 array, while the LDF files are on the RAID1 array for SQL LDF files.
    TempDB.mdf                                    
    ReportServerTempDB.mdf
    TempLog.ldf                                     
    ReportServerTempDB_log.ldf
    It is my understanding that having one TempDB per core is a best practice, so I should create three more TempDB’s. 
    Does that also apply to ReportServerTempDB?  Given the drive configuration of this server, where should all of the required MDF and LDF files for the TempDB’s and ReportServerTempDB’s be located?

    You cannot create more than 1 tempb in any SQL Instance. The recommendations are to have additional tempdb *data files* depending on cores upto a max of 8. Obviously this depends on every environment. This recommendation is only for tempdb. It is not
    for ReportServerTempDB’s. They are totally different and is not used similar to tempdb.
    http://www.sqlskills.com/blogs/paul/a-sql-server-dba-myth-a-day-1230-tempdb-should-always-have-one-data-file-per-processor-core/
    http://blogs.msdn.com/b/cindygross/archive/2009/11/20/compilation-of-sql-server-tempdb-io-best-practices.aspx
    Now, it is good to keep tempdb in its own drive, but because you dont have one specific, you can just put tempdb data files in data files drive and log file in log files drive.
    You might want to consider moving them to a seperate disk if you see IO contention.
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Windows authentication for SQL 2005 DB connect

    Hi all,
    I'm trying to create a DB connect
    in the connection parameters when I mention a user name and password who is created as a SQL authentication then it is working fine.
    but in my connection parameters if I mention a user name password who have a Windows authentication in the SQL 2005 which we are trying to connect then it gives an error. It is not connecting .
    Can you please tell me how can we connect using a windows authentication.
    Mey

    Solution to solve the actual issue :
    For the SAP system to use standard default NT authentication
    Please refer to this link: http://help.sap.com/saphelp_nw04s/helpdata/en/9c/d736b880c34f76b507bac7751a0474/content.htm
    1.       Database login:
    SQL Server login with System Administrator privileges, that is this login should be member of the sysadmin fixed server role on the target SQL Server. If such a login does not exist, you have to create it on the target SQL Server. The SAP multi-connect mechanism allows both integrated security logins and the use of SQL Server authentication. For security reasons, we highly recommend to use integrated security (Windows authentication). If you use Windows security, leave this field empty.
    2.     &#61601;        Password / Re-enter password :
    If you have decided to use integrated security, leave these fields empty. Otherwise enter the password of the SQL Server login.
    The above pointer was used to solve the login issue but we still had issues in getting the schema visible in SAP BW. As the user ID was left blank we were not able to get the schema view for the <blank> user.
    Note to be applied to solve the Schema issue :
    note 1091929 : &#61664; Link
    so now you can enter the schema to be used in DS creaton screen.

  • Changing the default port 1433 in SQL 2005 on an ECC 6.0 system

    Hello everybody,
    There is a requirement to change the default port of MS SQL 2005 from 1433 to a different port.
    I am using SAP ECC 6.0 running on an ABAP stack. I would like to know what changes need to be done from the SAP end to achieve it.  Any pointers in this regard would be helpful.
    Regards
    Dinesh K

    <b>Sizing</b>
    Hardware sizing should be completed by your SAP partner. Its based on many things. Users, modules, storage volumes, peek, BP, workloads etc etc.
    You can do the 'noddy' version with the sapsize on OSS. The output from this is in 'SAPs' you could look up std systems bench marks and get something 'like' it. Else submit the results to the hardware vendor of your choice and they will do it for you.
    <b>System Redundancy</b>
    Depends what you are trying to do.
    MSCS is a fail over HARDWARE only solution. ie if you want to patch or take a node out of service you can by 'failing over' the services on it to the other node. If you get a DB problem MSCS can not help you at all.
    Log shipping gives you 'rapid' recovery options for SQL(and there in SAP). The way this normally works is via either manual or automatic log-shipping to a 'standby' system with SQL/SAP loaded on it that can be brought online if you get a problem with the main system.
    A well planned system will have fail-over and recovery capabilities, ie it will use BOTH.

  • JDBC driver for MS SQL 2005 - Where to find them ?

    Hi,
    I would like to send data to an <u>External</u> MS SQL Server 2005.
    For that I followed the SAP doc "<i>how to install and configure a JMS and JDBC adapter</i>" and I found driver thanks to OSS notes 639702. But it doesn't work !
    SAP tell us that we have not the good .jar files. We have "util.jar, sqlserver.jar, base.jar", instead of "<b>ms</b>util.jar, <b>ms</b>sqlserver.jar, <b>ms</b>base.jar".
    So I went on Microsoft web site but I found only a "sqljdbc.jar" !
    Where can I find the good driver "<b>ms</b>util.jar, <b>ms</b>sqlserver.jar, <b>ms</b>base.jar" for a MS SQL Server 2005.
    Thanks for your help
    Mickael
    P.S: NW2004s with XI 7.0

    Hi,
    We have installed JDBC drivers for MSSQL by following guide "how to install and configure a JMS and JDBC adapter" and they are "msutil.jar, mssqlserver.jar, msbase.jar".
    The interfaces are working fine when we are sending data to MSSQL 2000, but when we are sending data to MSSQL 7.0, we are getting errors incompatible drivers.
    Are there seperate drivers MSSQL 7.0 or we need to have different set of drives. Checked Note 639702 and as per note we should be able to find drivers installed on system at
    - (NetWeaver 2004s:)
    usr\sap\<SAPSID>\SYS\exe\<NUC|UC>\Platform\mssjdbc
    I did not find the 'Platform' in my system at the above mentioned path.
    Can anyone help us with this issue.
    Thank You,
    Praveen

  • SQL 2005 Authentication for Sol Man 4.0

    Hi,
    I have used the SQL4SAP.VBS to install SQL 2005 Entp Ed for Sol Man 4.0.
    I do not know what authentication  mode has been setup by this script
    How do I know this ?
    How can i change the mode to mixed mode as reuqired by Sol Man 4.0
    I havent started the SAP Inst yet .
    Thanks
    Uday

    Hi,
    This is how you need to check.
    1.      In the Enterprise Manager, select the server and then choose Action ® Properties.
    The SQL Server Properties dialog box opens.
           2.      Select the Security tab.
    Here you can see. Hope this solves your problem. Feel free to revert back.
    --Ragu

  • Possible for AIR app connecting to SQL 2005 server

    Is it possible using Flex AIR to connection to SQL 2005
    server and fetch data ?
    If YES, whats step / process we need to follow please.
    We have the DB in sql 2005 and we want to develop desktop
    client and fetch the records from DB to AIR app.

    "kamaljeetsinghsaini" <[email protected]>
    wrote in message
    news:gmsmnc$non$[email protected]..
    > As we know that AIR supports SQlite only but in our case
    we want to fetch
    > data
    > from server that is using SQL 2005 as DB. So are you
    saying we can
    > directly
    > send the HTTP service to that server and fetch data from
    it ?
    You can send the HTTPService request to whatever back end
    technology you are
    currently using to access it. For example, if you are using
    ASP.net, you
    would still use ASP.net, but you would send back something
    that Flex
    understands, such as XML, instead of the HTML that the
    browser client
    understands.

  • How to configure data source for MS SQL 2005 Server.

    Good morning,
    While creating a data source for MS SQL 2005 Server, what are the values I should use for:
    Object Factory, DataSource Type, and CPDS Class Name values ?
    Thanks
    Seenu

    seenuFour wrote:
    Hi,
    I am working on a web application, the backend of which is a MS SQL 2005 server. I am creating a data source on the application server to manage the connection pool.
    Hence I need to give the following values while creating the data source:...
    Hence you need to provide some actual detail about what the context is.
    IIS runs "web applications" but your question would have no meaning in that context. On the other hand it might have some meaning if you were running Tomcat.

  • Sql 2005 standard edition for sql and AS databases with bpc 7.0 sp3 ?

    hello
    Install guide tells that we must use SQL 2005 Enterprise Edition with BPC except for Reporting Services.
    Customer asks wether he could use SQL 2005 Standard Edition for SQL database and Analysis Services ?
    Thanks.

    Hello Sorin. Two more questions, please:
    1) what do you mean by "Also into Application server you need EE because only in this version you have control flow." ?
    Is "control flow"  "business process flow" new functionality ?
    2) On the other hand, I don't think that BPC admin task is able to handle lite or full optimize without an Enterprise Edition Client.
    But customer asks wether it is possible to install on application server
    - SSIS standard edition for SSIS service
    - SSRS standard edition for Reporting Services
    - SQL client Enterprise Edition to let BPC admin task handle lite and full optimize properly.
    Why all this ? Because Enterprise Edition costs ten times more than Standard Edition and in a multi-server configuration, customer has to buy several SQL Server licenses, one per server running at least one SQL server service. (For example, with SQL,SSIS and OLAP on one server, and SSIS and SSRS running on the application server, customer has to buy two SQL servers licenses).
    Thanks. R.

  • Gathering physical memory for SQL 2005..SQL 2014

    Hi All,
    I'm trying to write a query to gather physical memory across my SQL servers (from SQL 2005 to SQL 2012).
    However, the sys.dm_os_sys_info DMV (the column for physical memory) is not the same after the switch to SQL 2012+.
    Here is the original query:
    SELECT
    @@SERVERNAME AS ServerName,
    CASE WHEN LEFT(CAST(serverproperty('productversion') as char), 1) = 9 THEN '2005'
    WHEN LEFT(CAST(serverproperty('productversion') as char), 4) = 10.0 THEN '2008'
    WHEN LEFT(CAST(serverproperty('productversion') as char), 4) = 10.5 THEN '2008R2'
    WHEN LEFT(CAST(serverproperty('productversion') as char), 2) = 11 THEN '2012'
    END AS MajorVersion,
    SERVERPROPERTY ('productlevel') AS MinorVersion,
    SERVERPROPERTY('productversion') AS FullVersion,
    SERVERPROPERTY ('edition') AS Edition,
    SERVERPROPERTY('collation') as Collation,
    cpu_count as CpuCount,
    physical_memory_in_bytes/1024/1024 as PhysMemMB
    FROM [sys].[dm_os_sys_info]
    If I run that on SQL 2014, it fails because 'physical_memory_in_bytes' is now called 'physical_memory_kb'
    I tried to do an IF..THEN..ELSE:
    IF (cast(serverproperty('productversion') as char) like '11.%')
    Then change the query accordingly but it would fail because i guess when it tried to parse the whole code, one of the T-SQL variations would have a column that did not exist in that particular version of SQL Server.
    Is there a way I can get physical memory across SQL 2005..SQL 2012 or rewrite the T-SQL above to be able to run on both?
    Thanks in advance

    Oh it seemed like you are asking SQL Server memory. the name for physical memory column ha changed only in SQL Server 2012. I wrote below script  just first run select SERVERPROPERTY('ResourceVersion')  to get exact resource database version of
    SQL Server 2012 and then replace it in below script
    IF cast ( SERVERPROPERTY('ResourceVersion') as char (10) )= '11.00.2000'--2012 resource database version
    select (physical_memory_kb/1024)as Physical_mem_MB from sys.dm_os_sys_info
    else
    select (physical_memory_in_bytes/1024/1024) as physical_mem_MB from sys.dm_os_sys_info
    Edit: A more optimized query
    If cast (LEFT( CAST(SERVERPROPERTY('ResourceVersion') AS VARCHAR(20)),2) as INT) in ('11','12')
    select (physical_memory_KB/1024) as Physical_Mem_MB from sys.dm_os_sys_info
    --else it uses for 2005-08R2
    else select (physical_memory_in_bytes/1024/1024) as Physical_Mem_MB from sys.dm_os_sys_info
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles
    Hi Shanky,
    Doesn't work and that's what I meant in my initial post..when I run that code against a SQL 2012 instance, it parses fine but when I execute it I get:
    Msg 207, Level 16, State 1, Line 6
    Invalid column name 'physical_memory_in_bytes'.

  • Web Dynpro using EJB to implement database access for MS SQL 2005 server

    Hello,
    For using EJB model in Java Web Dynpro, why do I need another dictionary project with all the required tables (there are 5 tables in my project), when the same database is already created in back end MS SQL 2005 Server.
    Thanks
    Srinivas

    Thanks for your reply Charan,
    I am fairly new to EJB. I have created only one session bean (called TrainingBean) and created all the business methods inside it.
    Here is my database schema, with the following 5 tables
    Courses
    CourseSchedules
    Students
    Registrations
    Competencies
    Here are the session bean business methods:
    changeCourse(String)
    changeStartDate(String)
    createCourse()
    createCourseSchedule()
    getCourses()
    getCourseSchedules()
    registerStudent(String)
    unRegisterStudent(String)
    Is this good way to implement EJB, or should I create multiple session beans and multiple corresponding Data access command beans  ?
    Thanks a lot
    Srinivas

  • SQL 2005 to SQL 2012 Replication for SSRS

    I recently successfully implemented one-way log shipping from a production SQL 2005 database to a new SQL 2012 database in the hopes that I can use the 2012 database to run SSRS 2012 on it.
    Unfortunately, the 2012 database is kept offline since log shipping between two DIFFERENT SQL versions can only be done in a NO RECOVERY mode.  (Standby mode is NOT available which would make the SQL 2012 read only and therefore workable for SSRS
    2012.)
    Does anyone have any suggestions on if there is another method on how to achieve this?

    Yes, You can try replication. I hope you've latest service pack upgrade for SQL 2005.
    http://msdn.microsoft.com/en-us/library/ms143699.aspx
    BOL:-
    A Subscriber to a transactional publication can be any version within two versions of the Publisher version. For example: a SQL Server 2005 Publisher can have Subscribers running SQL Server 2005, SQL Server 2008 (including SQL Server 2008 R2), or SQL Server
    2012; and a SQL Server 2012 Publisher can have Subscribers running SQL Server 2005, SQL Server 2008 (including SQL Server 2008 R2), or SQL Server 2012.
    -Prashanth
    -Prashanth

Maybe you are looking for