Create an inventory file for the three managed machines

Assignment Help Computer Network Security
Reference no: EM131505065

Assignment

Use Ansible to manage three servers.

The Ansible documentation will be a great help.

An example Ansible workspace.

Given:

• A VirtualBox appliance files. Contain

• These machines are all 32-bit, so you will be able to boot them even on cheap laptops without 64-bit virtualization support.

• All machines have user/pass: root / electric dancy pants and student / space ranger blues

• Set up an Ansible workspace in a Git repositoy. You don't have to track it on GitHub or BitBucket, but it would be good practice to.

• Create an inventory file for the three managed machines.

• Create a playbook with roles to manage the basic setup of all three machines:

• Create a playbook and roles to set up iptables on each machine.

• Zipped archive of your Git-tracked Ansible workspace.

• On each of the "tiny" servers and "controller", open Settings > Network > Adapter 1.

• At this point, all of the VMs should be able to connect to each other and to the internet, as I've set their first NIC to the static IPs mentioned in the appliance list. Ping each server from the controller to test. Start homeworking.

• (Optional) On the controller, enable the second adapter, and do any of the following.

- tiny-debian8-32 (IP 10.0.5.101)
- tiny-centos7-32 (IP 10.0.5.102)
- tiny-centos7-32-b (IP 10.0.5.103)
- fed-lxde-32 (IP 10.0.5.100)

• You must use either the fed-lxde-32 machine offered in controller.ova .

Requirements:

- Create a new user named "manager".

? Make manager an admin with all sudo rights (add to wheel group or change the sudoers file).
? Create and transfer ssh keys for manager to the server's authorized keys..

- Install the packages for mtr, tcpdump, nano, and cowsay.
- Set the primary DNS server for the machines to 10.0.5.1, and the secondary to 209.244.0.3.
- All servers should drop all UDP and TCP as the default policy.
- Open up TCP ports 21, 22, 53, and 123, and UDP port 53 on all servers.
- Open up TCP ports 25, 110, and 143 on tiny-centos7.
- Open up TCP ports 80 and 443 on tiny-centos7-b.

Turn in:

Network setup:

Networking:

Zach showed me that the network is not imported with the appliance, so here is how to set up the network. • File > Preferences > Network > NAT Networks (the global VirtualBox preferences.) - Create a new network, and call it whatever you want. I'll refer to it as Servers. - Change the network CIDR to 10.0.5.0/24, and uncheck "Supports DHCP".

- Enable the adapter, and attach it to "NAT Network", "Servers".

- Set it to bridged using your host wired or wifi connection. Find out when IP it's on, and you can work on the Ansible config on your laptop and scp it to the controller to test.

- Set it to a host-only network (make one in the global preferences), and do the same thing, but it's an internal network only the host computer can see.

- Set up guest additions instead of all this, and use a shared folder (may not be enough room on the VM's disk).

- Ignore all of this and just do the work on controller.

Attachment:- The Ansible documentation.rar

Reference no: EM131505065

Questions Cloud

What is the stock price three years from now : A stock just paid a dividend of $1. The required rate of return is rs = 11%, and the constant growth rate is 5%. What is the stock price three years from now?
Development of empathy or aggression : Do violent video games and/or the media influence children negatively? Does this impact the development of empathy or aggression?
What is npv of the new production line : The new line would cost $1 million, have a five-year life, and be depreciated using MACRS over three years. What is the NPV of the new production line?
Describe your understanding of the north divide : Describe your understanding of the north / south divide as it relates to the health of populations in developing counties.
Create an inventory file for the three managed machines : Create an inventory file for the three managed machines. Create a playbook with roles to manage the basic setup of all three machines.
Does sarbanes-oxley strike the right balance : Does Sarbanes-Oxley Strike the Right Balance? argues that the primary purpose of laws governing corporate responsibility is deterrence.
Plot the short-run variable and marginal cost curves : Plot the average and marginal products of labour on a graph. Does this production function display diminishing marginal returns to labour eventually?
What is the lowest possible per shovel price : What is the lowest possible per shovel price that Merton can offer for the contract and still create value for its stockholders?
What are the economics of prison and prison growth : What are the economics of prison and prison growth? Why did California decide to reduce its prison population in 2009?Describe the Prison-Industrial Complex.

Reviews

Write a Review

Computer Network Security Questions & Answers

  An overview of wireless lan security - term paper

Computer Science or Information Technology deals with Wireless LAN Security. Wireless LAN Security is gaining importance in the recent times. This report talks about how vulnerable are wireless LAN networks without any security measures and also talk..

  Computer networks and security against hackers

This case study about a company named Magna International, a Canada based global supplier of automotive components, modules and systems. Along with the company analysis have been made in this assignment.

  New attack models

The Internet evolution is and is very fast and the Internet exposes the connected computers to attacks and the subsequent losses are in rise.

  Islamic Calligraphy

Islamic calligraphy or Arabic calligraphy is a primary form of art for Islamic visual expression and creativity.

  A comprehensive study about web-based email implementation

Conduct a comprehensive study about web-based email implementation in gmail. Optionally, you may use sniffer like wireshark or your choice to analyze the communication traffic.

  Retention policy and litigation hold notices

The purpose of this project is to provide you with an opportunity to create a document retention policy. You will also learn how to serve a litigation hold notice for an educational institute.

  Tools to enhance password protection

A report on Tools to enhance Password Protection.

  Analyse security procedures

Analyse security procedures

  Write a report on denial of service

Write a report on DENIAL OF SERVICE (DoS).

  Phising email

Phising email It is multipart, what are the two parts? The HTML part, is it inviting the recepient to click somewhere? What is the email proporting to do when the link is clicked?

  Express the shannon-hartley capacity theorem

Express the Shannon-Hartley capacity theorem in terms of where is the Energy/bit and is the psd of white noise.

  Modern symmetric encryption schemes

Pseudo-random generators, pseudo-random functions and pseudo-random permutations

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd