You might get into the situation where you have to quickly clone your production database to the same server for some release management. In most situations, you will not be able to take that database down, neither have the time to do backup & restore so online transaction consistent database cloning will be a great tool for you. The capability of IBM VDS & DS8000 FlashCopy & vShadow with a bit of scripting can provide you with just that. Below is a small batch file with explanation which can do just that.
==============Fcm2.bat================
del bc1.xml sc1.cmd
C:\fcm2\vshadow.exe -p -t=bc1.xml -script=sc1.cmd y:
echo c:\fcm2\fcmmount.bat >> sc1.cmd
c:\fcm2\vshadow -i=c:\fcm2\bc1.xml
c:\fcm2\sc1.cmd
===============================
===========fcmmount.bat==========
c:\fcm2\vshadow -el=%SHADOW_ID_1%,D:\mytest
c:\fcm2\vshadow -bw=%SHADOW_SET_ID%
====================================
In order for the script above to work you have to create the two batch files with the same names shown above each. In addition, you will have to put them in the folder c:\fcm2 with the vshadow executable.
The above batch files will delete the old parameters files, then will create a transportable shadow copy of the LUN for Drive Y:. It will import the Y: Drive FlashCopy as a mount point called mytest under the D:\ drive. As soon the batch file finish executing you will be able to mount the database under a different name. The whole process can finish in just few minutes compared to many hours, when using traditional methods.
Please if you have any problems using the above scripts, leave me a comment & I will be more than happy to follow up on it.
:
Back to: IBM Tivoli Storage FlashCopy Manager Tutorial Index
Subscribe RSS 2.0 feed. Leave a response, or Trackback from your own site.
Best Deal Ads :
Leave a Reply
- Backup Solutions (1)
- Blades (2)
- IBM Blades (2)
- Data Migration (2)
- EMC (1)
- VPLEX (1)
- How to (1)
- Management Software (5)
- Problem resolutions (0)
- Storage (19)
- Tips & Tricks (7)
- Tivoli (22)
- FlashCopy Manager (19)
- TSM (3)
- TSM 6.1.x.x (2)
- Tutorials (11)
- VMware (5)
- business: Heya i’m for the primary time here. I found this board and I to find It really useful & it helped...
- Tivoli Storage Manager: Data backup is exceptionally important for day to day business operations. You might not...
- Tivoli Storage Manager: Storwize V7000 compresses data in real time, right as it is entered. Storwize can be expected...
- Harshal: Sorry Eiad, I just saw your other posts!!!… sorry to bother you with stupid requests… Thanks for...
- Harshal: I am waitin for Day2!!
- TSM – IBM Tivoli Storage Manager Guru Blog: Microsoft SQL Cluster Data Migration to a new SAN
- TSM – IBM Tivoli Storage Manager Guru Blog: Migrating Exchange 2007/2003 Cluster to a new SAN
- IBM Tivoli Storage Manager Guru Blog: TSM
- How to Videos: Install IBM Systems Director 6 Common Agent on AIX | How to Install IBM Systems Director 6 Common...
- 8.3. Microsoft vShadow Transaction Consistent Database Cloning to a different server: Back to: IBM Tivoli Storage...
- StarWind is Named a Finalist in The Storage Awards 2012
- PHD Virtual Monitor Review
- vSphere manual Disaster Recovery failback when using VMware SRM
- Migrating Exchange 2007/2003 Cluster to a new SAN
- Microsoft SQL Cluster Data Migration to a new SAN
- PHD Virtual Backup and Replication for VMware vSphere Review
- VMware ThinAPP Antivirus Best Practices
- IT Solutions LIVE WEBINARs Page
- New StarWind iSCSI SAN v5.8 and Hyper Backup Plug-in are a New Level of Data Protection
- IBM XIV, IBM SVC, IBM Storwize V7000 support VAAI is here & DS8000 is on the way





