Good administrators keep services reliable—and know what recovery actually proves.
Phases 01–04 introduced the command line, access controls, services, Linux networking and storage. The final phase turns those skills into a repeatable operational approach: baseline the system, change it safely, validate recoverability and communicate an accurate outcome.
JUMP TO SECTION · 0 / 12Start with the introduction
Know the normal state before you call something abnormal.
A Linux server isn't healthy merely because it responds to SSH. A good operational baseline covers the business-facing service and the host beneath it: expected processes, request success, latency, filesystem occupancy, memory pressure, backups, recent changes and security boundaries.
In the Northstar scenario, an intranet outage follows a maintenance window. Several alarms fire together, but that doesn't mean they share a single root cause. Treat the alerts as independent hypotheses until you can demonstrate their relationships. Establish scope and ownership before changing the system.
An authorized client completes an expected request, with correct identity, data and response timing.
The unit, account, runtime, journal and application-specific health checks agree.
Data blocks, inodes, memory, I/O, and network errors are compared against known workload baselines.
The backup point is usable, isolated restore tests pass and the business objectives are understood.
Differentiate symptoms from signals. A 200 response from localhost is strong evidence for one local endpoint, but does not establish correct external routing, authorization, critical application data or a working restore process.
Collect a small set of observations you can compare over time.
Operational troubleshooting starts with the current state, but its meaning comes from context: when the alert began, the last successful business request, normal demand, recent maintenance and the actual filesystem/route involved. A single CPU or memory reading without a workload baseline is rarely enough to justify a change.
systemctl --failedFind systemd units currently in failed state. No failures does not prove application health.
journalctl -p warning -b --no-pagerInspect warnings and higher-priority records in the current boot; correlate with the incident window.
df -hT; df -iInspect mounted filesystem block and inode capacity together. Check the actual mount source first.
free -h; uptimeReview memory availability, load averages and uptime, then compare with expected workloads.
ss -ltnpInspect listening TCP sockets; use a real client health check for service accessibility.
systemctl list-timers --allCheck timer state and past/next triggers; independently verify the jobs they activate.
findmnt -T /srv/northstar/dataConfirm which filesystem actually backs an important application path.
ip route get 10.24.20.25Inspect the current selected return path to an authorized client.
For capacity alarms, check both df -h and df -i. If the data mount is missing, df -h /srv/northstar/data might report the root filesystem that contains the mountpoint rather than the intended data volume. Check findmnt first. For memory alerts, Linux file cache can be reclaimed; distinguish readily available memory from a simplistic “used memory” percentage.
When access is available, correlate historical trend data with observed errors. Rapid growth rates, frequent service restarts, queue depth, failed health checks and backup lag can matter more than absolute utilization.
Monitoring should lead to a specific technician decision.
A useful alert explains what failed, which system or customer is affected, how urgent the impact is, and where an engineer can start investigating. Alerts for business workflow failure should be distinguished from infrastructure indicators such as load or disk occupancy. Otherwise a team can clear a low-level warning without restoring the actual service.
Alert on failed end-to-end checks, sustained 5xx rates or critical service dependency failures. Validate from the appropriate client path.
Combine occupancy with growth rate and inode pressure. A 95% full filesystem and a rapidly growing 75% one may require different response times.
Alert when a scheduled job fails, the backup age exceeds the policy or a restore verification becomes overdue.
Detect unexpected changes to services, firewall rules, mounts and package versions. Preserve the ability to compare and roll back.
Alert thresholds require context and an agreed owner. A service check may have healthy redundancy while another is single-instance; a failed backup deserves a different response when recovery points are still within the organization's RPO. Review false positives, alert fatigue and missing coverage as part of ongoing operations.
Use journal and log retention safely during incidents.
journalctl -u northstar-web -b -n 30 --no-pager inspects recent records for a named service in the current boot. Add --since, --until or priority filtering to correlate a change window. In multihost incidents, ensure clock synchronization and timezone interpretation before comparing timestamps across machines.
journalctl --since "09:30" --until "10:30"Bound the incident windowInspect records that correspond to the maintenance and reported outage, with the host's relevant date/time context.
journalctl -u northstar-web -b -n 30Follow a specific serviceSeparate application messages and systemd result codes from unrelated events.
journalctl --disk-usageInspect journal storageReview journal footprint before choosing a supported retention policy.
logrotate -d /etc/logrotate.confPreview rotation behaviorOn distributions using logrotate, dry-run a reviewed configuration. Avoid running rotation or deleting evidence during active investigations without a plan.
Linux logs may live in journald, plain files, centralized collectors or application-specific stores. Retention controls, access permissions and storage pressure matter. Don't delete or truncate production logs to free a filesystem merely because they are large. Preserve necessary incident evidence and confirm retention requirements first.
Official journalctl documentation ↗Patch safely, then prove that the application survived.
Security and stability updates matter, but a package transaction can replace libraries, alter service behavior, change dependencies or require a reboot. The safe process begins before the install command: confirm the system and repository origins, list affected versions, identify dependencies, select an authorized maintenance window and prepare rollback.
Record the exact target host, service owner, impact, approved window, action, maintenance dependencies, user communication and rollback trigger.
Confirm what is backed up, which recovery point is eligible, where the backup is stored and when a representative restore last passed.
Check prerequisites and permissions before restarting applications, changing routes or resizing mounted filesystems. Stop if observed state differs from the plan.
Validate the local process, data path and an actual approved client request. Recheck monitoring, timers and backup jobs afterward.
Separate observed evidence, changes performed, results tested, unresolved risks and follow-up ownership. Do not report full recovery from one status command.
For Ubuntu/Debian, apt update refreshes package lists; apt list --upgradable previews available updates, and a reviewed upgrade transaction applies permitted changes. For supported RHEL-family systems, DNF provides equivalent workflows, with different dependency handling and system settings. Always check your distribution's release and repository policy.
After patching, compare the expected and actual package versions, service status, logs, listening sockets, client requests, backup status and reboot state where applicable. Rolling upgrades or maintenance by service group can preserve capacity when redundancy exists; a single-node workload may need a planned interruption.
Hypervisor or filesystem snapshots can aid rollback, but may not represent an application-consistent, independently restorable backup. Confirm supported restore procedures and test them.
Know what is protected and what isn't.
A backup policy identifies critical data, system configuration, retention, frequency, encryption, repository access controls and recovery ownership. Different workloads need different consistency guarantees: copying a live database directory while writes continue may not produce a usable transactionally consistent restore, even if the copy command succeeds.
Include relevant files, databases and configuration according to workload documentation, not just arbitrary folders.
Some backups depend on earlier bases or increments. Verify every required object and the actual restore path.
Use protected, authenticated, encrypted storage with limited deletion privileges and appropriate offline/immutable copies where available.
Restore a representative point into an isolated target, then confirm files, permissions and application behavior—not just archive metadata.
A scheduled backup service reporting exit code 0 only proves that its job reported success under its own rules. It doesn't prove retention completeness, decryptability, application consistency or that a restore operator can meet the business deadline. Schedule periodic restore exercises and track any failures to conclusion.
Restore to an isolated target. Compare more than filenames.
An isolated restore avoids overwriting production data during routine readiness checks. Before starting, identify the target recovery point, restore destination, necessary keys, expected filesystem and application requirements. Verify the backup tool's supported behavior in the actual environment; there isn't one universal Linux restore command.
Confirm timestamp, chain dependencies, repository accessibility and business RPO requirements.
Keep restores off the production mount; control credentials, secrets, network exposure and storage capacity.
Check reference checksums where appropriate, file ownership, database/application checks and sample business queries.
Capture restore point age, elapsed time, missing records, failed steps and decisions requiring owner acceptance.
For our fictional Northstar app, a restore test checks site-index.json against an approved checksum and confirms selected application files are present. That is meaningful, but still does not prove every file or every disaster case is recoverable. Record the specific scope tested.
RPO measures data exposure. RTO measures recovery time.
Recovery Point Objective (RPO) is the maximum tolerable data-loss window for a defined workload, often expressed in minutes or hours. Recovery Time Objective (RTO) is the maximum acceptable time to restore a defined service after disruption. They describe business tolerance and targets; neither is automatically achieved because backups exist or a server booted.
Our Northstar incident begins at 10:00. The most recent modeled recoverable point is 09:30, a potential 30-minute data loss gap. Authorized client service is restored at 12:30, a 2-hour-30-minute interruption. Compare those measurements with the fictional business limits of one hour RPO and four hours RTO. Data loss is potential, not proof those 30 minutes contained changes.
How much data loss and downtime can the business tolerate?
Choose a hypothetical outcome and compare the potential recovery point gap and observed service interruption with business limits.
Business RPO limit: 01:00 · Within target
Business RTO limit: 04:00 · Within target
A tested 09:30 recovery point, 10:00 incident, and 12:30 service restoration. Both measured comparisons fall inside these illustrative objectives.
RPO describes maximum tolerable data loss, not proof of actual lost records; an available checkpoint is only useful when it can be restored. RTO is measured against a defined business service, not merely successful server boot.
Even when an observed gap falls within target, an actual business may require more than a successful URL health response: application transactions, data freshness, authorization and owner acceptance can all be part of the service's recovery definition.
Record the action, verification and unresolved risk.
During an incident, a technician should be able to explain why a particular action was necessary, which evidence supported it, who approved it, what it changed, and how success was measured. A ticket with only “Restarted service, fixed” loses the information needed to learn from a recurrence.
Intranet unavailable to approved client subnet following maintenance; service failed and required data mount absent.
Persistent mount UUID did not match the existing ext4 data volume. After mounting, service account lacked search permission on the data directory. Local app later passed, but host firewall denied approved clients.
Updated the scoped mount entry; restored authorized group traversal; restarted only northstar-web; applied the approved firewall policy exception. All steps modeled with owner approval and rollback planning.
Expected filesystem source and checksum, service state, localhost health, approved remote client response and isolated restore check.
Maintain monitoring, validate wider client access and repeat restore tests under the operational policy.
Use change records to link the incident timeline, affected asset, approvals, rollback procedure and the post-change evidence. If a condition remains unresolved, state it explicitly; escalation is not a failed investigation when it protects an intentional operational control.
Bring the full learning path into one recovery.
Northstar's intranet service goes down after maintenance. The first alert looks like one outage, but there are multiple dependent faults. You'll gather evidence before every decision, work through authorized simulated changes, and prove which aspect of the service is actually restored. The final checkpoint goes beyond availability: can you demonstrate a recoverable backup point and compare it to business objectives?
Triage → data mount → service identity and startup → firewall/client path → restore readiness and handoff.
Each checkpoint unlocks only after all four observations are reviewed, the supported decision is selected, modeled actions are recorded and both independent verification checks are read.
The Northstar Recovery
One incident, five connected operational checkpoints. Evidence and completed decisions unlock the next stage. The service is not considered recovered until both its local health and approved remote client path are verified.
Contain the outage before changing systems
At 10:00, the Northstar intranet is unavailable to users. Multiple alarms appear after overnight maintenance. You have an approved incident response runbook, but no general authorization to reboot, restore or open firewall rules.
The simulated outputs are read-only; no command contacts a host. Select each source to reveal what the technician observed.
Inspect all four sources to unlock this stage's decision.
Can you defend your operational decisions?
The final nine questions revisit diagnostics, service recovery, approved maintenance, backups, RPO/RTO and protected operational controls. Use the explanations to identify weak spots rather than relying on command memorization.
From command-line confidence to controlled system recovery.
The Linux Systems Administration curriculum is designed as one progression. The first phase teaches evidence-gathering and safe shell habits; the second explains identity and permission boundaries; the third focuses on services and software; the fourth connects Linux networking and storage; and this final phase tests how those layers interact during a real operational workflow.
Move through Linux, read files and logs, and use commands deliberately.
Inspect group membership, directory traversal, ACLs and mandatory security policy.
Read systemd, journals, dependencies and software changes before restarting.
Investigate resolver, route, firewall, mount and capacity behavior on Linux hosts.
Compare business objectives, restore data safely and document every significant claim.
Repeat the read-only tools on your own supported Linux installation, investigate a disposable test service and rehearse a recovery using test data. Avoid trying privileged or potentially destructive commands on production or an unfamiliar machine.
Linux Systems Administration
You now have a connected five-phase curriculum to revisit. Use the full roadmap to revisit any phase, review optional completion marks and resume where you left off. Progress is saved in your browser only; you never need an account.
Review all five phases →Review the operational lessons before the capstone. The final investigation combines the Linux skills from Phases 01–04 and requires a verified outcome at each checkpoint.
