DIASER (Distributed Internet Archive System for Educational Repositories), based on the DIAP technology, can create back-ups in multiple locations, thus improving the environment stability and security.
System Requirements
- Perl v5.10.0 enabled workstation.
- 3 x Linux storage nodes (can use VM's) with root access for initial setup and Perl v5.10.0, with services; sshd, crontab, iptables ssh port open, ntpd, rsync (non daemon).
- LAN or WAN connection between each server, the 3 machines must be able to ping one another.
- SSH server on each node, not necessarily port 22.
- Perl modules
Workstation: Net::SSH::Perl, Net::SFTP, Getopt::Long and Term::ReadKey
Nodes: Net::SSH::Perl i.e. as root ]#yum -y install perl-Net-SSH-Perl or cpan>install Net::SSH::Perl
- Enough disk space, see docs/worksheet_3_26_may.pdf or docs/overview.png. I'll make all this much simpler to calculate when I have finished subroutine calculate_lmb.
Configuration
The file config.pl contains user settings, please edit as required.
Main settings:
number of months to years you want the system to run for
start date
time of daily operation
node IP addresses
SSH ports
dry run or not
time out and maximum transfer rate
Start Installation
Run diaser.pl -i as an ordinary user, node root passwords will be requested and make a note of your chosen diaser password.
Other options can be viewed with the diaser.pl -h switch.
Upgrades
Product upgrades will apply fixes and updates, use the -u switch.
Data Entry point
This machine contains directory ad0 and aFULL01 and is your machine A. Machine A is assumed to be your most robust and closest from a network perspective to your main backup facility. The files are assumed to be read/write by user id diaser for the moment. Use aFull01 for your FULL copy and ad0 for all subsequent Differentials. The script fill_diaser.sh will automate the loading of DIASER, fill_diaser will be re-written in Perl.
Data Retrieval
Currently retrieval can be achieved by manually using scp between the nodes and using rsync logs. All this will be automated.
SE Linux
May cause installation problems, please disable while installing.
Product's homepage
Requirements:
· SSH server
· Net-SFTP
· NTP
· iptables
· rsync
What's New in This Release: [ read full changelog ]
· This release contains a large number of code changes made according to Perl Best Practices and Perl::Critic advisories.
· Level 5 and 4 are complete for the cli management tool as well as most level 3 changes.
· Some development structures have been added to the SCM - these files contain development environment variables, settings and aliases used to govern and enhance the coding environment.
· Http conf.d has been modified to avoid duplicate aliases.