Archive for the 'Oracle/Sun' Category

ZFS pool with SSD ZIL (log) device shared with NFS – Performance problems!

Some times ago I bought a STEC ZeusIOPS SSD with 18GB capacity. This disks comes out from a Sun ZFS Storage 7420 system. But it’s 3.5″ large and without a server which supports 3.5″ large SAS disk drives I couldn’t test the SSD. Today I was able to test the drive on a Fujitsu Primergy RX300 S5 server. I installed five 500 GB large SATA drives and my STEC ZeusIOPS SSD. The first disk contains an OpenIndiana installation, the rpool. The remaing four SATA drives are grouped as a ZFS RAIDZ2 pool. I exported a ZFS dataset over NFS and 1 GbE to a VMware ESX system. With a Ubuntu linux virtual machine I run several benchmarks.

The results without the SSD are 75-80 MBytes/s write (850ms latency),  between 40 and 65 MBytes/s rewrite and 120 MBytes/s read performance. I did different runs with bonnie++ and iozone and achieved always similar values. During the tools did their benchmarks I watched the IO with “zfs iostat”. The write and rewrite results matched the numbers above. Reading lot’s of data from disk was not necessarry due a large enough ARC mem cache. That’s why the iostat output values was lower than 10 Mybtes/s.

Then I added the STEC SSD as log device to the ZFS pool and rerun all the tests. But I couldn’t believe the values!!! My benchmarks finished with only 45-50 MBytes/s write and 35-45 MBytes/s rewrite. Read performance didn’t changed, of course. The write latency exceeded 10000ms!!! Something went wrong but I don’t know what. I did the runs again and I watched the zfs iostat output parallel. But the output of zfs iostat throwed values always above 100 Mbytes/s. Sometimes I reached even values above 170 MBytes/s, but always more than 100 Mbytes/s. This is the maximum rate for a single 1 GbE connection! But the benchmark output was very different. They didn’t reached the results of the benchmark without the SSD. I was confused. I disabled the log device with the logbias option and set it to throughput. The benchmark result and the iostat results went back to 75-80 Mbytes/s write. I reenabled the log device with logbias=latency and I had again the benchmark result of max. 50 Mybtes/s write and big latency values but with an iostat ouput always over 100 Mbytes/s!

Something is wrong, but I don’t know what. :( Do you have an idea?

Solaris 11 manual IPv4 & IPv6 configuration

Wooow… lot’s of changes ! Today I downloaded the brand new Oracle Solaris 11 operating system and started to install it into a VirtualBox virtual machine. Automatic network configuration is a very nice feature, but I’m a “Old-School” guy and I prefer the manual configuration. ;) So I tried to setup a valid network configuration for IPv4 and IPv6. I’m running several months a dual-stack configuration at home and I’m very impressed of IPv6. That’s why a proper IPv6 configuration is very important for me, because I access all my systems over IPv6 if it’s available.

Okay, no guarantee for all following steps. But my Solaris 11 installation seems to run well with this configuration. If I did some errors, please comment. Solaris 11 has lot’s of changes!

Disable automatic network configuration:

# netadm enable -p ncp DefaultFixed

Configure a static IPv4 address and default route:

# ipadm create-ip net0
# ipadm create-addr -T static -a 10.0.2.18/24 net0/v4static
# route -p add default 192.168.100.1

Setup name services and a valid domain name:

# svccfg
svc:> select name-service/switch
svc:/system/name-service/switch> setprop config/host = astring: "files dns"
svc:/system/name-service/switch> setprop config/ipnodes = astring: "files dns"
svc:/system/name-service/switch> select name-service/switch:default
svc:/system/name-service/switch:default> refresh
svc:/system/name-service/switch:default> validate

# svccfg
svc:> select nis/domain
svc:/network/nis/domain> setprop config/domainname = "itdg.nbg"
svc:/network/nis/domain> select nis/domain:default
svc:/network/nis/domain:default> refresh
svc:/network/nis/domain:default> validate

# svccfg
svc:> select dns/client
svc:/network/dns/client> setprop config/nameserver=net_address: ( 2001:4dd0:fd4e:ff01::1 2001:4dd0:fd4e:ff02::1 )
svc:/network/dns/client> select dns/client:default
svc:/network/dns/client:default> refresh
svc:/network/dns/client:default> validate
svc:/network/dns/client:default> exit

