FC6, iSCSI + Oracle RAC and 23C3 — new stuff for the cold days

Wuff, the year 2006 nearly finished with the speed of light. But there is still one month left with a lot of new stuff to check out.

Last week I upgraded my notebook from Fedora Core 5 to Fedora Core 6. Hey! Everything worked without a problem. Just the usual update of the fedora-release-6-4.noarch.rpm package followed by yum upgrade and I am on FC6…

There are two new OTN articles about iSCSI and Oracle RAC. The first one „Setting Up an Inexpensive iSCSI Linux Cluster Using SLES10 and OCFS2“ is from Mark Fasheh and Todd Trichler. The Paper is quite short and only describes how to get the storage part working. This article is also included in the „How-To’s“ section on the „Download OTN’s Greatest Hits CD“. The second article „Build Your Own Oracle RAC 10g Release 2 Cluster on Linux and iSCSI“ from Jeffrey Hunter includes an complete work through from OS installation to the RAC setup.

Finally the „Fahrplan“/Agenda of the 23C3 conference in Berlin got released too. That is definitely something you should check out…

Solaris 11 – sshd and iSCSI Initiator

I just installed the latest Solaris Express Release into an VMware Virtual Machine. For the installation I used the „reduced network Cluster“.

-bash-3.00$ cat /var/sadm/system/admin/CLUSTER

To get the SSH Daemon working I used the following commands:

-bash-3.00# mount -F hsfs /dev/dsk/c1t0d0p0 /mnt
-bash-3.00# cd /mnt/Solaris_11/Product/
-bash-3.00# pkgadd -d . SUNWgssc SUNWgss \
SUNWsshcu SUNWsshdr SUNWsshdu SUNWsshr SUNWsshu
-bash-3.00# ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
-bash-3.00# ssh-keygen -t dsa -f/etc/ssh/ssh_host_dsa_key
-bash-3.00# svcadm enable network/ssh
-bash-3.00# svcs -xv network/ssh
svc:/network/ssh:default (SSH server)
 State: online since Fri Aug 11 12:24:14 2006
   See: man -M /usr/share/man -s 1M sshd
   See: /var/svc/log/network-ssh:default.log
Impact: None.

[Update:] To generate the SSH-Keys for sshd you could also use:

bash# /lib/svc/method/sshd -c

Afterwards I made some experiments with the included iSCSI Initiator. For the tests I used my existing Linux iSCSI Enterprise Target Installation. To configure the Solaris Initiator I used:

bash-3.00# iscsiadm modify discovery -t enable
bash-3.00# iscsiadm add discovery-address
bash-3.00# iscsiadm list target
Target: iqn.2004-03.de.fm-berger:w0004:iscsi_demo01
        Alias: -
        TPGT: 1
        ISID: 4000002a0000
        Connections: 1
Target: iqn.2004-03.de.fm-berger:w0004:iscsi_demo02
        Alias: -
        TPGT: 1
        ISID: 4000002a0000
        Connections: 1
bash-3.00# devfsadm -c iscsi
bash-3.00# format
Searching for disks...done
0. c0d0 
1. c3t0d0 
2. c3t1d0 
Specify disk (enter its number): 1
selecting c3t0d0
[disk formatted]
format> inq
Vendor:   IET
Revision: 0
format> quit
bash-3.00# newfs /dev/rdsk/c3t0d0s2
newfs: construct a new file system /dev/rdsk/c3t0d0s2: (y/n)? y
4186112 sectors in 1022 cylinders of 128 tracks, 32 sectors
2044.0MB in 45 cyl groups (23 c/g, 46.00MB/g, 11264 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 94272, 188512, 282752, 376992, 471232, 565472, 659712
bash-3.00# mkdir /foo
bash-3.00# mount /dev/dsk/c3t0d0s2 /foo/
bash-3.00# df -ah
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0d0s0        536M   283M   199M    59%    /
/dev/dsk/c3t0d0s2      1.9G   2.0M   1.9G     1%    /foo

You can find more about iSCSI under Solaris in the „System Administration Guide: Devices and File Systems“ Chapter 15 Configuring Solaris iSCSI Initiators (Tasks).

iSCSI unter Linux – das SAN für zuhause

Die Virtualisierung von Festplatten mit iSCSI ermöglicht den Aufbau von einfachen und kostengünstigen Testumgebungen. Der Vortrag stellt iSCSI im Gesamtzusammenhang mit anderen Technologien wie NFS, GNDB und VMware dar. Abgerundet wird der Vortrag mit einer Demonstration, wie sich in kurzer Zeit ein Shared Storage Cluster mit iSCSI und dem GFS (Global File System) zuhause aufbauen lässt.

Folien des Vortrages als PDF: http://www.fm-berger.de/download/iscsi09.pdf