# 3 Hosts with ONE database and ONE console

**URL:** <https://discourse.crowdsec.net/t/3-hosts-with-one-database-and-one-console/1427>\
**Category:** crowdsec\
**Created:** [September 24, 2023, 12:03am UTC](https://discourse.crowdsec.net/t/3-hosts-with-one-database-and-one-console/1427 "2023-09-24T00:03:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wambacher](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/wambacher/32/1024_2.png) [@wambacher](https://discourse.crowdsec.net/u/wambacher)\
**Post date:** [September 24, 2023, 12:03am UTC](https://discourse.crowdsec.net/t/3-hosts-with-one-database-and-one-console/1427/1 "2023-09-24T00:03:53Z")

</div>

Hi,

i’m runnung crowdsec on one local machine using postgresql database.

Now i will add crowdsec on two more local machines.

Is it possible to use the same postgresql database running on the first host?

And can i manage all hosts via ONE console running on one host? Because only one host has an graphical environment (gui). The others are headless servers. All running ubuntu.

regards  
walter

---

<div class="post-metadata">

**Author:** ![iiAmLoz](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/iiamloz/32/386_2.png) [@iiAmLoz](https://discourse.crowdsec.net/u/iiAmLoz)\
**Post date:** [September 29, 2023, 9:14am UTC](https://discourse.crowdsec.net/t/3-hosts-with-one-database-and-one-console/1427/2 "2023-09-29T09:14:10Z")

</div>

Normally we recommend that you have one LAPI that is connected to the database then you configure the other servers to send to the single LAPI node. However, you can just connect them all to the same database as long as you disable flushing on all nodes but one.
