Not the answer you need?
Register and ask your own question!
Many Forum changes were implemented on Tue 22 Sep. Read about new Ranks, Scoring, and Reactions.
Email [email protected] for any comments or concerns.

pmm-admin config - does not look like a pmm server

xkatmaixkatmai EntrantCurrent User Role Supporter
hi guys,
i have a postgresql server called ServerB
i installed pmm in docker in another instance called ServerA. 
both servers are ubuntu.

I am stuck here. I can confirm i can telnet the port and connectivity is fine. This is on Google cloud instances.

[email protected]:~# pmm-admin config --server-insecure-ssl --server ServerA:443 --bind-address ServerB --client-address ServerB --server-password admin --server-user admin
Unable to connect to PMM server by address: ServerA:443

Even though the server is reachable it does not look to be PMM server.
Check if the configured address is correct. Unexpected response code: 404 (Not Found
)

any ideas what can i do to get things kicking?

thanks.

Answers

  • PeterPeter Percona CEO Percona Moderator Role
    If you go to ServerA from ServerB do you See PMM Login Screen ?
    This message means is whatever listening on port 443 on ServerA is not PMM Server  - might be this port was busy when you spinned up docker container ? 
  • alexey.palazhchenkoalexey.palazhchenko PMM Tech Lead Percona Staff Role
    Are you using the same PMM 2.x version? pmm-admin does not provide --bind-address flag in 2.x.
  • xkatmaixkatmai Entrant Current User Role Supporter
    Are you using the same PMM 2.x version? pmm-admin does not provide --bind-address flag in 2.x.
    you are correct here. The pmm percona server is on pmm2 and the client is pmm1. but i installed it with the percona repo 

    2020-06-18 10:49:10 install pmm-client:amd64 <none> 1.17.3-1.xenial
    2020-06-18 10:49:10 status half-installed pmm-client:amd64 1.17.3-1.xenial
    2020-06-18 10:49:11 status unpacked pmm-client:amd64 1.17.3-1.xenial
    2020-06-18 10:49:11 status unpacked pmm-client:amd64 1.17.3-1.xenial
    2020-06-18 10:49:11 configure pmm-client:amd64 1.17.3-1.xenial <none>
    2020-06-18 10:49:11 status unpacked pmm-client:amd64 1.17.3-1.xenial
    2020-06-18 10:49:11 status half-configured pmm-client:amd64 1.17.3-1.xenial
    2020-06-18 10:49:11 status installed pmm-client:amd64 1.17.3-1.xenial

  • xkatmaixkatmai Entrant Current User Role Supporter
    i made the mistake of installing pmm-client instead of pmm2-client. now it works. thanks!
    Checking local pmm-agent status...
    pmm-agent is running.
    Registering pmm-agent on PMM Server...
    Registered.
    Configuration file /usr/local/percona/pmm2/config/pmm-agent.yaml updated.
    Reloading pmm-agent configuration...
    Configuration reloaded.
    Checking local pmm-agent status...
    pmm-agent is running.

Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.