Log Shipping Conflicting For Setting DR Server

Dec 12, 2007

Hi all,

I need some advice on this scenario.

I have to set a Disaster Recovery (DR) server from my production Server( Most probably, i will be using Database Mirroring for my DR Server). Right now, the production is log shipped to another server for reporting every 15 minutes.

So, for setting up Database Mirroring onto my DR Server, i can take Full Backup from production without damaging log Shipping.
But, for setting up Database Mirroring, we need to restore most recent Transaction log backup with norecovery ( Correct me if i am wrong).

But, I cannot take log back because the prodcution database is log shipped for Reporting needs. If taken, log chain breaks.

Can anyone please suggest some work around for setting up the DR Server with minimal downtime.

Thanks for all your help.

View 5 Replies


ADVERTISEMENT

Setting Up Log Shipping In A Clustered Environment

Jun 27, 2006

Hi can anyone help with a step by step instructions on how to set up log shipping in a clustered envionment?



I aware that your need to set up a clutered share but am looking for as much details as possible.



Thank your for your help in advance.

View 2 Replies View Related

SQL 2012 :: Setting Log Shipping In AlwaysOn Environment

Jan 23, 2013

We have 4 Servers which have SQL SERVER 2012 and "AlwaysOn" have been enabled on all 4 servers:

Server1,Server2,Server3,Server4

Server1 is the Primary node and thr rest are secondaries. There is a Sync relation between Server1 and Server2 and also there is aSync relation between Server1 and Server3 & Server4.

Is it possible to setup log shipping from Server2 & Server3(secondaries) to two new servers?

View 9 Replies View Related

Setting Up Transaction Log Shipping In Prod Environment

Aug 21, 2007

Hi,

I currently have a 2000 Ent. production server and a stand by server ready for transaction log shipping.

Is it possible to setup transaction log shipping on a live environment without any interruptions?

I'm currently backing up the log every 1 hour, I'd like to increase to 15 minutes.

Any help would greatly be appreciated.

Thanks,
- Gary

View 4 Replies View Related

MS SQL Conflicting With Other DB Engines.

May 18, 2004

Hello All,
I work for a company that packages MSDE and MSSQL 8.0 because our software requires storing client information in a database. The problem is that we've found that if the our users have another DB engine installed (BDE or Paradox usually), our program has trouble using MSDE to access the database and thus making our software inaccessible. It behaves as if this other database engine locks on our database before MSDE can. I'm basically looking for help on either how to uninstall these other db engines or how to get around this problem so that both MSSQL and other db engines can co-exist in one system.

View 12 Replies View Related

Conflicting Databases

Jan 16, 2008

I have a server with sql 2000 and 2005 installed on it. When I try to connect to the msde 2000 database with an app or with managment studio express I get the following error

"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476"

But When I go through dos and type osql -S(local)database -E
it connects to the correct msde instance. How can I fix this with out uninstalling sql server 2005????

View 6 Replies View Related

Conflicting Sql Versions

Jan 17, 2008

I have a server with sql 2000 and 2005 installed on it. When I try to connect to the msde 2000 database with an app or with managment studio express I get the following error

"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476"

But When I go through dos and type osql -S(local)database -E
it connects to the correct msde instance. How can I fix this with out uninstalling sql server 2005????

View 3 Replies View Related

How To Solve Conflicting Component ID's

Feb 2, 2007

Hello,

I have 3 packages in one solution:

package A is the main package and calls packages B and C using 2 "Execute Package Task"s.
package B is a package constructed from scratch.
package C is a package started by file copying the package B .dtsx file in Windows Explorer and then adding/removing/renaming content.

If I run packages B and C separately they work fine.

If I run package A, package B is started and finishes correctly. Then package C is started and stops somewhere in the middle.

I guess this is because some of the component id's within package C are identical to those in package B ( I checked in the dtsx packages using Notepad. ) and somehow SSIS remembers the precedence constraints of package B and stops executing the rest of C. But I am not sure. And I do not know how to solve this without a risk of losing two days of work.

Any advice/suggestions ?

TIA

Jan Vandepitte

View 6 Replies View Related

