Not the answer you need?
Register and ask your own question!

How could I change pmm-client's server IP to another IP?

leafonswordleafonsword ContributorInactive User Role Beginner
I configed pmm-client to push data to server A, now I want to let pmm-client push data to server B;How could I do?Just type this command?
pmm-admin config server_B

Comments

  • StaterosStateros Contributor Current User Role Patron
    Hi. If I remember correctly it wouldn't work.
    You should use next commands:
    pmm-admin rm --all  # it stops and removes all monitoring
    sed -ie '/client_name/d' /usr/local/percona/pmm-client/pmm.yml # it removes data about config
     pmm-admin config server_B ...
    

    It works for me, when I rebuild pmm-server
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.