Enabling CM Services on existing virtual servers

Posting this separately per Joe. Not sure if this should be under Feature or Support Request.

Is there any simple way to migrate a service from a virtual machine to the CM Services?

For example, my main hosting server has DNS on it and I want to move it to using my dedicated name servers set up with CM Services.

If I enable CM Services, anything new will go that way. Anything existing will remain on the current host.

Status: 
Active

Comments

Right now the only way is to backup the domain, delete it, and then restore the backup. This will re-create the MySQL database on the remote system.

Steffan's picture
Submitted by Steffan on Wed, 09/28/2016 - 21:25 Pro Licensee

Ok, I backed up and deleted all sites on a dev server. I then tried to restore them and hit this:

Restore failed : .. creation error : provision-mysql-login failed : Create a MySQL login on some provisioning system. cloudmin provision-mysql-login --user username --pass password | --encpass password [--domain-owner] [--owner name] [--remote ip]* [--database name]* Exit status: 256

Suggestions?

Where are your backup files? I'm happy to login and try the restore myself to see what's going wrong here.

Steffan's picture
Submitted by Steffan on Fri, 09/30/2016 - 15:49 Pro Licensee

I will email you the credentials

Steffan's picture
Submitted by Steffan on Thu, 10/06/2016 - 00:39 Pro Licensee

Still no dice. It won't restore all of the sites. It bombs out on the last couple.

Steffan's picture
Submitted by Steffan on Fri, 10/07/2016 - 10:10 Pro Licensee

Have a few subservers that didn't import. Any luck with this issue?

Sorry, somehow I missed this thread. Which sub-server didn't import?

Steffan's picture
Submitted by Steffan on Tue, 10/11/2016 - 00:47 Pro Licensee

If you look in /home/archives you will see them all but there are 4 subdomains of datingchecklist that will not import. You just get that error at the bottom.

Steffan's picture
Submitted by Steffan on Wed, 10/12/2016 - 21:57 Pro Licensee

Did you get anywhere with this?

I think that error is actually harmless ... or at least, won't re-occur if you re-try the import.

Steffan's picture
Submitted by Steffan on Fri, 10/14/2016 - 08:45 Pro Licensee

If you delete and rerun the import, it does not import all of the domains. How is that harmless?

Steffan's picture
Submitted by Steffan on Sun, 10/16/2016 - 02:28 Pro Licensee

The error is extending beyond that apparently. On that same server I tried to create a new domain to test the DNS and ensure that it's pushing out to all 4 DNS servers.

Failed to create virtual server : DBI connect failed : Access denied for user 'o_execuchoice'@'xxx.xxx.xxx.xxx' to database 'mysql'
Steffan's picture
Submitted by Steffan on Sun, 10/16/2016 - 02:32 Pro Licensee

Even unchecking MySQL in the features I can't create a domain at all.

Steffan's picture
Submitted by Steffan on Mon, 10/17/2016 - 01:08 Pro Licensee

PING. I can't move forward on this VM. I can't even create a virtual server. Is it possible that the newest CM update via yum overwrote the changes you made?

You're right, one of my fixes was over-written. I was able to create a new test domain now.

Steffan's picture
Submitted by Steffan on Mon, 10/24/2016 - 03:03 Pro Licensee

In order to test that this was fixed, I deleted everything and tried to reimport all of those. It failed even more miserably. It won't even import one virtual server. Please see direct email with the logs.