LTE eNB and 5G NR gNB produce data that can be monitored and analyzed to measure the system’s effectiveness. The near Real-Time RIC can gather the radio and system Key Performance Indicators (KPI) from E2 Nodes and can utilize the metrics for closed-loop control. The KPI includes but not limited following; UE measurement, E2 Node Measurement, E2 Node Load-related measurement. The KPIMON xApp provides the first step towards the successful closed-loop control, through the monitoring E2 Node’s performance metrics, and writing it into Redis DB. With the near real-time reporting KPIs, the near Real-Time RIC can immediately control E2 Nodes.
When using the dms-cli commands, we need to set up the environment variable "CHART_REPO_URL"
Set up the environment variables for CLI connection using the same port as used above.
to check version xapp:
if you dont have file schema for xApp, you can follow this default configuration:
Have install OSC RIC [I-Release] and Depedency Library, you can follow this guide: https://hackmd.io/@abdfikih/ByaUJytwR
If you want to use code i have edited for this configuration works because in I-Release some component have upgrade and we need to change code in xApp, you can clone from my repository:
E2SIM :
KPIMON :
TS xApp :
QP xApp :
AD xApp :
RC xApp :
then modified config-file.json:
output
You can use : head config.json to see version from xapp when to configuration.
Build ts, ad, and qp with command above like build hw-go.
You can follow this section:
after this edit version HW-GO to 1.1.2 from 1.1.1
output:
change to this:
output:
root@ubuntu:~/ad# docker run ad:v1
1720494772966 7/RMR [INFO] ric message routing library on SI95 p=4560 mv=3 flg=02 id=a (a1be12a 4.9.0 built: Feb 14 2023)
{"ts": 1720494772967, "crit": "DEBUG", "id": "ricxappframe.xapp_rmr", "mdc": {}, "msg": "Waiting for rmr to init on port 4560.."}
{"ts": 1720494773067, "crit": "DEBUG", "id": "ricxappframe.xapp_rmr", "mdc": {}, "msg": "Starting loop thread"}
{"ts": 1720494773068, "crit": "DEBUG", "id": "ricxappframe.xapp_rmr", "mdc": {}, "msg": "Work loop starts"}
{"ts": 1720494773094, "crit": "WARNING", "id": "ricxappframe.xapp_frame", "mdc": {}, "msg": "init: NOT watching any config file"}
{"ts": 1720494773095, "crit": "ERROR", "id": "ricxappframe.xapp_frame", "mdc": {}, "msg": "init: Cannot Read config file for xapp Registration"}
{"ts": 1720494773095, "crit": "DEBUG", "id": "src.main", "mdc": {}, "msg": "AD xApp starting"}
{"ts": 1720494773100, "crit": "ERROR", "id": "database", "mdc": {}, "msg": "Failed to establish a new connection with InflulxDB, Please check your url/hostname"}
1720494773981 7/RMR [INFO] sends: ts=1720494773 src=8e2451ef41c5:4560 target=service-ricxapp-trafficxapp-rmr.ricxapp:4560 open=0 succ=0 fail=0 (hard=0 soft=0)
1720494773981 7/RMR [INFO] sends: ts=1720494773 src=8e2451ef41c5:4560 target=service-ricplt-a1mediator-rmr.ricplt:4560 open=0 succ=0 fail=0 (hard=0 soft=0)
1720494804984 7/RMR [INFO] sends: ts=1720494804 src=8e2451ef41c5:4560 target=service-ricxapp-trafficxapp-rmr.ricxapp:4560 open=0 succ=0 fail=0 (hard=0 soft=0)
1720494804984 7/RMR [INFO] sends: ts=1720494804 src=8e2451ef41c5:4560 target=service-ricplt-a1mediator-rmr.ricplt:4560 open=0 succ=0 fail=0 (hard=0 soft=0)
1720494835987 7/RMR [INFO] sends: ts=1720494835 src=8e2451ef41c5:4560 target=service-ricxapp-trafficxapp-rmr.ricxapp:4560 open=0 succ=0 fail=0 (hard=0 soft=0)
1720494835987 7/RMR [INFO] sends: ts=1720494835 src=8e2451ef41c5:4560 target=service-ricplt-a1mediator-rmr.ricplt:4560 open=0 succ=0 fail=0 (hard=0 soft=0)
1720494866989 7/RMR [INFO] sends: ts=1720494866 src=8e2451ef41c5:4560 target=service-ricxapp-trafficxapp-rmr.ricxapp:4560 open=0 succ=0 fail=0 (hard=0 soft=0)
1720494866990 7/RMR [INFO] sends: ts=1720494866 src=8e2451ef41c5:4560 target=service-ricplt-a1mediator-rmr.ricplt:4560 open=0 succ=0 fail=0 (hard=0 soft=0)
change the config file :
output:
You can add this section to config.json