Difference between revisions of "OPS335 Assignment 1a - Murray Saul"
Line 17: | Line 17: | ||
Create a new virtual network on your Host Machine. | Create a new virtual network on your Host Machine. | ||
− | * Assign a newly-created virtual network the name: ''' | + | * Assign a newly-created virtual network the name: '''335assign''', and set '''forwarding to any physical device'''<br>(refer to [http://zenit.senecac.on.ca/wiki/index.php/OPS335_Installation_Lab#INVESTIGATION_2:_VIRTUAL_MACHINE_INSTALLATION lab setup]. You can have have 2 different network names: "335assign" and "ops335" without causing any problems). |
* Addresses in this network will start with '''10.161''' followed by the '''last two digits of your student number''' (just as your main virtual network). The subnet mask must be '''255.255.255.0''' | * Addresses in this network will start with '''10.161''' followed by the '''last two digits of your student number''' (just as your main virtual network). The subnet mask must be '''255.255.255.0''' | ||
* There must '''<u>NOT</u>''' be a DHCP server running for this network! | * There must '''<u>NOT</u>''' be a DHCP server running for this network! | ||
− | * All the machines for this assignment will be connected to your newly-created virtual network called: ''' | + | * All the machines for this assignment will be connected to your newly-created virtual network called: '''335assign''' |
− | === Create a "Cloning Source" VM ( | + | === Create a "Cloning Source" VM (335assign Virtual Network) === |
Create a virtual machine that you will use as a template (i.e. a '''cloning source'''). It should have a command-line interface only. Configure it to be a good cloning source, making certain it has all the following elements prior to cloning: | Create a virtual machine that you will use as a template (i.e. a '''cloning source'''). It should have a command-line interface only. Configure it to be a good cloning source, making certain it has all the following elements prior to cloning: |
Revision as of 05:19, 15 January 2017
Contents
Purpose
x
General Requirements
Weight: 5% of the overall grade
Due Date: During Week 6 (in class)
Detailed Requirements
Set-up a Virtual Network (335assign)
Create a new virtual network on your Host Machine.
- Assign a newly-created virtual network the name: 335assign, and set forwarding to any physical device
(refer to lab setup. You can have have 2 different network names: "335assign" and "ops335" without causing any problems). - Addresses in this network will start with 10.161 followed by the last two digits of your student number (just as your main virtual network). The subnet mask must be 255.255.255.0
- There must NOT be a DHCP server running for this network!
- All the machines for this assignment will be connected to your newly-created virtual network called: 335assign
Create a "Cloning Source" VM (335assign Virtual Network)
Create a virtual machine that you will use as a template (i.e. a cloning source). It should have a command-line interface only. Configure it to be a good cloning source, making certain it has all the following elements prior to cloning:
- Don't make the virtual drive too big: you will need space for it as well as space for the clones you from your cloning source
(2GB should be enough for any cloning source and clone VM that you create for this assignment). - Make certain that you can login to your cloning source. The minimum commands required are: host, dig, netstat, links.
- Do not install software on your cloning source: you are expected to install other software on your "cloned" VMs instead. For example, if you are required to install bind in a clone, install it in the clone as opposed to the "cloning source".
- Configure your network with a static configuration. Refer to the table below for IP address and hostname.
- Make certain that you have iptables services enabled and running instead of Firewalld. The default rules should suffice.
- If you have created a regular user when you installed the machine, delete that regular user (you are to use only the root account).
- Set up an SSH server on this "cloning source". Make sure that the root account is only permitted to log in using key authentication. If user users are required to be created later, they should be permitted to log in with a their username and password.
- Generate a new key pair on your Host Machine (don't delete the existing one), called: id_rsa_asg1
- Make sure you can log in from your regular user on your Host Machine to root on the "cloning source" virtual machine using specifically that key.
- Do not place that newly-generated private key on the "cloning source" VM.
Set-up Firewall Rules for your Cloning Source
Perform the following steps for this section:
Reference Materials: List of Machines / DNS Records
All the machines in the table need DNS records, but only the ones in bold need to be existing machines for this assignment.
Name | Address | Purpose |
---|---|---|
host.ops335a1.org | 10.161.X.1 | Your host machine |
ns1.ops335a1.org | 10.161.X.2 | Master name server |
ns2.ops335a1.org | 10.161.X.3 | Slave name server |
file.ops335a1.org | 10.161.X.4 | File server |
www.ops335a1.org | 10.161.X.5 | Web server |
source.ops335a1.org | 10.161.X.254 | Disk image to clone from when creating new machines. |
Assignment Submission
Submit the following in Blackboard, Moodle, or whatever your professor specifies in class or "class announements" (For Murray Saul, also send these in an e-mail (subject line: OPS335 assignment1) with the following attachments):
- Screenshots to demonstrate you have accomplished the required tasks for this assignment.
This includes: configuration files, service statuses, and basic tests of functionality. NOTE: You MUST take screenshoots of the ENTIRE screen as opposed to only the VM console. - Your test plan in PDF format.
- Demonstrate working assignment to your instructor in class:
- Also you need to show your assignment to the professor in a lab period (like you would for any lab for "sign-off"). This requires you to prepare everything ahead of time so that you can quickly demonstrate to your instructor that all required parts of your assignment are working.