1,234
edits
Changes
→Clone "ns2" VM from "Cloning Source" & Perform Setup Tasks
'''Weight''': 10% of the overall grade
'''Due Date''': Ask * If your professor for exact dateis '''Andrew Smith''': 22 February, 2016* If your professor is '''Murray Saul''': 8 March, 2016 (in class)
= Your tasks =
== Virtual Network ==
Create a new virtual network in on your hostHost Machine.
* Give it Assign a newly-created virtual network the name : '''asg1net''', 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: "asg1net" 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 '''<u>NOT</u>''' be a DHCP server running in for this network.!* All the machines for this assignment will be connected to this your newly-created virtual network.called: '''asg1net'''
== source Create a "Cloning Source" VM (asg1net 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 interface. Configure it to be a good cloning source. Since every other machine in this network will be cloned from , making certain it - you should set it up has all the following elements prior to be pleasant to use.cloning:
# Don't make the virtual drive too big - : you'll will need space for it and as well as space for the clones you make from it. your cloning source<br>(2GB should be enough for anything any cloning source and clone VM that you do in create for this assignment).# Log in and run some commands Make certain that you expect can login to be there, and make sure they're installed (your cloning source. The minimum commands neededrequired are: '''host''', '''dig''', '''netstat''', '''links)'''.# Don't Do not install software here that on your cloning source: you'll only need in one of the are expected to install other software on your "cloned " VMsinstead. E.g. For example, if you're going are required to install apache bind in a clone - , install it there, not in the clone as opposed to the "cloning source - since you don't want apache installed everywhere".# Configure your network with a static configuration. See Refer to the table below for IP address and hostname.# Make sure 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'll (you are to use only have the root leftaccount).# Set up an SSH server on this machine"cloning source". Make sure that the root account is only allowed permitted to log in using key authentication. Other If user users are required to be created later, they should still be able permitted to log in with a their username/and password.# Generate a new key pair on your host Host Machine (don't delete the existing one), called : '''id_rsa_asg1'''# Make sure you can log in from your regular user on the host your Host Machine to root on the "cloning source" virtual machine using specifically that key.# Do not place the that newly-generated private key on the "cloning source" VM.
== Clone "ns1 " VM from "Cloning Source" & Perform Setup Tasks==
{| class="wikitable"
! Name !! Address !! Purpose
|-
| cell '''host.ops335a1.org''' || cell10.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
|-
| cell file.ops335a1.org || cell10.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.
|}
== Create a Test Plan ==