Update status Alias
For now Felixstar is install on quadrant only :
pc-lar-felix-ltdb-02.
So all the manipulation on this twiki are do to on this computer
Update status Alias
Replace your status alias in your bashrc by
alias status='/det/dcs/Development/ATLAS_DCS_LAR/bin/tools/misc/status_flxstar.sh'
(edit your bashrc with :
vim ~.bashrc
)
Launch felixstar
cd /det/lar/project/LTDB/Felixstar
source setup.sh
./configurationFelixScript_productionServer.sh
./start.sh
The manipulation is the same that with felixcore, but the exectable and the config file are not the same, so we use an other file for this server
cd /det/lar/project/LTDB/OpcUaScaServer_flxstar
source setup.sh
./start.sh
The manipulation is the same that with felixcore
cd /det/lar/project/LTDB/OpcUaLarLtdbServer
source setup.sh
./start.sh
Kill the service
Use your status alias (don't forget the first step of this twiki)
status
To kill
OpcUaSca and
OpcUaLarLtdb server, it's the same way that before, take their PID and
kill -9 1234
Felixstar isn't an unique processus, it is composed by 8 processus (one for uplink and one for downlink, and two per device)
So with the new
status
alias, you can see a litlle sheet that represent the 8 PID. To kill felixstar,
kill -9
all this PID
If you want to start felixcore after felixstar don't forget to launch this script to free the memory of the felix :
source /det/lar/project/LTDB/Felixstar/gobacktofelixcore.sh
Check if the mellanox is active
To check if the mellanox network card is active (essential to use felixstar) you can use this command :
ibv_devinfo
ibdev2netdev
If the mellanox are not configure, it must have the file
ifcfg-eth2
and
ifcfg-eth3
in
/etc/sysconfig/network-scriptsExample of the content of the file ifcfg-eth2 :
DEVICE="eth2"
TYPE="Ethernet"
HWADDR="24:8A:07:F7:59:90"
BOOTPROTO=none
IPADDR=192.168.10.1
NETMASK=255.255.255.0
ONBOOT="yes"
IPV6INIT="no"
NM_CONTROLLED="no"
Create the OpcUaSca server configuration file with netio next
The configuration file of the
OpcUaSca server is different when you use felixstar. So to convert to older to the new one you can use a tool
cd /det/lar/project/LTDB/tools/config_simple_to_fid
sod
cp /det/lar/project/LTDB/OpcUaScaServer/pc-lar-felix-ltdb-0X/config_file_that_you_want_to_convert.xml ./
source simple_to_fid.sh config_file_that_you_want_to_convert.xml
cp ./config_file_that_you_want_to_convert.xml /det/lar/project/LTDB/OpcUaScaServer_flxstar/pc-lar-felix-ltdb-0X/
/!\ Don't copy the new config file in
OpcUaScaServer_flxstar and not in
OpcUaScaServer
If an error occur and you lose the original config file, after the conversion you can find a backup in the tool file at the name of
config_file_that_you_want_to_convert.xml_simple_netio
, so don't panic
Hello World
--
EtienneMarieFortin - 2022-03-09