VMware Solutions Discussions

FlexClone Individual VMDK

mcrossley

Hi,

 

I've been looking at putting all of our test/dev SQL databases on to a single NFS datastore instead of what seems like an endless number of volumes and LUNs. 

 

One thing that the SQL DBA often does is clone a DB using flexclone and attaches it to another SQL server, or the same SQL server.

 

What I would need to do to make this work if all the SQL DBs were VMDKs attached to a VM is to actually do a flexclone of the individual VMDK.

 

Is that possible? I'm not sure how I would proceed to do that. I'm OK if it's a powershell script or whatever. I just can't have a full copy operation.

 

Thanks!

5 REPLIES 5

rwelshman

You can make a flexclone of a file - I'm not sure if that can be done through the VSC tool or if it would need to be done via command line. There might need to be some extra coordination to ensure the activitiy on that vmdk disk is quiesced while the clone is taken.

mcrossley

That's good to know - any hints on how to do the clone of a file?

 

 

rwelshman

Are you running 7-mode or CDOT? Is the current process using a SnapManager tool or CLI?

mcrossley

Right now we're in transition, going to CDOT. 

 

The current process is using SMSQL on 7-mode, but we've got individual volumes and LUNs for Data, logs, etc.

 

I don't mind doing CLI / powershell scripts. I think something like this might lead to where I want to be... (?) http://www.netapp.com/us/system/pdf-reader.aspx?m=tr-3742.pdf&cc=us

 

rwelshman

Yes, that TR should have the commands you'll need. At least from the point of view of generating the command to create clone of the vmdk file. The parts outside of that - of making sure the clone is good and then connecting it to another server will require a bit of creativity on your part. Not impossible to do with some help from the Vmware PowerCLI command set.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public