1,760
edits
Changes
→Phase 3 - Automated Back-ups
''' Assignment 2 '''
This assignment is worth 10% of your final grade and is an individual assignment.
= Information =
You should have your VM1 configured as the primary DNS server (lab3) and Vm2 configured as the master NIS server (lab 9) by now. In order to provide redundancy, we want to set up a seconday DNS server and a slave NIS server. We also want to backup the configuration files and database files of those servers to a separate machine at a scheduled time.
= Requirement =
==Phase 1 - Secondary DNS Configuration==
'''Due Date: July 31August 4, 2015'''
==Phase 2 - Slave NIS server configuration ==
'''Due Date: August 7, 2015'''
Describe how to set up (setup, configure) , and test a slave NIS serverfor your NIS domain. You may have to mentioned mention the changes that need to be make made to the master NIS server as well.
==Phase 3 - Automated Back-ups ==
'''Due Date: August 7, 2015'''
Describe how to set up a backup server to <b>pull </b> the configuration data from ALL the servers (Primary DNS and master NIS on the hostserver, secondary DNS on VM1server, master NIS server, and slave NIS server on VM2)and save the files in the directories /backup/pri-dns, /backup/sec-dns, /backup/mas-nis, /backup/sla-nis respectively. You should consider doing the following steps:# run a shell script 1 minute after midnight to package all configuration files and database files into a tar ball file. Name the tar ball file as <date>-hostprimary.tar for all the files for your primary DNS server, <date>-conf-busecondary.tar on for your hostsecondary DNS server, and <date>-vm1-conf-bumaster.tar on VM1for your master NIS server, and <date>-vm2-conf-buslave.tar on VM2. Create a separate directory for each day's backup fileyour slave NIS server.# if Pull the tar ball file is created successfully, create a status file in to the same corresponding directoryon the backup server.# run Create a shell script 1 minute after 1:00am on vm3 transfer each status file in the corresponding backup file on host, VM1, and VM2 directory to VM3 if indicate when the backup tar ball file was created and when it was successfullybackup to the backup server. Create a separate directory for storing each day's . === Sample Directory Structure on the backup files using server ===The following listing show the date so directory structure on the back ups are sortedbackup server after three successful backups on July 1, July 2, and July 3:<pre>/backup├── mas-nis│ ├── 20150701-bu-status│ ├── 20150701-master.tar│ ├── 20150702-bu-status│ ├── 20150702-master.tar│ ├── 20150703-bu-status│ └── 20150703-master.tar├── pri-dns│ ├── 20150701-bu-status│ ├── 20150701-primary.tar│ ├── 20150702-bu-status│ ├── 20150702-primary.tar│ ├── 20150703-bu-status│ └── 20150703-primary.tar├── sec-dns│ ├── 20150701-bu-status│ ├── 20150701-secondary.tar│ ├── 20150702-bu-status│ ├── 20150702-secondary.tar│ ├── 20150703-bu-status│ └── 20150703-secondary.tar└── sla-nis ├── 20150701-bu-status ├── 20150701-slavs.tar ├── 20150702-bu-status ├── 20150702-slavs.tar ├── 20150703-bu-status └── 20150703-slavs.tar 4 directories, 24 files </pre>
= Important =
Your procedure and test cases should be original, individual work and made so that it can be replicated in Lab S2119 on the PC availablein the lab.
= Submission =
You need to submit a PDF file by both email and hardcopy. The PDF file should contain the entire lab including the answers to lab questions, and the second file is the TXT file containing the questions procedure and answers to all the lab ONLYtest results.
= Evaluation =