I worked with a client's Windows system administrator to
test migration of an SCO 5.0.7 system to his VMWare ESXi
platform.
The restoration of the Backup Edge DVD media backup to the
virtual machine was partially automatic but required manual
steps as well.
We set the SCO virtual machine to boot the host DVD drive
before the hard disk and I booted with:
defbootstr Sdsk=wd(0,0,0,0) Srom=wd(1,0,0,0)
and Backup Edge RE2 on the backup media booted ok and tested
and loaded the RE2 files from the DVD.
I tried the "automatic" restore and it failed when trying to
access the DVD to restore the backed up files. I did not
record the exact error but is said something about getting the
wrong number of bytes during the read and locked up.
I rebooted the virtual machine and the RE2 media again
and used the utilities -> shell and ran divvy manually.
All file systems were created by the automatic restore attempt
except one that shows "unknown file type." I manually
created the missing file system and ran fsck on all the
file systems. Fsck finished without a problem.
I then tried the restore all files function of RE2. The status
screen that reports mounting the file systems announced that
lost+found already existed (was created by the "automatic"
restore attempt) but the restore failed with the wrong
byte count message and locked up.
I rebooted again, ran fsck on all file systems (in all the
fsck run, none reported errors), mounted all the
file systems as needed, changed to /mnt and executed
edge xvbf 64 /dev/cd0 and Edge restored the files.
When the restore was finished, I unmounted all the file systems
and shut down RE2 menu and rebooted using the same defbootstr.
The system came up and I edited /etc/default/boot and added
Sdsk=wd(0,0,0,0) and Srom=wd(1,0,0,0) to the default boot string.
Problem: When I used shutdown -y -g0 -i6 (to update the boot
file system /etc/default/boot), the system panicked with Trap E
when it came back up. I booted the RE2 media again, mounted
the boot file system and removed the Sdsk and Srom declarations
from the /etc/default/boot file. Upon rebooting, I used
defbootstr Sdsk=wd(0,0,0,0) Srom=wd(1,0,0,0) again and the system
panicked again. Power-off the VM and back on and then boot with
the defbootstr again and the system booted ok.
I edited /etc/conf/sdevice.d/aacraid to disable the SCSI raid
controller, and edited /etc/conf/cf.d/mscsi to change the hard
drive from aacraid Sdsk 0, 0, 0, 0 to wd Sdsk 0, 0, 0, 0 (the DVD drive
was already at wd 1, 0, 0, 0), relinked the kernel and rebooted.
The system booted ok without the defbootstr Sdsk=wd(0,0,0,0)
Srom=wd(1,0,0,0).
Reconfiguring the kernel by changing the network interface card
and rebuilding the kernel and reboot did not panic.
Here is the remaining problem: I can't get Backup Edge 2.3 to
backup to the host DVD drive. Trying to run edgemenu and
listing the contents of the dvd media used to restore the SCO
system to the ESXi system produces the same wrong byte count
error and locks up the console session. Pressing Alt-F4 or
alt-F6 switches console screens and allows another log in.
All efforts to reconfigure the DVD in the SCO VM properties
(IDE slave on primary controller, SCSI on LSI parallel, SCSI
on Buslogic) fails to produce a DVD configuration where
dtype /dev/cd0 says anything other then "no such device or
address."
Cdrecord -scanbus shows the device for the DVD but trying to
use cdrecord to write an ISO to the DVD-R media fails without
a defined error message (No message: wrong disk/no disk) just
exits without writing to the DVD-R media.
My only experience with VMWare prior to working with the client's
ESXi system was doing essentially the same thing on VMWare
player 3.1.3 on my XP home system where I have no trouble
specifying the hard disk as the master on the primary IDE
controller and the DVD drive on the blc (Buslogic) SCSI
controller:
*
* ha = device name of SCSI host adapter driver e.g. ad
* attach= device name of attached SCSI device driver e.g. Sdsk
* number= host adapter number
* ID = controller number
* lun = logical unit number
* bus = host adapter bus number
*
*ha attach number ID lun bus
*
blc Srom 0 0 0 0
(END)
Odd that I now look at it, no entry for the IDE hard disk?
/etc/default/boot
#ScoAdminInit BOOTMNT {RO RW NO} RO
#
DEFBOOTSTR=hd(40)unix swap=hd(41) dump=hd(41) root=hd(42) kbm.wheel=no
AUTOBOOT=YES
TIMEOUT=10
FSCKFIX=YES
# hwconfig -h | less
device address vec dma comment
======== ============= === === ================================================
kernel - - - rel=3.2v5.0.7 kid=2003-02-18
cpu - - - unit=1 family=15
cpuid - - - unit=1 vend=AuthenticAMD tfms=0:15:5:3
fpu - 13 - unit=1 type=80387-compatible
pci 0xcf8-0xcff - - am=1 sc=0 buses=35
PnP - - - nodes=0
clock - - - type=TSC/3.214426262Ghz
serial 0x3f8-0x3ff 4 - unit=0 type=Standard nports=1 base=0 16550A/16
serial 0x2f8-0x2ff 3 - unit=1 type=Standard nports=1 base=8 16550A/16
console - - - unit=vga type=0 num=12 scoansi=1 scroll=50
adapter 0x10c0-0x10c3 11 - type=blc ha=0 id=7 fts=stn
floppy 0x3f2-0x3f7 6 2 unit=0 type=135ds18
kbmouse 0x60-0x64 12 - type=Keyboard|PS/2 mouse id=0x00
udi - - - UDI environment
adapter - - - ha=0 type=usb_msto UDI SCSI HBA
pnt 0x2000-0x2012 10 - pnt0 Ver: 4.06 addr=00:0c:29:0c:ea:4f
cd-rom - - - type=S ha=0 id=0 lun=0 bus=0 ht=blc unit=0
disk 0x1f0-0x1f7 14 - type=W0/0 unit=0 cyls=520 hds=128 secs=63
Srom-0 - - - Vnd=ATAPI Prd=iHAS124 Y Rev=BL0V
(END
So ESXi running on a Dell system with 32G memory, SSD in RAID-1 emulating
IDE to the SCO system, and a DVD-RW slim-line drive is having trouble
with DVD access by the guest SCO 5.0.7 OS where VMWare player 3.1.3 has
no trouble accessing the WinXP host DVD drive.
The customer's system restored to the ESXi system is fast when running
disk intensive reports: Completes a report that takes 5 minutes on the
SCSI RAID-1 SCO hardware in only 37 seconds under ESXi.
SCO 5.0.7 system with MP5: 4G RAM, 2.4G 4 core Intel CPU Adapted
parallel SCSI RAID-1 10K disks.
Nagging problems that are preventing us from trying the ESXi hosted
system in production (besides the inability of making DVD-R backups using
Backup Edge) are repeated instances of kernel panics with Trap E on boot
up. No other panics have occurred in the short period of testing other
then the occasional boot up panic. Trying to mount the CD in the SCO
VM using the ESXi Vsphere console icon results in SCO VM becoming
unresponsive for up to three minutes.
Looking for suggestions from anyone who has used ESXi to host
SCO 5.0.7 (not SCO 5.0.7v) in evaluation or production and what
they find as necessary configuration parameters.
--
Steve Fabac
S.M. Fabac & Associates
816/765-1670