Working with systemd Targets

15 minutes
  • 3 Learning Objectives

About this Hands-on Lab

The concept of runlevels in SysV has been reimagined and expressed as targets in `systemd`. Knowing how to manage, use, and manipulate targets will make your `systemd` management much easier.

In this lab, we’ll use the `runlevel` command that ships with `systemd` to determine system state, work with the default target, manipulate it, and then isolate to the new target.

We’ll also understand why some targets can be isolated and others can’t, inspect the contents of targets to see what they can do, and finally get a better understanding of the relationship between the `poweroff`, `shutdown`, `halt`, and `reboot` commands and `systemctl`.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Work with Runlevels and Targets
  1. Use the runlevel command.
  2. Get and set the default target.
  3. Isolate and list the targets.
Work with Target Isolation
  1. Attempt to isolate a target.
  2. List the contents of different targets.
  3. Determine what allows a target to be isolated.
Understand the Shutdown Commands
  1. Identify the location of the shutdown, halt, poweroff, and reboot commands.
  2. Determine what they are.
  3. See which are also represented in systemctl.

Additional Resources

You're a seasoned Linux sysadmin who has booted and used systemd-based systems but have not yet had to implement them into your production environment.

You have a number of systems that need to be upgraded from their current version of a distribution that still uses the SysV init-style service management scheme. You particularly want to find out how systemd boots, what runs when and how fast, and it's a bonus if you can see the relationships between components.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!