In this project, we will design and implement a complete on-premises IT infrastructure within a home lab environment. The objective is to simulate a real-world enterprise setup that includes virtualization, server administration, automation, monitoring, patch management, and performance testing.
This project will cover the following key areas:
-
Installation and management of Windows and Linux servers
-
Deployment of Linux servers on VMware ESXi hosts
-
Centralized management using VMware vCenter
-
Server provisioning and configuration using Ansible
-
Automation of administrative tasks using Ansible and Puppet
-
Monitoring of Linux and Windows servers
-
OS patching and upgrade management
-
Stress testing and performance analysis
The purpose of this project is to maintain hands-on experience across VMware technologies, Linux administration, and modern DevOps practices within a controlled lab environment.
Host System Configuration
The entire lab environment is built on the following desktop system:
Device Name: win01
Processor: AMD FX™-8350 Eight-Core Processor @ 4.00 GHz
Installed RAM: 32.0 GB (31.5 GB usable)
Operating System: Windows 10 Pro
Virtualization Platform: VMware® Workstation 16 Pro
VMware Workstation is used to create and manage nested virtualization environments, including VMware ESXi hosts and other virtual machines.
Virtual Machines in the Lab
The following virtual machines will be created on VMware® Workstation 16 Pro:
1. win01
- Hardware Details: CPU 1, RAM 4GB, Disk 60GB, 2 NIC
- OS Details: Windows 2019 Datacenter Desktop Edition
- Hardware Details: CPU 2, RAM 14GB, Disk 1000GB, 2 NIC
- OS Details: VMware ESXi 7.0.3
3. esxi02
- Hardware Details: CPU 2, RAM 8GB, Disk 1000GB, 2 NIC
- OS Details: VMware ESXi 7.0.3
4. kub01
- Hardware Details: CPU 2, RAM 4GB, Disk 40GB, 2 NIC
- OS Details: Ubuntu 18
5. kub02
- Hardware Details: CPU 1, RAM 2GB, Disk 40GB, 2 NIC
- OS Details: Ubuntu 18
We are going to create two networks:
- 172.16.0.0/16 for internal communication and optimal speed.
- 192.168.2.0/24 for external communication, such as downloading software from the internet.
- Internal IP address: 172.16.1.200
- External IP address: 192.168.2.200
Task 2. Add A and MX records to DNS hosted on win01.
- 172.16.1.230 kub01.darole.org
- 172.16.1.231 kub02.darole.org
- 172.16.1.240 dock01.darole.org
- 172.16.1.211 lamp01.darole.org
- 172.16.1.212 zap01.darole.org
- 172.16.1.213 pup01.darole.org
- 172.16.1.221 web01.darole.org
- 172.16.1.222 db01.darole.org
- 172.16.1.223 ans01.darole.org
- 172.16.1.252 jen01.darole.org
- 172.16.1.253 son01.darole.org
- 172.16.1.241 gra01.darole.org
- 172.16.1.215 ninom.darole.org
- 172.16.1.216 online-education.darole.org
- 172.16.1.217 organic-farm.darole.org
- 172.16.1.225 jobsearch.darole.org
- 172.16.1.218 travel.darole.org
- 172.16.1.219 jewellery.darole.org
- 172.16.1.220 carvilla.darole.org
- 172.16.1.205 esxi01.darole.org
- 172.16.1.206 esxi02.darole.org
- 172.16.1.207 vcenter01.darole.org
- 172.16.1.200 win01.darole.org
- 172.16.1.213 pup01.darole.org
Task 3: ESXi Host Deployment and Configuration on VMware WorkStation VM.
VMware ESXi Free is a bare-metal, type-1 hypervisor that allows you to run multiple virtual machines (VMs) on a single physical server or host. It is a basic virtualization platform that is ideal for testing, development, and smaller-scale deployments.
Here are some of the key features and benefits of ESXi Free:
- No licensing cost: ESXi Free is available at no cost, making it an attractive option for organizations with budget constraints.
- Easy to use: ESXi Free has a web-based management interface that makes it easy to create, configure, and manage VMs.
- Scalable: ESXi Free can support up to 8 virtual CPUs and 4GB of RAM per VM.
- Reliable: ESXi Free is a stable and reliable hypervisor that is used by millions of organizations around the world.
However, ESXi Free also has some limitations:
- Limited features: ESXI Free lacks some advanced features like vMotion (live migration), High Availability (HA), and Distributed Resource Scheduler (DRS).
- No official support: VMware does not provide official support for ESXi Free. Users are expected to rely on community forums, documentation, and self-help resources for troubleshooting and support.
A. Installed and Configured ESXi Host VM (VMware WorkStation VM - esxi01):
- CPU: 2 Cores with Virtualization enabled.
- RAM: 14 GB.
- Disks: 1000 GB.
- Internal IP: 172.16.1.205.
- Host Name: esxi01.darole.org.
- OS: VMware ESXi 7.0.3
- CPU: 2 Cores with Virtualization enabled.
- RAM: 8 GB.
- Disks: 1000 GB.
- Internal IP: 172.16.1.206.
- Host Name: esxi02.darole.org.
- OS: VMware ESXi 7.0.3.
Task 4. Deploying the vCenter Server Appliance on esxi01.
- Number of vCPUs: 2
- Memory: 12 GB
- Default Storage Size: 1000 GB
# nslookup vcenter01.darole.org
A. Add the VMware-VMvisor-Installer-7.0.0-15843807.x86_64.iso image to win01.
- Set up vCenter Server.
- User Name: administrator@vsphere.local
- Password: Pass@1234
- User Name: administrator@vsphere.local
- Password: Pass@1234
For more detailed instructions, you can refer to the provided link: [VMware vSphere 7 Installation Setup](https://www.nakivo.com/blog/vmware-vsphere-7-installation-setup/)
- Ethernet 2: Host-Only (for internal communication)
- Ethernet 3: Bridge (for external communication)
- Navigate to "Configure" -> "Networking."
- Ethernet 2: Host-Only (for internal communication)
- Ethernet 3: Bridge (for external communication)
- Navigate to "Configure" -> "Networking."
- Ubuntu 20.04
- Rocky 8.7
- Red Hat 8.5
- Hostname: rocky
- CPU: 1
- Memory: 2 GB
- Disk: 16 GB
- Internal IP: 172.16.1.228
- External IP: 192.168.2.228
- user root
- password redhat
- Hostname: redhat
- CPU: 1
- Memory: 2 GB
- Disk: 16 GB
- Internal IP: 172.16.1.226
- External IP: 192.168.2.226
- user root
- password redhat
- Hostname: ubuntu
- CPU: 1
- Memory: 2 GB
- Disk: 16 GB
- Internal IP: 172.16.1.227
- External IP: 192.168.2.227
- user vallabh
- password redhat
No comments:
Post a Comment