Emergency

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

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

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

    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?
    Code:
    pmm-admin config server_B

  • #2
    Hi. If I remember correctly it wouldn't work.
    You should use next commands:
    Code:
    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

    Comment

    Working...
    X