Prácticas de ingeniería de servidores
This repository contains the server engineering practices completed as part of the course requirements in Computer Engineering at the University of Granada. Each practice focuses on different server management tools and techniques, with instructions provided for each setup.
- Objective: Identify, monitor, and reconstruct a RAID disk on Ubuntu.
- Process:
- Use
cat /proc/mdstatto check RAID status. - Hot-unplug one disk to simulate a failure and verify it with
lsblk. - Add a new disk and configure it with
fdisk, install GRUB, and add the partitions to RAID withmdadm.
- Use
- Objective: Install and configure Zabbix on Ubuntu and Rocky Linux for monitoring SSH and HTTP.
- Steps:
- Install Zabbix, MariaDB, and configure databases.
- Configure
zabbix_server.conf,zabbix_agentd.conf, and set up firewall ports. - Monitor HTTP and SSH by configuring host items in the Zabbix web interface.
- Objective: Use Ansible to manage virtual machines.
- Steps:
- Install Ansible and set up the
/etc/ansible/hostsfile. - Execute basic commands, such as
ls /home, across all machines. - Run scripts like
mon-raid.pyon multiple machines.
- Install Ansible and set up the
- Objective: Automate RAID monitoring with a timer service.
- Steps:
- Configure
mon_raid.serviceandmon_raid.timerin/etc/systemd/system/. - Start the timer with
systemctl start mon-raid.timerand check status withjournalctl.
- Configure
- Objective: Compare the performance of Ubuntu and Rocky Linux using Phoronix.
- Steps:
- Install Phoronix on each system.
- Run
pts/sudokutandpts/pybenchbenchmarks to test system and CPU performance. - Results: Ubuntu displayed slightly faster processing times compared to Rocky.
- Objective: Perform load testing on a web application deployed with Docker containers.
- Steps:
- Set up Docker and Docker Compose to deploy the application.
- Create a JMeter test plan with different thread groups for students and administrators.
- Configure CSV data, random timers, and HTTP header managers for authentication and data retrieval.
- Ubuntu and Rocky Linux virtual machines
- Zabbix, Ansible, Docker, JMeter, and Phoronix
Refer to each section above for detailed setup instructions, configurations, and troubleshooting tips.
- Zabbix: Ensure MariaDB is correctly installed and configured before proceeding with Zabbix setup.
- Ansible: Use SSH key authentication between machines to avoid connection issues.
- JMeter: Verify Docker containers are running and accessible on the specified ports.

Comentarios
Publicar un comentario