Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all 4689 articles
Browse latest View live

The package execution returned DTSER_FAILURE (1).

$
0
0

Hi, I have a problem with my SQL 2005 Transactionlog backup. I get an error on the schedule job:

 

Message
Executed as user: TNET\sqlservice. Microsoft (R) SQL Server Execute Package Utility  Version 9.00.3042.00 for 32-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  01:00:00  Progress: 2008-02-15 01:00:02.56     Source: {8277BBE5-6B5E-44D1-9221-17442AB5C857}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp".: 100% complete  End Progress  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  01:00:00  Finished: 01:00:03  Elapsed:  2.813 seconds.  The package execution failed.  The step failed.

 

but the job goe's trough and the full backup is ok.

The version I have is 3042 and sp2. Doe's anybody regognize this?


SQL server Agent Jobs High Avaialability - Crash on server 1 , automatically resumes from Secondary server

$
0
0

Hi All,

1)We have 2 physical Servers, where SSIS is installed (not clustered) . If machine crashes where Jobs running on server 1, then i want to automatically resumes the job from secondary server sql server job agent ?

2)Can i AUTOMATICALLY resume the job from secondary ssis server on crash of my primary ssis server ?

3)Can it resumes from the same point or we have to restart from begining ?

 

Using AGs secondary replica for offload of reporting

$
0
0

We have a SQL 2012 cluster. We would like to start using AGs in order to offload the reporting.

Can we add another SQL instance (on another node added to the Windows cluster) and use as read-only reporting?  We are not interested in using the secondary replica as a HA or DR solution.  We already have another SQL cluster for DR.

Do not want the secondary replica to ever become the primary, how would this be done?

By specifying manual/forced failover?

Could existing connection strings still use the virtual name of the exiting SQL cluster and the reporting requests have a connection string specifiying the Listener name and application-intent=read-only specified?

Also wondering if it is possible to cluster the instance that will be used for the secondary replica? 

what is the use of RPC in profiler?

$
0
0

Hello,

I need more information about  use of RPC in profiler?

SQL Server 2012 availability groups

$
0
0

Hi, I'm new to SQL 2012 and availability groups. We have it setup for SharePoint 2013 for an Intranet and all is well. I migrated some ASP.NET applications from SQL 2005 and created a new group for them. It all seemed fine and was sync'd up ok but lately I'm having to manually resume the data movement via Management Studio. The databases seem to be in a paused state although the database is up as far as the applications are concerned.

Should I have completed some kind of database upgrade prior to moving over to 2012? Is there anything I can do or check? Is there a way of automating the resume data movement rather than me manually doing this?

Thanks!

Why to use SQL Server’s native backup facilities, not other backup solution?

$
0
0

I've been asked in my company: why to use SQL Server’s native backup facilities? Instead, they currently rely on other backup software, like Backup Exec, BrightStor, or even Microsoft System Center Data Protection Manager. Those solutions let the company manage all of its backups—including SQL Server—in a single place, whereas SQL Server’s native backup abilities only apply to SQL Server.

So what does SQL Server native backup facility give us more to be forced to use it?

how can we read mirrored database?

$
0
0

 Hello everyone, is it possible to read mirrored database? if so how can we do this?

I need a step by step procedure to make my mirrored database to read and also its benefits and requirements.

Thank you.

Creating SQL Server 2012 HA and Recovery

$
0
0

Hi,

In environment we want, if possible to create a setup of SQL in the following way:

1. In primary site, to create a standard cluster setup with 2 nodes cluster using a same storage,

2. In secondary site to have a single node, replicated with primary site using AON

Is this setup possible, and if yes could somebody share some documentation (links) on how to set it up.

Thank you


alfa21


Removing node for SQL failover cluster

$
0
0

Hello,

I have a need to remove a node from a 2-node Active/Passive SQL Server 2008 R2 failover cluster, leaving a 1 node cluster.

I know I should run the SQL setup utility from the node I want to remove, but should this be the node with the cluster resources running (i.e. the active node)?

I'm guessing it should be on the passive node, but confirmation/advice/instruction is warmly welcomed.

Thank you.

Configure log shipping for always on databases in sql server 2012

$
0
0

Hi Chaps,

I need to understand how can i setup log shipping on always ON databases in Sql Server 2012.Any thoughts or ideas on same would be appreciated.

Regards

Rahul

Attaching db with missing transaction log, and remapping location to new drive

$
0
0

I have a detached database that I am trying to attach and it will not allow me to do so. It is telling me the location for the log file does not exist. Which is true. I need to attach the db, point it to the new drive/path for the log files and create the new log file.

This is not live production data, we are attempting worst case data recovery scenarios to evaluate its impact had it occurred in a production environment.

How can I go about attaching our db file, point it to a new drive for the log file and then have it recreate the log.

We are running SQL Server 2014 in an active/passive config in a clustered instance of SQL with 2 VSAN drives as our data and log file drives.

thanks!

LogShipping issue while restoring the log with STANDBY option on SQL Server 2012

$
0
0

We are using log shipping and RESTORE WITH STANDBY on SQL Server 2012 in order to restore the database in read-only mode for reporting purposes. However, the log shipping setup keeps breaking after completing a restore of one or two log backups. Log-shipping only breaks when it is running as RESTORE WITH STANDBY; RESTORE WITH NORECOVERY does not cause any problems.