DISTINCT Conflicting With My Query

May 10, 2006

I need p.phonenumber in there but then it messes up my DISTINCT ON m.number because I end up with dup m.numbers if I run just the inner select statement during testing.

But then I need the phonenumber in that subquery so that I can do list.phonenumber

ahh!



UPDATE Master
     SET master.homephone = list.phonenumber
FROM MASTER m
INNER JOIN
     (SELECT DISTINCT p.number, topphone.phonenumber
        FROM phones p
        INNER JOIN (SELECT top 1 phonenumber from phones) as topphone ON topphone.number = p.number
        WHERE    p.phonetypeID = 1
               AND ISNULL(p.good, 0) <> 0
               AND LEN(p.phonenumber) = 10
     ) AS list ON m.Number = list.Number
WHERE m.homephone IS NULL OR m.homephone = ''

Error:

Msg 156, Level 15, State 1, Procedure Skiaa, Line 66
Incorrect syntax near the keyword 'top'.
Msg 156, Level 15, State 1, Procedure Skiaa, Line 88
Incorrect syntax near the keyword 'top'.

I want to update m.homephone with the p.phonenumber based in the filtering critiria I have specified but this simple task is turning out to be a pain.

View 1 Replies View Related

Inserting Nulls In To Table Conflicting With Rule

Jan 15, 2007

Hi,I basically have two tables with the same structure. One is an archiveof the other (backup). I want to essentially insert the data in to theother.I use:INSERT INTO table ( column, column .... )SELECT * FROM table2Now, table2 has a rule on various columns:@CHARACTER IN ('Y','N')but the column allows nulls, in the design view is says so anyway.When I run this query I get:A column insert or update conflicts with a rule imposed by a previousCREATE RULE statement. The statement was terminated. The conflictoccurred in database 'database', table 'table', column 'column'.The statement has been terminated.Obviously, I've changed the names of everything.The only data in those columns which could possibly conflict with therule is the NULL value. Any ideas why this doesn't work?Thanks.

View 8 Replies View Related

Join Filter Causes Conflicting Locking Hints

Jul 14, 2006

Hi,

Using Merge replication, I have a table that is filtered using the HOST_NAME() function. The filter also makes use of a function (as the HOST_NAME() is overriden to return some complex data).

Everything replicates and filters just fine. but when I add a join filter on a different table (the join filter is a simple foreign key join) I get the following error when the snapshot agent is run:



Message: Conflicting locking hints are specified for table "fn_GetIDList". This may be caused by a conflicting hint specified for a view.
Command Text: sp_MSsetup_partition_groups
Parameters: @publication = test1



fn_GetIDList is the function used in the original filter.

Thanks for any help



Graham

View 6 Replies View Related

Transact SQL :: Reducing Deadlocks From Conflicting Delete Statements

Jun 15, 2015

I am working on an app that getting quite a few deadlocks due to delete statements.  I have turned on the sql trace flags and pulled the offending delete statements out of the ERRORLOG and trying to mesh those up with the indexes defined on the table, etc. looking to see if there is anything that can be done strictly from the db side (no app code change) to reduce/eliminate these deadlocks.  I have ran some tests/played around with RCSI and even disabling lock escalation but neither have improved my results.

What I have done is to search the errorlog file for DELETE FROM Tablename, output those matching lines, then sort of normalize the literal values to # or XYZ, open in Notepad++, removed trailing whitespace + dups and sort to come up with these results for the unique list of offending T-SQL statements (a LOT easier to read in text editor so sending screen cap.  

Open this url in new tab [URL] ....

View 7 Replies View Related

Log Shipping - Switching Recovery Model In Log Shipping

May 13, 2007

Hi





I could not able to find Forums in regards to 'Log Shipping' thats why posting this question in here. Appriciate if someone can provide me answers depends on their experience.

Can we switch database recovery model when log shipping is turned on ?

We want to switch from Full Recovery to Bulk Logged Recovery to make sure Bulk Insert operations during the after hours load process will have some performance gain.

Is there any possibility of loosing data ?



Thanks

View 1 Replies View Related

Log Shipping: How To Failback After A Failover Log Shipping?

