# Deployment for a single region with 3 nodes on 3 VMs

**URL:** https://forum.yugabyte.com/t/deployment-for-a-single-region-with-3-nodes-on-3-vms/1984
**Category:** General
**Created:** [March 2, 2023, 7:46am UTC](https://forum.yugabyte.com/t/deployment-for-a-single-region-with-3-nodes-on-3-vms/1984 "2023-03-02T07:46:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Dung\_Le\_Minh](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/dung_le_minh/32/621_2.png) [@Dung\_Le\_Minh](https://forum.yugabyte.com/u/Dung_Le_Minh)
#### Post date: [March 2, 2023, 7:46am UTC](https://forum.yugabyte.com/t/deployment-for-a-single-region-with-3-nodes-on-3-vms/1984/1 "2023-03-02T07:46:03Z")

</div>

Deployment for a single region with 3 nodes on 3 VMs:

./bin/yb-master   
–master\_addresses 172.29.11.124:7100,172.29.11.125:7100,172.29.11.126:7100   
–rpc\_bind\_addresses 172.29.11.124:7100   
–fs\_data\_dirs “/home/yugabytedb/disk1,/home/yugabytedb/disk2”   
–placement\_cloud TTDLCMC   
–placement\_region HANOI   
–placement\_zone CAUGIAY \

> & /home/yugabytedb/disk1/yb-master.out &

after run command above i had received:  
I0302 06:28:30.657379 7332 client-internal.cc:2314] New master addresses: [172.29.11.124:7100,172.29.11.125:7100,172.29.11.126:7100]  
I0302 06:28:30.715276 4565 tcp\_stream.cc:322] { local: 172.29.11.124:39971 remote: 172.29.11.126:7100 }: Recv failed: Network error (yb/util/net/socket.cc:540): recvmsg error: Connection refused (system error 111)  
I0302 06:28:31.233310 4564 tcp\_stream.cc:322] { local: 172.29.11.124:43525 remote: 172.29.11.126:7100 }: Recv failed: Network error (yb/util/net/socket.cc:540): recvmsg error: Connection refused (system error 111)  
I0302 06:28:32.124291 4563 tcp\_stream.cc:322] { local: 172.29.11.124:38075 remote: 172.29.11.125:7100 }: Recv failed: Network error (yb/util/net/socket.cc:540): recvmsg error: Connection refused (system error 111)  
E0302 06:28:32.180979 4574 async\_initializer.cc:95] Failed to initialize client: Timed out (yb/rpc/rpc.cc:222): Could not locate the leader master: GetLeaderMasterRpc(addrs: [172.29.11.124:7100, 172.29.11.125:7100, 172.29.11.126:7100], num\_attempts: 52) passed its deadline 623.740s (passed: 1.524s): Not found (yb/master/master\_rpc.cc:288): no leader found: GetLeaderMasterRpc(addrs: [172.29.11.124:7100, 172.29.11.125:7100, 172.29.11.126:7100], num\_attempts: 1)  
W0302 06:28:33.181721 7333 catalog\_manager.cc:1411] Failed to get current config: Illegal state (yb/master/catalog\_manager.cc:11300): Node c9fc5c53c48349e2ac58421a0915284f peer not initialized.

---

<div class="post-metadata">

### Author: ![dorian\_yugabyte](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/dorian_yugabyte/32/206_2.png) [@dorian\_yugabyte](https://forum.yugabyte.com/u/dorian_yugabyte)
#### Post date: [March 3, 2023, 1:29pm UTC](https://forum.yugabyte.com/t/deployment-for-a-single-region-with-3-nodes-on-3-vms/1984/2 "2023-03-03T13:29:46Z")

</div>

Continuing on [Slack](https://yugabyte-db.slack.com/archives/CG0KQF0GG/p1677741554593419)

---

<div class="post-metadata">

### Author: ![dorian\_yugabyte](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/dorian_yugabyte/32/206_2.png) [@dorian\_yugabyte](https://forum.yugabyte.com/u/dorian_yugabyte)
#### Post date: [March 20, 2023, 7:48am UTC](https://forum.yugabyte.com/t/deployment-for-a-single-region-with-3-nodes-on-3-vms/1984/3 "2023-03-20T07:48:30Z")

</div>

The problem was with following incorrectly the commands on the guide. They were not running yb-masters on all 3 servers as mentioned in the guide.
