# PMM Rename Node & Service

**URL:** https://forums.percona.com/t/pmm-rename-node-service/30138
**Category:** Percona Monitoring and Management (PMM)
**Tags:** percona, pmm-doc, pmm, community
**Created:** [May 8, 2024, 11:16am UTC](https://forums.percona.com/t/pmm-rename-node-service/30138 "2024-05-08T11:16:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Samuel\_Ruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/samuel_ruiz/32/16328_2.png) [@Samuel\_Ruiz](https://forums.percona.com/u/Samuel_Ruiz)
#### Post date: [May 8, 2024, 11:16am UTC](https://forums.percona.com/t/pmm-rename-node-service/30138/1 "2024-05-08T11:16:40Z")

</div>

At this time, one of our clients is rebranding. And we want to rename them servers. If i force the configuration of the node with the new name, it only creates a new node. Any solution given?

Thanks.

---

<div class="post-metadata">

### Author: ![nurlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nurlan/32/1523_2.png) [@nurlan](https://forums.percona.com/u/nurlan)
#### Post date: [May 8, 2024, 8:41pm UTC](https://forums.percona.com/t/pmm-rename-node-service/30138/2 "2024-05-08T20:41:49Z")

</div>

Hi @Samuel_Ruiz,  
There are no supported solution yet, we will work on it soon.  
However there is a hack which is not recommended and very risky:  
Try it at your own risk.  
Do it on some staging environment, make sure that nothing is broken and then do it on production

1. Login to PMM Server docker container `docker exec -it pmm-server /bin/bash`
2. Open psql `psql -U pmm-managed`
3. Update node names that you would like to using SQL query `UPDATE table nodes SET node_name="new name" where node_name="old name";`
4. Restart pmm-agent on the node
5. Check that node name is changed by running `pmm-admin status` on the node

Hope it will be useful for you
