Bookmark this page

Orientation to the Classroom Environment

Figure 0.1: Classroom environment

In this course, the main computer system used for hands-on learning activities is workstation.

The classroom and bastion machines must always be running for the lab environment to function properly.

The workstation machine has a standard user account, student, which has the password student. The root password on the workstation machine is redhat.

All network devices have a privileged user account, student, which uses SSH keys for authentication.

The URL https://controller.lab.example.com provides access to the web-based user interface of the automation controller server in your classroom environment. You can log in as the admin user, with redhat as the password.

The URL https://hub.lab.example.com provides access to the web-based user interface of the private automation hub server in your classroom environment. You can log in as the student user, with redhat123 as the password.

Some Ansible content in this course is stored under version control in Git repositories on the GitLab server, git.lab.example.com. The URL https://git.lab.example.com/ provides access to the web-based user interface of the GitLab server in your classroom environment. You can log in as the student user, with Stud3nt@123 as the password.

A code editor, Visual Studio Code (VS Code), is installed on the workstation machine. You use it in this course to view and edit files, interact with Git repositories, and run automation content navigator.

All machines are in the lab.example.com DNS domain.

Table 1. Classroom Machines

Machine nameIP addressesRole
bastion.lab.example.com 172.25.250.254Router that links VMs to central servers
workstation.lab.example.com 172.25.250.9Graphical workstation used for system administration
utility.lab.example.com 172.25.250.220Server hosting course-specific support services
git.lab.example.com 172.25.250.5GitLab server
hub.lab.example.com 172.25.250.6Private automation hub
controller.lab.example.com 172.25.250.7Automation controller
iosxe1.lab.example.com 172.25.250.20Cisco IOS XE node 1
iosxe2.lab.example.com 172.25.250.21Cisco IOX XE node 2
junos1.lab.example.com 172.25.250.22Juniper Networks Junos node 1
junos2.lab.example.com 172.25.250.23Juniper Networks Junos node 2
arista1.lab.example.com 172.25.250.24Arista Networks EOS node 1
arista2.lab.example.com 172.25.250.25Arista Networks EOS node 2

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 still might be starting services.
stoppedThe virtual machine is shut down. On starting, the virtual machine boots into the same state 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 virtual machines that are needed for this classroom.
CREATING The ROLE classroom virtual machines are being created. 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, 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, click ACTIONReset for only that specific virtual machine.

At the start of an exercise, if instructed to reset all virtual machines, 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. 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: do457-2.3-7cfa22a