VMware vmx configuration

The VM must be configured with a NAT network. This is to avoid registering all VM's in the CERN network device registry and to prevent access to the VM's from the the network.

A list of properties that can be passed to the .vmx file can be found here:

Setting properties in the vmx-file

First make sure that you have all the following two files in the VM folder.

  • .vmdk-file - The bootstrapper needs a .vmdk-file which is the image file of the guest operating system.
  • .vmx-file - Is needed to specify the necessary details about the VM.

If you do not have the files, they can be downloaded from here:

/afs/cern.ch/project/etics/internal/public/VMWareImages/

If the folder you now have contains a file named:

  • hostname.vmx.template

Simply copy the file to the correct file name according to the platform name.

Example

cp ./WN_base_SLC4_x86_64/hostname.vmx.template ./WN_base_SLC4_x86_64/WN_base_SLC4_x86_64.vmx

Notice that the files and folder must have the same name as the platform name:

Example

The platform WN_base_SLC4_x86_64 must have the following structure - according to the relative path the VMLoader is launched from:

   * ./WN_base_SLC4_x86_64/WN_base_SLC4_x86_64.vmdk
   * ./WN_base_SLC4_x86_64/WN_base_SLC4_x86_64.vmx


Take out! 
<verbatim>
< displayName = "@@hostname@@"
---
> displayName = "WN_base_SLC4_x86_64"


< ethernet0.addressType = "static"
< ethernet0.connectionType = "bridged"
< ethernet0.generatedAddress = "@@mac_address@@"
---
> ethernet0.addressType = "generated"


> virtualHW.productCompatibility = "hosted"
> tools.upgrade.policy = "manual"
> ethernet0.features = "1"
> ethernet0.networkName = "NAT"
</verbatim>

*Paste into the .vmx file*
<verbatim>
#(VM is copied)
#uuid.action = "create"

#Serial enabled
serial0.present = "TRUE"
#Not always necessary
serial0.allowGuestConnectionControl = "FALSE"
#To file
serial0.fileType = "file"
#Append to the file within the directory of th VM
serial0.fileName = "Console.log"
#Append to the file created by the VMLoader user
answer.msg.serial.file.open = "Append"
</verbatim>


-- Main.OeyvindValenSendstad - 31 Jul 2009
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2009-07-31 - OeyvindValenSendstad
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ETICS All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback