[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] "vm_cdrom_files = a, b, c" : How does this work?

Hi Rob,

   sorry, for non-edited mail which I sent previously.

Rob wrote:

I have a pool of WIndows XP Condor pool PCs, which have VMware 1.0.6 installed.

I want to submit a condor job as a VMware image with a linux OS (ttyLinux).

I'd like to use this feature of "vm_cdrom_files = ...", but I don't understand how this works.
if you keep the cdrom_files and if you include below two lines into the submit description file. once the job is submitted to a machine these file also will be copied and there it is converted into an iso file and attached to the VM. If only the cdrom_device found for that VM while condor
creating the its own vmx file.
The manual says:

---- quote --------------

A CD-ROM for the virtual machine is composed of a set of files.
These files are specified in the submit description file
with a comma-separated list of file names. vm_cdrom_files = a.txt,b.txt,c.txt

If these files are not on a shared file system visible to
the machine that will run the vm universe job, then
Condor must also be told to transfer them from
the submit machine with vm_should_transfer_cdrom_files = YES
---- end-quote -------------
Basic questions I have are:

* How do I set up the configuration of the CD-Rom in the VMware virtual machine?
Make sure your vmx file contains these lines. In order to condor detect and set cdrom_device.

   ide1:0.present = "TRUE"
   ide1:0.deviceType = "atapi-cdrom" or "cdrom-raw"
   ide1:0.autodetect = "TRUE"

* Once the virtual linux system is up and running, how can it access the cdrom files?
   yes you have to mount.
   I use "mount /dev/cdrom /mnt/cdrom".
Should it mount the CD-Rom? On the linux system, the boot message has:
          hda: VMware Virtual IDE Hard Drive, ATA DISK drive
          hdb: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive
Should I then do "mount -t iso6990 /dev/hdb /mnt/cdrom" to access the condor cdrom files?
I've tried this, but it doesn't seem to work......
may be the cd_rom is not pointing to the iso files.

once vm is started check the condor created vmx i.e (vmXXXXXX_condor.vmx) file it should be like these
if it is attached iso file.

   ide1:0.present = "TRUE"
   ide1:0.fileName = "isoHVKf1E.iso"
   de1:0.deviceType = "cdrom-image"
   ide1:0.autodetect = "TRUE"
If condor wraps these files into an iso image (does it?), then how can I tell the VMware
configuration to use a not-yet-existing iso image for the CDrom???
yes, condor wraps these files into iso. you no need to specify any iso condor creates and attach to the VMware through the vmx file it creating, in that you can check.
Thank you!

I am using pool of linux machine and using vmware 1.0.4.


Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.