Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
hypervisor:fromesxi [2012/09/04 16:36]
giancarlo
hypervisor:fromesxi [2012/09/05 10:58]
giancarlo
Line 11: Line 11:
 </WRAP> </WRAP>
  
-Create virtual machine flat disk backup (e.g. by ghettoVCB script) on esxi hypervisor+Create virtual machine flat disk backup on esxi hypervisor. 
 +E.g. by ghettoVCB script:   
 + 
 +<WRAP prewrap center> 
 +<code> 
 +#ghettoVCB.sh -f vmltemp -c vmspec 
 +</code> 
 +</WRAP> 
 + 
 +where vmltemp 
 + 
 +<WRAP prewrap center> 
 +<code> 
 +Aserver 
 +</code> 
 +</WRAP> 
 + 
 +and vmspec/Aserver 
 + 
 +<WRAP prewrap center> 
 +<code> 
 +VM_BACKUP_VOLUME=/vmfs/volumes/Backup 
 +DISK_BACKUP_FORMAT=zeroedthick 
 +VM_BACKUP_ROTATION_COUNT=1 
 +POWER_VM_DOWN_BEFORE_BACKUP=0 
 +ENABLE_HARD_POWER_OFF=0 
 +ITER_TO_WAIT_SHUTDOWN=4 
 +POWER_DOWN_TIMEOUT=5 
 +SNAPSHOT_TIMEOUT=15 
 +ENABLE_COMPRESSION=0 
 +ADAPTER_FORMAT=lsilogic 
 +VM_SNAPSHOT_MEMORY=0 
 +VM_SNAPSHOT_QUIESCE=1 
 +VMDK_FILES_TO_BACKUP=all 
 +EMAIL_LOG=0 
 +</code> 
 +</WRAP>
  
 Prepare KVM storage for copy virtual flat disk. Prepare KVM storage for copy virtual flat disk.
Line 62: Line 98:
  
 #lvcreate -L 8589934592B -n aserver iscsi2 #lvcreate -L 8589934592B -n aserver iscsi2
-#dd if=Aserver_1-flat.vmdk of=/dev/iscsi2/aserver+#dd if=Aserver_1-flat.vmdk | pv -s 8G | dd of=/dev/iscsi2/aserver
 </code> </code>
 </WRAP> </WRAP>
 
 
hypervisor/fromesxi.txt · Last modified: 2012/09/27 15:50 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki