Skip to content

Updating the Virtual Machine

teleyinex edited this page Sep 16, 2011 · 4 revisions

If a new version of your running Virtual Machine (VM) needs to be deployed, you have to follow the next steps:

  • Stop the daemons (bin/stop).
  • Copy your new VM into the project folder (Test4theory has a specific folder for this purpose vm/).
  • Make it available to BOINC:
   cp cernvm.vmdk.gz\=cernvm_2.4.0_vmdk.gz `bin/dir_hier_path cernvm.vmdk.gz\=cernvm_2.4.0_vmdk.gz`
  • Modify config.xml to reflect the new input file for the sample_work_generator:
  <daemon>
      <cmd>
        sample_work_generator -d 3 -i cernvm.vmdk.gz\=cernvm_2.4.0_vmdk.gz
      </cmd>
   </daemon>
  • Save it, and start the daemons again (bin/start).

After all these steps are completed, there will be new Work Units in the queue with the new version waiting to be sent. You can check for errors in the LOG folder of the project (each daemon has its log file).

Clone this wiki locally