# svcadm enable dns/client

Please note, that I configured IPv6 name server addresses! This is only possible if your DNS server has a valid IPv6 configuration.

Let’s add the important IPv6 part:

# ipadm create-addr -T addrconf net0/v6
# ipadm create-addr -T static -a 2001:4dd0:fd4e:d00f::a007 net0/v6add

The first line is needed because I don’t want to configure an IPv6 default route! This is done with my Router Advertisement daemon and Link-Local addresses.

That’s it ! My Solaris 11 installation is available thru IPv4 and IPv6. :)

Changes… Power, Oracle and IPv6

Here I am back again. ;) The last weeks I had lot’s of work, so there was only little time for my blog and private activities. But this was a big chance to turn off lot’s systems in my home lab and run only the necessary servers for my home network. I watched 2 months my power consumption and I was really scared.  Currently I’m running a HP ProCurve 3500yl switch, a HP ProLiant DL185 G5 as a file server and a HP ProLiant DL385 G5p as a VMware ESXi host server with several virtual machines, e.g. a Windows Active Directory Server, and and and… The power consumption is too heavy for home use! My power bill for 2010 was a slap in the face. I consumed 11,500 kWh and had to pay lot’s of money. :(   That’s too much! It’s time to change this circumstance.

Currently I’m working on a replacement for the two servers and the switch above. The three systems takes 450 Watt power and running them all the time effects in 3,500 kWh per year. I have to pay 23 ct per kWh and about 800 Euros for 12 months. That’s not acceptable any more! Time to turn them off.

I decided to evaluate a HP ProLiant MicroServer! Next Tuesday the server arrives at work… Meanwhile I thought about which operating system, which kind of RAID redundancy and which kind of server virtualization software I like to run on the new HP ProLiant MicroServer and the results are my change No. 2.

Everybody knows that I love Solaris and OpenSolaris/Solaris Express. But I don’t like Oracle! Since Oracle acquired Sun Microsystems, the Solaris operating system and the Sun servers are getting more and more unpopular. The last announcement that Oracle stops the Itanium support frightened me. Larry seems to going crazy… Now I’m not sure about the future of Solaris and Solaris Express, so I decided to change my file server to Linux. Windows is not an option for me. Of course Windows Home Server or the Small Business Server looks pretty cool and comfortable, but I prefer a console. ;)

My current thoughts are running CentOS 5.5 x86_64 with Ext4 support on the HP ProLiant MicroServer. I will install four 2 TB SATA disks and connect them to a HP Smart Array P212 controller with 256 MB BBWC cache and advanced license. The four disks should form a RAID-6 volume. As virtualization software I will try out the free VMware Server 2 on top of CentOS. I have lot’s of good experience with VirtualBox, but it’s an Oracle product and no more option for me.

My new home server will be connected to an 8-Port HP ProCurve E2520-8G switch and will replace the three systems mentioned above in my home lab. All these modifications will result in a power consumption less than 100 Watts and an important independence of Oracle. I can save 600 Euros per year and my system is supported for a long time, even if Larry is going entirely crazy. ;)

But there’s a change No. 3 !  The last two weeks I played with IPv6, the next generation Internet Protocol. It’s awesome!!! Currently I’m running a Linux server which is connect via an IPv6 tunnel to the Internet. I ordered my own IPv6 network prefix at www.sixxs.net and cannot wait until I can give all my systems a public IPv6 address. :) I will change my entire network, this includes my private office and my home lab, to IPv6. :)

In summary I’m changing my home network to a Green-IT solution with long term support and with the implementation of IPv6 at home, I’m ready for the future. :)

Stay tuned !

More Copyrights by Oracle. ;)

Sun Fire T1000 ALOM

Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.

Oracle Advanced Lights Out Manager CMT v1.7.10

Please login: admin
Please Enter password:

Sun Fire T1000 PROM

Sun Fire(TM) T1000, No Keyboard
Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.30.4.b, 16256 MB memory available, Serial #82952046.
Ethernet address 0:14:4f:f1:bf:6e, Host ID: 84f1bf6e.

Solaris 10 Update 9

Boot device: /pci@7c0/pci@0/pci@8/scsi@2/disk@0,0:a  File and args:
SunOS Release 5.10 Version Generic_142909-17 64-bit
Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved.
Hostname: ius094
Reading ZFS config: done.
Mounting ZFS filesystems: (6/6)

