Index ¦ Archives ¦ Atom

Tomcat 6.x latency on POST

We were having some problems with HTTP POST performance from the West coast to a tomcat server farm on the East coast. None of these problems showed up locally (between two hosts in the same datacenter.) The latency between West and East coast sites is on the order of 70ms …


Pacemaker cluster on OpenIndiana

Today I finally got my NAS cluster working on the 3 OI 151a7 boxes I have set up in the lab at work for this purpose.

I took the work Mike Rowell had done on Linux-HA clustering and tweaked it a bit, and then added an OCF resource script to …


sys-fs/eudev

Looks like it's finally time to migrate to sys-fs/eudev. udev 197 was unmasked today on amd64, and I would rather not go down that path.

At least I have an alternative, so I don't have to go it alone.

I ended up having to use kmod, instead of module-init-tools …


ZFS assertion failed for SAN devices

This was frustrating:

# zpool import nas2
Assertion failed: rn->rn_nozpool == B_FALSE, file ../common/libzfs_import.c, line 1086, function zpool_open_func

Discovered that I needed to tell zpool where to look for the devices:

# zpool import -d /devices/scsi_vhci nas2

There was a time when I would have known that already, if …


Apache proxy relay OpenIndiana pkg install

Hi,

This took me a bit of time to figure out. I needed to update some OpenIndiana boxes from 151a to 151a4 and they had no direct access to the internet. I did, however, have a box that I could relay the requests through. I first figured this method out …


Basic Linux firewall

Starting on a new Gentoo box, I was putting together a new firewall setup, and I thought I'd put my hacked down firewall setup script here so I'll have something to start with next time. I used to try some of the other "higher level" tools to generate my firewall …


OpenIndiana 151a

I've been having some problems with the OpenIndiana oi_148 to oi_151a update, but only on one virtual machine in particular. Until today i've been stuck, until I thought to:

pkg set-publisher --non-sticky opensolaris.org

After that, the image-update went fine. I need to learn more of the options for pkg …


python and perl USE flag change

Today, I had to enable python and perl USE flags globally in /etc/make.conf. I guess Gentoo changed the default setting for these flags. Personally I like having the kind of built-in tools and scripts that these provide, so I turned them on. Plus, enabling these flags avoided having …


Gentoo poppler 0.16.7 build error

This is a gentoo problem I hadn't seen before:

Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-ps-converter.cc.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libopenjpeg.so.2, needed by /usr/lib/libpoppler.so.13, not found (try using -rpath or -rpath-link)
/usr/lib …

Opensolaris zone fixes

Whenever I create a zone on Solaris, I have a couple of things I always seem to have to fix beyond the usual configuration. Since I don't do it that often, I have to look them up repeatedly, so I thought I'd just put them in this post and maybe …

© Scott McClung. Built using Pelican. Theme by Giulio Fidente on github.