OPS335 A2

From CDOT Wiki
Jump to: navigation, search

Assignment 2 This assignment is worth 10% and is an individual assignment.

Information

You should have your host computer configured as the primary DNS server (lab 3) and master NIS server (lab 8) by now. In order to provide redundancy, we want to set up a seconday DNS server and 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

You are to develop a lab for OPS335 that demonstrates on how to set up a secondary DNS server on VM1, a slave NIS server on VM2, and a backup server on VM3 running Fedora 16. You should use any current OPS335 lab as a model (template) for your lab. Your lab should be a PDF document. Your lab should consist of at least 4 parts:

PART 1 - Secondary DNS Configuration

Describe how to set up (configure) a secondary DNS server. You may have to mentioned the changes that need to be make on the Primary DNS server to support the secondary server.

PART 2- Slave NIS server configuration

Describe how to set up (configure) a slave NIS server. You may have to mentioned the changes that need to be make to the master NIS server as well.

PART 3 - Automated Back-ups

Describe how to set up a backup server to pull the configuration data from ALL the servers (Primary DNS and master NIS on the host, secondary DNS on VM1, and slave NIS server on VM2). You should consider doing the following steps:

  1. 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>-host-conf-bu.tar on your host, <date>-vm1-conf-bu.tar on VM1, and <date>-vm2-conf-bu.tar on VM2. Create a separate directory for each day's backup file.
  2. if the tar ball file is created successfully, create a status file in the same directory.
  3. run a shell script 1 minute after 1:00am on vm3 transfer each backup file on host, VM1, and VM2 to VM3 if the backup file was created successfully. Create a separate directory for storing each day's backup files using the date so the back ups are sorted.

PART 4 - Create Lab Questions

Create 7-10 short questions the student should answer upon completing the lab.

Important

You lab should be original, individual work and made so that it can be completed in Lab T2107 on the PC available.

Submission

You need to submit two files by both hard copy and email. The first file is the PDF file which contains the entire lab including the answers to lab questions, and the second file is the TXT file containing the questions and answers to the lab ONLY.

Evaluation

Your work will be graded based on understandability, thoroughness and correctness.