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

Launch OpcUaSca server

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

Launch OpcUaLarLtdb server

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

tableau_felixcore_pid.png

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-scripts

Example 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 wink

Hello World -- EtienneMarieFortin - 2022-03-09

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg 20201020_134800.jpg r1 manage 3850.2 K 2022-03-09 - 14:22 MathieuBiaut  
PNGpng Capture_d’écran_de_2022-03-09_14-21-44.png r1 manage 13.1 K 2022-03-09 - 14:23 MathieuBiaut  
PNGpng tableau_felixcore_pid.png r1 manage 13.1 K 2022-03-09 - 14:26 MathieuBiaut  
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2022-03-09 - MathieuBiaut
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback