configure file: /var/log/wnodes/nameserver/wnodes_ns_state and /etc/wnodes/nameserver/wnodes_hv_config.ini /etc/wnodes/nameserver/wnodes_bait_config.ini
Download the images for the bait and for the WN
Configure the new nodes on the torque server editing the file /var/spool/pbs/server_priv/nodes like the following (where the first node i a standard node farm, the sencond is an example of a bait and the third is a virtual node that will run the jobs):
wn01.cnaf.infn.it np=2 lcgpro
bait-tf-01.cnaf.infn.it np=1 cloudtf bait
vwn-tf-01.cnaf.infn.it np=1 vwn-tf-01
edit di configuration files and configure the images for both using YAIM in order to customize the images for you site
Create a dedicated queue for wnodes jobs:
For examples using: qmgr -c < queue_command :
cat queue_command:
create queue cloudtf
set queue cloudtf queue_type = Execution
set queue cloudtf Priority = 1000000
set queue cloudtf max_running = 80
set queue cloudtf resources_max.cput = 100:00:00
set queue cloudtf resources_max.walltime = 100:00:00
set queue cloudtf resources_default.neednodes = cloudtf
set queue cloudtf enabled = True
set queue cloudtf started = True
Configure the torque server in order to allow job management from WNoDeS hosts (real machine and baits):