"That which is overdesigned, too highly specific, anticipates outcome; the anticipation of outcome guarantees, if not failure, the absence of grace."
-- William Gibson, All Tomorrow's Parties
March 1, 2007
March 14, 2007

So as part of freeing up some rackspace at work, I'm throwing a bunch of systems into Solaris Zones. However, some of these systems, while not "mission critical" are pretty important and their IP addresses really shouldn't change (DNS propagation lag would suck).

So my Solaris Zones box is sitting on one our subnets at the colo, the one with the most free addresses. Two of these other systems, however, are on another subnet. There's no good way to currently add a default route for a local zone when the global zone is not also part of that network. I could either waste an IP in that subnet (which I don't want to do), or follow this suggestion and ghetto-hack around it:


[root@chironex]:[~]# cat /etc/hostname.nge0\:99
0.0.0.0
[root@chironex]:[~]# ifconfig nge0:99 plumb up
[root@chironex]:[~]# ifconfig -a
nge0:99: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 0.0.0.0 netmask ff000000
[root@chironex]:[~]# zonecfg -z ircd info
zonename: ircd
zonepath: /export/zones/ircd
autoboot: true
pool:
limitpriv:
fs:
dir: /opt
special: /opt
raw not specified
type: lofs
options: [ro,nodevices]
net:
address: A.B.C.D
physical: nge0
[root@chironex]:[~]# ifconfig nge0:99 A.B.C.D netmask A.B.C.248
[root@chironex]:[~]# route add default 1.2.3.4
add net default: gateway 1.2.3.4
[root@chironex]:[~]# ifconfig nge0:99 0.0.0.0 netmask 255.0.0.0
[root@chironex]:[~]# zoneadm -z ircd boot
[root@chironex]:[~]# ifconfig -a
nge0:5: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
zone ircd
inet A.B.C.D netmask fffffff8 broadcast 1.2.3.5

Works just fine, though.

(If it came down to some network-contention problems, I could pull the same trick on bge0, another physical device in the system... but it won't.)

6:48 PM | Systems Administration
March 15, 2007

< bda> I hate MySQL.
< confound> it crashed?
< confound> it crashed at 8:55
< confound> no idea why it was restarted at 9:55.
< bda> I don't think there are any scripts that know supervise.
< confound> I'm sure it wasn't that
< confound> it looks crash-related
< confound> it may even have been another crash at 9:55. it's hard to tell
< bda> Yeah, that looks likely. Or at least it came back up enough to be replicating.
< bda> (at 0855)
< bda> "You trust your data to that pile of junk? You're braver than I thought."
< bda> Sometimes MySQL can't make the jump to lightspeed, and you have to find a princess to get out and push...

10:23 AM | Systems Administration
March 16, 2007
March 17, 2007

Picked up off osnews. Yeah, I should know better. I might catch something.

Solaris 10 11/06 (Update 3) Review

Solaris Express is coming along; and for those who do want bleeding edge, ultra-super-duper features, then Solaris probably isn't your best bet, then again, assuming you're into that stuff, you'd be better catered for by the likes of Gentoo for example - for those of us who would prefer to have stability above features, then give Solaris a go and if you can make a contribution to Solaris by way of code contributions, then by all means do so.

Recommending Gentoo over Solaris.

Gentoo.

To stay in context, though, he is talking about the desktop market. So why did he review Solaris 10? Why not Nexenta, which is geared to for exactly that?

And Gentoo. Instead of say... Ubuntu.

Also, Solaris lacking features that Linux has? That's a bloody joke and a half:

Whatever.

There was this noise a minute ago? Weird wooshing sound? Right over someone's head.

This has been your monthly blog rant against some other blog post some blogging guy somewhere wrote about something.

1:23 PM | Systems Administration
March 21, 2007

* kitten sighs.
<kitten> Well, I'm a fucking idiot.
<bda> Eh?
<kitten> You know the guitarist Slash?
<bda> The guy with the hair and the top hat from Guns 'n Roses?
<kitten> Yeah.
<kitten> One of the greatest guitar players ever?
<bda> Yeah, we hang out all the time.
<kitten> Well, I really like him.
<bda> I could tell him for you.
<kitten> So, I watch a few GNR videos on youtube.
<bda> Tell you what, I'll slip him a note during home room.
<kitten> And then I think I'd like to see some of his solo stuff.
<kitten> So my dumb ass types "slash" into the search box.
<bda> ...
<kitten> And unleashed unspeakable horror!
<bda> You lose.
<kitten> I really do.

4:00 AM | irk
March 31, 2007