IoTEdge 使用命令安装边缘节点【我的IoT端边云体验】

举报
千江有水千江月 发表于 2022/10/31 19:30:43 2022/10/31
【摘要】 IoTEdge 使用命令安装边缘节点在体验“边云协同”【我的IoT端边云体验】博文中,该部分内容由于篇幅超过限制了,故进行了简写,而此部分又较为重要,于是再次展示完成流程,希望能给后来的同学提供一些参考资料。  注册iot边缘节点注意此处的支持架构是x86_64,那么准备的服务器就必须是这个架构的。命令的有效时间是30分钟,30分钟后需要在下图所指之处再次复制新命令。 使用命令,进行安装[...

IoTEdge 使用命令安装边缘节点

体验“边云协同”【我的IoT端边云体验】博文中,该部分内容由于篇幅超过限制了,故进行了简写,而此部分又较为重要,于是再次展示完成流程,希望能给后来的同学提供一些参考资料。

注册iot边缘节点

iotedge-cmd-install-1.png

iotedge-cmd-install-2.png

iotedge-cmd-install-3.png

iotedge-cmd-install-4.png

iotedge-cmd-install-5.png

  • 注意此处的支持架构是x86_64,那么准备的服务器就必须是这个架构的。
  • 命令的有效时间是30分钟,30分钟后需要在下图所指之处再次复制新命令。

iotedge-cmd-install-6.png

iotedge-cmd-install-7.png

使用命令,进行安装

[root@ecs-5145 ~]# uname -a
Linux ecs-5145 3.10.0-1160.53.1.el7.x86_64 #1 SMP Fri Jan 14 13:59:45 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
[root@ecs-5145 ~]# docker version
Client: Docker Engine - Community
 Version:           20.10.21
 API version:       1.41
 Go version:        go1.18.7
 Git commit:        baeda1f
 Built:             Tue Oct 25 18:04:24 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.21
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.7
  Git commit:       3056208
  Built:            Tue Oct 25 18:02:38 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.9
  GitCommit:        1c90a442489720eec95342e1789ee8a5e1b9536f
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
[root@ecs-5145 ~]# cd /tmp && wget "https://ioe-installer.obs.cn-north-4.myhwclouds.com:443/edgeRuntime-0.3.072.20220901191300-x86/1662039771408/edgeRuntime-0.3.072.20220901191300-x86_64.tar.gz?AccessKeyId=VGCOR2OMOJGSGU9IM4CE&Expires=1667218442&Signature=SeyQ%2Bh7%2BX8RK7lP0jSqrP1ocA5Q%3D" -O edgeRuntime_signed.tar.gz && tar -zxf edgeRuntime_signed.tar.gz && echo "-----BEGIN PUBLIC KEY-----
> MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAss1wlVOptEpKHFxn64b/
> UuIioiVgU0NcyW9vVzFFrNleN3dW6zoQ3BDDIkcGK5kq8/2YTNfh4FoUspDDiOue
> EYrt/cv94iTRtSr0u/NqWJmh2i3nZO6gQynOgee0+rki36G1hbRK2NtL3ixGAcq+
> DWD6pCG0kE8E/PilIm6NdCKrS3D6TpbbSQeNOz6PY4QojBRHngj+ATjgk57xNGj4
> 1JGTibzBKx1m0vBRNIulXRahlAbs5XDytDzseySYpa8sTOMc3wTIC72vVXd155DP
> XpMtve5tk+UDkuWZQEUsPBUvkSzrKP3NDFkO7p1jhiC2DCndu6DcZX+8d07uaTWN
> WwIDAQAB
> -----END PUBLIC KEY-----" > edge_installer_pub.pem && openssl dgst -sha256 -verify edge_installer_pub.pem -signature edgeRuntime.tar.gz.sig edgeRuntime.tar.gz && tar -zxf edgeRuntime.tar.gz && INSTALL_IOTEDGE_BIN_DIR=/opt/IoTEdge sh edge_install.sh iotedge-south.cn-north-4.myhuaweicloud.com 8943 784536492407271424 sys_edge_daemon 43a81787 08e60a0b5200f46d2f8dc01277aaec10 cloud true standard DEFAULT && cd -
--2022-10-31 19:14:23--  https://ioe-installer.obs.cn-north-4.myhwclouds.com/edgeRuntime-0.3.072.20220901191300-x86/1662039771408/edgeRuntime-0.3.072.20220901191300-x86_64.tar.gz?AccessKeyId=VGCOR2OMOJGSGU9IM4CE&Expires=1667218442&Signature=SeyQ%2Bh7%2BX8RK7lP0jSqrP1ocA5Q%3D
Resolving ioe-installer.obs.cn-north-4.myhwclouds.com (ioe-installer.obs.cn-north-4.myhwclouds.com)... 100.125.80.158
Connecting to ioe-installer.obs.cn-north-4.myhwclouds.com (ioe-installer.obs.cn-north-4.myhwclouds.com)|100.125.80.158|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 38009879 (36M) [application/gzip]
Saving to: ‘edgeRuntime_signed.tar.gz’

100%[==========================================================================================================================================>] 38,009,879   131MB/s   in 0.3s   

2022-10-31 19:14:23 (131 MB/s) - ‘edgeRuntime_signed.tar.gz’ saved [38009879/38009879]

Verified OK
2022-10-31T19:14:24,956982 | INFO | Current Work dir is /tmp.
2022-10-31T19:14:24,958034 | INFO | Start to install edgeDaemon.
2022-10-31T19:14:24,959563 | INFO | this is a normal install mode.
2022-10-31T19:14:24,967816 | INFO | 
2022-10-31T19:14:24,969277 | INFO | (1/14) check docker version
2022-10-31T19:14:25,205389 | INFO | get docker  Server Version: 20.10.21
2022-10-31T19:14:25,212105 | INFO | (1/14) check docker version success
2022-10-31T19:14:26,214562 | INFO | 
2022-10-31T19:14:26,216027 | INFO | (2/14) check cpu info
2022-10-31T19:14:26,219890 | INFO | cpu num is 2
2022-10-31T19:14:26,221015 | INFO | (2/14) check cpu success 
2022-10-31T19:14:26,222566 | INFO | 
2022-10-31T19:14:26,224041 | INFO | (3/14) check memory info
2022-10-31T19:14:26,227711 | INFO | MemTotal: 7762808 kB
2022-10-31T19:14:26,230619 | INFO | (3/14) check memory success
2022-10-31T19:14:26,232137 | INFO | 
2022-10-31T19:14:26,233633 | INFO | (4/14) check glibc info
2022-10-31T19:14:26,237379 | INFO | glibc 2.17
2022-10-31T19:14:26,240788 | INFO | (4/14) check glibc success
2022-10-31T19:14:26,242287 | INFO | 
2022-10-31T19:14:26,243770 | INFO | (5/14) start verify duplicate install iot edge lite
2022-10-31T19:14:26,245244 | INFO | (5/14) check edge duplicate install success
2022-10-31T19:14:26,246712 | INFO | 
2022-10-31T19:14:26,248167 | INFO | (6/14) creating edge_killall script /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-killall.sh
2022-10-31T19:14:26,254145 | INFO | (6/14) creating edge_killall script /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-killall.sh success
2022-10-31T19:14:26,255725 | INFO | 
2022-10-31T19:14:26,256829 | INFO | (7/14) creating edge_uninstall script /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-uninstall.sh
2022-10-31T19:14:26,260329 | INFO | (7/14) creating edge_uninstall script /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-uninstall.sh success
2022-10-31T19:14:26,261830 | INFO | 
2022-10-31T19:14:26,263337 | INFO | (8/14) creating /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-uninstall.sh /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-killall.sh symlink in /usr/local/bin
2022-10-31T19:14:26,266468 | INFO | (8/14) creating /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-uninstall.sh /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-killall.sh symlink in /usr/local/bin success
2022-10-31T19:14:26,267654 | INFO | 
2022-10-31T19:14:26,269143 | INFO | (9/14) systemd: Stoping edgedaemon
2022-10-31T19:14:26,270641 | INFO | systemd: Stoping edgedaemon
2022-10-31T19:14:26,289493 | INFO | (9/14) systemd: Stoping edgedaemon success
2022-10-31T19:14:26,290678 | INFO | 
2022-10-31T19:14:26,291783 | INFO | (10/14) start install edge_install、edge_daemon
2022-10-31T19:14:26,293286 | INFO | Installing edge_installer to /opt/IoTEdge/IoTEdge/edgeInstaller
2022-10-31T19:14:26,298987 | INFO | Installing edge_daemon to /opt/IoTEdge/IoTEdge/edgeDaemon
2022-10-31T19:14:26,305803 | INFO | (10/14) start install edge_install、edge_daemon success
2022-10-31T19:14:26,307166 | INFO | 
2022-10-31T19:14:26,308764 | INFO | (11/14) creating environment file /lib/systemd/system/edgedaemon.env
2022-10-31T19:14:26,311831 | INFO | (11/14) creating environment file /lib/systemd/system/edgedaemon.env success
2022-10-31T19:14:26,313327 | INFO | 
2022-10-31T19:14:26,314810 | INFO | (12/14) creating service file /lib/systemd/system/edgedaemon.service
2022-10-31T19:14:26,316299 | INFO | systemd: creating service file /lib/systemd/system/edgedaemon.service
2022-10-31T19:14:26,319135 | INFO | (12/14) creating service file /lib/systemd/system/edgedaemon.service success 
2022-10-31T19:14:26,320608 | INFO | 
2022-10-31T19:14:26,322010 | INFO | (13/14) systemd enable and start edgedaemon
2022-10-31T19:14:26,323511 | INFO | systemd: enabling edgedaemon unit
Created symlink from /etc/systemd/system/edgedaemon.service to /usr/lib/systemd/system/edgedaemon.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/edgedaemon.service to /usr/lib/systemd/system/edgedaemon.service.
2022-10-31T19:14:26,404347 | INFO | systemd: starting edgedaemon
2022-10-31T19:14:26,435234 | INFO | (13/14) systemd enable and start edgedaemon success
2022-10-31T19:14:26,436619 | INFO | 
2022-10-31T19:14:26,439015 | INFO | (14/14) backing up service file /lib/systemd/system/edgedaemon.service and environment file /lib/systemd/system/edgedaemon.env
2022-10-31T19:14:26,442029 | INFO | (14/14) not config backing up dir
2022-10-31T19:14:26,444488 | INFO | (14/14) backing up service file /lib/systemd/system/edgedaemon.service and environment file /lib/systemd/system/edgedaemon.env success
2022-10-31T19:14:26,446446 | INFO | 
2022-10-31T19:14:26,448485 | INFO | run edgeInstaller...
2022-10-31T19:14:26,457844 | INFO | start | 43 | edgeInstaller start,current work dir is:"/opt/IoTEdge/IoTEdge/edgeInstaller"
2022-10-31T19:14:26,458683 | INFO | getCipherFileDir | 130 | cipherFileDir:/opt/IoTEdge/IoTEdge/edgeDaemon/sdk
2022-10-31T19:14:26,458748 | INFO | getCipherFileDir | 130 | cipherFileDir:/opt/IoTEdge/IoTEdge/edgeDaemon/sdk
2022-10-31T19:14:26,458812 | INFO | CipherV2 | 28 | CpiherV2 created
2022-10-31T19:14:26,461549 | INFO | cipherInit | 54 | cipher sdk load success.
2022-10-31T19:14:26,461632 | INFO | install | 107 | current node is cloud
2022-10-31T19:14:26,461669 | INFO | install | 366 | start install edge, target server:iotedge-south.************************.com port:8943 nodeId:78**************24
2022-10-31T19:14:26,461781 | WARN | install | 371 | edgedaemon not found.
2022-10-31T19:14:31,461934 | INFO | SouthCloudService | 37 | SouthCloudService Create.
2022-10-31T19:14:31,462031 | INFO | DaemonService | 34 | DaemonService create.
2022-10-31T19:14:31,462140 | INFO | registerNode | 208 | registerNode nodeId:78**************24
2022-10-31T19:14:31,532271 | INFO | generateToken | 255 | start generateToken  nodeId:78**************24
2022-10-31T19:14:31,532383 | INFO | start | 73 | SouthCloudService start success.
2022-10-31T19:14:31,532563 | INFO | start | 60 | DaemonService start success.
2022-10-31T19:14:32,532692 | INFO | checkDaemonAvailable | 464 | check edgeDaemon available.
2022-10-31T19:14:32,532794 | INFO | checkDaemonStatus | 334 | start check daemon status.
2022-10-31T19:14:32,633926 | ERROR | checkDaemonStatus | 338 | code:500 body:{"errorCode":"200101","errorDesc":"node info not ready"}
2022-10-31T19:14:32,633998 | WARN | checkDaemonAvailable | 467 | edgeDaemon not available.
2022-10-31T19:14:35,634116 | INFO | checkDaemonStatus | 334 | start check daemon status.
2022-10-31T19:14:35,734921 | ERROR | checkDaemonStatus | 338 | code:500 body:{"errorCode":"200101","errorDesc":"node info not ready"}
2022-10-31T19:14:35,735019 | WARN | checkDaemonAvailable | 467 | edgeDaemon not available.
2022-10-31T19:14:38,735139 | INFO | checkDaemonStatus | 334 | start check daemon status.
2022-10-31T19:14:38,835819 | INFO | checkDaemonStatus | 334 | start check daemon status.
2022-10-31T19:14:38,936371 | INFO | listContainer | 261 | listContainer
2022-10-31T19:14:39,042961 | INFO | cleanImage | 277 | cleanImage.
2022-10-31T19:14:40,144626 | INFO | getDeploymentInfo | 175 | getDeploymentInfo
2022-10-31T19:14:40,426233 | INFO | getDeploymentInfo | 198 | DeploymentInfo[ schema_version:1.0, runtime:Runtime[ settings:RuntimeConfig[ loggingOptions:(zero), base_path:CloudBasePathConfig[ log_base_path:/var/IoTEdge/log/, config_base_path:/var/IoTEdge/config/, db_base_path:/var/IoTEdge/db/,],], enable_gpu:false, type:docker,], system_modules:[ModuleDeployment[ module_id:sys_edge_hub, app_id:$edge_hub, version:1-1-29-standard-x86, type:docker, description:(zero), restart_policy:Always, liveness_probe:ProbeDTO[ http_get:HttpGetDTO[ path:/edgehub/v1/inner/handshake, port:8943, scheme:HTTPS,], initial_delay_seconds:300, timeout_seconds:15,], readiness_probe:ProbeDTO[ http_get:HttpGetDTO[ path:/edgehub/v1/inner/handshake, port:8943, scheme:HTTPS,], initial_delay_seconds:300, timeout_seconds:15,], settings:ModuleSetting[ cmd:(zero), privileged:false, host_network:false, container_port_list:[ContainerPortDTO[ container_port:7883, host_port:7883,],ContainerPortDTO[ container_port:8943, host_port:8943,],ContainerPortDTO[ container_port:7882, host_port:7882,]], mounts:[VolumeDTO[ name:db, type:DB, source:/var/IoTEdge/db/sys_edge_hub/db, destination:/opt/iot/edge_hub/db, read_only:false,],VolumeDTO[ name:log, type:LOG, source:/var/IoTEdge/log/sys_edge_hub/log, destination:/opt/iot/edge_hub/logs, read_only:false,],VolumeDTO[ name:config, type:CONFIG, source:/var/IoTEdge/config/sys_edge_hub/config, destination:/opt/iot/edge_hub/config, read_only:false,],VolumeDTO[ name:agentsock, type:AGENTSOCK, source:/opt/IoTEdge/edgeAgent/socket, destination:/opt/iot/edge_hub/socket, read_only:false,]], resources:ResourcesDTO[ limits:ResourceDTO[ cpu:1, memory:4096,], requests:ResourceDTO[ cpu:0.25, memory:512,],],], log_path:(zero), update_time:1667214880305,],ModuleDeployment[ module_id:sys_edge_agent, app_id:$edge_agent, version:1-1-14-standard-x86, type:docker, description:(zero), restart_policy:Always, liveness_probe:ProbeDTO[ http_get:HttpGetDTO[ path:/edge/v1/handshake, port:8943, scheme:HTTPS,], initial_delay_seconds:300, timeout_seconds:15,], readiness_probe:ProbeDTO[ http_get:HttpGetDTO[ path:/edge/v1/handshake, port:8943, scheme:HTTPS,], initial_delay_seconds:300, timeout_seconds:15,], settings:ModuleSetting[ cmd:(zero), privileged:false, host_network:false, container_port_list:[], mounts:[VolumeDTO[ name:db, type:DB, source:/var/IoTEdge/db/sys_edge_agent/db, destination:/opt/iot/edgeAgent/db, read_only:false,],VolumeDTO[ name:log, type:LOG, source:/var/IoTEdge/log/sys_edge_agent/log, destination:/opt/iot/edgeAgent/log, read_only:false,],VolumeDTO[ name:config, type:CONFIG, source:/var/IoTEdge/config/sys_edge_agent/config, destination:/opt/iot/edgeAgent/sdk/data, read_only:false,],VolumeDTO[ name:socket, type:SOCKET, source:/opt/IoTEdge/edgeAgent/socket, destination:/opt/iot/edgeAgent/server, read_only:false,]], resources:ResourcesDTO[ limits:ResourceDTO[ cpu:1, memory:1024,], requests:ResourceDTO[ cpu:0.25, memory:512,],],], log_path:(zero), update_time:1667214880310,]], modules:[], deploy_id:1667214880311,]
2022-10-31T19:14:40,426470 | INFO | reportDeploymentState | 79 | reportDeploymentState, deploymentState:DeploymentState[ node_id:784536492407271424, deploy_id:1667214880311, deploy_state:PENGDING, reason:(zero),]
2022-10-31T19:14:42,495599 | INFO | saveBasePathInfo | 74 | config base path start.
2022-10-31T19:14:42,495666 | INFO | saveBasePathInfo | 79 | config log_path:/var/IoTEdge/log/,db_path:/var/IoTEdge/db/, config_path:/var/IoTEdge/config/
2022-10-31T19:14:42,495755 | INFO | saveBasePathInfo | 91 | config base path success.
2022-10-31T19:14:42,495787 | INFO | addAgentCustomConfigs | 206 | addCustomConfigs start.
2022-10-31T19:14:42,495827 | INFO | addAgentCustomConfigs | 230 | addCustomConfigs end.
2022-10-31T19:14:42,495862 | INFO | pullImage | 305 | start pull image, deploy type is cloud
2022-10-31T19:14:48,337844 | INFO | createModule | 75 | create Module, name:sys_edge_agent
2022-10-31T19:14:53,387292 | INFO | createModule | 93 | module created, CreateRespBody: ModuleCreateRsp[ moduleId:sys_edge_agent, moduleName:sys-edge-agent, appId:$edge_agent, appVersion:1-1-14-standard-x86, containerId:2a4806bfb86a9d4e2db4b6c8728ffcd137f5a9a756adf3563a31381432c67b06, processId:(zero), type:docker,]
2022-10-31T19:14:53,387394 | INFO | startModule | 159 | startModule moduleId:sys_edge_agent
2022-10-31T19:14:59,775331 | INFO | listModule | 245 | listModule
2022-10-31T19:14:59,877424 | INFO | checkModulesDo | 285 | start check modules, time:1
2022-10-31T19:14:59,877480 | INFO | listModule | 245 | listModule
2022-10-31T19:14:59,979046 | INFO | printModulesAndReport | 349 | ***success:1 failed:0
2022-10-31T19:14:59,979103 | INFO | reportDeploymentState | 79 | reportDeploymentState, deploymentState:DeploymentState[ node_id:784536492407271424, deploy_id:1667214880311, deploy_state:RUNNING, reason:(zero),]
2022-10-31T19:15:00,055663 | INFO | reportNodeInstallEvent | 152 | report event, msg:{"events":[{"resource":"node.installation","location":"784536492407271424","event":"succeeded","event_severity":"Info","event_time":"20221031T111500Z","notify_data":{"host_tag":"DEFAULT","edge_node_id":"784536492407271424"}}]}
2022-10-31T19:15:00,121377 | INFO | reportModuleStatus | 131 | reportModuleStatus, modulesInfo:ModuleStatusInfoList[ host_tag:DEFAULT, deploy_id:1667214880311, modules:[ModuleStatusInfo[ module_id:sys_edge_agent, app_id:$edge_agent, app_version:1-1-14-standard-x86, container_state:RUNNING, liveness_state:(zero), update_time:1667214880310,]],]
2022-10-31T19:15:00,207238 | INFO | install | 432 | install edge finish.
2022-10-31T19:15:00,207346 | INFO | stop | 483 | edgeInstaller stop.
/root

边缘设备在线

iotedge-cmd-install-8.png

14项检查

  • 第一次尝试安装时,docker版本装的不对,重装了,浪费一些时间。
  • 现在,我把成功的日志内容贴出来,以后再有部署作业的同学,就能提前知道检查项,避免返工,提高效率。
2022-10-31T19:14:24,956982 | INFO | Current Work dir is /tmp.
2022-10-31T19:14:24,958034 | INFO | Start to install edgeDaemon.
2022-10-31T19:14:24,959563 | INFO | this is a normal install mode.
2022-10-31T19:14:24,967816 | INFO | 
2022-10-31T19:14:24,969277 | INFO | (1/14) check docker version
2022-10-31T19:14:25,205389 | INFO | get docker  Server Version: 20.10.21
2022-10-31T19:14:25,212105 | INFO | (1/14) check docker version success
2022-10-31T19:14:26,214562 | INFO | 
2022-10-31T19:14:26,216027 | INFO | (2/14) check cpu info
2022-10-31T19:14:26,219890 | INFO | cpu num is 2
2022-10-31T19:14:26,221015 | INFO | (2/14) check cpu success 
2022-10-31T19:14:26,222566 | INFO | 
2022-10-31T19:14:26,224041 | INFO | (3/14) check memory info
2022-10-31T19:14:26,227711 | INFO | MemTotal: 7762808 kB
2022-10-31T19:14:26,230619 | INFO | (3/14) check memory success
2022-10-31T19:14:26,232137 | INFO | 
2022-10-31T19:14:26,233633 | INFO | (4/14) check glibc info
2022-10-31T19:14:26,237379 | INFO | glibc 2.17
2022-10-31T19:14:26,240788 | INFO | (4/14) check glibc success
2022-10-31T19:14:26,242287 | INFO | 
2022-10-31T19:14:26,243770 | INFO | (5/14) start verify duplicate install iot edge lite
2022-10-31T19:14:26,245244 | INFO | (5/14) check edge duplicate install success
2022-10-31T19:14:26,246712 | INFO | 
2022-10-31T19:14:26,248167 | INFO | (6/14) creating edge_killall script /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-killall.sh
2022-10-31T19:14:26,254145 | INFO | (6/14) creating edge_killall script /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-killall.sh success
2022-10-31T19:14:26,255725 | INFO | 
2022-10-31T19:14:26,256829 | INFO | (7/14) creating edge_uninstall script /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-uninstall.sh
2022-10-31T19:14:26,260329 | INFO | (7/14) creating edge_uninstall script /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-uninstall.sh success
2022-10-31T19:14:26,261830 | INFO | 
2022-10-31T19:14:26,263337 | INFO | (8/14) creating /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-uninstall.sh /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-killall.sh symlink in /usr/local/bin
2022-10-31T19:14:26,266468 | INFO | (8/14) creating /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-uninstall.sh /opt/IoTEdge/IoTEdge/edgeInstaller/iotedge-killall.sh symlink in /usr/local/bin success
2022-10-31T19:14:26,267654 | INFO | 
2022-10-31T19:14:26,269143 | INFO | (9/14) systemd: Stoping edgedaemon
2022-10-31T19:14:26,270641 | INFO | systemd: Stoping edgedaemon
2022-10-31T19:14:26,289493 | INFO | (9/14) systemd: Stoping edgedaemon success
2022-10-31T19:14:26,290678 | INFO | 
2022-10-31T19:14:26,291783 | INFO | (10/14) start install edge_install、edge_daemon
2022-10-31T19:14:26,293286 | INFO | Installing edge_installer to /opt/IoTEdge/IoTEdge/edgeInstaller
2022-10-31T19:14:26,298987 | INFO | Installing edge_daemon to /opt/IoTEdge/IoTEdge/edgeDaemon
2022-10-31T19:14:26,305803 | INFO | (10/14) start install edge_install、edge_daemon success
2022-10-31T19:14:26,307166 | INFO | 
2022-10-31T19:14:26,308764 | INFO | (11/14) creating environment file /lib/systemd/system/edgedaemon.env
2022-10-31T19:14:26,311831 | INFO | (11/14) creating environment file /lib/systemd/system/edgedaemon.env success
2022-10-31T19:14:26,313327 | INFO | 
2022-10-31T19:14:26,314810 | INFO | (12/14) creating service file /lib/systemd/system/edgedaemon.service
2022-10-31T19:14:26,316299 | INFO | systemd: creating service file /lib/systemd/system/edgedaemon.service
2022-10-31T19:14:26,319135 | INFO | (12/14) creating service file /lib/systemd/system/edgedaemon.service success 
2022-10-31T19:14:26,320608 | INFO | 
2022-10-31T19:14:26,322010 | INFO | (13/14) systemd enable and start edgedaemon
2022-10-31T19:14:26,323511 | INFO | systemd: enabling edgedaemon unit
Created symlink from /etc/systemd/system/edgedaemon.service to /usr/lib/systemd/system/edgedaemon.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/edgedaemon.service to /usr/lib/systemd/system/edgedaemon.service.
2022-10-31T19:14:26,404347 | INFO | systemd: starting edgedaemon
2022-10-31T19:14:26,435234 | INFO | (13/14) systemd enable and start edgedaemon success
2022-10-31T19:14:26,436619 | INFO | 
2022-10-31T19:14:26,439015 | INFO | (14/14) backing up service file /lib/systemd/system/edgedaemon.service and environment file /lib/systemd/system/edgedaemon.env
2022-10-31T19:14:26,442029 | INFO | (14/14) not config backing up dir
2022-10-31T19:14:26,444488 | INFO | (14/14) backing up service file /lib/systemd/system/edgedaemon.service and environment file /lib/systemd/system/edgedaemon.env success

参考资料

附加

【我的IoT端边云体验】有奖征文火热进行中:https://bbs.huaweicloud.com/blogs/378687

此外,在(https://bbs.huaweicloud.com/activity/suggestion.html)提出您的宝贵建议,标题以【云驻计划-定向征文】开头,还有机会赢取额外奖励。

【版权声明】本文为华为云社区用户原创内容,转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息, 否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。