fad languages


Fad languages, last it was ruby (and rails) and now it’s erlang, previously it was python, and before that was java – each here to save the world and provide world peace – ok, so perhaps not the last one.

I like the idea of rails, the language is pretty nice too – but my goodness it’s slow – and i used to think java was bad (well it was – for totally different reasons). Interesting notes about the java community wanting closures, though it did take me a while to remember what they are! Though I never truly did grok the usage of lambda closures; which is probably a good thing really.

Ah, LPC – definitely the easiest way to learn an object orientated language – certainly makes things a lot more concrete for understanding – didn’t like C++ for probably the same reason – despite it being probably a little cleaner to use. Heh, be interesting to see what the next fad is —

balloons everywhere

Well we were sitting down eating pizza, and watching the kids down below “loosing” their balloons, after an hour or so there was a pretty large collection of them sitting around the roof. Now question is whether someone went up there to bring them down, or did they just wait a few days for the helium to leak out?

Unfortunately, only had my phone with me – so not as nice a picture as it could’ve been – still, and interesting view.

helping hands with puppets

Will have to have a good look at [http://puppet.reductivelabs.com/ puppet], looks like a re-invention of cfengine, just using ruby instead (which is a good thing). Some of the recipes look really useful, though might have to write a few for solaris zfs/zones etc.

Just a big shame that the trac pages look so very broken within the theme (does kind of put you off)

Zones

Configure the zone you want, this is just a basic configuration (suited to a name server – that inherits the global zones /var/named)


# zonecfg -z solzone
solzone: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:solzone> create
zonecfg:solzone> set zonepath=/u01/zones/solzone
zonecfg:solzone> set autoboot=true
zonecfg:solzone> add net
zonecfg:solzone:net> set address=10.10.10.20/24
zonecfg:solzone:net> set physical=bge0 zonecfg:solzone:net> end
zonecfg:solzone> add fs
zonecfg:solzone:fs> set type=lofs
zonecfg:solzone:fs> set special=/u01/zonedata/solzone
zonecfg:solzone:fs> set dir=/u01
zonecfg:solzone:fs> end
zonecfg:solzone> add inherit-pkg-dir
zonecfg:solzone:inherit-pkg-dir> set dir=/var/named
zonecfg:solzone:inherit-pkg-dir> end
zonecfg:solzone> add attr
zonecfg:solzone:attr> set name=comment
zonecfg:solzone:attr> set type=string
zonecfg:solzone:attr> set value="test solaris zone"
zonecfg:solzone:attr> end
zonecfg:solzone> verify
zonecfg:solzone> commit
zonecfg:solzone> exit

And now install and boot the zone


# zoneadm -z solzone install
# zoneadm -z solzone boot

db2 gotcha on solaris 10

Hmm, nice little error when trying to start db2 on solaris 10, stating that it was unable to start up the database and i should check my SHM settings!

Arrgh!

prctl reported correct project settings, so tried truss:-

# truss -f db2start
truss: cannot trace set-id or unreadable object file: db2start

Cue alarm bells, proven by trusty “ls”:


-rwsr-xr-x 1 root root 238584 Jul 10 12:28 db2start

Add root to the user.db2inst1 project with a quick projmod -a -U root user.db2inst1 and try again.

blogs.sun.com posts to follow up on

Lots of interesting posts on sun.com (and lots of pointers to things that aren’t so interesting :) – but really need to follow up on the following:-

http://blogs.sun.com/chrisg/entry/where_are_all_the_log

http://blogs.sun.com/taylor22/entry/configuring_jumbo_frames_on_the

http://blogs.sun.com/damico/entry/the_death_of_usr_ccs

http://blogs.sun.com/ahl/entry/iscsi_dtrace_provider_and_other

http://blogs.sun.com/marks/entry/zfs_delegated_administration

http://blogs.sun.com/avalon/entry/nevada_solaris_10_update_4