I have reset up log shipping multiple times but no luck and also reconfigured log shipping on other secondary server which is in same domain and its working fine there it means its not a either network or log file corruption issue. I have ran the DBCC Checkdb and no db corruption found and also verified the log file with restore verifyonly option and that file is valid

Errors:

Message

Error: Could not apply log backup file '<path:\<DBName>\<DBName>_.trn' to secondary database '<DBName>'.(Microsoft.SqlServer.Management.LogShipping) ***

Error: An error occurred while processing the log for database '<DBName>'. If possible, restore from backup. If a backup is not available, it might be necessary to rebuild the log.

An error occurred during recovery, preventing the database '<DBName>' (10:0) from restarting. Diagnose the recovery errors and fix them, or restore from a known good backup. If errors are not corrected or

expected, contact Technical Support.

RESTORE LOG is terminating abnormally.

Processed 0 pages for database '<DBName>', file '<DBName>' on file 1.

Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) ***

Error: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.(System.Data) ***

Skipping log backup file '<path\<DBName>\<DBName>_.trn' for secondary database '<DBName>' because the file could not be verified.

Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) ***

Error: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.(System.Data) ***

Error: An error occurred restoring the database access mode.(Microsoft.SqlServer.Management.LogShipping) ***

Error: ExecuteScalar requires an open and available Connection. The connection's current state is closed.(System.Data) ***

Deleting old log backup files. Primary Database: '<DBName>'


Rahul

Add (SharePoint) Databases to Availability Groups - Which Initial Data Synchronization option to choose

$
0
0

Hi people,

I want to add Databases to the Availability Groups, 

When I manual restore the database (using 3 party tool) on the Secondary replica with "no recovery", and I choose during Add Database wizard  "Join Only",  will SQL Server replicate the changes that occurred on the primary replica, after the full manual back-up that is used for restore?

Or do I need to shutdown all Database activity (shutdown the SharePoint farm) and use full backups to set up the replication



Wrong Media Format Error During Logshipping Backup

$
0
0
I attempted using sql log shipping wizard and tried tsql scripts. Everytime, I used wizard, it tells me it cannot restore the backup from server 1 to server 2 due to wrong media format. My backup is using a disk as set up. Any suggestions what I can do so I can proceed with log shipping configuration correctly would be SUPER helpful! Thank you so much! 

Mirroring and replication in same database

$
0
0

Hi,

   In my environment we have a 350Gb of database for which we have configured DB Asynchronous mirroring for DC to DR. We have also configured Transactional replication with 2 subscriber and Snapshot replication with 1 subscriber for that same database. If in case DR happens what steps i have to follow for replication from DR?. We have seperate server in DR also for the subscriber. But our network bandwidth is 4 mbps only.

 


Failover in clustering

$
0
0

Hi Experts,

I am new to clustering, last night one of The primary server had some issues last night.  It lost connection to it's  drives.  SQL instance went down on the primary node.  Someone worked on it  and got it back up.  My customer is asking to find out why did it not failover automatically and to check the failover setup.

Note: sql 2012 enterprise edition with windows server 2012.

Can someone please help how to proceed with this.

Thanks in advance.

Unable to Find SQL Agent

$
0
0

Hi There,

We are using SQL Server 2012 and we would like to do create schedule for the SQL Backup. As I know, the backup is performed by the SQL Agent. However, we can't find where the SQL agent is. Look at the picture that I attached. on the other server I can find it easily just below "Integration Services Catalog". is it due to permission issue or because the features not being installed?

Thanks.

REgards,

H

Jobs in SQL Always on

$
0
0

I am using SQL 2012 with Always on (with automatic fail over); I have few jobs. I understand that I can use following logic to determine if the present node is primary or replica.

DECLARE@ServerName NVARCHAR(256) =@@SERVERNAME

DECLARE@RoleDesc NVARCHAR(60)

SELECT@RoleDesc= a.role_desc

   FROM sys.dm_hadr_availability_replica_statesAS a

   JOIN sys.availability_replicasAS b

       ON b.replica_id= a.replica_id

WHERE b.replica_server_name=@ServerName

IF@RoleDesc='PRIMARY'

BEGIN

   --Logic for the job goes here

END

 

Now I have several steps on my job. Basically I want to determine the role of the server (i.e. primary or replica)on the step 1 of the job  and if it is primary then job will go to the next step otherwise job will ended without moving to next step. How can I achieve it?

Thanks 

sql 2005 event id 9004 & 3456

$
0
0

Hi 

After patching our server last week, the vm machine had bsod. After a week we noticed that the server was having event id 9004 and 3456. It looks like the logs were corrupted. What's the best way to reset the transaction logging. We don't have a valid backup now...

Thanks,

invalid network name while installing sql on windows cluster

$
0
0

Hi I did configure two node cluster with one node as DC and san storage using ISCSItarget software
on windows server 2008R2 ent edition.

While installing sql server 2012 ent edition getting error for Sql network name.It is giving me error as Invalid Network nmae even I am using distinct name.I am working on administrator domain account which has all the permission in AD I believe.so what could be the problem..I always get this error and when I my cluster it gives warning of Cluster Disk.Though My config steps are proper  and my validation report is not giving warning...

can anybody help me out???????


srm_2010

Viewing all 4689 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>