Bookmark this page

Orientation to the Classroom Environment

Figure 0.1: Classroom environment

Student Network

In this classroom environment, students directly access virtual machines in the 172.25.250.0/24 student network, as seen in SectionFigure 0.1: Classroom environment. The primary virtual machines for Red Hat Satellite learning activities are the satellite and capsule systems. Other virtual machines are provided as content hosts and for other hands-on activities: the servera, serverb, serverc, serverd, and servere systems.

The workstation system is configured with a graphical interface for the student to use as a desktop and working environment. The student's account on the workstation system is configured with passwordless access to the other virtual machines in the student network. Commonly, all hands-on activities are initiated from the workstation system.

The utility system provides course-specific services, which might include a DNS server, an LDAP server, or other support resources.

All of the systems in the student network use the lab.example.com DNS domain. Each system has a standard user account with a name of student and a password of student. The root user account on all student systems uses a password of redhat.

Table 1. Classroom Machines

Machine nameIP addressRole
workstation.lab.example.com172.25.250.9Graphical workstation for student use
servera.lab.example.com172.25.250.10Managed content host "a"
serverb.lab.example.com172.25.250.11Managed content host "b"
serverc.lab.example.com172.25.250.12Managed content host "c"
serverd.lab.example.com172.25.250.13Managed content host "d"
servere.lab.example.com172.25.250.14Managed content host "e"
satellite.lab.example.com172.25.250.16Satellite Server
capsule.lab.example.com172.25.250.17Capsule Server
utility.lab.example.com172.25.250.220System with required utility services for student network systems
bastion.lab.example.com172.25.250.254Gateway system to connect the student network to the classroom server
classroom.example.com content.example.com materials.example.com172.25.254.254Server that hosts the required classroom materials

Support Systems

Several systems in the classroom provide supporting services.

The bastion system acts as a gateway between the student network and the classroom network. If the bastion system is not running, then the student systems can access only the other virtual machines on their student network. Additionally, the bastion system is necessary to provide access to the classroom resources, and for the course to function properly.

Two virtual hosts, content.example.com and materials.example.com, reside on the classroom system and provide software and lab materials for hands-on activities. Activity instructions provide information for using these virtual hosts. The workstation virtual machine provides these activities. Both the classroom and bastion systems must be running for proper use of the lab environment.

Note

When logging on to student systems, you might see a message about activating the cockpit service. You can ignore the message.

[student@workstation ~]$ ssh student@serverb
Warning: Permanently added 'serverb,172.25.250.11' (ECDSA) to the list of known hosts.
Activate the web console with: systemctl enable --now cockpit.socket

[student@serverb ~]$

Controlling Your Systems

You are assigned remote computers in a Red Hat Online Learning (ROLE) classroom. Self-paced courses are accessed through a web application that is hosted at . Log in to this site with your Red Hat Customer Portal user credentials.

Controlling the Virtual Machines

The virtual machines in your classroom environment are controlled through web page interface controls. The state of each classroom virtual machine is displayed on the Lab Environment tab.

Figure 0.2: An example course Lab Environment management page

Table 2. Machine States

Virtual Machine StateDescription
buildingThe virtual machine is being created.
activeThe virtual machine is running and available. If it just started, it might still be starting services.
stoppedThe virtual machine is completely shut down. On starting, the virtual machine boots into the same state that it was in before shutdown. The disk state is preserved.

Table 3. Classroom Actions

Button or ActionDescription
CREATE Create the ROLE classroom. Creates and starts all the needed virtual machines for this classroom. Creation can take several minutes to complete.
CREATING The ROLE classroom virtual machines are being created. Creates and starts all the needed virtual machines for this classroom. Creation can take several minutes to complete.
DELETE Delete the ROLE classroom. Destroys all virtual machines in the classroom. All saved work on those systems' disks is lost.
START Start all virtual machines in the classroom.
STARTING All virtual machines in the classroom are starting.
STOP Stop all virtual machines in the classroom.

Table 4. Machine Actions

Button or ActionDescription
OPEN CONSOLE Connect to the system console of the virtual machine in a new browser tab. You can log in directly to the virtual machine and run commands, when required. Normally, log in to the workstation virtual machine only, and from there, use ssh to connect to the other virtual machines.
ACTIONStart Start (power on) the virtual machine.
ACTIONShutdown Gracefully shut down the virtual machine, preserving disk contents.
ACTIONPower Off Forcefully shut down the virtual machine, while still preserving disk contents. This action is equivalent to removing the power from a physical machine.
ACTIONReset Forcefully shut down the virtual machine and reset associated storage to its initial state. All saved work on that system's disks is lost.

At the start of an exercise, if instructed to reset a single virtual machine node, then click ACTIONReset for only that specific virtual machine.

At the start of an exercise, if instructed to reset all virtual machines, then click ACTIONReset on every virtual machine in the list.

If you want to return the classroom environment to its original state at the start of the course, then click DELETE to remove the entire classroom environment. After the lab is deleted, then click CREATE to provision a new set of classroom systems.

Warning

The DELETE operation cannot be undone. All completed work in the classroom environment is lost.

The Auto-stop and Auto-destroy Timers

The Red Hat Online Learning enrollment entitles you to a set allotment of computer time. To help to conserve your allotted time, the ROLE classroom uses timers, which shut down or delete the classroom environment when the appropriate timer expires.

To adjust the timers, locate the two + buttons at the bottom of the course management page. Click the auto-stop + button to add another hour to the auto-stop timer. Click the auto-destroy + button to add another day to the auto-destroy timer. Auto-stop has a maximum of 11 hours, and auto-destroy has a maximum of 14 days. Be careful to keep the timers set while you are working, so that your environment is not unexpectedly shut down. Be careful not to set the timers unnecessarily high, which could waste your subscription time allotment.

Revision: rh403-6.11-3ad886e