---
# System prepended metadata

title: PULM edgeServerV2.1.5BFix1 正式佈署專用 (Formal deploy Pulm use)
tags: [IEI_IOT, Report]

---

# PULM edgeServerV2.1.5BFix1 正式佈署專用 (Formal deploy Pulm use)
## edgeServerV2.1.5BFix1 & DeviceImg_v0.0.2
###### tags: `Report` `IEI_IOT`
## version:

| EdgeServerZipName| DEVICE_TAG| EdgeServerAPI_TAG| CONSOLE_TAG |UI_TAG| 
| --- | --- | ---  | --- | --- | 
| edgeServerV2.1.5BFix1 | v0.0.2 | V2.1.5BFix1  | V1.1.10B | V2.1.5B |

|DBZipName |DB_TAG| DEVIMGZipName|
|---  | --- | --- |
|V1.0.15A0  | V1.0.15A0 | pulmcard_v0.0.2.zip |

[StationIP](https://hackmd.io/@viyahuang/StationIP)

### Jumper 172.16.2.126
# <font color="red">Deoply Factory or D-Tool Start From HERE</font>
跳板(Jumper Server)
- [ ] Jumper 172.16.2.126

七堵(Factory Qidu New) 5MF
- [ ]     PULM Server  A  10.29.80.16 
- [ ]     PULM Server  B  10.9.250.12

## PULM DB 更新(Update), first check support mongo command
### Prepare DB
```
sudo ssh test@172.16.2.126
sudo su
cd /home/test/deployproject/dbDeploy
bash prepare.sh dbadam_pulm_parallel.zip adam_pulm_parallel
```
### PASS DB
#### PULM DB
```
# Factory 5MF DB
bash pass.sh dbadam_pulm_parallel.zip 10.29.80.16 127.0.0.1 27017
bash pass.sh dbadam_pulm_parallel.zip 10.29.80.16 127.0.0.1 27017

# you can see the version in DB dbversion collection is tag_commitID
adam_pulm_parallel_xxxxxxx
```

# <font color="red">SETUP EdgeServer </font>

## Edge Server (PULM Server)

## use deployProject create zip file step:
## config detail is
### sudo ssh test@172.16.2.126 
### cat /home/test/deployproject/edgeServerDeploy/stationIP.json 
```
sudo ssh test@172.16.2.126
sudo su
cd /home/test/deployproject/edgeServerDeploy

## bash prepare.sh ZIPFILENAME API_TAG/BRANCH CONSOLE_TAG UI_TAG
bash prepare.sh edgeServerV2.1.5BFix1.zip V2.1.5BFix1 V1.1.10B V2.1.5B

```
## use deployProject deploy zip file step:
### zip file in backup folder
### deploy IP: cat backup/config/edgeServerV2.1.5BFix1/map.txt
#### CP
```
## fileName mapping
FactoryPULM-PULM-ES1.js 10.29.80.16
FactoryPULM-PULM-ES2.js 10.10.80.32

sudo ssh test@172.16.2.126
sudo su
cd /home/test/deployproject/edgeServerDeploy

# only factory
bash autoPass.sh edgeServerV2.1.5BFix1.zip FactoryPULM-PULM-ES1.js/FactoryPULM-PULM-ES2.js
```

# <font color="pink">------ SETUP EdgeServer FINISH ------</font>
