You are here: Home GRID Seed Preparing and Setting up the Host machine for GRID Seed
Personal tools
Document Actions

Preparing and Setting up the Host machine for GRID Seed

by zadmin last modified 2007-12-21 18:15

This section describes how to install VMWare on the host where GRID Seed will be run, and how to install GRID Seed.

A. VMWare software installation

  1. Download VMServer from the VMWare website:

http://www.vmware.com/download/server/

  1. Register the download to get the free serial number:

http://register.vmware.com/content/registration.html

  1. Become root and install VMWare: please use the tar.gz version, since in the RPM package there is a bug: http://

Proceed with a standard installation i.e. accept all default values. Make sure to set the following parameters:

NETWORK SETUP 

- Bridge network    YES
- NAT network       NO
- Host Only network NO

Take a note on the VMWare port, usually 902.

  1. Make /etc/init.d/vmware available at the next reboot. On RH Linux you can use:
# chkconfig --add vmware 

# chkconfig vmware on 

B. Configuring the machine's time behaviour

The GRID is very sensible to time: the GSI mechanism requires a perfect synchronisation of all GRID services.

To enable a perfect time management with VMWare you must enable the ntp daemon on the host machine. You should also take care of removing any ACPI and other power control features on the host machine. To do that, edit the GRUB/LILO configuration file and add a new kernel entry with the following kernel parameters:

clock=pit noapic nolapic

Reinstall GRUB/LILO.

Reboot the machine.

C. Network setup

The GRID created with GRID Seed lives in a class A private network 10.<SUBNET>.0.0; to avoid conflicts with your physical network, please choose a 10.<SUBNET>.0.0 network not being used by your organisation.

Then adjust routing in your host, as in the following example where SUBNET 20 was chosen:

# route add -net 10.20.0.0 netmask 255.255.0.0 eth0

D. GRID Seed installation

Create a user under which the GRID Seed VM will run, for example gridseed. Be sure to have almost 10 GB of free space on the disk.

This user must be able to run as root without password the following commands:

/usr/sbin/arp /usr/bin/vmrun

Setup accordingly /etc/sudoers; for example use visudo to add the following entries:

gridseed ALL = NOPASSWD: /usr/bin/vmware-cmd,/usr/sbin/arp

Now become the gridseed user:

#su - gridseed 

Create a directory and download the All_in_one appliance:

$ mkdir -p vm/All_in_one

$ cd vm/All_in_one

$ wget http://euindia.ictp.it/download/GridSeed/All_in_one/nvram

$ wget http://euindia.ictp.it/download/GridSeed/All_in_one/All_in_one-flat.vmdk

$ wget http://euindia.ictp.it/download/GridSeed/All_in_one/All_in_one.vmdk

$ wget http://euindia.ictp.it/download/GridSeed/All_in_one/All_in_one.vmsd

$ wget http://euindia.ictp.it/download/GridSeed/All_in_one/All_in_one.vmx

$ wget http://euindia.ictp.it/download/GridSeed/All_in_one/All_in_one-flat.vmdk

$chmod 600 *

$chmod 700 All_in_one.vmx

Download the support script:

$ cd 

$ mkdir Deploy

$ cd Deploy

$ wget http://euindia.ictp.it/download/GridSeed/Deploy/function_start.sh

$ wget http://euindia.ictp.it/download/GridSeed/Deploy/start.sh

$ wget http://euindia.ictp.it/download/GridSeed/Deploy/config

$ chmod +x *.sh 

Edit the config file:

SUBNET=20
IMG_LOC=/$HOME/vm
VMWARE_PORT=902

Notice the SUBNET value you chose earlier on, and the VMWARE_PORT you took note of earlier on.

« August 2017 »
Su Mo Tu We Th Fr Sa
12345
6789101112
13141516171819
20212223242526
2728293031
 

Powered by Plone This site conforms to the following standards: