Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Network & Security Expert

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

Computer Network & Security, Computer Science

  • Category:- Computer Network & Security
  • Reference No.:- M92313794

Have any Question?


Related Questions in Computer Network & Security

Question for the remaining questions consider a 4-bit block

Question : For the remaining questions, consider a 4-bit block cipher, described in hexadecimal by the following table: Plaintext Ciphertext Plaintext Ciphertext 0 a 8 e 1 c 9 d 2 f a 0 3 6 b 7 4 3 c 5 5 8 d b 6 4 e 9 7 ...

Wireless networks and security assignment - design and

Wireless Networks and Security Assignment - Design and implementation of secure enterprise wireless network Purpose of the assessment - The purpose of this assignment is to design and implement a secure enterprise wirele ...

Short answers1 the discussion question to debate is how

Short Answers: 1. The discussion question to debate is how have companies like Apple, Microsoft and the big providers (ATT, Verizon, Sprint, etc) impacted communication today? 2. Technology wise what do you imagine for t ...

Two countries australia and france have their interest

Two Countries Australia and France have their interest rates to be 8% and 2 %, respectively. If their currencies trade according to 2 Australian $s buy one euro in the spot market, what will their future spot rate be in ...

Question a small company is assigned the class c network

Question : A small company is assigned the class C network 205.67.35.0. You need to divide this network to provide subnets for three departments using fixed-length subnetting. The departments are approximately the same s ...

A wall street journal article noted that a study by us

A Wall Street Journal article noted that a study by U.S. Congressional Budget Office "estimated raising the minimum wage to $10.10 per hour reduced U.S employment by 500,000 but lift 900,000 Americans out of poverty". Wh ...

Question explain the meaning of computer networkingexplain

Question: Explain the meaning of computer networking. Explain the meaning of Information and give at least three examples of it. The response must be typed, single spaced, must be in times new roman font (size 12) and mu ...

Sip encodingwhy does the session initiation protocol sip

SIP, ENCODING Why does the session initiation protocol SIP allow the sender and receiver to choose two different multimedia encoding schemes? Describe a scenario where it makes sense to use different protocols for sender ...

Question suppose you wish encrypt the message beyonce using

Question : Suppose you wish encrypt the message BEYONCE using the one-time pad with the key RIHANNA (a) Encode to this message and the key as bits. (b) Encrypt with the one-time pad using XOR. What is the resulting ciphe ...

Autonomous consumptionnbsp 660marginal propensity to

Autonomous consumption  = 660 Marginal propensity to consume  = 0.8 Autonomous taxation  = 200 Income tax rate =  0.2 Planned investment  = 500 Government spending  = 500 Autonomous net exports  = 300 NX  = 0.04 Calculat ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As