Jun 8, 2006

Hi,

I 'm sure I am missing something obvious, hopefully someone could point it out. After a failover log shipping, I want to fail back to my inital Primary server database; however, my database is marked as loading. How can I mark it as normal?

I did the failover as follow:

I did a failover log shipping from the 2 server Sv1 (Primary) and Sv2 (Secondary) by doing the following

1) Stop the primary database by using sp_change_primary_role (Sv1)

2) Change the 2nd server to primary server by running sp_change_secondary_role (Sv2)

3) Change the monitor role by running sp-change_monitor_role (Sv2)

4) Resolve the log ins - (Sv2)

5) Now I want to fail back - I copy the TRN files to Sv1 - use SQL Ent to restore the database at point in time. The task is done; however, the database is still mark as loading. I could not use sp_dboption.

I appreciate any suggestion.

Thanks in advance

View 5 Replies View Related

Power Pivot :: Use Relationship Not Overriding Conflicting Active Relationship?

Oct 14, 2015

I have four tables with relationships as shown. They have a circular relationship and so one of the relationships is forced to be inactive.

   Operation (Commodity, OperationKey)   ==========> 
Commodity (Commodity)
                      /                                                                        
/
                       |                                                                         
|
   Advice (OperationKey)       ====== (inactive)=======>
Operation Commmodity (Commodity, OperationKey)

I have the following measure:

Advice No. Commodity:=CALCULATE (
COUNTROWS ( 'Advice' ),
USERELATIONSHIP(Advice[OperationKey],'Operation Commodity'[OperationKey]),
operation
)

However, the userelationship function does not override the active relationship between Operation & Advice and so the measure is limited to Advices directly filtered by the Operation table.

If I delete the relationship between Operation and Advice, then the measure works as expected i.e. Operation indirectly filters Operation Commodity which filters Advice.

View 9 Replies View Related

SQL Server Log Shipping

Oct 28, 2004

I have 2 SQL Servers. One of them is a production server and the other I want to have as a backup to the production server.

It is my understanding that Log Shipping requires the use of MSSQL Server Enterprise. Does the Enterprise version of SQL Server have to be on both servers? Or can it be just one one server?

If only one server, does it have to be on the subscriber or publisher?

This question is for concern towards proper licensing.

View 3 Replies View Related

Log Shipping On SQL Server 2000

Mar 7, 2002

------------
Robbie at 3/7/2002 10:13:00 AM

Great news but how??


------------
mmwops at 3/7/2002 9:09:32 AM

can be done


------------
Robbie at 3/7/2002 7:03:16 AM

Does anyone know if Log Shipping be done using SQL Server 2000 standard edition or does this have to be Enterprise??

Many Thanks


Robbie

View 1 Replies View Related

Log Shipping And Secondary Server

May 29, 2008

hi all,
For data ware house project, the reporting team needs to know the delta changes to the master database.

one way we were thinking was to use log shipping and run reports / ETL off the secondary server. But the team needs to know which records got changed and i was thinking of adding timestamp columns to the necessary tables (only on the secondary database schema) and that way we can track the changes.

But from my research, it seems like secondary database needs to have similar schema as promary database.

Is log shipping, can my secondary db have a bit different schema? if so how to do it?
If not, how to accomplish the above secanrio, with out adding new columns (if possible) in the master database and with low over head.

thanks
lucy

View 3 Replies View Related

Sql Server 2000 Log Shipping

May 28, 2008



Hi,

I have maintanance plan for log shipping.it was working fine for last 2 months.But due to some reason I have to restart the server and after that my log shipping job was failed.When I start the job it is showing error "Executed as user: OKS-MARAdministrator. Invalid drive specification 0 File(s) copied. Process Exit Code 4. The step failed".This error is coming when I copy the bakup database file to another server.I have checked all the mapping and sharing option.Also I have nt changed anything in the two servers.But still then the error is coming.
Can you please help me out to shot out the problem?
Thanks in advance.

Sunanda

View 4 Replies View Related

Log Shipping In Sql Server 2000

Sep 19, 2007



