søndag sep 13, 2009

The End Of The Line

All things come to an end. After 8 years in Sun (and ClustRa) Trondheim department, it is time to move on. It has been eight great years, and I have learned a lot.

It's also great to see one of the first things I started working on at Sun, the JET testing framework, now finally has become open sourced. If you are interested in a testing framework that can scale to many machines, go check it out.

If you wish to continue following me in the blogging world, you can do that on my blog at Wordpress.com

To all I have met during the Sun years, thanks for all the good time, hope to see you again, and hope to see more great Sun technology in the future.

torsdag mai 21, 2009

Summer Breeze

With the summer here, it is time to give a short update on what's the most exiting in Sun and MySQL land the last months from my perspective. New version and products out:

New products just around the corner: And with that, I will be on paternal leave for the rest of the summer, so happy summer!

mandag feb 16, 2009

Wake Up And Smell The Coffee

For some years now we have been attending ITDagen at the NTNU University in Trondheim. We have one of the more popular stands, as we are serving coffee for morning tired students. So after serving Java cups of coffee, we could talk Sun stuff with the students. Some highlights are:

  • Talking MySQL
  • Many students were very interested in summer jobs
  • Talking about our new TrOSUG, Trondheim OpenSolaris User Group.
  • Showing some VirtualBox usages.
  • Demoing the Sun Spots.
The Air Guitar demo for the Sun Spots are quite amusing, so here is a youtube video:




Btw, here is the source code for it.

tirsdag des 23, 2008

The River

In Norway we have the tradition of going with the company out to eat and drink before christmas, an event called "julebord". It is a bit formal dinner, but there is also possible to make some fun. So this year we made some new lyrics to a well-known song, and performed it a this event. And here is the lyrics:

We came from down in the city where we are coding strong
They bring us up to fix, all the bugs they've done
We and Mysql we met in Orlando, it was around seventeen
They cashed out of their wallet mister Schwartz and mister Green

We got into My sequel, singing helan går
ooh into My sequel we're dragged

Then we got My sequel compliant, and man how much code we read
And for my nineteenth checkout, i got bazaar to give me code
We went down to Riga, and Postgres was put to rest
no Jet and Jag no Honeycomb store no Testtool no HADB

We went down to the old town, and into the nearest bar
ooh down to the old town, tired of bazaar

We got a job working, constructing Sun software technology
But lately there ain't been much sales, on account of the economy
Now all that's getting so important, Well there are releases right a head
Now we act like we can deliver, and others blog what they dont like

But I remember us caching with the Memcache-d, searching Opengrok using Java DB
And on them channels I'd stay awake
And pull the code and some ugly patch we make
Now those memory bugs they haunt me, they haunt me like a curse
Is the flag here set, and it isn't true, Or is it something worse?

that sends me down to the debug, and into the bugs we dive
ooh under the table tonight
Thrown to the umem, my corefile and I
oooh down in the worklogs we dive.

And with that, happy holidays!

fredag des 12, 2008

Rock'n'Roll Dream

Not only did the good old bands like AC/DC, Metallica and Judas Priest deliver some great “comeback” albums during the year, but I'm quite proud of what has been delivered at Sun as well. Here is some of my favourites from the last month:

And of course a bunch of other stuff, like Glassfish, VirtualBox, the new 7000 servers (Amber Road) and a lot other record-breaking servers A great year, and next year will be better!

fredag aug 15, 2008

No Rest For The Wicked

The wicked fast open source code browser OpenGrok has been updated like crazy lately. First of all the team of Trond, Jorgen, and Knut has set up a Hudson at the famous Norbye site, and fixed a lot of bugs and style for OpenGrok. Myself have made some contribution by adding the ability to run OpenGrok as a JMX agent, and also a TrayIcon based client to connect to it, and by the way adding some bugs as well ;)

To start using the JMX agent, you currently have to check out the source code, but hopefully it will be available soon in the 0.7 release.

Here is a short howto...first you have to set up opengrok and create a configuration file, then start the agent:

java -cp opengrok.jar org.opensolaris.opengrok.management.OGAgent
The agent will now start running indexing, by default every 2 mins. By starting the system tray client as well:
java -cp opengrok.jar org.opensolaris.opengrok.management.client.OpengrokTrayApp
An OG icon will show up in your system tray, where it will mainly be black when everything is ok, red if you are not connected to the agent, and yellow if the opengrok source repository has been updated. Right click to change settings if needed to connect, and if yellow click notifications to see what files have been updated in the indexing of opengrok.

