<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Lights and Shapes</title>
		<link>https://lightsandshapes.com/</link>
		<description>Recent content on Lights and Shapes</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sun, 13 Aug 2023 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://lightsandshapes.com/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Process contracts with Rust</title>
				<link>https://lightsandshapes.com/posts/process-contracts-with-rust/</link>
				<pubDate>Sun, 13 Aug 2023 00:00:00 +0000</pubDate>
				<guid>https://lightsandshapes.com/posts/process-contracts-with-rust/</guid>
				<description>&lt;p&gt;&lt;img src=&#34;https://lightsandshapes.com/images/rust-contracts.png&#34; alt=&#34;ferris and an illumos contract&#34;&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;setting-the-stage&#34;&gt;Setting the stage&lt;/h3&gt;&#xA;&lt;p&gt;I recently had a FaceTime call with my friend &lt;a href=&#34;https://daveeddy.com&#34;&gt;Dave&lt;/a&gt;&#xA;discussing technical topics &amp;ndash; as we often do. This conversation in particular&#xA;was about Dave&amp;rsquo;s desire to write some new Rust software to manage &lt;a href=&#34;https://illumos.org/man/7/smf&#34;&gt;SMF&lt;/a&gt;&#xA;services on his home server. The question at hand was, &amp;ldquo;how can we reliably&#xA;determine if a service has processes associated with it or not&amp;rdquo;. The service&#xA;management facility (SMF) in illumos provides a property called&#xA;&lt;code&gt;startd/duration&lt;/code&gt;. This property can be set to a few options, but the default is&#xA;&lt;em&gt;contract&lt;/em&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Tailscale on OmniOS</title>
				<link>https://lightsandshapes.com/posts/tailscale-on-omnios/</link>
				<pubDate>Fri, 04 Aug 2023 19:14:45 -0400</pubDate>
				<guid>https://lightsandshapes.com/posts/tailscale-on-omnios/</guid>
				<description>&lt;p&gt;&lt;img src=&#34;https://lightsandshapes.com/images/tailscale-omnios.png&#34; alt=&#34;tailscale + omnios&#34;&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Tailscale: Secure remote access to shared resources&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h3 id=&#34;background&#34;&gt;Background&lt;/h3&gt;&#xA;&lt;p&gt;It turns out that I have a lot of technical content that lives in various gists,&#xA;note taking apps, and local markdown files. There are a variety of technical&#xA;how-tos, debugging sessions, and subject matter deep dives that I would like to&#xA;start posting here. Recently I have redeployed my off-site backup server at my&#xA;friends house. One of the crucial pieces of technology that I am leveraging in&#xA;that project is &lt;a href=&#34;https://tailscale.com&#34;&gt;tailscale&lt;/a&gt;, so I figured it would make a nice first post. I&#xA;am going to focus primarily on setting up tailscale in an &lt;a href=&#34;https://omnios.org&#34;&gt;OmniOS&lt;/a&gt; zone.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Plex on SmartOS</title>
				<link>https://lightsandshapes.com/posts/plex-on-smartos/</link>
				<pubDate>Sat, 04 Apr 2015 00:00:00 +0000</pubDate>
				<guid>https://lightsandshapes.com/posts/plex-on-smartos/</guid>
				<description>&lt;blockquote&gt;&#xA;&lt;p&gt;Running Plex securely on top of ZFS through the magic of lx branded zones and SmartOS.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;The nice folks at &lt;a href=&#34;https://plex.tv/features&#34;&gt;Plex&lt;/a&gt; recently released a version&#xA;of &lt;a href=&#34;https://plex.tv/downloads&#34;&gt;Plex Media Server&lt;/a&gt; for SmartOS and other illumos&#xA;variants.  Actually, half of that statement is a lie.  While the folks over at&#xA;Plex are nice, they didn&amp;rsquo;t actually release a version of Plex for the illumos&#xA;family.  Some of you may be thinking  whats the point of this blog post?  Well&#xA;I am here to tell you that Plex does indeed run on top of SmartOS. &amp;ldquo;How?&amp;rdquo;, you&#xA;may ask.  The answer to that is &lt;em&gt;lx branded zones&lt;/em&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Sanity Checking with the pid Provider</title>
				<link>https://lightsandshapes.com/posts/sanity-checking-with-the-pidprovider/</link>
				<pubDate>Mon, 28 Jan 2013 00:00:00 +0000</pubDate>
				<guid>https://lightsandshapes.com/posts/sanity-checking-with-the-pidprovider/</guid>
				<description>&lt;blockquote&gt;&#xA;&lt;p&gt;I am not crazy right?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;It has been a while since I posted an entry, so I thought I would type up a&#xA;short post on some fun with the DTrace &lt;a href=&#34;https://illumos.org/books/dtrace/chp-pid.html#chp-pid&#34;&gt;pid&#xA;Provider&lt;/a&gt;. I was recently working with&#xA;&lt;a href=&#34;https://github.com/bumptech/stud&#34;&gt;stud&lt;/a&gt; on &lt;a href=&#34;http://smartos.org/&#34;&gt;SmartOS&lt;/a&gt; and&#xA;I wanted to send the logs off to the syslog facility &lt;em&gt;local4&lt;/em&gt;. So I modified &lt;em&gt;/etc/syslog.conf&lt;/em&gt; with the following.&lt;/p&gt;&#xA;&lt;div class=&#34;filename&#34;&gt;&lt;div&gt;/etc/syslog.conf&lt;/div&gt;&lt;/div&gt;&#xA;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;local4.* /var/log/stud.log&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then I simply ran &lt;code&gt;svcadm restart system-log&lt;/code&gt; and fired up stud. Running &lt;code&gt;tail -f /var/log/stud.log&lt;/code&gt; seemed to reveal that nothing was being logged. My first&#xA;thought was that I did not end the file with a new line.  Checking the config&#xA;again I made sure that I had the new line at the end. (Older syslog on unix&#xA;cares about formatting).&lt;/p&gt;</description>
			</item>
			<item>
				<title>Splunk Performance on SmartOS</title>
				<link>https://lightsandshapes.com/posts/splunk-woes/</link>
				<pubDate>Thu, 19 Jul 2012 00:00:00 +0000</pubDate>
				<guid>https://lightsandshapes.com/posts/splunk-woes/</guid>
				<description>&lt;blockquote&gt;&#xA;&lt;p&gt;Debugging splunk performance issues in a live environment.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Since joining &lt;a href=&#34;http://voxer.com&#34;&gt;Voxer&lt;/a&gt; to do performance engineering, I have also become the owner of our splunk instances.  We rely on splunk heavily to monitor our infrastructure just as most companies do.  It is an important tool especially while doing a code push to production.  Splunk gives us observability into how our application is performing without having a million &lt;code&gt;tail -f /path/to/a.log&lt;/code&gt; windows open. Splunk also makes it easy to correlate the data between the different types of logs we have.&lt;/p&gt;</description>
			</item>
			<item>
				<title>About</title>
				<link>https://lightsandshapes.com/about/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://lightsandshapes.com/about/</guid>
				<description></description>
			</item>
	</channel>
</rss>
