liveBook · Manning

Chapter 9: Systems administration

What you will learn in chapter 9 of AI for Everyday IT

This introduction frames systems administration work and previews how AI tools such as ChatGPT can simplify recurring administrative tasks throughout the chapter.

After this chapter you will be able to

What it builds on

Section by section

Introduction

This introduction frames systems administration work and previews how AI tools such as ChatGPT can simplify recurring administrative tasks throughout the chapter.

Key terms: change requests, Linux distributions, log analysis, configuration files, compliance, workflows, systems administrator, servers, Linux, Windows

9.1 Change request

This section shows how ChatGPT can rapidly draft a structured systems-administration change request when given a clear task, while the administrator reviews and adapts the result.

Key terms: change request, ChatGPT, prompt, Current State, Proposed State, Impact Analysis, Implementation Plan, Rollback Plan, Change Advisory Board (CAB), organization’s requirements

9.2 More distros, more problems

This section shows how AI can help administrators account for Linux distribution differences while beginning to diagnose suspected dropped packets on SLES 15.5.

Key terms: Linux distributions, distros, Linux kernel, init system, System V, systemd, SUSE Linux Enterprise Server, SLES 15.5, /var/log, /var/log/messages

9.3 Multiserver administration

This section shows how detailed prompting can generate a Bash script for checking kernel versions across multiple servers and why richer task context produces better AI output.

Key terms: Bash script, server list, SSH keys, uname -r, output file, EXPECTED_KERNEL_VERSION, compare_kernel_versions, lower, equal, higher

9.4 Renaming files

This section shows how a plain-English AI prompt can produce a practical PowerShell script for a one-off, conflict-safe batch file and folder renaming task.

Key terms: PowerShell, generative AI, plain English, manuscript, images, temporary placeholder name, name conflicts, rename files in the subfolders, hashtables, loops

9.5 Analyzing error logs: Identifying exceptions and failures

This section shows how to use ChatGPT to extract critical log messages, diagnose their likely root cause, and protect sensitive data when sharing logs.

Key terms: log analysis, error logs, root causes, error, exception, failure, enterprise chat provider, data protection features, IP addresses, hostnames

9.6 Automating tasks for efficiency and compliance

This section introduces using AI prompts to incorporate ITIL frameworks and other best practices into systems-engineering automation while maintaining operational efficiency and compliance.

Key terms: Information Technology Infrastructure Library, ITIL, ITIL Framework, automation, AI prompts, frameworks, best practices, new standards, systems engineering, Table 9.1

9.7 Auditing configuration files with AI

This section shows how to use ChatGPT to audit configuration files for compliance, security, and performance, using an IIS PCI-DSS review as the main example.

Key terms: applicationHost.config, PCI-DSS, SSL/TLS settings, authentication and authorization, logging and monitoring, application isolation, compliance check, recommendations, applicationHost_PCI_compliant.config, naming convention

9.8 Existing AI in systems engineering

This section shows how AI is already integrated into systems engineering tools and highlights current applications for predicting failures, improving disaster recovery, and optimizing network design.

Key terms: APIs, GPT Actions, database information, application processes, predictive system failure analysis, predictive maintenance, advanced disaster recovery planning, enhanced network design, IBM Watson AIOps, Splunk Machine Learning Toolkit

9.9 Prompts used in this chapter

This section collects the prompts used to refine outputs, reformat results, investigate Linux distribution differences, verify table accuracy, and research AI-integrated disaster-recovery products.

Key terms: one shot, asciidoc format, distros, System V, systemd, table’s intro, table contents, commercial products, disaster recovery, integrate AI

9.10 Summary

This summary recaps how AI improves systems administration through workflow assistance, scripting, analysis, configuration auditing, and predictive engineering tools.

Where this is used later

Concepts explained in this chapter

← Chapter 8: IT support and service desk Chapter 10: Database administration and development →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.