EMERGENCY PRODUCTION RUNBOOKS & TRIAGE CHEATSHEETS
TRIAGE_ACTIVE // 6 STANDARD OPERATING PROCEDURES
High-pressure incident response checklists, recovery one-liners, and debugging triage procedures. Verified against production Linux kernels, TrueNAS OpenZFS pools, Kerberos identity brokers, and multi-tenant GPU fabrics.
SSSD / Active Directory Cache Invalidation & Offline Purge
Resolve stale POSIX UID/GID mappings, group membership desynchronization, and LDAP offline loop locks across cluster nodes after Active Directory schema edits.
SSSD PURGE & NSS REFRESH:
# 1. Stop SSSD daemon cleanly
systemctl stop sssd
# 2. Invalidate memory DB caches
sss_cache -E
# 3. Purge corrupted local LDB database files
rm -f /var/lib/sss/db/* /var/lib/sss/mc/*
# 4. Restart SSSD and verify deterministic POSIX resolution
systemctl start sssd
getent passwd operator_ob
id -a operator_ob
P0-CRITICALSOP-ZFS-04
[OPENZFS_RECOVERY]
ZFS Corrupted Pool Import & Scrub Panic Recovery
Emergency procedure when a ZFS pool triggers a kernel panic or refusal to import due to metadata corruption, damaged uberblocks, or power loss in mid-transaction.
READ-ONLY RECOVERY IMPORT:
# 1. Search for existing pools without importing
zpool import
# 2. Force read-only import, rewinding damaged transactions
zpool import -f -F -o readonly=on tank
# 3. If standard rewind fails, perform extreme transaction rollback
zpool import -f -F -X -o readonly=on tank
# 4. Immediately stream critical datasets to remote replication target
zfs send -v tank/critical@snapshot | zfs receive backup_tank/critical
P2-OPERATIONALSOP-EBPF-05
[LINUX_KERNEL]
Production eBPF Kernel Tracing & Latency Diagnostics
Zero-overhead live kernel tracing one-liners. Capture short-lived rogue processes, TCP packet drops, and NVMe block I/O tail latency bottlenecks without restarting daemons.
EBPF BPFTRACE ONE-LINERS:
# 1. Trace all process executions in real time with parent PID
bpftrace -e 'tracepoint:syscalls:sys_enter_execve { printf("%s (pid=%d, ppid=%d): %s\n", comm, pid, curtask->parent->pid, str(args->filename)); }'
# 2. Profile NVMe / ZFS disk I/O latency distribution (Microseconds)
biolatency-bpfcc -m 10 1
# 3. Intercept TCP retransmissions with source/dest IP and ports
tcpretrans-bpfcc -l
# 4. Detect permission denied access attempts across kernel VFS
bpftrace -e 'kretprobe:vfs_open /retval == -13/ { printf("EACCES: pid=%d comm=%s\n", pid, comm); }'
Recover unresponsive NVIDIA A100 / RTX 4090 GPUs after CUDA memory illegal address faults, Xid 31/79 crashes, or PCIe bus link drops without rebooting the 192-core host node.