<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pigsty on Barn</title><link>https://barn.pgsty.com/v1.5/tags/pigsty/</link><description>Recent content in Pigsty on Barn</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 03 Dec 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://barn.pgsty.com/v1.5/tags/pigsty/index.xml" rel="self" type="application/rss+xml"/><item><title>Replacing Vagrant in Pigsty: what Barn still needs</title><link>https://barn.pgsty.com/v1.5/blog/design/vagrant-replacement-gaps/</link><pubDate>Fri, 27 Nov 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/blog/design/vagrant-replacement-gaps/</guid><description>&lt;p&gt;Pigsty&amp;rsquo;s &lt;code&gt;vagrant/&lt;/code&gt; directory, Makefile, and public tutorials define the behavior Barn has to take over. The &lt;a href="https://barn.pgsty.com/v1.5/blog/design/pigsty-barn-migration/"&gt;sandbox migration plan&lt;/a&gt; already covers resource scaling, local host names, and the entry-point switch, and &lt;a href="https://barn.pgsty.com/v1.5/blog/design/vagrant-workflow-boundary/"&gt;Vagrant and the development loop&lt;/a&gt; lists candidates such as provisioning steps, file transfer, and snapshots. This page adds the remaining layer: it checks the Vagrant behavior Pigsty actually relies on, sets out what Barn must add before Vagrant can be retired, and then lists capabilities Vagrant never offered but that Pigsty&amp;rsquo;s high-availability tutorials need.&lt;/p&gt;</description></item><item><title>VM specification parameters: commands, short flags, environment, and root disks</title><link>https://barn.pgsty.com/v1.5/blog/design/vm-resource-overrides/</link><pubDate>Wed, 11 Nov 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/blog/design/vm-resource-overrides/</guid><description>&lt;p&gt;Image, architecture, CPU, memory, scale, and root disk size form one set of &lt;strong&gt;VM specification inputs&lt;/strong&gt;, with consistent names, value rules, and source tracking. Each command declares which fields it accepts and which changes it can apply; the resolution process has one implementation.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Status (2026-11-11):&lt;/strong&gt; This approved design is implemented: six CLI/environment inputs, command integration, inventory generation, source tracking, &lt;code&gt;SPEC&lt;/code&gt; display, and in-place root growth. These changes remain unreleased. Working-tree inventories default to 1 vCPU / 2 GiB; released Barn 1.1.0 still defaults to 2 vCPU / 4 GiB.&lt;/p&gt;</description></item><item><title>Pigsty host setup: fixed names and CA trust</title><link>https://barn.pgsty.com/v1.5/blog/design/pigsty-host-setup/</link><pubDate>Wed, 11 Nov 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/blog/design/pigsty-host-setup/</guid><description>&lt;p&gt;&lt;strong&gt;Recommend one optional host setup operation: install a fixed set of Pigsty names and trust the lab&amp;rsquo;s public root CA certificate.&lt;/strong&gt; Keep one entry address, defaulting to &lt;code&gt;10.10.10.10&lt;/code&gt;, and reuse the same CA across ordinary lab rebuilds. With unchanged names, address and CA trust, setup is a no-op and needs no elevation. This gives the common lab a mostly one-time host integration step.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Status — 2026-11-11: proposal, not implemented.&lt;/strong&gt; This narrows the first delivery from the earlier &lt;a href="https://barn.pgsty.com/v1.5/blog/design/pigsty-host-dns/"&gt;full host-DNS design&lt;/a&gt;. General inventory extraction, dynamic node/PG/VIP publication, split DNS and a resident DNS service remain optional future work. Their implementation is not a prerequisite for this fixed profile. This review changed documentation only; it did not read a CA private key, install trust, modify system hosts or operate VMs.&lt;/p&gt;</description></item><item><title>Host DNS and domain resolution for Pigsty on Barn</title><link>https://barn.pgsty.com/v1.5/blog/design/pigsty-host-dns/</link><pubDate>Tue, 10 Nov 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/blog/design/pigsty-host-dns/</guid><description>&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Note&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;&lt;strong&gt;Scope narrowed on 2026-11-11:&lt;/strong&gt; the first delivery is now &lt;a href="https://barn.pgsty.com/v1.5/blog/design/pigsty-host-setup/"&gt;fixed core names and Pigsty CA trust&lt;/a&gt;. This page retains the broader exporter and resolver research; its general inventory and split-DNS work is optional expansion, not a prerequisite for the fixed profile.&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Recommend explicit, opt-in managed hosts publication first.&lt;/strong&gt; Pigsty computes the names and service targets; Barn previews and installs one neutral address/name snapshot through its existing helper. This is worthwhile for opening portals, addressing nodes and connecting to database or VIP names in a static Linux lab. Fixed addresses make repeated synchronization cheap: unchanged records need no privileged operation. &lt;strong&gt;Root is still required for every actual system hosts change, including removal.&lt;/strong&gt; Setup does not grant perpetual update permission, and a cached or passwordless sudo authorization eliminates a password prompt, not privilege. Keep per-command authorization; consider suffix forwarding when a stable guest DNS endpoint and a complete namespace exist. A host daemon needs demonstrated demand beyond these two options.&lt;/p&gt;</description></item><item><title>Replacing Vagrant with Barn in Pigsty: resources, names, and migration work</title><link>https://barn.pgsty.com/v1.5/blog/design/pigsty-barn-migration/</link><pubDate>Tue, 10 Nov 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/blog/design/pigsty-barn-migration/</guid><description>&lt;p&gt;Pigsty can use one inventory for Barn and Ansible. The migration needs to preserve topology selection, image matrices, resource scaling, fixed addresses, and SSH workflows while replacing the old scripts&amp;rsquo; implicit addressing, naming, and destruction behavior.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Status (2026-11-10):&lt;/strong&gt; &lt;code&gt;vm_scale&lt;/code&gt;, the 1-vCPU / 2-GiB defaults, &lt;code&gt;vm_hosts&lt;/code&gt;, &lt;code&gt;barn hosts install -f&lt;/code&gt;, and Pigsty&amp;rsquo;s &lt;code&gt;bin/sandbox-dns&lt;/code&gt; are implemented in the local working trees and have passed the offline checks below. They are unreleased. Pigsty&amp;rsquo;s Makefile still uses Vagrant; the second half of this article describes the remaining work. Released Barn 1.1.0 actually defaults to 2 vCPU / 4 GiB when parsing an inventory and does not support these additions.&lt;/p&gt;</description></item><item><title>What Barn Can Learn from Vagrant</title><link>https://barn.pgsty.com/v1.5/blog/design/vagrant-workflow-boundary/</link><pubDate>Sun, 08 Nov 2026 10:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/blog/design/vagrant-workflow-boundary/</guid><description>&lt;p&gt;Barn already creates multi-node Linux labs from Pigsty-compatible inventories, manages their lifecycle, and exposes SSH and structured output. The useful lessons from Vagrant concern what happens between creating a VM and repeating an experiment: run setup steps, move source and build artifacts, record the environment, and return to a known state.&lt;/p&gt;&#10;&lt;p&gt;This is a design proposal based on the Barn source reviewed on &lt;strong&gt;2026-11-08&lt;/strong&gt;. The priorities below are candidates for implementation, with no assigned release or delivery date. Current commands are documented in the &lt;a href="https://barn.pgsty.com/v1.5/docs/reference/cli/"&gt;CLI reference&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Why Every Barn Node Has Two NICs</title><link>https://barn.pgsty.com/v1.5/blog/design/fixed-ip-two-nics/</link><pubDate>Thu, 27 Aug 2026 20:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/blog/design/fixed-ip-two-nics/</guid><description>&lt;p&gt;This essay explains the Linux lab network architecture in Barn &lt;code&gt;1.1.0&lt;/code&gt; (&lt;a href="https://barn.pgsty.com/v1.5/docs/start/macos/"&gt;macOS guests&lt;/a&gt; use independent per-VM &lt;code&gt;vmnet&lt;/code&gt; NAT subnets).&lt;/p&gt;&#10;&lt;p&gt;A Pigsty inventory identifies every database node by a stable IPv4 address: PostgreSQL streaming replication, Patroni/etcd consensus, HAProxy backends, keepalived VIPs, Prometheus targets, and Ansible playbooks all expect &lt;code&gt;10.10.10.11&lt;/code&gt; to name the same host across boots. Forwarding a loopback port on the host can expose SSH or port &lt;code&gt;5432&lt;/code&gt; to your laptop, but peer VMs cannot form a cluster over host loopback forwards.&lt;/p&gt;</description></item><item><title>Development snapshot: the Go 1.27 product surface</title><link>https://barn.pgsty.com/v1.5/release/development-snapshot-20260824/</link><pubDate>Mon, 24 Aug 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/release/development-snapshot-20260824/</guid><description>&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Note&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;Pre-Barn historical archive (&lt;code&gt;Piglet&lt;/code&gt;, 2026-08-24). At this snapshot there was no public release tag, signed production artifact, or package repository, and all embedded image records were marked &lt;code&gt;testing&lt;/code&gt;. For current Barn behavior and support status, see the &lt;a href="https://barn.pgsty.com/v1.5/docs/"&gt;documentation&lt;/a&gt; and &lt;a href="https://barn.pgsty.com/v1.5/docs/about/status/"&gt;status page&lt;/a&gt;.&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;The 2026-08-24 source snapshot turned the initial QEMU prototype into a structured Go 1.27 VM manager with zero-configuration Quick mode, fixed-IP private labs, 13 built-in profiles, Pigsty inventory generation, persistent data disks, schema migration, and reproducible release packaging. &lt;a href="https://github.com/pgsty/barn/blob/ffdc131e878e8307157691868fe4c722df50bcba/docs/RELEASE_READINESS.md"&gt;August 24 acceptance record&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>