docs: demo2 (Entwurf)

This commit is contained in:
writer 2026-10-05 07:11:21 +00:00
parent 9ac3df9ab5
commit f830735bbe

View file

@ -2,48 +2,91 @@
id: p-uq8e9rm0eq id: p-uq8e9rm0eq
title: demo2 title: demo2
--- ---
# **Example: Kernel update**
# demo2 This page is a worked example. It documents a fictitious process — updating the kernel on a fleet of Linux servers — and shows most of what a page in f451 can contain. It was started from the **Process runbook** template; see [templates-and-metadata](https://f451.rotecodefraktion.de/wiki/user-guide/templates-and-metadata) for how templates work.
Created on 05.10.2026 by writer. > [!NOTE]
> What this page demonstrates: tables, callouts, a [**draw.io**](http://draw.io) diagram (swimlane), an **Excalidraw** sketch, an embedded **YouTube** video and links to other pages. Open it in the editor to see how each is written — both diagrams can be edited right there.
## Profile ## **Profile**
| Field | Value | | **Field** | **Value** |
| ------------- | ----- | | :------------ | :------------------------------------------------------------ |
| Process ID | | | Process ID | OPS-LNX-001 |
| Process owner | | | Process owner | Platform team |
| Scope | | | Scope | All Linux servers (development, staging, production) |
| Trigger | | | Trigger | Security advisory, vendor release, planned maintenance window |
| Purpose | | | Purpose | Keep every server on a current, supported and secure kernel |
## Process flow ## **Process flow**
> [!TIP] The lifecycle as a swimlane — one lane per role. This is a [**draw.io**](http://draw.io) diagram: the image you see and its editable source live in the same file, `_media/lifecycle.drawio.svg`, next to this page.
> Type **/** and choose **draw.io diagram** to add a swimlane, one lane per role.
## Steps
1. **Request** —
2. **Assessment and approval** — ![Kernel update lifecycle](https://f451.rotecodefraktion.de/media/example-kernel-update/lifecycle.drawio.svg)
3. **Preparation** —
4. **Execution** — The technical core, sketched by hand. This one is an **Excalidraw** drawing (`_media/rollback.excalidraw.svg`) — quicker to draw, deliberately informal.
5. **Acceptance** —
6. **Closure** —
![Happy path and rollback](https://f451.rotecodefraktion.de/media/example-kernel-update/rollback.excalidraw.svg)
## **Steps**
1. **Request** — raise a change: servers, target kernel, maintenance window, risk.
2. **Assessment and approval** — the platform team assesses; the change manager approves. No approval without the mandatory documents below.
3. **Preparation** — install the new kernel on development servers and run the smoke tests.
4. **Staging** — roll out to staging, run the regression tests, record the result.
5. **Production** — roll out in the approved window, one group of servers at a time.
6. **Acceptance** — the service owner confirms the functional checks.
7. **Closure** — close the change, update the inventory, attach the evidence.
> [!WARNING] > [!WARNING]
> Describe the rollback path before the first execution. > Keep the previous kernel installed until acceptance. It is the rollback path: if the checks fail after the reboot, boot the previous kernel and reopen the change.
## Responsibilities ## **Technical execution**
| Activity | Requester | Executing team | Approver | Service owner | ```sh
| -------- | --------- | -------------- | -------- | ------------- | # Record the current state
| | | | | | uname -r > /var/tmp/kernel-before.txt
# Install the new kernel (Debian/Ubuntu shown; adapt to your distribution)
sudo apt-get update && sudo apt-get install --only-upgrade linux-image-generic
# Reboot inside the maintenance window, then verify
sudo systemctl reboot
uname -r
systemctl --failed
```
## **Responsibilities**
| **Activity** | **Requester** | **Platform team** | **Change manager** | **Service owner** |
| :-------------------- | :------------ | :---------------- | :----------------- | :---------------- |
| Raise change | R/A | C | I | C |
| Technical assessment | I | R | A | C |
| Approval | I | C | A/R | C |
| Perform update | I | R/A | I | I |
| Functional acceptance | I | C | I | R/A |
*R = Responsible · A = Accountable · C = Consulted · I = Informed* *R = Responsible · A = Accountable · C = Consulted · I = Informed*
## Required documents ## **Required documents**
| Document | Mandatory | Where | | **Document** | **Mandatory** | **Where** |
| -------- | --------- | ----- | | :-------------------- | :------------ | :--------------------- |
| | | | | Change request | yes | Ticket system |
| Test record (staging) | yes | Attached to the change |
| Rollback plan | yes | This page, step 7 |
| Acceptance record | yes | Attached to the change |
## **Background**
Why the kernel matters, from the person who started it:
![YouTube-Video-Vorschaubild](https://i.ytimg.com/vi/o8NPllzkFhE/hqdefault.jpg)
Related: [writing-a-page](https://f451.rotecodefraktion.de/wiki/user-guide/writing-a-page) explains how a change to this page goes through review before it is published.