Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
controller.png 428.8 kB 1 07-Apr-2024 01:39 Ben Spink
png
controller_setup.png 38.1 kB 1 07-Apr-2024 01:31 Ben Spink
png
dc1_only.png 34.5 kB 1 07-Apr-2024 01:27 Ben Spink
png
dc1_unless.png 34.6 kB 1 07-Apr-2024 01:27 Ben Spink
xml
job.XML 38.1 kB 1 08-Apr-2024 11:11 Ben Spink

This page (revision-7) was last changed on 08-Apr-2024 11:12 by Ben Spink

This page was created on 07-Apr-2024 01:21 by Ben Spink

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 5 added 4 lines
All four servers are using replication and cross pointing at each other.\\
Each pair of Main servers in each DC has ServerBeat configured using the "JOB" VIP (or a real VIP) so that only one Main server in each DC is actually running jobs.\\
\\
!!Expectations:
At line 10 changed one line
[attachments|dc1_only.png][attachments|dc1_unless.png]\\
[attachments|dc1_only.png] [attachments|dc1_unless.png]\\
At line 12 changed one line
The "controller" job on these variables utilizes the hostname of the current machine to determine if its running in a dc1 or dc2 environment. This is critical that the hostname has some marker you can use to distinguish which DC you are running in. The very first part of the job simply looks at the current hostname to decide which one we are in and sets a variable for future decisions. This controller job runs frequently, so you should turn off saving state between steps and saving state at the end. Maybe keep them enabled which configuring, but then turn those off to not have a lot of job pollution.\\
The "controller" job on these variables utilizes the hostname of the current machine to determine if its running in a dc1 or dc2 environment. This is "row 1" area of the job. This is critical that the hostname has some marker you can use to distinguish which DC you are running in. The very first part of the job simply looks at the current hostname to decide which one we are in and sets a variable for future decisions. This controller job runs frequently, so you should turn off saving state between steps and saving state at the end. Maybe keep them enabled which configuring, but then turn those off to not have a lot of job pollution.\\
At line 15 changed one line
OK, finally...now into the job logic. The logic is "simple" and yet complex at the same time. Please try to follow along.\\
OK, finally...now into the job logic. The logic is "simple" and yet complex at the same time. Please follow along.\\
''(Row 2 area)''\\
At line 17 changed one line
2.) If we are not in DC1, then we need to check if DC1 is online or not...is a server in DC1 responding?\\
2.) If we are not in DC1, then we need to check if DC1 is online or not...is a server in DC1 responding? We do this by checking the list of reporting hostnames in the variable: server_active_replicated_hostnames\\
At line 20 changed one line
(Now we repeat for the opposite scenario of DC2.)\\
\\
Now we repeat for the opposite scenario of DC2.\\
''(Row 3 area)''\\
At line 22 changed one line
2.) If we are not in DC2, then we need to check if DC2 is online or not...is a server in DC2 responding?\\
2.) If we are not in DC2, then we need to check if DC2 is online or not...is a server in DC2 responding? We do this by checking the list of reporting hostnames in the variable: server_active_replicated_hostnames\\
Version Date Modified Size Author Changes ... Change note
7 08-Apr-2024 11:12 3.322 kB Ben Spink to previous
6 08-Apr-2024 11:12 3.322 kB Ben Spink to previous | to last
5 07-Apr-2024 01:45 3.26 kB Ben Spink to previous | to last
4 07-Apr-2024 01:39 2.709 kB Ben Spink to previous | to last
3 07-Apr-2024 01:31 1.566 kB Ben Spink to previous | to last
2 07-Apr-2024 01:27 0.915 kB Ben Spink to previous | to last
1 07-Apr-2024 01:21 0.621 kB Ben Spink to last
« This page (revision-7) was last changed on 08-Apr-2024 11:12 by Ben Spink
G’day (anonymous guest)
CrushFTP11 | What's New

Referenced by
CrushTask

JSPWiki