Posts

Design Muna, Magdrawing Bago Bumanat: Why Diagrams Beat "Code First" in Infrastructure & Automation

Image
Sa panahon ngayon, ang dali nang mag-spin up ng container, magpagawa ng script sa AI, o mag-deploy ng workflow sa loob lang ng ilang minuto. Pero sa dami ng mabilisang solusyon at copy-paste tutorials sa paligid, may isang bagay na madalas nalalampasan at madalas nagiging ugat ng malaking sakit ng ulo sa production: ang pag-design at pagguhit ng malinaw na plano bago bumanat . Parang pagpapatayo lang ng bahay 'yan. Hindi ka naman magbubuhos ng semento o magtatayo ng pader nang walang floor plan at structural design. Kapag sinimulan mo sa "bahala na" at puro dikit-dikit lang habang ginagawa, siguradong may tutulo, may tatagilid, o may babagsak pagdating ng malakas na ulan. Ganun din sa infrastructure, automation, at kahit anong system build. Bago ka mag-code o mag-configure, magdrawing ka muna . Ang Sakit ng "Code First, Think Later" Maraming beses na natin itong nakikita minsan sa sarili nating proyekto, minsan sa trabaho. Kapag inuuna ang pagtipa ng code o pag-...

Beyond the Spooler & Snapshots: Resolving Wazuh Agent Fleet Mismatch & Configuration Drift in a Distributed Homelab

Image
1. Who (Who Was Affected?) As a systems administrator and IT infrastructure consultant operating an extensive self-hosted homelab ecosystem—comprising 20+ nodes including Proxmox VMs, LXCs, Dell OptiPlex Micro servers, and industrial systems—maintaining robust security and reliable agent telemetry is paramount. The degradation directly impacted our core infrastructure monitoring visibility and threat detection capabilities across the entire network. 2. What (What Was the Issue?) The entire wazuh-agent fleet experienced sudden, widespread failures, persistently throwing Disconnected statuses despite prior automated deployments. The primary symptoms included: Daemon Exit Errors: The wazuh-agent.service repeatedly crashed due to XML parsing and validation errors within ossec.conf (specifically concerning syscheck/FIM blocks) following an attempted upgrade to a newer release ( v4.14.10 ). State & ID Mismatch: Proxmox VM and LXC snapshot rollbacks inadvertently reintroduced...

Enterprise Routing at Home: Harnessing iBGP and Selective CDN Steering on MikroTik RouterOS v7

Image
Who says Border Gateway Protocol (BGP) is reserved strictly for enterprise datacenters and Tier-1 service providers? With a MikroTik router and a lightweight Linux container running in your home lab, you can bring enterprise-grade routing capabilities right to your network. In this article, we explore how to deploy an Internal BGP (iBGP) control plane paired with selective CDN traffic steering and targeted DSCP Quality of Service (QoS) on MikroTik RouterOS v7. The result is an ultra-optimized, dynamic, and high-performance home network tailored for gaming, media streaming, and real-time traffic—all without the maintenance burden of static IP lists. Primer: Core Networking Concepts Before diving into the architecture, let’s quickly break down the fundamental technologies that make this setup possible: BGP (Border Gateway Protocol): The routing protocol of the global internet. Unlike interior routing protocols (like OSPF) designed for a single network, BGP exchanges reachability info b...