Network, storage and physical-server track
The included dnsmasq config is a narrow role exercise: loopback port 5353, no DHCP, and no upstream resolver. Launch the loopback process inside your disposable Crucible Linux VM and verify 127.0.0.1 resolution.
Prerequisites: device/volume identification, access permissions, a dedicated lab network or VM and a recovery path. Environment/status: scoped procedures; no switch, disk, NAS or physical host is modified automatically by this lab guide. Outcome: apply the lifecycle to services whose failure can affect many downstream systems.
Map the lifecycle
| Phase | Infrastructure-specific decision and exit evidence |
|---|---|
| 1 Framework | Inventory serial/asset IDs, interfaces, volumes, firmware and downstream consumers. |
| 2 Beginner | Explain links, addresses, routing, block devices, filesystems, shares and object storage. |
| 3 Architecture | Define traffic/storage contract, redundancy, durability, latency, capacity and physical constraints. |
| 4 Provision | Confirm exact devices/ports/disks; establish management access and known recovery media. |
| 5 Foundation | Isolate management, restrict operators, configure encrypted/authenticated access and protect recovery keys. |
| 6 Service | Configure only the selected DNS/VPN/share/storage role with explicit consumers and permissions. |
| 7 Go live | Test allowed/denied clients and end-to-end data/traffic behavior from independent endpoints. |
| 8 Operate | Monitor links, errors, disk/inode pressure, health, latency, temperature, power and delivered alerts. |
| 9 Change | Stage firmware/configuration/filesystem changes; preserve known versions and measure degraded behavior. |
| 10 Recover | Recover configuration, keys and data; rehearse a failed component using supported target procedures. |
| 11 Retire | Move dependencies, revoke clients/keys, retain records and sanitize/remove only confirmed assets. |
| 12 Assess | Another operator identifies the exact target and restores a documented service failure safely. |
Private DNS laboratory
The included dnsmasq config is a narrow role exercise: loopback port 5353, no DHCP and no upstream resolver. In a disposable Linux VM with dnsmasq installed, run from your VM workspace (~/playground):
If the distribution requires extra permissions for its compiled-in user or runtime directories, inspect the error and adapt only the disposable VM's process configuration. Do not stop a host-wide DNS service to free a port without identifying its consumers. In a second terminal:
Expect 127.0.0.1 for the configured local name; the unrelated name must not be forwarded to an arbitrary internet resolver. Preserve actual response codes. Stop only the owned foreground process with Ctrl-C. This exercise never changes the VM's system resolver, shared router, DHCP scope or network clients.
The [dnsmasq manual](https://dnsmasq.org/docs/dnsmasq-man.html) defines the foreground/configuration-file options and local DNS behavior. For a real authoritative or recursive DNS service, define the role before opening access. Configure authorized zones or permitted recursion clients, protect updates and validate both UDP/TCP behavior as applicable. Test change propagation and caches. VPN deployments need route selection, split/full-tunnel policy, DNS behavior, key revocation and recovery access; a tunnel being connected does not prove the intended traffic path.
Storage laboratory
Begin with a blank virtual disk attached only to a disposable VM. Identify it by several independent observations—serial, size and attachment inventory—not a guessed /dev/sdX name. Record mount/filesystem/share identities separately. A formatting command cannot be made universally safe without that target context, so choose the exact supported command only after verifying the owned blank device.
Create a filesystem and mount using its persistent identifier. Create a dedicated share and ordinary client user; test a permitted write and a denied user's access. Record owner/mode/ACL behavior, quotas and filename assumptions. Delete one synthetic file, restore it independently and compare content and permissions. Test capacity limits with bounded fixture data; never fill a shared production filesystem to demonstrate fullness.
RAID/mirroring protects selected device failures; backups protect a different set of losses. A snapshot can depend on the same storage account/device and key as its source. Demonstrate a restore after losing the source, including keys and access, before claiming independent recovery. Document rebuild duration and degraded performance for the actual controller/storage system.
Physical commissioning and retirement
Before installation, confirm supported CPU/RAM/storage/network combinations, power/cooling capacity, firmware provenance, rack/grounding procedures and vendor support. Establish management-controller access on an isolated administrative network and change default credentials through an approved process. Keep serial/asset mapping beside the network and storage inventory.
Commission with memory tests, storage health, sustained workload and thermal/power observations according to supported tools. An approved power-loss exercise requires protecting other equipment and confirming write-cache/battery behavior; it cannot be inferred from restarting an application process. Test boot/recovery media and record who can access the console during an outage.
For retirement, move consumers first and verify the new traffic/data path. Revoke VPN/share/management identities, remove stale DNS/routes and preserve required configuration/audit records. Sanitize data according to the actual media technology and organization policy; deleting a partition is not proof of sanitization. Remove exact confirmed assets from inventory after retention and disposal decisions. Shared switches, firewalls and disks require particularly careful dependency checks before removal.
Lock in what you just learned (3 quick questions)
/etc/fstab by UUID= rather than /dev/sdb?