# Migrating Master Process to New Node in YugabyteDB Cluster

**URL:** <https://forum.yugabyte.com/t/migrating-master-process-to-new-node-in-yugabytedb-cluster/4196>\
**Category:** General\
**Created:** [February 10, 2025, 8:24pm UTC](https://forum.yugabyte.com/t/migrating-master-process-to-new-node-in-yugabytedb-cluster/4196 "2025-02-10T20:24:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![parvez](https://avatars.discourse-cdn.com/v4/letter/p/49beb7/32.png) [@parvez](https://forum.yugabyte.com/u/parvez)\
**Post date:** [February 10, 2025, 8:24pm UTC](https://forum.yugabyte.com/t/migrating-master-process-to-new-node-in-yugabytedb-cluster/4196/1 "2025-02-10T20:24:38Z")

</div>

We have three nodes (node1, node2, and node3) running both master and t-server processes on each node, with a replication factor (RF) of 3, using YugabyteDB’s ‘yugabyted’ to start the processes. Now, we have added a fourth node (node4), which only has the t-server process running because the master quorum is already met.

My question is: Can I stop both the master and t-server processes on node1, start the master process on node4 (so that node4 runs both master and t-server), and then safely remove node1 from the cluster? If so, how should I go about doing this?

---

<div class="post-metadata">

**Author:** ![nmalladi](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/nmalladi/32/236_2.png) [@nmalladi](https://forum.yugabyte.com/u/nmalladi)\
**Post date:** [February 10, 2025, 11:56pm UTC](https://forum.yugabyte.com/t/migrating-master-process-to-new-node-in-yugabytedb-cluster/4196/2 "2025-02-10T23:56:38Z")

</div>

Hi Parvez,

Yes, we can stop both the master and t-server processes on node1 and subsequently start another node with master and tserver processes( node4) to get the cluster back to the required quorum RF-3.

There are docs here that mention the steps for replacing the yb-master and yb-tserver processes -

- Replace yb-master - [Replace a failed YB-Master | YugabyteDB Docs](https://docs.yugabyte.com/preview/troubleshoot/cluster/replace_master/)
- Replcae yb-tserver - [Replace a failed YB-TServer | YugabyteDB Docs](https://docs.yugabyte.com/preview/troubleshoot/cluster/replace_tserver/)

Also, wanted to check if you’re using [yugabyted](https://docs.yugabyte.com/preview/reference/configuration/yugabyted/) for creating the clusters? Most of the steps in the above docs related to blacklisting and draining the nodes need to be performed using `yb-admin` commands however the new node should be started with `yugabyted start` command.

Please let us know if you’ve any additional questions.

Thanks,  
Nikhil Chandrappa
