Open main menu

CDOT Wiki β

Changes

no edit summary
===Initial Setup===
This applies to any new server that will be backed up (this process could be scriptable become a script eventually)
* Create a user named "backup"
* Give that user certificate access through ssh (to and from) the other servers (in the backup group). Tutorials available [http://zenit.senecac.on.ca/wiki/index.php/OPS235_Lab_7 here]
/archive/repo-backup
/var/log/blaze-backup
 
* Create the following file and give "backup" write permission to that file and also add the hostname for the admin server (iraq) in that file (please see offered services section for other options)
/etc/sysconfig/blaze
* Add In the admin host, add the hostname in the buddyhost section in blaze and wildfire with a random syncpeer. (optional, please see offered services section for more options)
* Add the following entry to /etc/aliases (use proper email format):
blaze-wildfire: fedora-arm at senecacollege dot ca
20 2 * * * ADMHOST=$(cat /etc/sysconfig/blaze); BKU=backup; export ADMHOST BKU; scp $BKU@$ADMHOST:/usr/local/bin/blaze \
/usr/local/bin/; chown -R $BKU:$BKU /usr/local/bin/blaze; chmod 755 /usr/local/bin/blaze; /usr/local/bin/blaze
* If the server is going to be a reposync host then follow the first three steps to create a user account called apache and give it access to and from the repohost
===Scheduling===
* In Ireland blaze runs at 03:35 AM UTC
* In Scotland blaze runs at 12:50 AM EDT
* In Romania blaze runs at 01:50 AM EDT* In Iraq blaze runs at 0208:30 AM EDT
===Offered/Backedup Servers/Services===
** Repository (REPOHOST) (Possibly one - Chile)
** Server that has backup to removable drive capabilities (RBDHOST) (Chile or Ireland or Scotland)
** Central Sync Server (SYNCHOST) (Iraq, Possibley Scotlandand Romania)** Repository Backup (COPYREPOHOST) (Iraq, Possibley ScotlandRomania)
** Sync Peer (BUDDYHOST) (All)
** Custom Log and Mail Server (AGGREGHOST) (Iraq)
** Administrator Host (ADMHOST) (Iraq, for now)
** All related servers under blaze wildfire system (ALLSYS) (Australia Chile Hongkong Iraq Ireland Scotland Romania)
===Repo Sync===
ARM is still a developing technology and expectations are that The Fedora ARM Project at Seneca CDOT will be highly active for the next few years. Depending on the level of activity the backup strategy in place may become out of date in a matter of months or it may need to be supplemented with other solutions.
==Appendix==
===Admin Host Configuration===Available This file specifies which server is the admin host. It is available in each host at
/etc/sysconfig/blaze
===Backup Layout===
:/var/spool/cron/
:/usr/local/bin/
:/var/lib/bcfg2/
|
:Configurations
:Cronjobs
:Scripts
:BCFG2 DB
|
:Iraq and Scotland
|
:Iraq and Australia
:(Repo Sync in Iraq Scotland and Scotland Romania only)
|
:/archive/blaze-backup/chile/
:/var/spool/cron/
:/usr/local/bin/
:/var/lib/etherpad-lite
|
:Configurations
:Cronjobs
:Scripts
:Etherpad Lite DB
|
:Iraq and Ireland
|
:/archive/blaze-backup/scotland/
|-
|
:Romania
|
:/etc/
:/var/spool/cron/
:/usr/local/bin/
|
:Configurations
:Cronjobs
:Scripts
|
:Australia, Iraq and Scotland
|
:/archive/blaze-backup/romania/
|}
iraq
Filesystem Type Size Mounted on
/dev/mapper/iraq-archive ext4 150.6T 0G /archive
ireland
Filesystem Type Size Mounted on
/dev/mapper/scotland-archive ext4 2.2T /archive
 
romania
Filesystem Type Size Mounted on
/dev/mapper/yoda-archive ext4 2.0T /archive
===Log Files===
1
edit