Connection refused using PMM for postgresql

Hi

I am new to postgresql and percona in general. At work we recently configured postgres databases and to monitor I am looking at PMM solution.

I tried installing using the manual method on one of our servers. Our network is heavily blocked and dont have access to public network. That is the reason why i did the manual method.

Linux env is rhel 8.9

Deploying Percona Monitoring and Management 2 Without Access to the Internet

I followed above guide to install

docker run --detach --restart always --publish 80:80 --publish 443:443 --volumes-from pmm-data --name pmm-server percona/pmm-server:3.3.1
088fd5aab0759521c54d62b2bf026fc9d9262f93d9bab677cefba36bc30a108f

docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
088fd5aab075 percona/pmm-server:3.3.1 “/opt/entrypoint.sh” 7 seconds ago Up 6 seconds (healthy) 0.0.0.0:80->80/tcp, 8080/tcp, 0.0.0.0:443->443/tcp, 8443/tcp pmm-server

however when i try to access using browser.. it says connection refused

even telnet returns same. Any way to troubleshoot this?

telnet haeitoemap01v 80
Trying 10.120.11.130…
telnet: connect to address 10.120.11.130: Connection refused

Same with 443 as well. Thank you

1 Like

Hi, we changed the container ports for PMM in v3, so you should be binding to port 8080 and 8443.

docker run --detach --restart always --publish 80:8080 --publish 443:8443 --volumes-from pmm-data --name pmm-server percona/pmm-server:3.3.1

2 Likes

Hi @Michael_Okoko

Thank you so much for your response. It is working as expected now.

I need one more favor.. Can you let me know if there is any guide on how to do pmm client agent install on db server offline? Our servers dont have internet access and I need to install manually. Thank you

1 Like

Hello @sravanvadapalli

You can download the package from our downloads page for PMM client desired version.

Download it on the host where you have internet access and then you can transfer and install the package.

2 Likes

Hi @Yunus

Thanks for your reply.. I already got the rpm downloaded and transferred, just looking for postgres configuration and agent install instructions. thank you

1 Like

Nice to hear that you have already downloaded the agent.

You can follow the instructions here to configure and install the agent,

2 Likes

Thank you so much.. agent is working now

1 Like

What is the recommended backup procedure for the pmm server install? Just incase if server crashes how can we make sure we can restore the pmm-server without redoing all over.

1 Like

Hi,

You can find the documentation here: Back up PMM Server Docker container - Percona Monitoring and Management

2 Likes