Archive for the 'Oracle/Sun' Category

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

NetApp clonen? ;)

Was tun wenn man 3 Stück Sun StorEdge 6020 Arrays (eigentlich 6 Stück. :D ) mit je 14 Stück 146 GB Fibre Channel Festplatten hat? Eigentlich klar, die Arrays konfigurieren und an das SAN klemmen. Tja, was ist aber wenn die installierten RAID Controller einfach nur grausam in der Bedienung sind, man maximal 2 Volumes pro Disk Array erstellen kann und die Geschwindigkeit mit ZFS einfach nur lausig ist?

Dumm in die Wäsche schauen? ;)

Ich habe versucht 4 Volumes (entspricht 2 Disk Arrays und 28 Platten) in diversen Konfigurationen (verschiedene Kombinationen aus Block Size, RAID-Level, etc.) passend für ZFS zu konfigurieren. Alle Ergebnisse waren ziemlich ernüchternd und der Weg dahin langwierig und schwierig.

Keine Lust mehr….

Die neue Idee war fix geboren. Ein StorEdge 6020/6120 kann auch zum Expansion Disk Array umgebaut werden, d.h. Controller ausbauen. Das riecht doch offensichtlich nach FC-AL. Für viel Geld hab ich mir also spezielle Kabel für die HSSDC2 Anschlüsse besorgt. Doch alle Versuche das 6020 als JBOD zu nutzen sind kläglich gescheitert.

Frust macht sich breit. :-/

Lange Zeit passierte nichts mehr und es schwirrte lediglich die Idee in meinem Kopf, die 42 Platten irgendwie in ein EMC CLARiiON CXx00 zu stecken. Nur ohne aktuelle Flares schwierige Sache. Hinzu kommt die Unsicherheit ob eine EMC CLARiiON die Platten überhaupt erkennt. Meine HP EVA tut es jedenfalls nicht so recht. Sie erkennte zwar die Platten, aber verweigert dessen Nutzung! Wieder einmal keimte der Gedanke JBOD auf. Aber woher ein JBOD nehmen? Fibre Channel JBODs sind halt alles andere als gängig. Was tun?

Ins kalte Wasser springen? ;)

Nach einigen Überlegungen und Recherchen sagte mir mein Bauch, NetApp macht doch eigentlich auch nichts anderes, als das was ich im Sinn habe? Die haben schlaue Software in ihren Filer Köpfen und brauchen doch eigentlich nur dumme JBODs mit vielen schnellen Platten, oder? Nachdem ich auch noch Verkabelungspläne für einen NetApp FAS3050 entdeckte, war ich mir immer sicherer, dass das NetApp DS14 mk2 Disk Enclosure ein dummes FC-AL JBOD sein muss. Lediglich die IO Module auf der Rückseite bereiteten mir kurzfristig Bauchschmerzen. Nach einigem hin und her entschloß ich mich für das sog. ESH2 Modul. Wie ich finde, eine gute Entscheidung. ;)

DSC03277

Aus UK habe ich mir dann für einen fairen Preis ein NetApp DS14 mk2 Disk Enclosure mit 2 Stück ESH2 Modulen besorgt. Frisch angekommen, habe ich das Enclosure mit 14 Platten aus einer meiner 6020 Arrays bestückt. In die Sun Fire X4100 hab ich einen Emulex FC HBA installiert und diesen direkt mit dem IO Modul verbunden. Das Ergebnis sieht so aus:

locadm@ius002:~$ pfexec luxadm probe
Found Fibre Channel device(s):
Node WWN:500000e010731c30  Device Type:Disk device
Logical Path:/dev/rdsk/c0t500000E010731C30d0s2
Node WWN:2000000087014896  Device Type:Disk device
Logical Path:/dev/rdsk/c0t2000000087014896d0s2
Node WWN:500000e010730550  Device Type:Disk device
Logical Path:/dev/rdsk/c0t500000E010730550d0s2
Node WWN:2000000c509a551e  Device Type:Disk device
Logical Path:/dev/rdsk/c0t2000000C509A551Ed0s2
Node WWN:2000000c509a5621  Device Type:Disk device
Logical Path:/dev/rdsk/c0t2000000C509A5621d0s2
Node WWN:500000e0107325c0  Device Type:Disk device
Logical Path:/dev/rdsk/c0t500000E0107325C0d0s2
Node WWN:20000000871a4524  Device Type:Disk device
Logical Path:/dev/rdsk/c0t20000000871A4524d0s2
Node WWN:2000000c509a553f  Device Type:Disk device
Logical Path:/dev/rdsk/c0t2000000C509A553Fd0s2
Node WWN:500000e0107323e0  Device Type:Disk device
Logical Path:/dev/rdsk/c0t500000E0107323E0d0s2
Node WWN:2000000c509a4f64  Device Type:Disk device
Logical Path:/dev/rdsk/c0t2000000C509A4F64d0s2
Node WWN:500000e010730b90  Device Type:Disk device
Logical Path:/dev/rdsk/c0t500000E010730B90d0s2
Node WWN:20000000871ae23b  Device Type:Disk device
Logical Path:/dev/rdsk/c0t20000000871AE23Bd0s2
Node WWN:2000000c50860c5d  Device Type:Disk device
Logical Path:/dev/rdsk/c0t2000000C50860C5Dd0s2
Node WWN:500000e0107311b0  Device Type:Disk device
Logical Path:/dev/rdsk/c0t500000E0107311B0d0s2

Ein paar Tests belegen mir eine Schreibgeschwindigkeit von durchschnittlich 140 MByte/Sek. und eine Lesegeschwindigkeit von 210 MByte/Sek. Cool ! Es wird Zeit für 3 weitere NetApp DS14 mk2 Disk Enclosures. ;) Die neue Idee ist geboren und schimpft sich:

“NoNapp Data ONZFS”

:D :D :D

Alles weitere demnächst hier in diesem Kino. ;)