Introduction
...
Once the execution is completed in console will see prompt "ELIOTEdge Environment Installed , Components Install ELIOT Master and EDGE Nodes Successfully"
...
Components and Services running ELIOT IotGateway/ Edge Node
Deploy Application in ELIOT
- Login to
...
- MECM Portal https://ip:
...
1.1
...
click on Systems ->App LCM ->New Registration
Click System -> Host Management -> Add Host Name: Applcm(any general name)
Name: general name IP: applcm"public ip"
System: k8s Port: 30204
Lcmip: sandbox ip(for testing purpose can provide edge ip, if no sandbox env) 1.2. Click on Systems ->App Rule -> New Registration
mecHost: sandbox ip(for testing purpose can provide edge ip, if no sandbox env) Name: Apprule(any general name)
Port: 31252 Protocol: https IP: applcm"public ip"
Architecture: X86 Port: 30206
Status: Normal 1.3. click on Systems ->App Store ->New Registration
Port Range: leave as it is App Store Name: appstore(any general name)
Address: Bangalore UploadConfig File: upload sandbox env kubeconfig file IP: Appstore public ip
1.2 Click on Workspace -> Create Project -> Application Integration -> Start - Provide App Name, Version, Provider, Workload Type, Architecture, Industry, Type. Port: 30099
- Upload Icon, provide Description. And click on confirm.
1.3. Now click on Deployment Test.
Appstore Repo: {HarborIP:443}(192.168.1.1:443)
- Upload Docker images directly from portal by clicking on Upload App Image Repo Name: appstore(any general name)
Or, directly push Docker images to Harbor repo (takes lesser time, preferredRepo Username: admin(harbor user name)
- Click next, upload deployment yaml file now. Repo Password: Harbor12345(harbor password)
- After config upload, click next and click start deployment Vendor: vendor(any general name)
- After Deployment is success, click on Release Recourses 2. Login to Developer Portal https://ip:30092
Note: 2.1. Add sandbox env to deploy application before publish
- While Deployment test if any error happens, open ATP portal (https://ip:30094) in another tab of browser, sing in, come back to developer portal and re run deployment test Click System ->Host Management ->Add Host
Name: general name
System: k8s
Lcmip: sandbox ip(for testing purpose can provide edge ip, if no sandbox env)
mecHost: sandbox ip(for testing purpose can provide edge ip, if no sandbox env)
Port: 31252
- gitee.com/edgegallery/applications repo provides, A lot of applications with their logo, deployment yaml & user guides
1.4. Now click on Application Release
Protocol: https
Architecture: X86
Status: Normal
Port Range: leave as it is
Upload file for Application Description Address: Bangalore
Click save config, click Next Step, click Start Test, scroll down to find & click Start Test button, click Next Step, click publish to publish application to appstore. 2. Login to MECM Portal https://ip:30093 UploadConfig File: upload sandboxenvkubeconfig file
2.1 2 click Click on SystemsWorkspace -> MEPM > Create Project -> Application Integration -> Start
New Registration - Provide Name: ApplcmApp Name, Version, Provider, Workload Type, Architecture, Industry, Type.
IP: applcm “public ip”
Port: 31252
...
- Upload Icon, provide Description. And click on confirm.
2.23. click on Systems -> App Store -> New Registration Now click on Deployment Test.
- Upload Docker images directly from portal by clicking on App Store Name: appstore(any general name)Upload App Image
IP: Appstore public ip Or, directly push Docker images to Harbor repo (takes lesser time, preferred)
Port: 30099- Click next, upload deployment yaml file now.
Appstore Repo: {HarborIP:443} - After config upload, click next and click start deployment
Repo Name: appstore(any general name) Repo Username: admin(harbor user name)- After Deployment is success, click on Release Recourses
Repo Password: (harbor password)Note:
- Vendor: vendor(any general name)
2.3. Add k8s node:While Deployment test if any error happens, open ATP portal (https://ip:30094) in another tab of browser, sing in, come back to developer portal and re run deployment test
Click on Edge Nodes -> New Registration
VM: k8s
Name: edge1
IP: edge public ip
Location: select from drop down gitee.com/edgegallery/applications repo provides, A lot of applications with their logo, deployment yaml & user guides
2.4. Now click on Application Release
Upload file for Application Description
Click save config, click Next Step, click Start Test, scroll down to find & click Start Test button, click Next Step, click publish to publish application to appstore.
3. Login to MECM Portal https://ip:30093
Address: yanta 3.1. Add k8s node:
Coordinates: 116.39,39.90 Click on Edge Nodes ->New Rgistration Architecture: x86
Capabilities: select none VM: k8s
MEPM: select applcm node from dropdown
2.4. Download /root/.kube/config file from edge node. Name: edge1
And click on Upload config file to upload.
IP: edge public ip
2.5. Sync applications from AppStore Location: select from drop down
Click on APP Management -> Package Management -> Synchronize From App Store Address: yanta
Select check boxes of applications to be synced and click confirm. Coordinates: 116.39,39.90
2.6. Distribute and Deploy app. Architecture: x86
Click on APP Management After deciding the application to be deployed, find and click on Distribute button on the application row. Capabilities: select none
Select the edge node check box and click confirm MEPM: select applcm node from dropdown
Now click on Deploy button. 3.2. Download /root/.kube/config file from edge node
Enter APP Name and APP Description click confirm
...
And click on Upload config file to upload.
Developer Guide and Troubleshooting
...
S. No | Software | Type | Version | License | Remarks |
1. | Docker | CRI | 18.09 | Apache 2.0 license | No code modifications done |
2. | Kubernetes | Orchestration | v1.18.7 | Apache 2.0 license | No code modifications done |
3. | Edge Gallery | Open Source MEC Platform | 1.1.1 | Apache 2.0 license | Open Source MEC Platform |
4. | Grafana | Monitoring | 7.1.1 | Apache 2.0 license |
EDGE / IotGateway Node
S. No | Software | Type | Version | License Information | Remarks |
1. | Docker | CRI | 18.09 | Apache 2.0 license | No code modifications done |
2. | K8s | Orchestration | 1.18.7 | Apache 2.0 license | No code modifications done |
3. | Edge Gallery | Open Source MEC Platform | 1.1.1 | Apache 2.0 license | No code modifications done |
4. | cAdvisor | Container Metrics | v0.36.0 | Apache 2.0 license | No code modifications done |
5. | RabbitMQ | Message Broker | 3.7 | Mozilla Public License | No code modifications done. RabbitMQ image is deployed as is. |
6. | Prometheus | Metrics Collector | 9.3.1 | Apache 2.0 license | Code part of Edge Gallery |
7. | OPC-UA | IoT Protocol | Geneva | Apache 2.0 license | Upstream |
11 | EdgeX | Services | Edinburgh | Apache 2.0 license | Upstream |
References
...