# Steps to restart Replication Server
### Stop the replication servers
1) From the secondary-1 host (local IP address: 192.168.0.2, external IP address: 10.10.230.251), stop the two secondary mongodb servers (10.10.230.251:27017, 172.16.2.122:27017)
```
systemctl stop mongodb
// Login to secondary-2 host (172.16.2.122) to stop the mongodb server
ssh test@172.16.2.122
systemctl stop mongodb
```
2) From the primary host (local IP address: 192.168.0.184), stop the primary mongodb server (10.10.230.251:27018)
`systemctl stop mongodb`
---
### Start the replication servers
1) Open the terminal in the primary host (local IP address: 192.168.0.184) to start the primary mongodb server (10.10.230.251:27018)
`systemctl start mongodb `
2) Start the two secondary mongodb servers (10.10.230.251:27017, 172.16.2.122:27017)
```
// Login to secondary-1 host (10.10.230.251) to start the mongodb server
ssh test@10.10.230.251
systemctl start mongodb
// Login to secondary-2 host (172.16.2.122) to start the mongodb server
ssh test@172.16.2.122
systemctl start mongodb
```