User Tools

Site Tools


itk:installing_local_linux_server_for_rce_communication

Server Setup

We will be mostly following the steps on this page - https://twiki.cern.ch/twiki/bin/view/Atlas/RCEGen3Development. First, make sure your hardware is hooked up like shown in the first pictures on this page.

Become root by using the 'su' superuser command, then perform all of the following commands as root.

First, we configure a server on our local computer to communicate with RCE. This server will have NFS and DCHP. Get required packages.

yum install dhcp cmake pyparted lib

Disable firewall and SELinux (Linux security).

/sbin/chkconfig iptables off
/sbin/service iptables stop
vim /etc/sysconfig/selinux

Set “SELINUX=permissive”. Now we install the RCE SDK.

sudo mkdir /opt/AtlasRceSdk
cd /opt/AtlasRceSdk
wget -O - http://rceprojectportal.web.cern.ch/RceProjectPortal/software/SDK/V0.11.1.tar.gz | sudo tar xvfz -

Add the following command to your bash_profile file so that it runs every time you open the terminal.

source /opt/AtlasRceSdk/V0.11.1/setup.sh

Set up the DHCP server by editing /etc/dhcp/dhcpd.conf. Make sure it looks like the following:

default-lease-time 600;
max-lease-time 7200;
authoritative;
ddns-update-style none;

subnet 192.168.3.0 netmask 255.255.255.0 {
  option subnet-mask 255.255.255.0;
  option ntp-servers 192.168.3.1;
  option routers 192.168.3.1;
  option broadcast-address 192.168.3.255;
  range 192.168.3.2 192.168.3.254;
}

host hsio2 {
  option host-name "HSIO2";
  hardware ethernet 08:00:56:00:45:0a;
}

In Network settings, find your ethernet connection and change its settings to the following:

IPv4 on
Address = 192.168.3.11
Netmask = 255.255.255.0
Gateway = 192.168.3.1
DNS on
Server = 192.168.3.10
Routes automatic

Start the DHCP server.

/sbin/chkconfig dhcpd on
/sbin/service dhcpd start

#Filesystem

itk/installing_local_linux_server_for_rce_communication.txt · Last modified: 2017/01/17 20:47 by mazhang