You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ This repo contains the service and cron scripts used to run a failover gocdb ins
7
7
* autoEngageFailover/
8
8
* Contians a Service script (```gocdb-autofailover.sh```) and child scripts that monitors the main production instance. If a prolonged outage is detected, the GOCDB top DNS alias 'goc.egi.eu' is swtiched from the production instance to the failover instance. This switch can also be performed manually when needed.
9
9
* importDBdmpFile/
10
-
* Contains a sript that should be invoked by cron hourly (```1_runDbUpdate.sh```) to download and install a .dmp of the production DB into the local failover DB. This runs separtely from the autoEngageFailover process.
10
+
* Contains a script that should be invoked by cron hourly (```1_runDbUpdate.sh```) to fetch and install a .dmp of the production DB into the local failover DB. This runs separtely from the autoEngageFailover process.
11
11
* nsupdate_goc/
12
12
* Scripts for switching the DNS to/from the production/failover instance.
13
13
* archiveDmpDownload/
@@ -21,12 +21,12 @@ This repo contains the service and cron scripts used to run a failover gocdb ins
21
21
|_ gocdb-autofailover.sh# MAIN SERVICE SCRIPT to mon production instance
22
22
|_ engageFailover.sh # Child script, run if prolonged outage is detected
23
23
24
-
importDBdmpFile/ # Scripts download/install a .dmp of the prod data
24
+
importDBdmpFile/ # Scripts fetch/install a .dmp of the prod data
25
25
|_ 1_runDbUpdate.sh # MAIN SCRIPT that can be called from cron, invokes child scripts below
26
26
|_ ora11gEnvVars.sh # Setup oracle env
27
-
|_ getDump.sh # Download a .dmp of the production data
27
+
|_ getDump.sh # Fetch a .dmp of the production data
28
28
|_ dropGocdbUser.sh # Drops the current DB schema
29
-
|_ loadData.sh # Load the last successfully downloaded DB dmp into the RDBMS
29
+
|_ loadData.sh # Load the last successfully fetched DB dmp into the RDBMS
30
30
|_ gatherStats.sh # Oracle gathers stats to re-index
31
31
|_ pass_file_exemplar.txt # Sample pwd file for DB (rename to pass_file)
32
32
@@ -50,15 +50,15 @@ following:
50
50
* the gocdb admins are emailed,
51
51
* the age of the last successfully imported dmp file is
52
52
checked to see that it is current,
53
-
* the hourly cron that downloads the dmp file is stopped (see
53
+
* the hourly cron that fetches the dmp file is stopped (see
54
54
importDBdmpFile below),
55
55
* <strike>symbolic links to the server cert/key are updated so they
56
56
point to the 'goc.egi.eu' cert/key</strike> (note, no longer needed as cert contains dual SAN)
57
57
* the dnscripts are invoked to change the dns (see
58
58
nsupdate_goc below).
59
59
60
60
## /root/importDBdmpFile/
61
-
Contains scripts that download the .dmp file and install this
61
+
Contains scripts that fetches the .dmp file and install this
62
62
dmp file into the local Oracle XE instance. The master script
63
63
is '1_runDbUpdate.sh' which needs to be invoked from an hourly
64
64
cron:
@@ -138,7 +138,7 @@ failover so the dns points back to the production instance
138
138
and restore/restart the failover process. This includes:
139
139
* <strike>restore the symlinks to the goc.dl.ac.uk server cert and key
140
140
(see details below)</strike> (no longer needed as cert contains dual SAN)
141
-
* restore the hourly cron to download the dmp of the DB
141
+
* restore the hourly cron to fetch the dmp of the DB
142
142
* run nsupdate procedure to repoint 'goc.egi.eu' back to
0 commit comments