Author |
Message |
LeeD
Joined: 17 May 2007 Posts: 311 Country: New Zealand |
|
Failover and remote jobs |
|
Hi
If a second server is running in standby ready to fail over, can it be used as a remote agent at the same time?
Cheers
|
|
Sun Aug 26, 2007 8:30 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
No, it cannot be used as agent. It doesn't have the network listener running. In standby mode, it is like a one way street, standby to master.
|
|
Sun Aug 26, 2007 10:16 pm |
|
 |
LeeD
Joined: 17 May 2007 Posts: 311 Country: New Zealand |
|
|
|
Thanks :-)
|
|
Sun Aug 26, 2007 11:48 pm |
|
 |
LeeD
Joined: 17 May 2007 Posts: 311 Country: New Zealand |
|
|
|
Hello again
Also on failover, if the master scheduler fails over to the standby, what context and server do the jobs then run in for JAL action and pre and post actions? Especially if they are 'local' jobs?
|
|
Mon Sep 03, 2007 11:54 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
The standby simply replicates job definitions and system settings. There is no separate context. In the fail-over event, the standby becomes a normal scheduler. While running jobs, it checks the value of the job "host" property. If that value is "Local" or blank, the job is run local. If for example, it is "ABC", the job is run on the ABC agent.
|
|
Tue Sep 04, 2007 2:02 am |
|
 |
LeeD
Joined: 17 May 2007 Posts: 311 Country: New Zealand |
|
|
|
So I just need to replicate the supporting applications and scripts from the master scheduler to the standby box separately.
I guess if a job is in midflight then the standby isn't going to be able to continue it or anything.
|
|
Tue Sep 04, 2007 5:30 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
Correct and Correct with a small note. Jobs having network file based dependencies might be restarted by the Standby in case if the dependency is not removed before the job start.
|
|
Tue Sep 04, 2007 5:55 pm |
|
 |
LeeD
Joined: 17 May 2007 Posts: 311 Country: New Zealand |
|
|
|
What sort of notification can be triggered if it fails over?
|
|
Tue Sep 04, 2007 6:59 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
A message goes to the Windows event log. If you are on Windows 2003 or later, you can attach email notification or SNMP trap to this event. If you are using some earlier Windows version, you can add 24x7 based event monitor to watch for this event in the log. In the latest case you can do any wild stuff - email, batch processes, SNMP, etc..., for example, attempt to restart the mater remotely and push the processing back to the master.
|
|
Tue Sep 04, 2007 7:16 pm |
|
 |
LeeD
Joined: 17 May 2007 Posts: 311 Country: New Zealand |
|
|
|
The event log on the master or standby?
|
|
Tue Sep 04, 2007 7:26 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
Standby
|
|
Tue Sep 04, 2007 8:02 pm |
|
 |
LeeD
Joined: 17 May 2007 Posts: 311 Country: New Zealand |
|
|
|
Cool thank you
|
|
Tue Sep 04, 2007 8:24 pm |
|
 |
LeeD
Joined: 17 May 2007 Posts: 311 Country: New Zealand |
|
|
|
The job db gets replicated from the master to the standby every so often right? What about the settings ie email details?
|
|
Wed Sep 05, 2007 7:48 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
What you see in Tools/Options is not replicated, this is not considered as a dynamic data that changes after the initial setup. Everything else is replicated including jobs, queues, agent profiles, database profiles, script library and internal security settings.
|
|
Wed Sep 05, 2007 8:13 pm |
|
 |
LeeD
Joined: 17 May 2007 Posts: 311 Country: New Zealand |
|
|
|
What are my options with failover for when the original master scheduler comes back up? I would prefer to have scheduler #1 as the master whenever it is available with scheduler #2 only taking over when the other is not available.
|
|
Sun Sep 09, 2007 9:14 pm |
|
 |
|