1. 能耗在线监测端设备
1.1 网络IP
-
将本地与端设备连接网口的
IP
修改成010.020.010.xxx/24
-
登陆端设备
Shell
界面# ssh -p 22 root@10.20.10.210 # Password: zfsy20141111
-
网络配置文件
/etc/systemd/network
eth0.network eth1.network usb0.network
$ cd /etc/systemd/network # 打开路径 '/etc/systemd/network' $ nano eth0.network # 用nano编辑文件 'eth0.network'
[Match] Name=enp1s0 # 网卡在系统内的实际名称 [Network] # 网卡具体配置细节 #DHCP=yes # 动态自动获取IP Address=172.72.102.10/24 # IP地址/子网掩码 Gateway=172.72.102.1 # 网关 DNS=114.114.114.114 # DNS服务器
-
重启网络配置
$ systemctl restart systemd-networkd
$ ping 114.114.114.114
1.2 WebUI
http://[IP]:12100/gateway-config/#/config/sql-config
http://[IP]:8180/online-monitoring
1.3 数据接入
-
IP
系统管理 - 业务字典管理 - 字典维护 - 高信平台 - 中心上报服务器 - 省平台
https://39.145.0.219:8781/anhui_operation/inf/upload/register
-
上报基础配置
系统管理 - 上报基础配置
上报期限 365 协议类型 国家标准 上报实时数据 启用 详细上报日志 启用 自动上报基础数 停用 自动注册 停用 过滤折标系数 启用 数据项添加后缀 停用 上传折标系数 停用 上报时间 11:00:00 实时数据上传间隔 关闭 月上报日期 10日 年上报日期 15日 计算引擎 计算引擎V2 引擎地址 127.0.0.1:9550 启用代理 停用 代理地址 127.0.0.1:10006 数据上报保护逻 启用 更新数据检查期 2 数据不全检查期 7 上报错误检查期 7 上报遗漏检查期 7 CA服务端证书地址 CA客户端证书地址 /home/ca/client.p12 CA客户端证书协议 TLSv1.2 CA客户端密码 123456 通用上报指标模板地址 /home/online_config/template.xlsx 报警时间间隔 5 上传日期 2022-12-24 自动计算日数据限值 停用 发送日数据超限提醒 停用 -
ca - client.p12
# sftp -P xxxxx root@127.0.0.1
$ mkdir /home/ca $ put "local-client.p12" "/home/ca/client.p12"
- 或者
wget
获取
mkdir /home/ca wget -P /home/ca https://www.lsqs.top/upload/client.p12
- 或者
-
上传与下载
- 获取服务器地址
- 获取版本号
- 上传基本信息
2. 其他协议
2.1 IEC 104
-
停端设备程序
$ /etc/monit.d/south.monit
$ service secondserver stop
http://[内网IP]:2812
username: admin password: monit
"直采程序" -> "Stop service" -> "Stop monitoring" -> "Not monitored"
-
更换程序
$ /root/GateWayII_V3/GateWayII_V3
$ chmod u=rwx,g=rx,o=r GateWayII_V3
-
配置及工具