I'm working on a linux question and need the explanation and answer to help me learn.
Budget: $10 – $30 USD
In this project, you will design and configure a proxy array consisting of 3 Squid proxy servers as shown in the figure below
.
All client requests are redirected to Squid 1. All three Squid proxy servers run the CARP protocol. Squid 1 works as a request dispatcher (load balancer). It forwards client requests to Squid 2 or Squid 3 based on a load balance rule. When Squid 2 or 3 receives a client request, it tries to serve the request from its local cache. If there is no cached copy, it forwards the request to the origin Web server.
Install 3 Squid servers in your VM to simulate Squid 1, 2, and 3 in the figure. You can start a browser in your VM to simulate a client. Configure a client (a browser), Squid 1, Squid 2, and Squid 3 to meet the following requirements:
(1)Squid 1, 2, and 3 should listen to port 3128, 4000, 5000 respectively.
(2)Client requests should be redirected to Squid 1.
(3)Squid 1 should use CARP protocol to perform load balancing. The requirement of load balancing is 1/3 of client requests should be redirected to Squid 2 and 2/3 of client requests should be redirected to Squid 3.
(4)Block facebook.com from 8am to 5pm Monday through Friday.
Hint: please read page 433 – 434 of the textbook. You can use the never_direct directive (http://www.squid-cache.org/Doc/config/never_direct/) in the squid 1 configuration file to prevent Squid 1 from processing any request and force the use of Squid 2 and Squid 3 for all requests.
Report
For this assignment, you need to turn in a report in a word document to the Canvas. The report must include all of the sections listed below.
1. Title Page containing the title of your project, your name (and your team members’ names if you complete this assignment in a team), the name of the class, your instructor's name, and the date the assignment was submitted.
2. Introduction A single paragraph that describes your project.
3. System Architecture Describe in a diagram and words what your system architecture is. In this section, you need to draw a diagram clearly showing all components you use in the project and explain each component in detail.
4. Implementation includes two subsections: Materials and Methods
Materials List all materials used in the assignment such as a VM, Squid proxy servers and a browser.
Methods Describe the steps completed during your investigation. Be sufficiently detailed so that anyone could read this section and duplicate your efforts. Write it as if you were given direction for someone else to do the assignment.
5. Testing includes test case description, detailed test steps, and test results.
6. Analysis Discuss your test results.
7. Conclusion A short summary of your project. Also please include personal impressions and feelings about this assignment in this section.
8. References List any references that you used during the course of your assignment.
.
All client requests are redirected to Squid 1. All three Squid proxy servers run the CARP protocol. Squid 1 works as a request dispatcher (load balancer). It forwards client requests to Squid 2 or Squid 3 based on a load balance rule. When Squid 2 or 3 receives a client request, it tries to serve the request from its local cache. If there is no cached copy, it forwards the request to the origin Web server.
Install 3 Squid servers in your VM to simulate Squid 1, 2, and 3 in the figure. You can start a browser in your VM to simulate a client. Configure a client (a browser), Squid 1, Squid 2, and Squid 3 to meet the following requirements:
(1)Squid 1, 2, and 3 should listen to port 3128, 4000, 5000 respectively.
(2)Client requests should be redirected to Squid 1.
(3)Squid 1 should use CARP protocol to perform load balancing. The requirement of load balancing is 1/3 of client requests should be redirected to Squid 2 and 2/3 of client requests should be redirected to Squid 3.
(4)Block facebook.com from 8am to 5pm Monday through Friday.
Hint: please read page 433 – 434 of the textbook. You can use the never_direct directive (http://www.squid-cache.org/Doc/config/never_direct/) in the squid 1 configuration file to prevent Squid 1 from processing any request and force the use of Squid 2 and Squid 3 for all requests.
Report
For this assignment, you need to turn in a report in a word document to the Canvas. The report must include all of the sections listed below.
1. Title Page containing the title of your project, your name (and your team members’ names if you complete this assignment in a team), the name of the class, your instructor's name, and the date the assignment was submitted.
2. Introduction A single paragraph that describes your project.
3. System Architecture Describe in a diagram and words what your system architecture is. In this section, you need to draw a diagram clearly showing all components you use in the project and explain each component in detail.
4. Implementation includes two subsections: Materials and Methods
Materials List all materials used in the assignment such as a VM, Squid proxy servers and a browser.
Methods Describe the steps completed during your investigation. Be sufficiently detailed so that anyone could read this section and duplicate your efforts. Write it as if you were given direction for someone else to do the assignment.
5. Testing includes test case description, detailed test steps, and test results.
6. Analysis Discuss your test results.
7. Conclusion A short summary of your project. Also please include personal impressions and feelings about this assignment in this section.
8. References List any references that you used during the course of your assignment.