Unable to see information about a node after Master node migration: Debug Data: ERROR: 4

Have more questions? Submit a request

Applicable to:

  • SolusVM

Symptoms

Unable to see information about a node after Master node migration in SolusVM > Nodes > affected node:

SVM_ERROR: Connection Failed Debug Data: ERROR: 4

Cause

The encryption key was not replaced on the new Master node in /usr/local/solusvm/includes/solusvm.conf.

Resolution

  1. Connect to the old SolusVM master server over SSH.

  2. Get encryption key from /usr/local/solusvm/includes/solusvm.conf

    # awk -F ":" '{print $5}' /usr/local/solusvm/includes/solusvm.conf
    gcTrdvQorLnvJhyZYrC0cIOUBJ3H4gJVl3k0SjQ54xgT4hFC5a

  3. Connect to the new SolusVM master node over SSH.

  4. Replace encryption key:

    # sed -i 's/'$(awk -F ":" '{print $5}' /usr/local/solusvm/includes/solusvm.conf)'/gcTrdvQorLnvJhyZYrC0cIOUBJ3H4gJVl3k0SjQ54xgT4hFC5a/' /usr/local/solusvm/includes/solusvm.conf

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.