All,
The disk independence patch for the OSCAR 3.0 tarball is completed, and
is available at
http://www.lombardsnest.com/dnl/OSCAR/oscar-disk-indep-3.0.patch
I will import the changes into CVS for the current SI this week, after I
complete the update-rpms fixes.
The patch is installed as follows:
cd /opt
tar xfz oscar-3.0.tar.gz
cd oscar-3.0
./configure
make install
patch -p0 < oscar-disk-indep-3.0.patch
This prepatch installs
/opt/oscar/packages/sis/scripts/systemimager-server-3.1.4-patch and
patches /opt/oscar/packages/sis/scripts/post_server_install to install
the patch when sis is installed via /opt/oscar/install_cluster. That
is, no changes are needed to the existing rpm. You can then run the
wizard normally.
cd /opt/oscar
./install_cluster _device_
The patch operates by arranging all disks into an ordering based on
type. The default ordering is
hd disks, sd disks, cciss h/w raid, ida h/w raid, rd hw raid
This order is specified by setting the kernel commandline DISKORDER
parameter (e.g., via the append line of /tftpboot/pxelinux.cfg/default).
The default ordering is equivalent to
DISKORDER=hd,sd,cciss,ida,rd
Setting the parameter to NO value, i.e.,
DISKORDER=
will disable the ordering algorithm, thus using disks as defined by the
original client.
Setting the parameter to
DISKORDER=sd,hd
will first select all sd devices, then all hd devices.
So, the limitation is that you cannot intermingle say, hd and sd devices
via this patch. However, if the client was imaged with that
arrangement, the patch will support that if disk ordering is disabled.
For testing, I did the following under VMware:
1) Installed a cluster normally. Both the server and client node had a
single SCSI disk.
2) Modify client: remove SCSI, add IDE disk. Loaded client w/ hda root.
3) Removed all disks. Negative test passed (no disk).
4) Modify client: add two 100MB SCSI devices. Negative test passed
(disk too small).
5) Modify client: add IDE disk. Client reloaded with extra, untouched,
disks. Loaded client w/ hda root, sda/sdb unused.
6) Manually modify client to add RAID-0 md0. Pulled image using
getimage after shutting pfilter off on both server and client. Loaded
client w/ hda root and sda/sdb md0.
7) Modify client: remove scsi disks, add two 100MB ide disks. Loaded
client w/ hda root, hdb/hdd md0.
8) Modify client: Remove all disks, add scsi root and two scsi md0.
Loaded client (sda root, sdb/sdc md0).
9) Modify client: Add hda root and two 100 MB ide disks, hdb and hdd.
Modify server: Added "DISKORDER=" to /tftpboot/pxelinux.cfg/default.
Loaded client w/ hda root and sdb/sdb md0 (see 6 for built-in order),
i.e., hdb and hdd were ignored.
10) Modify server" Changed DISKORDER=sd,hd to
/tftpboot/pxelinux.cfg/default Loaded client, hda root, hdb/hdd md0.
--
David N. Lombard
My comments represent my opinions, not those of Intel Corporation.
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id�66&op=click
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-devel