This is just a first implemented task for the client-agent app, we hope to add more features shortly

mandag jun 16, 2008

Delivering The Goods

Mysql Connector/J (5.1.5, JDBC Driver) is delivered to the OpenSolaris source as part of the Webstack project, and should show up in build 92. The JDBC driver will be located at

/usr/mysql/connectors/jdbc/5.1
So check out OpenSolaris at build 92 ;)

tirsdag jun 10, 2008

Rock Hard, Ride Free

Got back from a looong holiday yesterday, which ended with a very good concert with Judas Priest. Here you can watch a video from the concert. As they are one of my musical favorites from ...eh ... 25 years ago, it was great to see them still rocking :)

tirsdag mai 06, 2008

Cluster One

Check out the new OpenSolaris page and download the new OpenSolaris binary distribution.

You can easily download the integrated MySQL packages by using the Package Manager GUI or simply

pkg install SUNWmysql5

As part of the MySQL packages the MySQL Cluster (NDB) storage engine and management binaries are included. You can use the general documentation available at MySQL.comfor setting up a Cluster . Then you should be ready for high availability MySQL.

mandag apr 28, 2008

Easy Living

New version (10.4.1) of JavaDB is out. Added features are asynchronous replication, table functions and JMX monitoring of the DB instance. Performance enhancements and some additional features, check it out here

tirsdag mar 25, 2008

When I'm Sixty Four

64 bit MySQL (5.0) is now integrated into OpenSolaris. It will be available in build 87. 64 bit should work with 32 bit generated data-files and vice versa, although MySQL recommends you to do a full dump and reload, at least in production. To enable the 64 bit server in SMF do:

% svcadm disable mysql:version_50
% svccfg                                               
svc:> select mysql:version_50
svc:/application/database/mysql:version_50> setprop mysql/enable_64bit=true
svc:/application/database/mysql:version_50> quit
% svcadm refresh mysql:version_50
% svcadm enable mysql:version_50
Also check out the latest Netbeans 6.1 beta with integrated MySQL support.

fredag feb 15, 2008

Let's Get It Up

Some tips around MySQL and SMF on OpenSolaris. You can enable the MySQL server by starting it through svcadm

% svcadm enable mysql
Although for current builds since the integration on build 79, you need to do this manual stuff first:
% su -
% cd /var
% mkdir mysql
% /usr/sbin/groupadd mysql
% /usr/sbin/useradd -g mysql -d /var/mysql mysql
% chown mysql:mysql mysql

So if your MySQL service is going into maintenance:
% svcs | grep mysql
maintenance    11:03:45 svc:/application/database/mysql:version_50
You could find out more what happened by doing:
% svcs -x
svc:/application/database/mysql:version_50 (MySQL RDBMS)
 State: maintenance since February 15, 2008  2:25:49 PM CET
Reason: Restarting too quickly.
   See: http://sun.com/msg/SMF-8000-L5
   See: MySQL 5.0.45(1)
   See: http://dev.mysql.com/docs
   See: /var/svc/log/application-database-mysql:version_50.log
Impact: This service is not running.
This will lead you to the above log-file, where you could get some useful information.

Another tip is that you can change where your datafiles should be, by doing:

% svcadm disable mysql:version_50
% svccfg                                               
svc:> select mysql:version_50
svc:/application/database/mysql:version_50> setprop mysql/data=/export/home/tmp/mysql/data
svc:/application/database/mysql:version_50> quit
% svcadm refresh mysql:version_50
% svcadm enable mysql:version_50
Remember that the directory specified need to be owned by mysql user and group!

Also you can read more about the MySQL integration and SMF at Ritu's blog

mandag feb 11, 2008

Have A Drink On Me

Today I have been at a student day at the Trondheim university, NTNU called ITDagen. The Sun place draw a lot of attention, mostly because we were giving away coffee, but also we were lucky to demo the cool Sun SPOTs.

We also gave away the new Solaris Developer Express 01/08 DVD and a lot of them was really interested. This release also includes the Webstack, so hopefully we can get some users there :)

A lot of students had a lot of interest in Sun technologies, and specially we tried to convince them to use NetBeans instead of certain other products they were using..

mandag feb 04, 2008

Get It Hot

PostgreSQL version 8.3 has been released today. You can find the Solaris bits here. Among new features is the Heap Only Tuple (HOT), which should give substantial throughput improvements.

søndag feb 03, 2008

The Sign

Time to present more bands featuring friends. Watt is also a rock'n'roll band based in Trondheim. Their first album Those Days came last year, and we are hoping for new stuff this year.