We do it this way (as Dag mentioned) - but in general I would not advise DB hacks unless tested 100+ times - on next upgrade you might face issues while updating DB schema etc, though I do have a lot of experience with DB manipulation, (un)fortunately :)
On Wed, 4 Jul 2018 at 11:29, Dag Sonstebo <dag.sonst...@shapeblue.com> wrote: > Hi Mark, > > I think there was a similar thread a few weeks back either on users@ or > dev@. In short there is no mechanism for simply onboarding existing VMs > in CloudStack yet. > So the official process is: > - Export existing VM to the respective hypervisor format (OVA, QCOW2, etc). > - Import as new template into CloudStack using the GUI or registerTemplate > API: > http://cloudstack.apache.org/api/apidocs-4.11/apis/registerTemplate.html > - Start new VM from this. > > I believe there are a couple of people on the list who have managed to > shoehorn existing running VMs into CloudStack – but this does take a lot of > DB hacking to achieve. > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > > From: Daan Hoogland <daan.hoogl...@gmail.com> > Reply-To: "users@cloudstack.apache.org" <users@cloudstack.apache.org> > Date: Friday, 22 June 2018 at 08:15 > To: "users@cloudstack.apache.org" <users@cloudstack.apache.org> > Subject: Re: Migrating workloads into CloudStack > > Mark I do not feel qualified to answer but nobody else does, so ... I > don't know these tools. Can your send a pointert to the one you wish to > use? I would expect the root admin priovilidges are required as you would > have to create the proper offerings and networks for the VMs to be migated > too. That might be overdone if you have all in place and only need to > deployVm()s. > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > On Thu, Jun 21, 2018 at 10:11 AM, Werner, Mark <mark.wer...@unisys.com > <mailto:mark.wer...@unisys.com>> wrote: > Hi, > > If using one of the several popular migration/replication software tools > available to migrate workloads into a CloudStack managed cloud > infrastructure what CloudStack API commands does the migration/replication > software tool require access to? > > For example, if using a migration/replication software tool to migrate a > VMware vCenter managed VM running on an ESXi hypervisor into a CloudStack > managed cloud infrastructure, what CloudStack API commands would you (or > the migration/replication software tool) require access to and what type or > role, or what level of access, would you need? > > Thank you, > > Mark Werner | Senior Systems Engineer | Cloud & Infrastructure Services > Unisys | Mobile Phone 586.214.9017 | mark.wer...@unisys.com<mailto: > mark.wer...@unisys.com> > 11720 Plaza America Drive, Reston, VA 20190< > https://maps.google.com/?q=11720+Plaza+America+Drive,+Reston,+VA+20190&entry=gmail&source=g > > > > [nisys_logo]<http://www.unisys.com/> > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all devices. > [rey_LI]<http://www.linkedin.com/company/unisys> [rey_TW] < > http://twitter.com/unisyscorp> [rey_GP] < > https://plus.google.com/+UnisysCorp/posts> [rey_YT] < > http://www.youtube.com/theunisyschannel> [rey_FB] < > http://www.facebook.com/unisyscorp> [rey_Vimeo] <https://vimeo.com/unisys> > [rey_UB] <http://blogs.unisys.com/> > > > > > -- > Daan > -- Andrija Panić