1、二所SDFP1服务器运行情况
bash -c setsid /home/cdatc/AirNet/bin/rfp 1>/dev/null 2>&1
$ pstree
systemd─┬─NetworkManager───2*[{NetworkManager}]
├─bash───mid───9*[{mid}]
├─bash───afp───13*[{afp}]
├─bash───rfp───20*[{rfp}]
├─2*[redis-server───3*[{redis-server}]]
├─sudo───mnt─┬─mnt
│ └─28*[{mnt}]
$ sudo setsid ./xxx &
# setsid ./rfp &
2、CentOS7.9集群内主机(k8s-node06)配置:
- 共享库文件安装到了/usr/AirNet/lib/AirNet或其它"非/lib或/usr/lib"目录下, 那么在执行ldconfig命令前, 还要把新共享库目录加入到共享库配置文件/etc/ld.so.conf中("error while loading shared libraries: xxx.so.x" 错误的原因和解决办法)
# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
# cat /etc/ld.so.conf.d/AirNet.conf
/usr/AirNet/lib/AirNet
拷贝lib库:/usr/AirNet/lib/
# ldconfig
- 拷贝/home/cdatc/AirNet/config/以及gconf子目录参数文件,修改network.xml---> hostname="k8s-node06"
<stationnode tip="节点信息" param="stations">
<!--ACC/AB SERVERS-->
<node hostname="k8s-node06"
3、运行rfp进程,Connect this Redis[6379] failed!,rfp程序固定找本机redis,所以需要在本机安装redis
# ./rfp
[INFO] get hostname successfule [name]:k8s-node06
find this hostname : "k8s-node06"
find this pro : "rfp"
this pro is : rfp
read datatype : (50, 202, 203, 212, 302, 303, 312, 1, 2, 3, 4, 6, 9)
read sharememdatatype : (1, 2, 3, 4, 6, 9)
read all_sendtype : (200, 201, 202, 203, 204, 205, 212, 248, 300, 301, 302, 303, 304, 305, 312, 348, 1, 2, 3, 4, 6, 9)
[INFO] mid.xml document type normal, root node is 'root'
create socket : RecvdataFromProSocket
create socket : SenddataToMidSocket
create socket : Socket_lib_to_pro
20221207 10:50:16.470 INFO initMembers:: m_fileName=/home/cdatc/AirNet/config/atc_global_offline.xml
20221207 10:50:16.470 INFO getAllConfig:: m_fileName=/home/cdatc/AirNet/config/atc_global_offline.xml, param=ATC_DEFAULT_MODE
20221207 10:50:16.471 INFO getFrameElementTip:: /home/cdatc/AirNet/config/gconf/dbm/dbm_frame/atc/atc_global_offline.xml tag=atcsysmode param=ATC_DEFAULT_MODE tip=系统参数
20221207 10:50:16.490 INFO initMembers:: m_fileName=/home/cdatc/AirNet/config/atc_sfp_radar_offline.xml
[ERROR] Connect this Redis[6379] failed!
[ERROR] save data[6_0_0] failed, redis reconnect 10 times
4、安装redis