ããã¯åºåèšäºã§ã¯ãããŸãããåã®ã«ã©ãã«ãªç»é¢ã¯ãããŸããã ãŸããããã¯è£œåã®ã¬ãã¥ãŒã§ã¯ãªãããã§ã«ååãªãã®ããããŸãã äŒæ¥ç°å¢ã§ç¡æã®Veeamãœãªã¥ãŒã·ã§ã³ãå®å šã«äœ¿çšããæ¹æ³ã«é¢ããæçšãªæ å ±ã ãã©ã€ã³ãã³ããšãã³ãã 以äžã§èª¬æãããã®ã¯ãã¹ãŠç§ã®å人çãªçµéšã§ãããäžéšã®å Žæã§ã¯ãVeeamã®ä»£è¡šè ãå ¬åŒãã©ãŒã©ã ãããã³habrayuzerãžã®ãªã³ã¯ã§ãã
Veeam Endpdoint Backupã®èªåã€ã³ã¹ããŒã«
Veeam Endpdoint Backupããå§ããŸãã ããã¯ãITéšéãšãŠãŒã¶ãŒã®ç掻ãç°¡çŽ åããããã«èšèšãããæ¯èŒçæ°ãã補åã§ãã ã€ã³ã¹ããŒã«ã¯æ±ºããŠç°¡åã§ã¯ãããŸããïŒ
EndpointBackup.exe /ãµã€ã¬ã³ã
åœç¶ãèªåã€ã³ã¹ããŒã«ããŒã«ã䜿çšããããšããå§ãããŸãã ãæ°ã«å ¥ããéžæããŸããããšãã°ã ãexeãããWSUSã䜿çšããŠã€ã³ã¹ããŒã«ã§ããŸãã MSIã®ã€ã³ã¹ããŒã«ãã¡ã€ã«ãå解ããããšã¯ãå§ãããŸããã ãããã§ã¹ããããããããããã¹ãŠãã¢ã»ã³ããªã§æ£ç¢ºã«æ©èœããŸãã æ®å¿µãªãããVEEAMãã©ãŒã©ã ã調ã¹ããšãããèªåæ§æã«æ£è§£ã¯ãªãããšãããããŸããããèªåã§ã¯èŠã€ããããŸããã§ããããããã¯ã¢ããã«ãŒã«èšå®ã¯MSSQLããŒã¿ããŒã¹ã«ä¿åãããŠãããšããå°è±¡ãåããŸããïŒUPDïŒ æšæž¬ã確èªãããŸãã ïŒã
Veeam Endpoint Backupã®é»åã¡ãŒã«éç¥
çŸåšã®ããŒãžã§ã³ã§ã¯ãVeeam Endpoint BackupïŒVEBïŒã¢ã©ãŒããããã«äœæããããšã¯ã§ããŸããã ããããé»åã¡ãŒã«ãœãªã¥ãŒã·ã§ã³ãè¡šé¢ã«ãããŸãã ããã¯ã€ãã³ããã°ããã®å Žåã¯PowerShellããŒã«ãç£èŠããŠããŸãïŒ Veeamãã©ãŒã©ã ã®ããã㯠ã
ç§ã¯æå³çã«å®æããPSã¹ã¯ãªãããæã¡èŸŒã¿ãŸããã äžèšã®ãªã³ã¯ã調ã¹ãŠãããã«åºã¥ããŠå¿ èŠãªãœãªã¥ãŒã·ã§ã³ãäœæããããšããå§ãããŸãã ããšãã°ãç§ã¯zabbiksã®ããã«ãããç ãæŸãŸããŠããŸãã èšç·Žãåãã人ãã¢ã©ãŒããéä¿¡ã§ããããã«ããŸããã©ãã«ãäœãç³é¹žã«ãäœãSMSã«ãä»ã«äœãé£çµ¡ããŠãããã¯é¢ä¿ãããŸããã
UPDïŒ2016幎3æ17æ¥ä»ãã®ããŒãžã§ã³1.5ã§ã¯ãã¢ã©ãŒããããªã¬ãŒãããŸããããéå®ããŒãžã§ã³ã§ã¯ç®¡çè ãin ããŸããããªãã·ã§ã³ãæ¢ããŠããŸã
Veeam Endpdoint Backupã¯ãäžéšã®ãµãŒããŒãœãªã¥ãŒã·ã§ã³ã§æ£åžžã«åäœããŸã
ããã§ã¯ããã¡ã€ã³ã³ã³ãããŒã©ãŒã®ããã¯ã¢ãããšåŸ©å ã«ã€ããŠè³ªåããŸããã å¥ã®ãã³ããŒã®ããã¯ã¢ããã·ã¹ãã ã®ã€ã¡ãŒãžããCDã·ã¹ãã ã埩å ãããšããããªãåããããçµéšãããŠãUSNããŒã«ããã¯ãèŠã€ããŸããã ãã®åŸããç¶æ ã·ã¹ãã ãããã®ã¿åŸ©å ããããšãèªããŸããã ãã¬ãã£ããªäœéšã¯ãçŽ10幎åã®Win2k3ã§ãã£ããšèšããªããã°ãªããŸããã ä»ã§ã¯ãã¹ãŠãããŸããããšç¢ºä¿¡ããŠããŸããã圌ããèšãããã«ãæ²æ®¿ç©ã¯æ®ããVeeamãä¿¡é ŒããŸããã§ããã ãã®ãããCDã¯å埩ãªãã·ã§ã³ã«ãšã£ãŠããªãããããååšã§ããããšãç¥ãããŠããŸãããVEBã¯ãã®ä»äºãå®ç§ã«æãããŸããã VSSã¯æ£ãã䜿çšãããŠãããUSN RollBackã¯ãã£ããããŸããã§ãããã»ãŒãã¢ãŒãã§ã®èªã¿èŸŒã¿ã«é¢ããç§ã®ã¡ãã£ãšããæããã¯ãå¯å®¹ã ãšæããŸãã
VEB ADãSQLãExchangeãªã©ã«ããããã¯ã¢ãããšãªã«ããªã®å ¬åŒãµããŒã ã¯èšèŒãããŠããŸãã ã ããããªãã·ã§ã³ãšããŠäœ¿çšããŠãã ãã
äžèšã®ãªã³ã¯ã«åŸããªãã£ã人ã®ããã«ãç§ã®å ŽåãCDã¯Win2k12R2ã§ãGCãDNSãDHCPããã¡ã€ã«ãµãŒãã¹ã®åœ¹å²ã§ããã¯ã¢ããããããšèšããŸãã ESXi 5.5å ã§å転ããŸãã å埩ã®ããã«ãåãç°å¢ã§äœæãããVEB ISOã€ã¡ãŒãžããèµ·åããŸããã ããã¯å¯èœã§ããã...
PXEã䜿çšããŠVEBãããŠã³ããŒããã
ã¢ã¯ããã¹ã¯ãããã€ãã®ã¯ãŒã¯ã¹ããŒã·ã§ã³ã§è³Œå ¥ããŸããããããã®ã¯ãŒã¯ã¹ããŒã·ã§ã³ãä»ããŠãè¶ èšçã¯ãŒã¯ã¹ããŒã·ã§ã³ã®å®æçãªããã¯ã¢ãããå®è¡ãããŸãã VEBãéäžç®¡çã®æ¹æ³ãç¥ããªãããšããŸãã¯å°ãªããšãæŸèæãªãã®ç³é¹žã®ã¢ã©ãŒããç¥ããªãããšã¯æããã§ãããVeeamããã®ãœãªã¥ãŒã·ã§ã³ã®åºçŸã«ãããã¢ã€ãã¢ã¯ãã£ã¹ã¯Dã§ã·ã¹ãã ããŒãã£ã·ã§ã³ã«é害ãçºçããå Žåã«ãã¹ãŠã®ã¹ããŒã·ã§ã³ãå®å šã«ããã¯ã¢ããããããã«çæããŸããã ã¯ããããŒããã©ã€ãå šäœã«é害ãçºçããå Žåãããã¯åœ¹ã«ç«ã¡ãŸãããããTseãã©ã€ããã«é害ãçºçããå ŽåãWDSãä»ããŠã·ã¹ãã ãèµ·åãããŠã§ããžãã³ã¯ãªã©ã®ç¹å®ã®ãã®ãããŒã«ããã¯ãããããããã¯ã¢ããã埩å ããæ¹ãé«éã§ãã ã¡ãªã¿ã«ãWDSã¯çŽ æŽãããããŒã«ã§ã...ãããŠãåã¯ãŒã¯ã·ã§ããã§Recovery Media ISOã€ã¡ãŒãžãäœæããCD / USBãã©ãã·ã¥ãã©ã€ãã«ä¿åããŠæžã蟌ãå Žæãæ©ããŠã¿ãŠãã ããïŒ å¥ã®ããã¢ãž...äžè¬çã«ãèµ·åå¯èœãªVEBãªã«ããªã€ã¡ãŒãžã¯ããããäœæãããWindowsã®ããŒãžã§ã³ïŒçªç¶ïŒã®WinREã§ãã VEBã¯ãWin7 SP1以éã®Windowsã®ææ°ããŒãžã§ã³ã®ã¿ããµããŒãããããšãå¿ããŠããŸããã ããã§ãä»®æ³ç°å¢ã®ãã·ã³ã®1ã€ã«ããã©ã«ãèšå®ã§ISOã€ã¡ãŒãžãäœæããã®ã§ãããã解åããŠboot.wimãã¡ã€ã«ãåãåºããŸããã ç§ã¯ãããWDSã«å ¥ããŠ...ãããã¯ãŒã¯çµç±ã§èµ·åããŸããã åããŠãã¿ã³ããªã³ãªãã ãããã¯ãŒã¯ãæ©èœããã®ã§ãããã¯ã¢ãããã¡ã€ã«ãããLinuxããŒã«ã«ç§»åããŠãããã¯ã¢ããã³ããŒãããŒã«ã¢ããã§ããŸããã ããã«é²ãã§ããŸãã ããã€ãã®æåããå®éšãšããã»ã©æåããŠããªãå®éšã®åŸãç§ãã¡ã䜿çšããå žåçãªãããã¯ãŒã¯ã«ãŒããã©ã€ããŒãWDSããŒãã€ã¡ãŒãžã«è¿œå ããå¿ èŠããããšããçµè«ã«éããŸããã ã€ã³ã¹ããŒã«ã€ã¡ãŒãžïŒinstall.wimïŒãšã¯ç°ãªããããŒãã€ã¡ãŒãžïŒboot.wimïŒã«ãã©ã€ããŒãè¿œå ããããã«DISMããŒã«ã䜿çšããéã¢ã»ã³ããª/ã¢ã»ã³ããªãå¿ èŠãšããªããããããã«WDSã¹ãããã€ã³ã§è¡ããŸããã äžè¬ã«ããã¹ãŠãéåžžã©ããã§ããWDSãä»ããŠWindowsãå±éããå ŽåããµãŒããŒã«æ¢ã«ãã©ã€ããŒãè¿œå ããŠããŸãã ãŸããVeeamã®ãŠãŒã¶ãŒããããŒã«ã«ç®¡çè ãã¹ã¯ãŒãã®ãªã»ãããã¡ã¢ãªã®ãã¹ããªã©ãããã€ãã®æçšãªãã®ãããŒããªã«ããªã€ã¡ãŒãžã«è¿œå ããããšãæãåºããŸãã
客芳æ§
ã³ã³ãœãŒã«ããVeeam BackupïŒRecovery Freeãèµ·åããŸã
èšäºã®åé ã§åç §ããããšã§ãèè ã¯ãVBïŒR FreeãStart-VBRZipãä»ããŠä»®æ³ãã·ã³ãããã¯ã¢ããã§ãããšèšã£ãŠãèãæ»ãããŸããã åœæã¯ããã§ã¯ãããŸããã§ããããããã§ã¯ Veeamã®åŸæ¥å¡ããã®ãããªæ©èœãå®è£ ããããšãçŽæããŸããã ãããŠ4ææ«ã«ãããèµ·ãããŸããã
å®éãå€ãã®äººãç¥ã£ãŠããããã«ãçŸåšã Start-VBRZipã¯ç¡æã©ã€ã»ã³ã¹ã§å®è¡ã§ããŸãããããã€ãã®å¶éããããŸãã äž»ãªãã®ã¯å®å šããã¯ã¢ããã®ã¿ã§ããã1ã€ã®ã¿ã¹ã¯ã§1ã€ã®ä»®æ³ãã·ã³ã®ã¿ã§ãã ãšããã§ãGUIã䜿çšããŠãè€æ°ã®ããã¯ã¢ãããåæã«å®è¡ã§ããŸãããã¿ã¹ã¯ã¯ç°ãªããŸãã æãã¯ãªãããšç§ã¯æããŸããããããŠã æ瀺ãèªãã åŸãæãåçŽãªããŒãžã§ã³ã§ãç§ã¯ãã®ãããªã¹ã¯ãªãããå®è£ ããŸããïŒ
PoSHã®ã¹ã¯ãªããã ãã®äŸã§ã¯ãVMwareã®å Žåã
# Initialize Veeam Toolkit & "C:\Program Files\Veeam\Backup and Replication\Backup\Initialize-VeeamToolkit.ps1" # Set Virtual Machines list $vmNames = 'vm1.domain.lcl', 'vm2.domain.lcl', 'vm3.domain.lcl', 'vmX.domain.lcl' # Start backup job for each VM from list foreach ($i in $vmNames) { $viObject = Find-VBRViEntity -Server vc1.domain.lcl -Name $i Start-VBRZip -BackupRepository "VeeamBackupRepo02" -Entity $viObject -Compression 5 }
ç§ã説æããŸãïŒ
$ vmNames-ã·ãªã¢ã«ããã¯ã¢ããçšã®ä»®æ³ãã·ã³ã®ãªã¹ãã æžã蟌ãŸããŠããããã«ã¹ããŒã¹ãå«ããããã«ããŠãã ãã ãããããªããšãVeeamã¯ããã1ã€ã®ã¿ã¹ã¯å ã®ãã·ã³ã®ãªã¹ãã§ãããšèŠãªããæ£ããåäœããŠéä¿¡ããŸã... 1ã€ã®ã¿ã¹ã¯ã«1ã€ã®ãã·ã³ããååšã§ããªãããšã瀺ããŸãã
vc1.domain.lclã¯vCenterã¢ãã¬ã¹ã§ãã ãã¹ãã«çŽæ¥åºå·ããããšãã§ããŸãããVBïŒRã¯vSphereã®ç¡æããŒãžã§ã³ã§ã¯åäœã§ããªãããšãèŠããŠããŸãã æå°-vSphere Essentialsã ïŒå®å šã«ç¡æã®ESXi 5.0ã§Veeamã䜿çšã§ããããšã¯ç¥ã£ãŠããŸãããããã§ã¯äœãçŽæããŸããïŒã
VeeamBackupRepo02-ãã·ã³ãããã¯ã¢ãããããªããžããªã ç¡æçã®ã«ã¹ã¿ã ãªããžããªã¯ã©ãããæ¥ãã®ã§ããïŒ ããã«ã€ããŠã¯ä»¥äžã
é»åã¡ãŒã«ã¢ã©ãŒãã
ç§ã®å ŽåãYandexããã®ãã©ãã£ãã¯ã«ãŒã«ã䜿çšããããããããã«ãã®ãŸãŸæ®ããŸãã
ã¡ãã¥ãŒ->ãªãã·ã§ã³->ã¡ãŒã«èšå®
å¥ã®ã¡ãŒã«ãµãŒããŒã®å Žåã¯ãç°ãªãå ŽåããããŸãã Yandexã§ã®Googleããã³ãã®éã
è¿œå ã®ãããã管çããŸãã
å®å šãªVBïŒR FREEã€ã³ã¿ãŒãã§ã€ã¹ããªã³ã«ãããªãã«ããªãã§ãã ããã å®å šãªã€ã³ã¿ãŒãã§ãŒã¹ã§ã¹ããããããŒãããå Žåãã©ã€ã»ã³ã¹ãè³Œå ¥ããããã®ãŸãŸã«ããããå°ããããŸãã ããã¯ããŒã±ãã£ã³ã°ã®ã«ã¢ãŒã§ããããšãç解ããŠããŸãã ããè¯ãçãsysmetic ã äœæ¥ã劚ããããšã¯ãªãããªããžããªã管çã§ããŸãããããã¯ã貧匱ãªãã€ã³ã¿ãŒãã§ãŒã¹ã§ã¯å©çšã§ããŸããã
ã¹ã±ãžã¥ãŒã©ãŒãä»ããVBïŒRã¿ã¹ã¯ã®å®è¡ã
åã¿ã¹ã¯ãŸãã¯ãµãŒãã¹ã«æäœéå¿ èŠãªæš©éãæã€ç¬èªã®ADãŸãã¯ããŒã«ã«ãŠãŒã¶ãŒãäœæããããšããŠããŸãã ç¹å¥ã«èšç·Žãããã¢ã«ãŠã³ãããVBïŒRã¿ã¹ã¯ãèµ·åããå Žåãäœãèµ·ãããŸããã§ããã
èŠæ±ãããã¬ãžã¹ããªã¢ã¯ã»ã¹ã¯èš±å¯ãããŠããŸãã
VEEAMãã©ãŒã©ã ã®ãããã¯ã®1ã€
ãã¡ã€ã³ã®æš©å©ãæ倧éã«åŒãäžããŠããäœãããããããŸããã§ããã ãã®çµæãWindowsã¹ã±ãžã¥ãŒã©ãŒã䜿çšããŠãVBïŒRãã€ã³ã¹ããŒã«ããããŠãŒã¶ãŒïŒãšããã§ããã¡ã€ã³ç®¡çè ïŒããã¿ã¹ã¯ãéå§ããå¿ èŠããããŸããã èšç»ã©ããã«ãã¹ã¯ãŒããå€æŽãããšãã¿ã¹ã¯ãé£ã¶ããšã¯ããã£ãŠããŸããããããŸã§ã®ãšããã§ãã ãã¹ãŠã®VeeamãµãŒãã¹ã¯ãã·ã¹ãã ã¢ã«ãŠã³ããã§åäœããŸããã解決çãèŠã€ãããŸããã§ããã
äžè¬ã«ãWindowsã¿ã¹ã¯ã¹ã±ãžã¥ãŒã©ããPowerShellã¹ã¯ãªãããå®è¡ããã¿ã¹ã¯ã¯ã次ã®ããã«äœæããå¿ èŠããããŸãã
ããã°ã©ã ãŸãã¯ã¹ã¯ãªããïŒ
CïŒ\ Windows \ System32 \ WindowsPowerShell \ v1.0 \ powershell.exe
åŒæ°ãè¿œå ïŒ
-ãã¡ã€ã«ãGïŒââ\ Backup \ Scripts \ VbrZip2.ps1ã
æ¬åœã«è»èã§é£ã¶ã®ã§ãç§ã¯Veeamããã®ç¡æããŒãžã§ã³ã®ããã€ãã®ããã®ç§ã®æšå¥šã»ãããçµäºããŸãã ããäžåºŠããŠããŒã¯ãªè£œåã«ã€ããŠVeeamã«æè¬ãããã¹ãŠã®äººã«ããã¯ã¢ãããå®äºããŠããããããšæããŸãããæŠéã§äœ¿çšããå¿ èŠã¯ãããŸããã§ããã