How to update Management Node with the new IP address of Service Node

Created:

2017-05-21 09:22:18 UTC

Modified:

2017-08-16 16:15:03 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to update Management Node with the new IP address of Service Node

Applicable to:

  • Plesk Multi Server


Question

IP address of a Service Node has been changed. How to update Management Node with this new IP address?

Answer

Currently, Plesk Multi-Server does not allow to perform such action via user interface.

Take part in the product improvement by voting for the suggestion on User Voice:

https://plesk.uservoice.com/forums/184549-feature-suggestions/suggestions/19398643

As a workaround the following can be done:

  1. On Management Node open plesk-multi-server.sqlite3 database and find the id of the IP address that should be updated:

    # sqlite3 /usr/local/psa/var/modules/plesk-multi-server/plesk-multi-server.sqlite3

    sqlite> select * from nodes;
    id ipAddress hostname navigateByHostname secretKey description status lastProcessedEventId isVps pleskVersion installedPleskPatch availablePleskPatch moduleVersion attachmentState

    1 203.0.113.2 example.service.node 1 $AES-128-CBC$NKrRiQtw4sXZh1TI8LUGDg==$XsdbYGAnez8h9527fWyvvKeXsBmYcFglkLPO5lmMWTqqoUgAhoBDebplij/x+gdE activating 94 0 17.5.3 5 1.1.3-107
  2. Update the database with the new IP address:
    sqlite> update nodes set ipAddress='203.0.113.3' where id=1;
  3. Try to synchronize Service Node again.
  4. Re-issue the secret key using Plesk admin's password of the Service Node.
  5. Synchronize again.
Have more questions? Submit a request
Please sign in to leave a comment.