Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Preliminary information

  • The backup scripts are stored in /u3/scripts;

  • The log files for these scripts are stored in /u3/scripts/logs;

  • The script u2_backup.sh is responsible to create a backup of /u2/dcs in /u3 and launch nfs_rsync.sh script to rsync data to nascoda1. The u2_backup.sh script is launched by crontab on host dafnenfs every day (see Table 2 for details);
  • The script nfs_rsync.sh is responsible to rsync the data from the host where it is launched to nascoda1. It will send an email to Paolo Ciuffettiat his end to inform him on the backup status. It is launched by crontab on host danteweb and vlmonitor01 every day (see Table 2 for details);

  • The host dafnenfs share /u3/scripts; danteweb and vlmonitor01 mount that folder via NFS on boot (folder present in /etc/fstab);

  • The host dafnenfs has a custom configuration for logrotate present in /etc/logrotate.d/nfs_rsync to rotate log files generated by these scripts. It will rotate all log files every day, keeping them compressed in /u3/scripts/logs/old folder for 5 days.

...

Data

Control system data was saved in a Sun Storagetek 2550 Disk Array (LAT room) connected with two fiber optic paths to beatrix paths to beatrix and virgil, the old production cluster. Now it's all stored and exported to us from the IT department of LNF; These are the folders in which data is organized: 

HostFolderBackup Folder (nascoda1/2)Description
ServerFolderBackup Folder (nascoda1/2)Description
dafnenfs/etcserver_data/dafnenfs/etcConfiguration files
dafnenfs/data/disklessdisklessFilesystem for VMIC diskless clients
dafnenfs/data/export/exec/Solaris_9_sparc.all/usrforce_usrUser Filesystem for Force diskless clients
dafnenfs/data/export/rootforce_rootRoot Filesystem for Force diskless clients
dafnenfs/data/export/swapforce_swapSWAP for Force diskless clients
dafnenfs/data/u1u1
dafnenfs/data/u2u2Control system, home folders (dafne, vmic e VMs) and other files
dafnenfs/data/u3u3LVTemp, /data/u2 backup and other sensible files
dafnenfs/siddharta/dataFromSiddhartasiddharta/dataFromSiddhartaData written from Siddharta experiment useful for DAFNEdafnenfs/siddharta/dataFromDafnesiddharta/dataFromDafneData written from DAFNE useful for Siddharta experimentand from DAFNE
dafnenfs/data/backup_linac-vllinacctr001 VM backup (not backed up)

danteweb/etcserver_data/danteweb/etcConfiguration files
danteweb/optserver_data/danteweb/optService scripts and data, including a crontab snapshot
danteweb/var/lib/mysqlserver_data/danteweb/mysqlDatabase files (backup disabled; to be re-enabled soon)
danteweb/var/wwwapacheserver_data/danteweb/var/wwwWeb files (backup disabled; to be re-enabled soon)

Table 1 - data folders

Configurations

Configuration files to be saved:

dantewebdantewebdanteweb

vlmonitor01
/etcserver_data/vlmonitor01/etcApache, MySQL, Memcached config files and all needed for a rollbackConfiguration files
vlmonitor01/optserver_data/vlmonitor01/optService scripts and data, including a crontab snapshoot
dafnenfs/etcserver_data/dafnenfs/etcConfiguration files (never stored)
vlmonitor01/etc/nagiosserver_data/vlmonitor01/etc/nagiosNagios configuration
Custom scripts (with Nagios custom plugins)
vlmonitor01/var/spool/nagiosserver_data/vlmonitor01/var/spool/nagiosNagios home (with public/private keys)vlmonitor01/opt/nagios_custom_pluginsserver_data/vlmonitor01/opt/nagios_custom_pluginsNagios custom plugins

Table 2 1 - configuration data folders

Backup planning

Backup crontab are planned as Table 3 2 reports.:

ServerBackup frequencyTimeDescription
dantewebTo be implemented(warning)dafnenfsTo be implemented(warning)vlmonitor01To be implemented(warning)
dafnenfsdaily01:30Create a backup of u2/dcs in u3 and then launch rsync script
dantewebdaily01:10Launch rsync script
vlmonitor01daily01:05Launch rsync script

Table 2 Table 3 - Backup planning

Snapshot and replica

Backups have to be Backups are planned on NAS nascoda1.lnf.infn.it (LAT room) and rsynced on NAS nascoda2.lnf.infn.it (Control Lab, Building 2, Room 117) with following planning (including single volume snapshots):

Source NASDestination NASOperationFrequencyTimeDescription
nascoda1localData volume snapshotDaily00:05Snapshot kept fpr for 1 month
nascoda1nascoda2NAS system volume snapshot and replicaDaily00:55Local NAS system volume snapshot and replica on nascoda2
nascoda1localConfiguration server_data volume snapshotWeekly (Sunday)01:05Snapshot kept fpr for 1 month

nascoda1nascoda2Data and configuration volume syncDaily04:00rsync from nascoda1 to nascoda2 of all volumes

nascoda2localData volume snapshotDaily00:05Snapshot kept fpr 1 month
nascoda2nascoda1NAS system volume snapshot and replicaDaily00:55Local NAS system volume snapshot and replica on nascoda1
nascoda2localConfiguration server_data volume snapshotWeekly (Sunday)01:05Snapshot kept fpr 1 month

Table 4 3 - Snapshot and replica planning

...

Monthly manual backup

Manual backup made every month (.tar.gz) of all data folder and saved in shared folder "DCS Backups" on nascoda1.lnf.infn.it

...