Difference between revisions of "OPS335 - Assignment 2"
m (A) |
|||
(31 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
== Purpose == | == Purpose == | ||
− | In this assignment, you will use the '''335assign virtual network''' and the ''' | + | In this assignment, you will use the '''335assign virtual network''' and the '''blofeld''' cloning-source that you created in assignment 1 (part 1) to create two e-mail servers: a '''Mail Transfer Agent''' called '''carver''' and a ''Message Store'' (IMAP) called '''drax'''. You will also use the '''blofeld''' cloning source to create a Samba server called '''zorin'''. In addition to creating those Linux servers, you will also be required to create a virtual machine for an MS Windows operating system to test-out your Samba server. As you perform and submit this assignment, you '''MUST''' run the '''wint''' Master Name server and '''kidd''' Slave server in order to resolve domain names to IP addresses. |
== General Requirements == | == General Requirements == | ||
Line 7: | Line 7: | ||
'''Weight''': 10% of the overall grade | '''Weight''': 10% of the overall grade | ||
− | '''Due Date''': During Week 13 (in class) | + | '''Due Date (Winter 2019)''': During Week 13 (in class) |
== Detailed Requirements == | == Detailed Requirements == | ||
Line 13: | Line 13: | ||
{{Admon/important|It is YOUR responsibility to Backup all of your VMs for this Assignment!|You are required to frequently backup your VMs prior to exiting a work session during this assignment. Your instructor will NOT accept the fact that your hard disk crashed and lost all of your work. If you properly backed up your VM images and xml configuration files to a USB, then you can purchase a new hard-disk or wipe and recreate your hard disk and restore your VMs. Students who fail to submit their assignment #2 by the last day of scheduled classes will receive an INC grade (assuming they passed all of the other requirements for this course) and will be required to show their instructor their working assignment #2 no later than 4PM on the first Tuesday of the next semester; otherwise, they will fail the course. Students with accommodations should discuss arrangements regarding due dates / submission of assignment #2. Students that are missing both of assignment #1 and assignment #2 will fail this course.}}<br /><br /> | {{Admon/important|It is YOUR responsibility to Backup all of your VMs for this Assignment!|You are required to frequently backup your VMs prior to exiting a work session during this assignment. Your instructor will NOT accept the fact that your hard disk crashed and lost all of your work. If you properly backed up your VM images and xml configuration files to a USB, then you can purchase a new hard-disk or wipe and recreate your hard disk and restore your VMs. Students who fail to submit their assignment #2 by the last day of scheduled classes will receive an INC grade (assuming they passed all of the other requirements for this course) and will be required to show their instructor their working assignment #2 no later than 4PM on the first Tuesday of the next semester; otherwise, they will fail the course. Students with accommodations should discuss arrangements regarding due dates / submission of assignment #2. Students that are missing both of assignment #1 and assignment #2 will fail this course.}}<br /><br /> | ||
− | === Set-up Mail Transfer Agent (''' | + | === Set-up Mail Transfer Agent ('''carver''')=== |
Perform the following steps for this section: | Perform the following steps for this section: | ||
− | #Create a clone virtual machine called ''' | + | #Create a clone virtual machine called '''carver''' from the '''blofeld''' cloning-source. Refer to the table below for '''address''' and '''hostname'''. |
#The root user on your host machine must be able to ssh to the root account on each machine without being prompted for a password. | #The root user on your host machine must be able to ssh to the root account on each machine without being prompted for a password. | ||
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''. | #Create a '''regular user''' for this virtual machine using '''your Seneca userID'''. | ||
− | #Any machine within the ''' | + | #Any machine within the '''bond.villains.ops''' domain will be able to route outgoing email through this server. |
− | #Any mail sent directly from this machine will use the domain as the sending address (i.e. user@ | + | #Any mail sent directly from this machine will use the domain as the sending address (i.e. user@bond.villains.ops) |
#You are NOT required to encrypt received email messages. | #You are NOT required to encrypt received email messages. | ||
− | #This machine will relay received email messages for any user account in the ''' | + | #This machine will relay received email messages for any user account in the '''bond.villains.ops''' domain to '''drax.bond.villains.ops'''. |
− | === Set-up Mail Delivery Agent / Message Store (''' | + | === Set-up Mail Delivery Agent / Message Store ('''drax''') === |
Perform the following steps for this section: | Perform the following steps for this section: | ||
− | #Create a clone virtual machine called ''' | + | #Create a clone virtual machine called '''drax''' from the '''blofeld''' cloning-source. Refer to the table below for '''address''' and '''hostname'''. |
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''. | #Create a '''regular user''' for this virtual machine using '''your Seneca userID'''. | ||
#The root user on your host machine must be able to ssh to the root account on each machine without being prompted for a password. | #The root user on your host machine must be able to ssh to the root account on each machine without being prompted for a password. | ||
− | #This machine will accept incoming email for any user account in the ''' | + | #This machine will accept incoming email for any user account in the '''bond.villains.ops''' domain. |
#No other machine in this domain will accept incoming email. | #No other machine in this domain will accept incoming email. | ||
#This machine will be an '''IMAP''' server (i.e. NOT POP3 or LTMP). | #This machine will be an '''IMAP''' server (i.e. NOT POP3 or LTMP). | ||
Line 38: | Line 38: | ||
#This machine will use postfix's built-in LDA to store received emails in maildir format in a sub-directory of each users' home directory called mailboxes. | #This machine will use postfix's built-in LDA to store received emails in maildir format in a sub-directory of each users' home directory called mailboxes. | ||
#Any mail sent to root will be automatically delivered into the mailbox of the '''regular user''' created above. | #Any mail sent to root will be automatically delivered into the mailbox of the '''regular user''' created above. | ||
− | #Configure your Thunderbird application (installed in Lab 4b) to allow the user to send and receive email messages using the ''' | + | #Configure your Thunderbird application (installed in Lab 4b) to allow the user to send and receive email messages using the '''carver''' and '''drax''' servers. |
− | Add MX records to the forward lookup zone on your master DNS server so that all incoming mail addressed to the domain is sent to your IMAP server (''' | + | Add MX records to the forward lookup zone on your master DNS server so that all incoming mail addressed to the domain is sent to your IMAP server ('''drax''') first, and the MTA ('''carver''') as a fall-back. |
− | === Set-up a Samba Server (''' | + | === Set-up a Samba Server ('''zorin''')=== |
Perform the following steps for this section: | Perform the following steps for this section: | ||
− | #Create a clone virtual machine called ''' | + | #Create a clone virtual machine called '''zorin''' from the '''blofeld''' cloning-source. Refer to the table below for '''address''' and '''hostname'''. |
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''. | #Create a '''regular user''' for this virtual machine using '''your Seneca userID'''. | ||
#The root user on your host machine must be able to ssh to the root account on each machine without being prompted for a password. | #The root user on your host machine must be able to ssh to the root account on each machine without being prompted for a password. | ||
Line 63: | Line 63: | ||
<ol><li value="6">Set up permissions/ownership on those directories for your Linux users on the file server so that:<ol type="a"><li>'''yoursenecaid-1''' and '''yoursenecaid-2''' have '''read/write''' access to their own <u>private</u> directories.</li><li>'''yoursenecaid-admin''' has '''read/write''' access to <u>every</u> directory.</li><li>Everyone has '''read''' access to the '''readonly''' directory (but only the '''admin''' has '''write''' access too).</li><li>Everyone can both '''read''' and '''write''' to the '''readwrite''' directory.</li></ol></li><li>Set up '''three''' Samba users to mirror your new Linux users.</li><li>Configure '''five''' shares (one for each directory above) with permissions as close as possible to the Linux permissions.</li></ol> | <ol><li value="6">Set up permissions/ownership on those directories for your Linux users on the file server so that:<ol type="a"><li>'''yoursenecaid-1''' and '''yoursenecaid-2''' have '''read/write''' access to their own <u>private</u> directories.</li><li>'''yoursenecaid-admin''' has '''read/write''' access to <u>every</u> directory.</li><li>Everyone has '''read''' access to the '''readonly''' directory (but only the '''admin''' has '''write''' access too).</li><li>Everyone can both '''read''' and '''write''' to the '''readwrite''' directory.</li></ol></li><li>Set up '''three''' Samba users to mirror your new Linux users.</li><li>Configure '''five''' shares (one for each directory above) with permissions as close as possible to the Linux permissions.</li></ol> | ||
− | === Set-up Windows Client to Test Samba server (''' | + | === Set-up Windows Client to Test Samba server ('''zorin''')=== |
Perform the following steps for this section: | Perform the following steps for this section: | ||
Line 74: | Line 74: | ||
=== Network Configuration === | === Network Configuration === | ||
− | As you will now have functioning primary and secondary DNS servers, modify your network configuration file for the ''' | + | As you will now have functioning primary and secondary DNS servers, modify your network configuration file for the '''carver''', '''drax''', and '''zorin''' servers specify the correct IPADDR. |
=== Table of Virtual Machines / DNS Records === | === Table of Virtual Machines / DNS Records === | ||
Line 82: | Line 82: | ||
{| class="wikitable" | style="margin-left:0px; border: 2px solid black;" | {| class="wikitable" | style="margin-left:0px; border: 2px solid black;" | ||
|- style="border: 2px solid black;font-weight:bold;text-align:center;" | |- style="border: 2px solid black;font-weight:bold;text-align:center;" | ||
− | | style="border: 2px solid black;" | Hostname | + | | style="border: 2px solid black;" | Hostname / Domain |
| style="border: 2px solid black;" |Address | | style="border: 2px solid black;" |Address | ||
| style="border: 2px solid black;" |Purpose | | style="border: 2px solid black;" |Purpose | ||
|-style="background-color:#66cccc; border: 2px solid black;" | |-style="background-color:#66cccc; border: 2px solid black;" | ||
− | | style="border: 2px solid black;" |''' | + | | style="border: 2px solid black;" |'''no.bond.villains.ops''' (your existing host) |
− | | style=border: 2px solid black;" |External Facing Address:''' DHCP assigned'''<br>Internal Virtual Bridge (virbr1):''' 172. | + | | style=border: 2px solid black;" |External Facing Address:''' DHCP assigned'''<br>Internal Virtual Bridge (virbr1):''' 172.19.1.1''' |
| style="border: 2px solid black;" | Your '''host''' machine | | style="border: 2px solid black;" | Your '''host''' machine | ||
|-style="background-color:#66cccc; border: 2px solid black;" | |-style="background-color:#66cccc; border: 2px solid black;" | ||
− | | style="background-color:#66cccc; border: 2px solid black;" | ''' | + | | style="background-color:#66cccc; border: 2px solid black;" | '''blofeld.bond.villains.ops''' |
− | | style="background-color:#66cccc; border: 2px solid black;" | '''172. | + | | style="background-color:#66cccc; border: 2px solid black;" | '''172.19.1.100''' |
| style="background-color:#66cccc; border: 2px solid black;" |'''Cloning-source''' used to create other servers for other assignments. | | style="background-color:#66cccc; border: 2px solid black;" |'''Cloning-source''' used to create other servers for other assignments. | ||
|-style="background-color:#66cccc; border: 2px solid black;" | |-style="background-color:#66cccc; border: 2px solid black;" | ||
− | | style="background-color:#66cccc; border: 2px solid black;" | ''' | + | | style="background-color:#66cccc; border: 2px solid black;" | '''wint.bond.villains.ops''' |
− | | style="background-color:#66cccc; border: 2px solid black;" | ''' 172. | + | | style="background-color:#66cccc; border: 2px solid black;" | ''' 172.19.1.2''' |
| style="background-color:#66cccc; border: 2px solid black;" | '''Master''' Name Server | | style="background-color:#66cccc; border: 2px solid black;" | '''Master''' Name Server | ||
|-style="background-color:#66cccc; border: 2px solid black;" | |-style="background-color:#66cccc; border: 2px solid black;" | ||
− | | style="background-color:#66cccc; border: 2px solid black;" | ''' | + | | style="background-color:#66cccc; border: 2px solid black;" | '''kidd.bond.villains.ops''' |
− | | style="background-color:#66cccc; border: 2px solid black;" | '''172. | + | | style="background-color:#66cccc; border: 2px solid black;" | '''172.19.1.3''' |
| style="background-color:#66cccc; border: 2px solid black;" | '''Slave''' Name Server | | style="background-color:#66cccc; border: 2px solid black;" | '''Slave''' Name Server | ||
|- style="background-color:white;" | |- style="background-color:white;" | ||
− | | style="background-color:#66cccc;border: 2px solid black;" | ''' | + | | style="background-color:#66cccc; border: 2px solid black;" | '''carver.bond.villains.ops''' |
− | | style="background-color:#66cccc;border: 2px solid black;" | ''' 172. | + | | style="background-color:#66cccc; border: 2px solid black;" | ''' 172.19.1.5''' |
− | | style="background-color:#66cccc;border: 2px solid black;" | '''SMTP''' mail Server | + | | style="background-color:#66cccc; border: 2px solid black;" | '''SMTP''' mail Server |
|- style="background-color:white; border: 2px solid black;" | |- style="background-color:white; border: 2px solid black;" | ||
− | | style="background-color:#66cccc;border: 2px solid black;" | ''' | + | | style="background-color:#66cccc; border: 2px solid black;" | '''drax.bond.villains.ops''' |
− | | style="background-color:#66cccc;border: 2px solid black;" | '''172. | + | | style="background-color:#66cccc; border: 2px solid black;" | '''172.19.1.6''' |
− | | style="background-color:#66cccc;border: 2px solid black;" | '''IMAP''' mail Server | + | | style="background-color:#66cccc; border: 2px solid black;" | '''IMAP''' mail Server |
|- style="background-color:white;" | |- style="background-color:white;" | ||
− | | style="background-color:#66cccc;border: 2px solid black;" | ''' | + | | style="background-color:#66cccc; border: 2px solid black;" | '''zorin.bond.villains.ops''' |
− | | style="background-color:#66cccc;border: 2px solid black;" | '''172. | + | | style="background-color:#66cccc; border: 2px solid black;" | '''172.19.1.8''' |
− | | style="background-color:#66cccc;border: 2px solid black;" | '''Samba''' Server | + | | style="background-color:#66cccc; border: 2px solid black;" | '''Samba''' Server |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Line 128: | Line 122: | ||
In addition to the basic firewall established in assignment 1, ensure the following restrictions are met: | In addition to the basic firewall established in assignment 1, ensure the following restrictions are met: | ||
− | #Any machine may send smtp traffic to ''' | + | #Any machine may send smtp traffic to '''carver''' and '''drax'''. |
− | #Only machines in the local network may send IMAP traffic to ''' | + | #Only machines in the local network may send IMAP traffic to '''drax'''. |
− | #Only machines in the local network may access the samba shares on ''' | + | #Only machines in the local network may access the samba shares on '''zorin'''. |
== Assignment Submission == | == Assignment Submission == | ||
Line 143: | Line 137: | ||
− | ::'''Peter Callaghan's Classes (Section | + | ::'''Peter Callaghan's Classes''' (Section '''D'''):<ul><li>Refer to blackboard for instructions on how to submit this assignment.</li></ul> |
+ | |||
+ | |||
+ | ::'''Murray Saul, Ryan Lockhart-Thompson and Colin Yip''':<ol><li>Login as '''root''' on your '''host''' machine.</li><li>Change to the '''/root/bin''' directory.</li><li>Make certain that your '''cloning-source VM is running'''.</li><li>Make certain that the mailx command has been installed. If not, issue the following command to install e-mail on your '''host''' machine:<source>yum install mailx </source><li>Issue the command to download a checking script for your assignment to your '''host''' machine:<br><br>'''Murray Saul's classes (section A):''' <span style="font-family:courier;font-size:1.5em;color:#4d4dff | ||
+ | ">wget https://matrix.senecacollege.ca/~murray.saul/ops335/check-assn2-murray-saul.bash </span><br><br>'''Ryan Lockhart-Thompons's classes (Section B):''': <span style="font-family:courier;font-size:1.5em;color:#4d4dff | ||
+ | "> wget https://matrix.senecacollege.ca/~murray.saul/ops335/check-assn2-ryan.bash</span><br><br>'''Colin Yip's classes (Sections C, E, and F):''': <span style="font-family:courier;font-size:1.5em;color:#4d4dff | ||
+ | "> wget https://scs.senecac.on.ca/~colin.yip/2187/check-assn2-colin.bash</span><br><br>Set execute permissions and run the shell script.<br>(Your shell script contents will be mailed to your Seneca email and to your OPS335 instructor's Seneca email.<br><br>If you do '''NOT''' receive an e-mail message in your Seneca email account, then there is a problem, and you '''MUST''' rerun or contact your OPS335 instructor immediately. | ||
− | |||
*'''Additional Assignment Information:'''<ol type="a"><li>This assignment is to be completed individually. '''Group submissions are not allowed'''.</li><li>Test your machine to make sure it works. If a machine is not accessible (e.g. will not boot, can not be accessed through ssh from your host, etc.), or is otherwise non-functional, you may be told to '''resubmit'''.</li><li>'''Late submissions are a subject to a penalty of 10% per day'''.</li><ol> | *'''Additional Assignment Information:'''<ol type="a"><li>This assignment is to be completed individually. '''Group submissions are not allowed'''.</li><li>Test your machine to make sure it works. If a machine is not accessible (e.g. will not boot, can not be accessed through ssh from your host, etc.), or is otherwise non-functional, you may be told to '''resubmit'''.</li><li>'''Late submissions are a subject to a penalty of 10% per day'''.</li><ol> | ||
Line 162: | Line 161: | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
− | ::''' | + | ::'''SMTP and IMAP Servers:''' |
|- | |- | ||
| | | | ||
− | :::Proof of SMTP Server Running on ''' | + | :::Proof of SMTP Server Running on '''carver''' server |
| style="text-align:right" | /1 | | style="text-align:right" | /1 | ||
|- | |- | ||
| | | | ||
− | :::E-mails sent from ''' | + | :::E-mails sent from '''carver''' and '''zorin''' servers to '''drax''' server (user@IP_ADDR) |
| style="text-align:right" | /1 | | style="text-align:right" | /1 | ||
|- | |- | ||
| | | | ||
− | :::E-mails sent from ''' | + | :::E-mails sent from '''carver''' and '''zorin''' servers to '''drax''' server (user@DOMAIN_NAME) |
| style="text-align:right" | /1 | | style="text-align:right" | /1 | ||
|- | |- | ||
Line 200: | Line 199: | ||
| width=10% style="text-align:right;font-weight:bold" | Mark | | width=10% style="text-align:right;font-weight:bold" | Mark | ||
|- | |- | ||
− | | colspan=2 | '''Mail Transfer Agent ( | + | | colspan=2 | '''Mail Transfer Agent (carver) - General Configuration''' |
|- | |- | ||
| | | | ||
Line 272: | Line 271: | ||
|- | |- | ||
|'''Less Deductions (One mark per issue for EACH VM): | |'''Less Deductions (One mark per issue for EACH VM): | ||
+ | :*Not using zone filenames: '''mydb-for-bond.villains.ops''' and '''mydb-for-172.19.1''' | ||
:*'''DOMAIN Name''' NOT Resolved | :*'''DOMAIN Name''' NOT Resolved | ||
:*'''VM hostname''' NOT set | :*'''VM hostname''' NOT set |
Revision as of 11:20, 12 January 2019
Contents
Purpose
In this assignment, you will use the 335assign virtual network and the blofeld cloning-source that you created in assignment 1 (part 1) to create two e-mail servers: a Mail Transfer Agent called carver and a Message Store (IMAP) called drax. You will also use the blofeld cloning source to create a Samba server called zorin. In addition to creating those Linux servers, you will also be required to create a virtual machine for an MS Windows operating system to test-out your Samba server. As you perform and submit this assignment, you MUST run the wint Master Name server and kidd Slave server in order to resolve domain names to IP addresses.
General Requirements
Weight: 10% of the overall grade
Due Date (Winter 2019): During Week 13 (in class)
Detailed Requirements
Set-up Mail Transfer Agent (carver)
Perform the following steps for this section:
- Create a clone virtual machine called carver from the blofeld cloning-source. Refer to the table below for address and hostname.
- The root user on your host machine must be able to ssh to the root account on each machine without being prompted for a password.
- Create a regular user for this virtual machine using your Seneca userID.
- Any machine within the bond.villains.ops domain will be able to route outgoing email through this server.
- Any mail sent directly from this machine will use the domain as the sending address (i.e. user@bond.villains.ops)
- You are NOT required to encrypt received email messages.
- This machine will relay received email messages for any user account in the bond.villains.ops domain to drax.bond.villains.ops.
Set-up Mail Delivery Agent / Message Store (drax)
Perform the following steps for this section:
- Create a clone virtual machine called drax from the blofeld cloning-source. Refer to the table below for address and hostname.
- Create a regular user for this virtual machine using your Seneca userID.
- The root user on your host machine must be able to ssh to the root account on each machine without being prompted for a password.
- This machine will accept incoming email for any user account in the bond.villains.ops domain.
- No other machine in this domain will accept incoming email.
- This machine will be an IMAP server (i.e. NOT POP3 or LTMP).
- This machine will NOT use encryption.
- This machine will use postfix's built-in LDA to store received emails in maildir format in a sub-directory of each users' home directory called mailboxes.
- Any mail sent to root will be automatically delivered into the mailbox of the regular user created above.
- Configure your Thunderbird application (installed in Lab 4b) to allow the user to send and receive email messages using the carver and drax servers.
Add MX records to the forward lookup zone on your master DNS server so that all incoming mail addressed to the domain is sent to your IMAP server (drax) first, and the MTA (carver) as a fall-back.
Set-up a Samba Server (zorin)
Perform the following steps for this section:
- Create a clone virtual machine called zorin from the blofeld cloning-source. Refer to the table below for address and hostname.
- Create a regular user for this virtual machine using your Seneca userID.
- The root user on your host machine must be able to ssh to the root account on each machine without being prompted for a password.
- It will run Samba (automatically on boot) to share files with machines in this network.
- Create three new users on the Samba file server, call them yoursenecaid-1, yoursenecaid-2, and yoursenecaid-admin. (replace "yoursenecaid" with your actual Seneca ID)
- Create a directory /documents with the following subdirectories:
/documents +-- private ¦ +-- yoursenecaid-1 ¦ +-- yoursenecaid-2 ¦ +-- yoursenecaid-admin +-- shared +-- readonly +-- readwrite
- Set up permissions/ownership on those directories for your Linux users on the file server so that:
- yoursenecaid-1 and yoursenecaid-2 have read/write access to their own private directories.
- yoursenecaid-admin has read/write access to every directory.
- Everyone has read access to the readonly directory (but only the admin has write access too).
- Everyone can both read and write to the readwrite directory.
- Set up three Samba users to mirror your new Linux users.
- Configure five shares (one for each directory above) with permissions as close as possible to the Linux permissions.
Set-up Windows Client to Test Samba server (zorin)
Perform the following steps for this section:
- Create a MS Windows OS as a virtual machine. You should know by now how to obtain the MS Windows image from Seneca's MSDN section (trial version good for 30 days). Refer to the table below for address and hostname.
- Create a regular user for this virtual machine using your Seneca userID.
- The root user on your host machine must be able to ssh to the root account on each machine without being prompted for a password.
- This machine will use the master and slave DNS servers in your domain as the primary and secondary DNS servers. It will not have access to any other DNS servers.
Network Configuration
As you will now have functioning primary and secondary DNS servers, modify your network configuration file for the carver, drax, and zorin servers specify the correct IPADDR.
Table of Virtual Machines / DNS Records
Below is network configuration for ALL virtual machines used in this assignment and previous assignments for this course:
Hostname / Domain | Address | Purpose |
no.bond.villains.ops (your existing host) | External Facing Address: DHCP assigned Internal Virtual Bridge (virbr1): 172.19.1.1 |
Your host machine |
blofeld.bond.villains.ops | 172.19.1.100 | Cloning-source used to create other servers for other assignments. |
wint.bond.villains.ops | 172.19.1.2 | Master Name Server |
kidd.bond.villains.ops | 172.19.1.3 | Slave Name Server |
carver.bond.villains.ops | 172.19.1.5 | SMTP mail Server |
drax.bond.villains.ops | 172.19.1.6 | IMAP mail Server |
zorin.bond.villains.ops | 172.19.1.8 | Samba Server |
Set-up Firewall Policies
In addition to the basic firewall established in assignment 1, ensure the following restrictions are met:
- Any machine may send smtp traffic to carver and drax.
- Only machines in the local network may send IMAP traffic to drax.
- Only machines in the local network may access the samba shares on zorin.
Assignment Submission
The student is required to prove to their professor that their set-up works correctly during the regularly-scheduled lab period.
Assignment Evaluation Details
- Demonstrate working assignment to your instructor in class:
- You need to run their full backup shell script to backup all of your VMs (like you did in Assignment 1 - Part 2.
- Students need to demonstrate their assignment functionality to their professor during a lab period
(like you would for any lab for "sign-off"). - Students are required to prepare everything ahead of time so that you can quickly demonstrate to your instructor that all required parts of your assignment are working.
- Do not proceed to the next step until you have demonstrated your assignment to your instructor to check for errors that may cause problems when running the checking script.
- Download and run a shell script to check your work (Depending on your OPS335 Instructor):
- Peter Callaghan's Classes (Section D):
- Refer to blackboard for instructions on how to submit this assignment.
- Peter Callaghan's Classes (Section D):
- Murray Saul, Ryan Lockhart-Thompson and Colin Yip:
- Login as root on your host machine.
- Change to the /root/bin directory.
- Make certain that your cloning-source VM is running.
- Make certain that the mailx command has been installed. If not, issue the following command to install e-mail on your host machine:
yum install mailx
- Issue the command to download a checking script for your assignment to your host machine:
Murray Saul's classes (section A): wget https://matrix.senecacollege.ca/~murray.saul/ops335/check-assn2-murray-saul.bash
Ryan Lockhart-Thompons's classes (Section B):: wget https://matrix.senecacollege.ca/~murray.saul/ops335/check-assn2-ryan.bash
Colin Yip's classes (Sections C, E, and F):: wget https://scs.senecac.on.ca/~colin.yip/2187/check-assn2-colin.bash
Set execute permissions and run the shell script.
(Your shell script contents will be mailed to your Seneca email and to your OPS335 instructor's Seneca email.
If you do NOT receive an e-mail message in your Seneca email account, then there is a problem, and you MUST rerun or contact your OPS335 instructor immediately.
- Murray Saul, Ryan Lockhart-Thompson and Colin Yip:
- Additional Assignment Information:
- This assignment is to be completed individually. Group submissions are not allowed.
- Test your machine to make sure it works. If a machine is not accessible (e.g. will not boot, can not be accessed through ssh from your host, etc.), or is otherwise non-functional, you may be told to resubmit.
- Late submissions are a subject to a penalty of 10% per day.
Evaluation Rubric
Here is an evaluation rubric (in table form) showing you how you will be evaluated for this assignment. Part of the rubric is marked from professor observation from student demonstration of assignment in class, and the other part is based on output from the results of an assignment checking script that the student will download and run.
Student Demonstration (in class) | |
Evaluation Item | Mark |
| |
|
/1 |
|
/1 |
|
/1 |
| |
|
/1 |
|
/1 |
|
/1 |
|
/1 |
Configuration (Checking Script Output) | |
Evaluation Item | Mark |
Mail Transfer Agent (carver) - General Configuration | |
|
/5 |
Mail Delivery Agent (MTA) / Message Store (MS) - General Configuration | |
|
/3 |
|
/1 |
|
/1 |
|
/4 |
DNS configuration | |
|
/2 |
|
/2 |
Samba Server - General Configuration | |
|
/5 |
|
/3 |
|
/1 |
Firewall policies | |
|
/2 |
|
/1 |
|
/1 |
|
/1 |
|
/1 |
Less Deductions (One mark per issue for EACH VM):
|
|
TOTAL | /40 |