How to change a resource plan in SolusVM?

Have more questions? Submit a request

Applicable to:

  • SolusVM

Question

How to change a resource plan in SolusVM?

Answer

It is not possible to change plan name via SolusVM interface - as workaround, it is possible via database query:

  1. Connect to SolusVM Master node via SSH.

  2. Create a backup of SolusVM database.

  3. Change the plan name:

    # echo 'update plans set name="new_name" where name="old_name";' | awk -F: '{ system("MYSQL_PWD='"'"'" $3 "'"'"' mysql -u " $2 " "$1) }' /usr/local/solusvm/includes/solusvm.conf

    where old_name - current name of the plan.

    new_name - new name of the plan.

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.