Running in XEN on Linux

Installing CernVM on Xen

  • Select appropriate CernVM image
    • If you plan to run on an unattended environment like a worker node, start form Batch Node image with (CernVM Batch Node) tag
    • Otherwise select x86 or x86_64 Xen image with (CernVM) tag

      Note: Seamless mouse integration does not work on Xen platform
       

  • Download and unarchive
     
  • Create config file containing something like the following:
      name = "my vm"
      memory = 1024
      vcpus = 1
      bootloader = '/usr/bin/pygrub'
      acpi = 1
      apic = 1
      on_poweroff = "destroy"
      on_reboot = "restart"
      on_crash = "restart"
      vfb = [ "type=vnc,vncunused=1,vnclisten=0.0.0.0,keymap=en-us" ]
      disk = [ "file:<path>/cernvm-<version>-<platform>/cernvm-<version>-<platform>-root.ext3,sda,w" ]
      vif = [ "bridge=xenbr0,script=vif-bridge" ]
    
  • Start it
      xm create <config_file>