hi,
i have log shipping between 2 servers on sql server 2000. the log shipping failed because of some problem with transaction log backup files. somehow the files are missing and it is not able to apply transaction log. can someone please tell me how can i restore the log shipping between 2 servers. please help asap..need to fix it in couple hours

View 4 Replies View Related

Secondary Server In Log Shipping

Oct 2, 2006

Hi,

We have SQL Server 2005 configured with mirroring to protect from physical errors. We also have a need for an (out of sync is ok) reporting server and we'd like to reduce our downtime in the event of a logical error.

The primary database is already being backed up (full and t-logs) to a shared network drive.

Can I implement the second half of log shipping (i.e. the stuff you do to the secondary) so that I don't have to change the current backup schedules on the primary server?

Specifically in the list of sp's below, can I start halfway down at sp_add_log_shipping_secondary_primary (Transact-SQL) ?? Without having to run the primary sp's?

sp_add_log_shipping_primary_database (Transact-SQL)
sp_add_jobschedule (Transact-SQL)
sp_add_log_shipping_alert_job (Transact-SQL)
sp_add_log_shipping_secondary_primary (Transact-SQL)
sp_add_log_shipping_secondary_database (Transact-SQL)
sp_add_log_shipping_primary_secondary (Transact-SQL)


Or do I have to ditch my current backup maintenance plans on the primary and start again?

Thanks

Ed

View 1 Replies View Related

Log Shipping - Adding A New Server To Plan

Oct 13, 2003

I have had log shipping set up for a month at a remote site. Created another server to failover to here locally that utilizes 512K line. Microsoft has a tab on the maint plan to add another server to the log shipping plan. Shut down all log shipping, moved full backup back here locally and created new database. Used tab to add new server to log shipping server and setup plan using this database. When log shipping starts up for this new server it fails. Error shows it is looking for the first log file that was sent over a month ago. Am I correct in assuming that the only way you can really add another log server is to do it at the same time? If so it's kind of stupid to have the tab to add the server. My log files are pushed over every 5 minutes, and I remove them after 1 week.

View 3 Replies View Related

Reqs For Log Shipping Monitoring Server

May 29, 2008

Does anyone know if there are any minimal hardware requirements for the Monitoring server for SQL 2005 Log Shipping?

View 1 Replies View Related

Best Place To Deploy Log Shipping Monitor Server

Aug 19, 2003

I have 4 sql 2000 servers. One is a the primary, one is a local stand-by, one a remote standby and one is a training server. WHen configuring which server should monitor log shipping I was torn between the local standby and the training. The training server which only has a few users if ever, might be used for some DTS tasks in the future for some B to B stuff. Based upon this I am leaning on the local standby to monitor. Anyone have an experience or input?
Thanks!
(No I can't buy any more servers)

View 2 Replies View Related

SQL Server 2008 :: Set Up Log Shipping To 2 DR Servers Instead Of One Via SSMS GUI?

Sep 15, 2015

I have to set up log shipping from Prod server "A" to 2 different DR servers ("B" and "C")...What do i have to do differently (or additional) using the GUI (ie not using Tsql Scripts) to accomplish this, in addition to the steps that are done to log ship to just one DR server?

View 0 Replies View Related

SQL Server 2008 :: Enabling TDE On Databases Which Are Used For Log Shipping

Sep 15, 2015

I have log shipping enabled on databases(primary and secondary) and works fine. I need to implement TDE on the database. I have experience on implementing TDE on databases which are not used for log-shipping.

What are the steps needed to setup TDE which are involved with log-shipping.

View 0 Replies View Related

SQL Server 2000 : Log Shipping, Backup Plan

Dec 8, 2006

Hey all-

I am working to establish a backup plan for SQL Server 2000. We are currently doing log shipping between servers.

A full backup once a week
transaction log backup every hour

We run a bulk deletion (delete * from table where date < ninetydays) which deletes 22,000 rows approximately. We are running in Full Recovery mode.

I wonder if there was anyway to improve my backup plan, preferably minimizing logging when the deletion takes place but still backup the data with log shipping.

Let me know if any of you have ideas. Thanks

Nate

View 1 Replies View Related

Log Shipping Vs Database Mirroring With SQL Server Cluster

Oct 24, 2007


Dear,

Are possible build a solution with SQL Server 2005 Cluster and Database Mirroring? I have the following scenario:

1) Site A
SQL Server 2005 with 2 nodes and active/passive

