Nahum Shalman

Running SDC CoaL on SmartOS

Motivation I don't have any machines that run VMware but I do have a nice SmartOS machine. I have some SDC features I want to test. I want to test my own changes to SDC to make sure that they are safe, and I want to play with the latest sdc-docker features in a sandbox. Networking The first trick is going to be to get some appropriate network tags set up and configured in the ...

smartos

Nahum Shalman

SmartOS on SmartOS everywhere for LX brand testing

TLDR? Click here for the quick set of commands to run on your SmartOS machine to try this stuff out. Hot on the heels of my previous blog entry comes a KVM bootable image containing my latest SmartOS build with some extra tooling to make testing the latest (LX related) commits from Joyent as easy as possible. Motivation I run SmartOS on my home server. It runs a couple of VMs and a bunch of ...

smartos

Nahum Shalman

SmartOS on SmartOS in the JPC

What now? We begin with Xzibit: Okay, really, what? Log into the JPC portal Provision a CentOS 7 VM Use any package that gives you more than 1 VCPU (try "High CPU 1.75") Only give it one VNIC on the public internet (remove the usual private one) Provision it. Log in to your new VM as root. Install some extraction tools: yum -y install qemu-img bzip2 Download the SmartOS boot image and the specially ...

smartos

Nahum Shalman

The SmartOS lx brand is coming along nicely.

I can't take any credit for the actual work, but I did help in two ways: I started a wiki page to help people learn how to test it while it's under development. I set up my home machine to rebuild SmartOS regularly when there are new commits. The latter evolved over time. At first I was just blindly rebuilding 90 minutes after the previous build had completed, but now I'm using a somewhat clever ...

smartos

Nahum Shalman

Exploring epoll on SmartOS

Introduction Back in April, Joyent added an implementation of the epoll API to their downstream tree of illumos. This is interesting because it means that many otherwise portable applications that depend on this (formerly) Linux-specific API can now be built and run on SmartOS. Rather than patch every piece of software that depends on epoll to support event ports (the native API in illumos that provides a similar feature) we can simply use the unmodified ...

smartos

Nahum Shalman

Tricks With Joyent's Manta Service: Tarballs

The Use Case Let's say you're backing up a directory of files into Joyent's Manta service with Dave Eddy's manta-sync tool. You're happily backing up your files regularly, but one day you need to get the whole directory back out. You notice that "Remote => Local sync" is a possible future feature that hasn't been implemented yet. How do I get that directory of files back out of Manta? Other Options Before I get to my ...