Running the TCS on a local Tucson Machine
Developers can run the current
TCS installation (
/lbt/tcs/current
) on any local CentOS machine, without having to build their own version. It can be set up to keep everything local to the machine - no "cluster".
Setup
Set the environment variables:
> export TCSLOCALE=testing
> export TCSPATH=/lbt/tcs/current
Configure "dummy" ethernet device:
> sudo bash
> echo "DEVICE=dummy0
BOOTPROTO=none
NETMASK=255.255.255.0
TYPE=dummy
IPADDR=10.0.0.1
ONBOOT=yes
USERCTL=no" > /etc/sysconfig/network-scripts/ifcfg-dummy0
> echo "dummy" > /etc/modules-load.d/dummy.conf
> service network restart
Make sure there is a "dummy" ethernet device configured with address 10.0.0.1 and broadcast 10.0.0.255 :
> /sbin/ifconfig
dummy0 Link encap:Ethernet HWaddr 96:EB:25:BF:FC:F6
inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::94eb:25ff:febf:fcf6/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:12336 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:1275633 (1.2 MiB)
.....
Check that the user has access to
TCS housekeeping files (these need to be writeable by the user running
TCS):
> ll /var/tmp
-rw-r--r--. 1 ksummers domain users 24 Aug 11 10:12 rm580f-1procs.conf
-rw-r--r--. 1 ksummers domain users 2793 Aug 11 10:12 rpc_10.0.0.1.conf
Make sure the firewall is off for
iptables
:
login as root
> chkconfig iptables off
> chkconfig ip6tables off
> /etc/init.d/ip6tables stop
Running
- when you use the
testing
locale, the events and syslog go to /data//tcs/LSS
(see LSS_EVENT_LOG_PATH
in the configuration)
- to see the configuration after you have set up the LOCALE, type
netconfig -c