Configure the required network services and resources to provision a content host in a subnet-defined location.
Outcomes
Configure Capsule Server to provide the DNS, DHCP, and TFTP services.
Create domain and subnet resources for an organization and a location.
As the student user on the workstation machine, use the lab command to prepare your system for this exercise.
This command prepares your environment and ensures that all required resources are available.
[student@workstation ~]$ lab start network-network
Instructions
The Operations team wants to provision systems on the 172.25.250.0/24 subnet in the Boston location.
The content hosts in Boston are members of the boston.lab.example.com DNS domain, and are supported by the external Capsule Server.
You are requested to configure the Capsule Server to provide the DNS, DHCP, and TFTP services.
You must configure the boston.lab.example.com DNS zone as authoritative.
The DHCP service must provide the 172.25.250.50 - 172.25.250.100 IP address range for provisioning.
Log in to the capsule system as the student user and switch to the root user.
[student@workstation ~]$ssh student@capsule[student@capsule ~]$sudo -i[sudo] password for student:student[root@capsule ~]#
Enable and configure the DNS, DHCP, and TFTP services on the capsule.lab.example.com system.
Enable the DNS, DHCP, and TFTP services with the specified network configuration parameters.
The DNS server for the boston.lab.example.com zone is the capsule.lab.example.com system at the 172.25.250.220 IP address.
For your convenience, you can copy and paste the following satellite-installer command from the /root/satellite-installer-example.txt file.
Wait for the process to complete.
[root@capsule ~]# satellite-installer --scenario capsule \
--foreman-proxy-dns true \
--foreman-proxy-dns-interface eth0 \
--foreman-proxy-dns-forwarders 172.25.250.254 \
--foreman-proxy-dns-zone boston.lab.example.com \
--foreman-proxy-dns-reverse 250.25.172.in-addr.arpa \
--foreman-proxy-dhcp true \
--foreman-proxy-dhcp-interface eth0 \
--foreman-proxy-dhcp-range "172.25.250.50 172.25.250.100" \
--foreman-proxy-dhcp-nameservers 172.25.250.220 \
--foreman-proxy-dhcp-gateway 172.25.250.254 \
--foreman-proxy-tftp true
...output omitted...
Success!
* Capsule is running at https://capsule.lab.example.com:9090
The full log is at /var/log/foreman-installer/capsule.logEnable Ansible on the capsule.lab.example.com system. This will enable the Ansible services on the capsule for provisioning.
[root@capsule ~]# satellite-installer --scenario capsule --enable-foreman-proxy-plugin-ansible
2023-06-13 16:11:33 [NOTICE] [root] Loading installer configuration. This will take some time.
2023-06-13 16:11:38 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
...output omitted...
Success!
* Capsule is running at https://capsule.lab.example.com:9090
The full log is at /var/log/foreman-installer/capsule.logReturn to the workstation system as the student user.
[root@capsule ~]#exitlogout [student@capsule ~]$exitlogout [student@workstation ~]$
Log in to the Satellite Server web UI, https://satellite.lab.example.com, as the admin user with redhat as the password.
In the upper-left corner of the web page, set the organization to Operations.
Set the location to Boston.
Verify that the DNS, DHCP, and TFTP features are active on the Capsule Server.
Click → , and then click the link.
In the tab, verify that the section lists the DNS, DHCP, and TFTP services. If the services are not yet listed, then click .
Create the boston.lab.example.com DNS domain for the Operations organization and the Boston location.
Click → , and then click .
Enter boston.lab.example.com in the field.
Select capsule.lab.example.com in the field.
In the tab, verify that the location is in the list.
In the tab, verify that the organization is in the list. Click .
Create the Boston Data Center subnet, 172.25.250.0/24, and configure its DHCP address range and DNS server as specified in the previous satellite-installer command.
Click → .
In the capsule.lab.example.com row, select Import IPv4 subnets from the list in the column.
In the 172.25.250.0/24 page, enter the following details.
Leave the other fields unchanged.
Click .
Define the IP range for the Boston Data Center subnet, and associate the subnet with the boston.lab.example.com domain.
Verify that the domain and support services are assigned to the required resources and location.
Click → , and then click the link.
Enter 172.25.250.50 in the field, and enter 172.25.250.100 in the field.
Click the tab, and then click the domain to move it to the list.
Click the tab.
Select capsule.lab.example.com in each of the , , , and fields.
Click the tab, and verify that the location is in the list.
Click the tab, and verify that the organization is in the list. Click .
The Capsule Server is now configured with the required network and domain for provisioning content hosts in Boston.