Category Archives: Computer geek stuff

Onsenhomes.com email problems

Well I don’t know what the problems are, with the email again, but I am going to move all the mail forwarding, and DNS stuff to NameCheap (current registrar).
The current host (pwrhost.com) is not doing any more web hosting, so there is really nothing tying me down to them anymore. (at least for that domain)

On the Namecheap control panel, all I will be doing is
– “Transfer DNS back to us” which will allow mw to change the DN S settings directly from the registrar site
– change the A record for the www prefix to 198.145.0.46
– setup the email forwarding as it used to be.

The old Name Servers were NS1.PWRHOST.COM and NS2.PWRHOST.COM

Booksmart in Linux

Followed the instructions on Leuc’s site to get version Booksmart 1.9.8 working on linux.
Got the patch.
First try was using the mac dmg file. Extracted the contents, and tried running the command that Leuc has on the site. but no luck. Then I read about the problems with 64bit java.
Meanwhile I also install the Win version on a win machine and copy the lib and resources folders, hoping that things would work. No luck again.

So after some fiddling with installing only the 32bit versions of java on a 64bit OpenSuse 11.0 machine, I got it working. Shocking! I know. I was impressed. That just means I gotta get off my ass and make the Morocco book. And the baby book.

Some notes:
When changing to 32bit version of Java 1.6, it seems to install java 1.5 also. But it installs the 64 bit version, so that then needs to be told to install the 32bit version, which in turn brings up some other dependancies. I didn’t bother with those dependancies.

Looking for ideas for a wedding photography website

– Free web design templates found here at www.oswd.com
– Photography gallery that doesn’t use flash HERE
– Site I like the look of for a wedding photography site. HERE
– Also interesting. How to make a gallery using scriptaculous. HERE
– A photographer’s website that does more then just weddings. HERE

– Decided to use SmoothGallery 2.0 for my online photograhy site . Details can be found HERE
I will use it in conjuntion with the “How to make your own gallery” php script to allow for dynamic editing (adding/deleting) of images.
– How to integrate the SmoothGallery 2.0 into a WordPress blog (will need this for my photo blog) HERE

Looking for ideas for wedding websites. Looking at this site of Karri North, found some interesting photos. Not all photos are razor sharp. I guess it’s the emotion captured that’s more important then focus?. Not all photos are buttery smooth (lots of shots with plenty of grain/noise).
Also, at first I didn’t quite like the fact that the gallery spanned a new full screen window, but after viewing 20-40 images, the large images really work.

Setting up the Brother 2070N in SuSE

I battled with this the first time I tried to install the Brother HL-2070N back when I had SuSE 10.3, and I struggled with it again with SuSE 11.0. Mind you I got it working both times, but next time should be a breeze:
– First, make sure the CUPS server is running.
– Read this link to the openprinting database.
– Then download and install both the lpr driver and CUPS wrapper from the brother website.
– The printes should be added to the CUPS server, however it is set up as a USB device. Click the Modify Printer button and select Internet Printing Protocol (http) on the second page, then on the next page, for the Device URI use http://192.168.0.80:631/ipp/port1
– That’s it. Print a test page, and it should be good. Oh, don’t forget to set the resolution to 1200.

On another note, the 2070H driver doesn’t not offer much in the way of options for the print.
Since the printer is capable of emulating HP LaserJet PCL 6, I added another Brother 2070N printer, but HP LaserJet 6 drivers.
Works great, and I have more control over the final image/print.

Backup strategy for my files

I’ve been meaning to document this in case I need to re-create the backup schedule, as well as to have a place I can quickly check to find out when what gets done.

– A DualLayer DVD backup has been made of both Music and Photos in July 2008 using software called “Backup Platinum 4.0“. It sorts out how much data it puts on each disk to fill it up without truncating data, while preserving the original directory tree. Exactly what I needed. Only downside is that it runs on windows.

Work Folder
– Nightly at 12:00 a backup (rsync cron job) of the Work folder gets done to the external usb HD.

Music folder
– Nightly at 1:00am a backup (rsync cron job) of the Music folder gets done to the external HD

Photo folder
– Nightly at 2:00am a backup (rsync cron job) of the Photo folder gets done to the external HD

More on AuFS

I tried to get AuFS working again, and finally got it running.
It looks like after each reboot I need to run #insmod /lib/modiules/2.6.25.5-1.1-xen/kernel/fs/aufs.ko
This loads the aufs mofule into the kernel?

Without it each #mount command responded with “aufs is not a known fs type” (or something like that.

NFS and XEN

It seems that running a NFS client in one of the DomU (guest OSs) results in VERY poor read/write performance.
So I’ve had to run everything over a Samba connection.
Not the prettiest solution, but I get normal read/write speeds.

This is weird, cuz this worked just fine in Suse10.3… Or did it… I never tested it, but I also never had any reason to suspect it as not working, since speeds were very decent.

Deciding how to best backup my data

Now that I’m implementing AuFS along with FlexRAID, I am debating on how to best make use of these technologies.
The way I see it, data will fall into one of these 3 categories:
– Data that is in a Raid set as well as mirrored to another drive
– Data that is in a Raid set
– Data that I don’t mind loosing. (not part of a Raid set or mirrored)

I just need to decide what data falls into what category.

IO Performance test for AuFS

Bonnie++ results from running on one of the 250gig drives.

Version 1.01d ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
xen-steel 8G 71543 63 73234 14 33611 3 73275 65 78241 0 185.4 0
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 346 0 +++++ +++ 302 0 343 0 +++++ +++ 265 0
xen-steel,8G,71543,63,73234,14,33611,3,73275,65,78241,0,185.4,0,16,346,0,+++++,+++,302,0,343,0,+++++,+++,265,0

Bonnie++ results from running on the aufs mount.
Version 1.01d ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
xen-steel 11G 67460 60 57827 13 26490 5 57663 40 60691 2 186.2 0
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 372 0 +++++ +++ 294 0 363 0 +++++ +++ 220 0
xen-steel,11G,67460,60,57827,13,26490,5,57663,40,60691,2,186.2,0,16,372,0,+++++,+++,294,0,363,0,+++++,+++,220,0

Not much difference…

Server OS upgrade?

Should I upgrade from OpenSuSE 10.3 to OpenSuSE 11.0?
Pros:
– Update AuFS (so I don’t have to compile from source)
– Possible XEN improvements (since suse11.0 user xen 3.2)
– Setup everything with Webmin to make it easily manageable from one place.

Cons:
– Takes time
– Unknown how long it will take to set up all VM’s again.