{"id":482,"date":"2015-01-27T05:46:21","date_gmt":"2015-01-27T00:16:21","guid":{"rendered":"https:\/\/serverbasket.com\/help\/?p=482"},"modified":"2022-12-03T19:06:06","modified_gmt":"2022-12-03T13:36:06","slug":"migrate-solusvm-master-server","status":"publish","type":"post","link":"https:\/\/www.serverbasket.com\/help\/migrate-solusvm-master-server\/","title":{"rendered":"SolusVM Master Server Migration Procedure"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]This post explains the step-by-step process of migrating a SolusVM master from one node to another. Let\u2019s call the old Master node as \u2018x\u2019 and the server to which SolusVM Master has to be migrated (new Master) as \u2018y\u2019 Login to the server \u2018y&#8217;.<\/p>\n<p>Install SolusVM Master:<br \/>\n#wget http:\/\/soluslabs.com\/installers\/solusvm\/install<br \/>\n#chmod 755 install<br \/>\n#.\/install<\/p>\n<p>This will now automatically finish the installation and once this is completed, you can access the new master admin page from here :<\/p>\n<p>http:\/\/newmasterip:5353\/admincp\/login.php and login using [Default]<br \/>\nUsername : vpsadmin<br \/>\npassword : vpsadmin<\/p>\n<p>We are now done with the new master server setup. We can now proceed with the migration. Login to the server \u2018x\u2019 via SSH. The master node saves all added vps\/container information&#8217;s on a database. We could find the database username and password from the file \/usr\/local\/solusvm\/includes\/solusvm.conf<\/p>\n<p>eg :GhcdcfMZ8zjyx:SolfsfgDl13IQ:7qb7Tdo6fZS2CQoLfjfjhrDOYNvb8:localhost:4LJ3ddew285TfW3EE0Z9G5YZK7ROR74AT7WVJEDSIZ<\/p>\n<p>The four field consists of ::::<\/p>\n<p>Here the database name and database\u00a0 are GhcdcfMZ8zjyx and SolfsfgDl13IQ respectively. We now need to backup the database and restore it to the new Master.<\/p>\n<p>#mysqldump GhcdcfMZ8zjyx &gt; GhcdcfMZ8zjyx.sql<\/p>\n<p>Now copy the database backup SolfGhcMZ8zjyx.sql to the new server. Login to the server \u2018x\u2019\/new master:<\/p>\n<p>Find the database name and user of the new server and restore the old back to it. Find the database name and user from \/usr\/local\/solusvm\/includes\/solusvm.conf. We new need to restore the old back to the new database here.<\/p>\n<p>#\/usr\/bin\/mysql \u2013user=newuser \u2013password=newpassword\u00a0 newdatabasename &lt; SolfGhcMZ8zjyx.sql[\/bash]<\/p>\n<p>Login to http:\/\/newmasterip:5353\/admincp\/login.php and check whether you are able to list the VPS of old master server. Make sure that you update the master IP on all slaves to the new master IP from \/usr\/local\/solusvm\/data\/allow.dat<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_column_text]This post explains the step-by-step process of migrating a SolusVM master from one node to another. Let\u2019s call the old Master node as \u2018x\u2019 and the server to which SolusVM Master has to be migrated (new Master) as \u2018y\u2019 Login to the server \u2018y&#8217;. Install SolusVM Master: #wget http:\/\/soluslabs.com\/installers\/solusvm\/install #chmod 755 install #.\/install This will [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":1148,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,41,58,7],"tags":[],"offerexpiration":[],"class_list":["post-482","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel","category-linux","category-solus-vm","category-whm-management"],"_links":{"self":[{"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/posts\/482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/comments?post=482"}],"version-history":[{"count":5,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/posts\/482\/revisions"}],"predecessor-version":[{"id":1313,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/posts\/482\/revisions\/1313"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/media\/1148"}],"wp:attachment":[{"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/media?parent=482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/categories?post=482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/tags?post=482"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/offerexpiration?post=482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}