---
# System prepended metadata

title: edgeServer_V2.108A6_DB_V1.0.16A7_19082022 for Deploy Test use Edge Server
tags: [IEI_IOT, Report]

---

# edgeServer_V2.108A6_DB_V1.0.16A7_19082022 for Deploy Test use Edge Server
## edgeServer_V2.108A6_DB_V1.0.16A7_19082022_TEST & DeviceImg_V1.0.16A7 for Test Deploy
<style>
.markdown-body {
    max-width: 80%;
}
</style>

###### tags: `Report` `IEI_IOT`
###### Date: 19-08-2022 by Nayana
## version:

| EdgeServerZipName| DEVICE_TAG| EdgeServerAPI_TAG| CONSOLE_TAG |UI_TAG| 
| --- | --- | ---  | --- | --- | 
| edgeServer_V2.108A6_DB_V1.0.16A7_19082022_TEST | V1.0.16A0 | V2.1.08A6  | V2.1.07A8 | V2.1.08A5 |

|DBZipName |DB_TAG| DEVIMGZipName|
|---  | --- | --- |
|DB_V1.0.16A7  | V1.0.16A7 | 20210812_CP_V1.0.16A0.zip |

## 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.108A6_DB_V1.0.16A7_19082022_TEST.zip V2.1.08A6 V2.1.07A8 V2.1.08A5

```
## use deployProject deploy zip file step:
### zip file in backup folder
### deploy IP: cat backup/config/edgeServer_V2.108A6_DB_V1.0.16A7_19082022_TEST/map.txt
```
## fileName mapping
DQV and TestUse

cd /home/test/deployproject/edgeServerDeploy
bash autoPass.sh edgeServer_V2.108A6_DB_V1.0.16A7_19082022_TEST.zip

example:
bash autoPass.sh edgeServer_V2.108A6_DB_V1.0.16A7_19082022_TEST.zip DQV-BI-B.js/DQV-FT1-A.js/DQV-FT3-C.js/
bash autoPass.sh edgeServer_V2.108A6_DB_V1.0.16A7_19082022_TEST.zip DQV-HUB-D.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.16A7.zip V1.0.16A7

bash pass.sh DB_V1.0.16A7.zip 10.10.81.251 10.10.230.251 27018

bash pass.sh DB_V1.0.16A7.zip 10.10.81.250 127.0.0.1 27017

bash pass.sh DB_V1.0.16A7.zip 10.10.80.103 127.0.0.1 27017

# you can see the version in DB dbversion collection is tag_commitID
V1.0.16A7_xxxxxxx
```
