VMware Solutions Discussions

FlexClone Individual VMDK

mcrossley
3,811 Views

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
3,801 Views

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
3,792 Views

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

 

 

rwelshman
3,790 Views

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

mcrossley
3,786 Views

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
3,783 Views

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.

Public