Author: SUNWfrk

Upgrading an XSCF on a restricted network

by SUNWfrk Published on: March 31, 2011
Comments: 1 Comment
Tags: ,
Categories:Oracle, Solaris

I found myself in a situation today where I wasn’t able to upgrade the XSCF firmware on our new Oracle Enterprise M5000 unless I drove to the datacenter with a USB key. The network on our XSCF is very restricted, we can only SSH to it and the XSCF itself can not initiate any connection over that network. To upgrade an XSCF you can use HTTPS (ports blocked by firewall) or the XSCF can download the firmware over ftp, http or https but as I mentioned, the XSCF itself cannot access anything. so I tried to ftp over the DSCP network but there I ran against the same issue -> only traffic allowed from the domains to the XSCF and not the other way arround. So it was getting me mad and I figured a way around it:

1) upload your firmware to a domain into let’s say /var/tmp/xscf-firmware

2) go to /var/tmp/xscf-firmware and type:

python -m SimpleHTTPServer 8080

3) open another terminal and login to the XSCF over the DSCP network:

ssh -l xscfuser -R 8080:localhost:8080 `/usr/platform/SUNW,SPARC-Enterprise/sbin/prtdscp -s`

4) now just download your firmware:

XSCF> getflashimage http://localhost:8080/FFXCP1101.tar.gz

You should see the following in your terminal where you started the python webserver:

localhost – - [31/Mar/2011 11:50:03] “GET /FFXCP1101.tar.gz HTTP/1.1″ 200 -

PS: now you just downloaded the firmware, please read the documentation how to apply it.

Self made home NAS power measurements

by SUNWfrk Published on: March 27, 2011
Comments: No Comments
Tags: , , ,
Categories:General IT stuff

I promised to publish some power measurements of my self made home NAS, so… here they are!

The CPU cores only seems to support the C1 state (loved to use C3 or C6..) for the rest I’m using powerd to throttle the frequency and ‘atacontrol spindown’ for the disks.

When the system is idle and the data disk are spun down:

Nas IdleWhen all 4 threads (it’s a dual core ATOM with HT) on the system are in use:

NAS CPU loadWhen all 4 threads are in use and a benchmarks is running on the data disks:

NAS CPU and DISKS

If you are wondering which components I used then take a look at my first NAS post

Disk performance benchmarks can be found here

Solaris 11 Introduction Video

by SUNWfrk Published on: March 21, 2011
Comments: No Comments
Tags: No Tags
Categories:Oracle, Solaris

Hi,

Milek posted a nice introduction video about Solaris 11.
check it out at his site!

Self made home NAS I/O benchmarks

by SUNWfrk Published on: February 28, 2011
Comments: 3 Comments
Tags: , , ,
Categories:General IT stuff

As requested by some, these are some graphs of the benchmarks I’ve run on my home NAS. Bear in mind that I didn’t made this NAS for screaming performance. It just had to stream movies, pictures but also keep them save and this with ‘green’ in the back of my mind.

for the setup of the machine, check my previous blog post.

 

Bonnie benchmark on a ZFS mirror with compression disabled

 

Bonnie benchmark on a ZFS mirror with compression enabled (LZJB)

 

Conclusion: I think this is a fair performance for home use, even if you think that the drives I use are optimized for reduced power (‘green’) usage and are running at 5200rpm. Also compression seems to improve disk I/O as it needs less data to be send/read to the disks but will use more CPU and thus.. also more power..

Next UP: power measurements.

Self made home NAS with ZFS

by SUNWfrk Published on: February 22, 2011
Comments: No Comments
Tags: , , , , , , ,
Categories:General IT stuff

Yes, this is yet another self-made NAS post.. But when I was searching for information I had the feeling it was either with OpenSolaris/Solaris Express and ZFS or with Linux and some LVM. Some even dare to use btrfs which in my opinion is still in heavy development and not near stable. I’m not such a big fan of Solaris Express or btrfs for home use. I do like Linux or FreeBSD and ZFS. So it was clear for me, it would be FreeBSD with ZFS because of the native support for this FS.

Before I had this NAS I had 2 USB disk with ZFS in mirror attached to an OpenSolaris laptop but believe me, this is not an ideal setup, it worked but after one year of non stop operation scrubs constantly found data inconsistencies. Even after opening the USB cases and attaching the drives directly with a SATA cable ZFS was reporting errors. So, buy some new drives! (they’re really not so expensive)

So I ordered the following things.

1x SuperMicro X7SPA-H Atom D510 Mainboard, Retail
1x Lian Li PC-Q08 Black, No power supply
2x Kingston KTH-ZD8000B/2G 2 GB, PC5300, 667 MHz
1x Seasonic M12II-520 Modular, Bronze 520 Watt, 20+24 Pins
1x Lite-On LiteOn IHAS324 Serial ATA, Retail, Black
2x Western Digital Caviar 1,5TB WD15EARS-22Z5B1

Home NAS

Since it’s a home NAS I didn’t needed Enterprise grade performance but a low powered multifunctional device where I had the freedom to install what I want on it (that rules out Qnap, Synology..)

Some downsides of my configuration:

no graphic support in FreeBSD because of lacking GEM support (seems they’re working on it.)
no ECC memory, ECC memory is not supported on current ATOM boards. (this is also not offered by qnap or other home NAS builders)

Who does sudo report these “incidents” to?

by SUNWfrk Published on: December 30, 2010
Comments: No Comments
Tags: , , , , ,
Categories:Funny

Another nice one from xkcd which a colleague of mine brought to my attention:

iTunes; accept incoming connections?

by SUNWfrk Published on: November 27, 2010
Comments: No Comments
Tags: No Tags
Categories:Apple

Every time I started iTunes I got the question window if I wanted to allow iTunes to accept incoming connections..
I searched a while and stumbled upon this post where I saw that it was not an isolated case.
At the end of the page I found the solution.

Type this in Terminal to verify that iTunes is installed correctly:

Legolas:~ sunwfrk$ codesign -v /Applications/iTunes.app
/Applications/iTunes.app: a sealed resource is missing or invalid
That response says enough so after downloading and reinstalling iTunes the message was gone.
page 1 of 5»
Disclaimer
The opinions expressed on this site are my own personal opinions and do not represent my employer's view in anyway.
SUNWfrk

Welcome , today is Thursday, February 23, 2012