ius094 console login:

Copyright Oracle !

After the firmware upgrade of my Sun Fire V480 servers I see this banner!!! Unbelievable… :-?

Sun Fire 480R, No Keyboard
Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.30.4.c, 8192 MB memory installed, Serial #53267212.
Ethernet address 0:3:ba:2c:cb:c, Host ID: 832ccb0c

Everything is Oracle now… even my old Sun Fires… :-(

Where’s the “zil_disable” tunable?

A little reminder for me. ;) Since Oracle Solaris 11 Express you can set the zil_disable tunable with the zfs set sync option.

Disable ZIL:

# zfs set sync=disabled demopool/test

Enable ZIL:

# zfs set sync=always demopool/test

Hot-swap trays for my HP DL185 storage server

Today my hard disk hot-swap trays arrived. :) Yippiieee… time to complete my storage server. The new hot-swap trays had no labels, so I created them myself. It looks pretty nice!

Next step is getting some more disks and a suitable rackmount-kit. My private datacenter grows and grows. :)

Veränderungen !

So,

hat sich ein bisschen was getan in der letzten Zeit. ;)

Black is beautyfull. :D

Mein DL320s wurde nun endlich durch einen HP DL185 G5 Server ersetzt. Neben dem das dieser Server Solaris und OpenSolaris supported, ist er auch schwarz. ;) So wie alle neuen Systeme von HP. Macht sich meiner Meinung sehr gut zu meinem BladeSystem. ;)

hp_black_1

Silver is nice, too ! :D :D

Tja, was soll ich sagen, mein neuer “Desktop” ist silber und sehr leise. ;) Nach langen Tests hab ich mich nun dazu durchgerungen eine VDI Umgebung zu meinem Arbeitsplatz zu Hause zu machen. :) Ich bin restlos begeistert. Neben Oracle VDI und VirtualBox arbeite ich derzeit auch in einer VMware vCenter und View Umgebung und geniese voll und ganz den Komfort einer sehr flexiblen Desktop Umgebung. ;) Meinen PC werde ich nach der Datensicherung an meine Freundin übergeben. ;) Sowas brauche ich nicht mehr. :D

sun_ray_1

In memorial to Sun Microsystems

Meine Begeisterung für IT Infrastruktur hat vor langer Zeit mit Geräten von Sun Microsystems begonnen. Nachdem ich lange mit einer Blade 1000 experimentiert habe, gesellten sich schnell eine Sun Fire V240, V210 und eine E3800 dazu. Doch dann kam HP. Von diesem Zeitpunkt an konzentrierte ich mich zunehmend auf HP Storage und Blade Systeme. Nichts desto trotz hab ich weiterhin für Server von Sun geschwärmt.

Nachdem nun Oracle Sun übernommen hat und das Portfolio zunehmend auf seine Anforderungen zurecht schneidet, wird mir und sicherlich vielen anderen Menschen auf der Welt bewusst, dass Sun nun der Geschichte angehört. Darum habe ich ein neues Projekt in meinem Keller gestartet.

Um die schönen Zeiten mit Sun Microsystem nicht zu vergessen, starte ich nun eine kleine und feine Sammlung an Systemen von Sun! Schwerpunkt sind die Geräte nach der Jahrtausendwende. D.h. alles was lila ist !

Heute hat eine Sun Fire V480 (eigentlich zwei, aber eine ist kaputt!) in meinen Keller Platz gefunden und darf zusammen mit meinen Sun StorEDGE 6120 Arrays einen Datenbank Cluster bilden. Installiert wird Solaris 8 und voraussichtlich ein klassischer Oracle RAC. ;)

In Aussicht stehen jede Menge weitere lila Kisten, u.a. V120, V210, V490, V880 etc. Und mit etwas Glück ersteigere ich vielleicht auch mal ein passendes Rack dazu.

Früher war nun mal alles besser. ;) Ich glaub ich werd alt. *ggggg*

v480_and_storage

ADMIN Magazin 03/2010

Im aktuellen ADMIN Magazin 03/2010 (www.admin-magazin.de) gibt es einen Artikel zu OpenSolaris COMSTAR von mir. Viel Spaß beim lesen. :)

admin-magazin