2) Site B
SQL Server 2005 for Disater Recovery with Log Shipping.

Are possivel change Log Shipping by the Database Mirroring? If is possible, are better:


a) Synchronous(with or without witness)
b) Asynchronous

Thanks a lot! Sandro.

sgpcosta@hotmail.com

View 2 Replies View Related

How To: Enable Log Shipping (SQL Server Management Studio)

Apr 28, 2008



I am following the instructions laid out in the MSDN article
http://msdn2.microsoft.com/en-us/library/ms190640.aspx

and am finding results that are confusing me. The primary server's database's log-shipping settings is set to copy the Transaction Log backups to a UNC share on the secondary server. The secondary server does not have an instance of the backup database yet, so I specify "Yes, generate a full backup of the primary database and restore it into...." in the Initialize Secondary Database tab.

Under the Copy Files tab, i make the secondary server additionally copy the original log file location (e.g. \secondarylogship - d:logship) to another extra location (e.g. d:logship
estore).

When the processed is kicked start, it appears to report everything is successful. However the primary database properties show that "Enable this as a primary database in a log shipping configuration" is checked off. There is no SQL Server Agent job to back up its Transaction logs. Over at the secondary server, there are the three expected Copy, Restore, and Alert SQL Server Agent jobs. The resultant database is in a perpetual Restoring... state and nothing can be done to it.

I also noticed the Restore job ran before the Copy job when i checked the Job History of those jobs. I would have thought Copy should be done before attempting a Restore.

Can anybody explain what behaviour is being observed here? Thanks.

View 12 Replies View Related

Log Shipping Monitor Our Of Sync SQL Server 2005

Oct 27, 2006

I have set up log shipping between two servers with a third serving as a monitoring server. Recently the monitoring for the eight databases that I am log shipping began to indicate that everything was failing. Upon further inventigation of the log_shipping_monitor_history_detail tables on the prinary and secondary everthing appears to working properly but I have been unable to resyncronize the monitoring. I have attempted to use the stored procedure sp_refresh_log_shipping_monitor to no avail, it does not appear to do anything with respect to the data in the dbo.log_shipping_primary_databases and log_shipping_monitor_primary tables on the primary server or the log_shipping_monitor_secondary and dbo.log_shipping_secondary_databases tables on the secondary. I have also manually updated the records in these tables in an attempt to syncronize but after the next sucessful backup, copy and restore this monitoring data is not updating. Does anyone have any ideas as to what I am doing wrong or how I might rectify this situation.

View 3 Replies View Related

How To Turn On The Secondary DB Server In The Solution Of Log Shipping?

Dec 29, 2007

I made B server which get logs from primary server A as a secondary server in the log shipping solution.
it always shows RESTORING in B server, it seems not to accessible.

my question is <if A failed down , how to revoke the B server as the primary one>

View 3 Replies View Related

SQL Server 2005 Log Shipping Error 14262

Apr 30, 2007

I am getting the following error " The specified servername does not exist" when I run the Log Shipping procedure. There is only a Primary server running Win Server 2003 withe Service pack 2 and SQL Server 2005 with service pack 2 and one secondary server runnung Win Server 2003 R2 with service pack 2 and SQL Server 2005 with service pack 2. All permission setting look ok . Can anyone help

View 4 Replies View Related

Need Backup Of Production Database On Dev Server. Log Shipping?

May 29, 2007

I have a 20 GB SS2005 database that I would like to be replicated to a dev server for testing purposes. I might have some issues with the firewall blocking ports. I haven't read up on the specifics of how log shipping works yet, but I assume that is the best approach. A daily transfer would suffice.



A few options I am considering:

1. use the built in stuff, but I'm not sure it will work with our security settings, and if the trans logs are large it might be strained.



2. writing a small custom app to zip up the log file then ftp them down to the dev server. This could run nightly.



3. some third party util, such as FolderShare could transfer the log files



Any comments or suggestions?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved