Quantcast
Channel: AlwaysON job active-Passive
Browsing all 11 articles
Browse latest View live

AlwaysON job active-Passive

The default On Failure  is to quit the job.  Please check you don't have it set to "Go To Next Step" on failure.You should see the message in the job history if it is working.  I use this method on all...

View Article



AlwaysON job active-Passive

Hi,i noticed a strange things. I implemented code :DECLARE @result INT; SET @result = (select sys.fn_hadr_is_primary_replica ( 'your datbase name' ) ) IF @result = 0 RAISERROR('Server not primary for...

View Article

AlwaysON job active-Passive

Thanks, the code is helpful.

View Article

AlwaysON job active-Passive

Hi,i noticed a strange things. I implemented code :DECLARE @result INT; SET @result = (select sys.fn_hadr_is_primary_replica ( 'your datbase name' ) ) IF @result = 0 RAISERROR('Server not primary for...

View Article

AlwaysON job active-Passive

You either use the code supplied by Tom, OR, you can use mine. Both will work well for testing if a database is "primary" on node. Main difference is that mine tests that the database is primary AND...

View Article


AlwaysON job active-Passive

You either use the code supplied by Tom, OR, you can use mine. Both will work well for testing if a database is "primary" on node. Main difference is that mine tests that the database is primary AND...

View Article

AlwaysON job active-Passive

The code supplied by Tom should work and is a valid option, however at my place of work we decided to implement the example below. Just because your database is a primary replica database doesn't mean...

View Article

AlwaysON job active-Passive

Create a first step in your SQL Agent job which runs this:DECLARE @result INT; SET @result = (select sys.fn_hadr_is_primary_replica ( 'your datbase name' ) ) IF @result = 0 RAISERROR('Server not...

View Article


AlwaysON job active-Passive

The code supplied by Tom should work and is a valid option, however at my place of work we decided to implement the example below. Just because your database is a primary replica database doesn't mean...

View Article


AlwaysON job active-Passive

Create a first step in your SQL Agent job which runs this:DECLARE @result INT; SET @result = (select sys.fn_hadr_is_primary_replica ( 'your datbase name' ) ) IF @result = 0 RAISERROR('Server not...

View Article

AlwaysON job active-Passive

Hello all,i have some cluster alwayson with some job. I wolud like to know if is possible to implement it in active passive mode, if listener is on primary node, it stay active there, and on secondary...

View Article
Browsing all 11 articles
Browse latest View live




Latest Images