---
# System prepended metadata

title: edgeServer_V2.1.7A3_TEST for Deploy Test use Edge Server
tags: [IEI_IOT, Report]

---

# edgeServer_V2.1.7A3_TEST for Deploy Test use Edge Server
## edgeServer_V2.1.7A3_TEST & DeviceImg_V1.0.15A1 for Test Deploy
<style>
.markdown-body {
    max-width: 80%;
}
</style>

###### tags: `Report` `IEI_IOT`
###### Created on: 29-04-2021
## version:

| EdgeServerZipName| DEVICE_TAG| EdgeServerAPI_TAG| CONSOLE_TAG |UI_TAG| 
| --- | --- | ---  | --- | --- | 
| edgeServer_V2.1.7A3_TEST | V1.0.15A1 | V2.1.7A3  | V2.1.07A2 | V2.1.06A0 |

|DBZipName |DB_TAG| DEVIMGZipName|
|---  | --- | --- |
|DB_V1.0.15A1  | V1.0.15A1 | 20210128_CP_V1.0.15A0A1.zip |

## test area
10.10.81.250 : D-Tool(Hub) (db in self)
10.10.81.251 : FT1/FT2 (db in 10.10.230.251:27018)
10.10.81.252 : FT3 (CP Image Station) (db in 10.10.230.251:27018)
10.10.81.253 : Burn(BI) (db in 10.10.230.251:27018)

10.10.81.251->192.168.0.184 : 0 station

10.10.80.32 : AS BI, wood table (db in self)
all db update for V1.0.15A1

Dell PC ip : 10.10.80.32 use to as BI station
ASUS PC ip :10.10.80.103 use to deploy

10.10.80.69 : Hunter Desk

10.10.80.55 : Adam Desk

## use deployProject create zip file step:
```
sudo ssh test@10.10.80.103
sudo su
cd /home/test/deployproject/edgeServerDeploy

## bash prepare.sh ZIPFILENAME API_TAG/BRANCH CONSOLE_TAG UI_TAG
bash prepare.sh edgeServer_V2.1.7A3_TEST.zip V2.1.7A3 V2.1.07A2 V2.1.06A0

```
## use deployProject deploy zip file step:
### zip file in backup folder
### deploy IP: cat backup/config/edgeServer_V2.1.7A3_TEST/map.txt
```
## fileName mapping
DQV-BI-A.js 10.10.81.253
DQV-FT1-A.js 10.10.81.251
DQV-FT3-A.js 10.10.81.252
DQV-HUB-A.js 10.10.81.250
TestUseES-BI-B.js 10.10.80.103
TestUseES-FT1-B.js 10.10.80.103
TestUseES-FT3-B.js 10.10.80.103
TestUseES-HUB-B.js 10.10.80.103
TestHeartBeat-BI-A.js 10.10.80.97
TestUsePUZZLE-BI-B.js 10.10.80.69
TestUsePUZZLE-BI-C.js 10.10.80.55
TestUsePUZZLE-BI-ILLUMINA.js 10.10.80.71
TestUsePUZZLE-FT1-B.js 10.10.80.69
TestUsePUZZLE-FT1-C.js 10.10.80.55
TestUsePUZZLE-FT1-ILLUMINA.js 10.10.80.71
TestUsePCBA-BT-A.js 10.10.80.69
TestUsePCBA-BT-C.js 10.10.80.55
TestUsePULM-PULM-103.js 10.10.80.103
TestUsePULM-PULM-85.js 10.10.80.85
TestUsePULM-PULM-250.js 10.10.81.250

cd /home/test/deployproject/edgeServerDeploy
bash autoPass.sh edgeServer_V2.1.7A3_TEST.zip DQV-BI-A.js/DQV-FT1-A.js/DQV-FT3-A.js/
bash autoPass.sh edgeServer_V2.1.7A3_TEST.zip DQV-HUB-A.js

bash autoPass.sh edgeServer_V2.1.7A3_TEST.zip TestUseES-FT1-B.js

bash autoPass.sh edgeServer_V2.1.7A3_TEST.zip TestUsePUZZLE-FT1-B.js/TestUsePUZZLE-FT1-C.js

bash autoPass.sh edgeServer_V2.1.7A3_TEST.zip TestUsePCBA-BT-A.js/TestUsePCBA-BT-C.js

```

## NEW METHOD
## Deploy DB
```
sudo ssh test@10.10.80.103
sudo su
cd /home/test/deployproject/dbDeploy
bash prepare.sh DB_V1.0.15A1.zip V1.0.15A1

bash pass.sh DB_V1.0.15A1.zip 10.10.81.251 10.10.230.251 27018

bash pass.sh DB_V1.0.15A1.zip 10.10.81.250 127.0.0.1 27017

bash pass.sh DB_V1.0.15A1.zip 10.10.80.103 127.0.0.1 27017

bash pass.sh DB_V1.0.15A1.zip 10.10.80.69 127.0.0.1 27017

bash pass.sh DB_V1.0.15A1.zip 10.10.80.55 127.0.0.1 27017

# you can see the version in DB dbversion collection is tag_commitID
V1.0.15A1_xxxxxxx
```
