ããã«ã¡ã¯ãæ°äººã®ä¸å±±ã§ãã
æè¡1課ã§ã®OJTä¸ã§ãã
ä»åã¯Windows Server 2012ãWindows Server 2012 R2ã«ã¢ããã°ã¬ã¼ãããæ¹æ³ããç´¹ä»ãã¾ãã
ã¾ããäºåã«ä»¥ä¸ã®è¦ä»¶ã確èªãã¾ãã
- ãããã¯ã¼ã¯ã¢ããã¿ã¨ãã¦ãCitrix PVãã©ã¤ãã使ç¨ãã¦ãããã¨ãRed Hatãã©ã¤ãã使ç¨ãã¦ããå ´åã¯ãOSã®ã¢ããã°ã¬ã¼ãåã«ããã©ã¤ããæåã§ã¢ããã°ã¬ã¼ãããå¿ è¦ãããã¾ãã
- ã¤ã³ã¹ã¿ã³ã¹ã®ã¿ã¤ãã«ãã£ã¦ã¯ã¢ããã°ã¬ã¼ãã®ããã®ãªã½ã¼ã¹ã足ããªããã¨ãããã¾ãããã®å ´åã¯ã¤ã³ã¹ã¿ã³ã¹ãå¥ã®ã¿ã¤ãã«å¤æ´ããã¢ããã°ã¬ã¼ããå®äºãããå¾ã«å ã«æ»ããã¨ãå¿ è¦ã«ãªãã¾ãã
- Windows ã¤ã³ã¹ã¿ã³ã¹ä¸ã®ã«ã¼ãããªã¥ã¼ã ã«ååãªç©ºã容éããããã¨ã35GBã»ã©ã®ç©ºããå¿ è¦ã§ããããªã¥ã¼ã ã«ååãªç©ºã容éããªãå ´åã¯ã容éãæ¡å¼µãããã¨ãå¿ è¦ã§ãã
- ã¢ããã°ã¬ã¼ããã¹ã®æ±ºå®ãOSã¯åãã¢ã¼ããã¯ãã£ã«ã¢ããã°ã¬ã¼ãããå¿ è¦ãããã¾ããWindows Server 2008 R2以éã¯64ãããã·ã¹ãã ã®ã¿ã§ããä»åã¯ã64ãããã·ã¹ãã ãç¨ãã¾ãã
å ¨ä½ã®æµãã¯ä»¥ä¸ã®éãã§ãã
- ã¤ã³ã¹ãã¼ã«ã¡ãã£ã¢ããªã¥ã¼ã ãä½æãã¦EC2ã¤ã³ã¹ã¿ã³ã¹ã«ã¢ã¿ãã
- UpgradeHelperService.exeã®å®è¡
- ã¢ããã°ã¬ã¼ãã®å®è¡
- ã¢ããã°ã¬ã¼ãå¾ã®ã¿ã¹ã¯ã«ã¤ãã¦
1. ã¤ã³ã¹ãã¼ã«ã¡ãã£ã¢ããªã¥ã¼ã ãä½æãã¦EC2ã¤ã³ã¹ã¿ã³ã¹ã«ã¢ã¿ãããã
- ããã¸ã¡ã³ãã³ã³ã½ã¼ã«ããEC2ã®ç»é¢ãéãã¾ãã
- ã¢ããã°ã¬ã¼ããããã¤ã³ã¹ã¿ã³ã¹ã®ãã¤ã³ã¹ã¿ã³ã¹IDã¨ã¢ãã¤ã©ããªãã£ã¾ã¼ã³ã確èªãã¦ããã¾ãã
- EC2ã®ã¡ãã¥ã¼ãã[ã¹ãããã·ã§ãã]ãé¸æãã¾ãã
- [èªå·±ã§ææ]ã[ãããªãã¯ã¹ãããã·ã§ãã]ã«å¤æ´ãã¾ã
- æ¤ç´¢çªã«ã[ææè ï¼Amazon ã¤ã¡ã¼ã¸]ã[説æï¼Windows]ã[searchï¼japanese]ã¨ãã£ã«ã¿ã追å ãã¦ãã¢ããã°ã¬ã¼ããããã¹ãããã·ã§ãããé¸æãã¾ãã
- é¸æããã¹ãããã·ã§ãããå³ã¯ãªãã¯ãã¦ãã³ã³ããã¹ãã¡ãã¥ã¼ã®[ããªã¥ã¼ã ã®ä½æ]ãé¸æãã¾ãã
- ã¢ããã°ã¬ã¼ããããã¤ã³ã¹ã¿ã³ã¹ã®ããã¢ãã¤ã©ããªãã£ã¾ã¼ã³ãé¸æãã¦ãä½æãã¾ãã
-
ç¶ãã¦EC2ã³ã³ã½ã¼ã«ã®ã¡ãã¥ã¼ããããªã¥ã¼ã ãé¸æãã¾ããããã¦å
ã»ã©ä½æããããªã¥ã¼ã ãé¸æãã¾ãã
- é¸æããããªã¥ã¼ã ãå³ã¯ãªãã¯ãã¦ã[ããªã¥ã¼ã ã®ã¢ã¿ãã]ãéãã¾ãã
- [ããªã¥ã¼ã ã®ã¢ã¿ãã]ãã¤ã¢ãã°ããã¯ã¹ã§ãã¤ã³ã¹ã¿ã³ã¹IDãå ¥åãã¦ãã¢ã¿ãããé¸æãã¾ãã
ããã§ãã¢ããã°ã¬ã¼ãã®ããã®ã¤ã³ã¹ãã¼ã«ã¡ãã£ã¢ããªã¥ã¼ã ãEC2ã¤ã³ã¹ã¿ã³ã¹ã«ã¢ã¿ããããã¾ããã
2. UpgradeHelperService.exeãå®è¡ãã
ç¶ãã¦ãUpgradeHelperServiceã使ã£ã¦ããã©ã¤ãã®ç¶æ ãä¿®æ£ããWindows ãµã¼ãã¹ãä½æãã¾ãã
- Windows ã¤ã³ã¹ã¿ã³ã¹ã«ãªã¢ã¼ãæ¥ç¶ãã¦ãC:ãã©ã¤ãã«ãtempãã¨ãããã©ã«ããä½æãã¾ãã
- OSUpgrade.zipããã¦ã³ãã¼ãããC:tempãã©ã«ãã«è§£åãã¾ãã
- UpgradeHelperService.exeãå®è¡ãã¾ãããã°ãã¡ã¤ã«ã«è¦åãå«ã¾ãã¦ããªãã確èªãã¾ãã
3. ã¢ããã°ã¬ã¼ããå®è¡ãã
-
ãã©ã«ãã®ååãå¤æ´ãã¦Power Shellãç¡å¹ã«ããããã«ã以ä¸ã®2ç¹ã確èªãã¾ã(ã¢ã³ã¤ã³ã¹ãã¼ã«ã§ã大ä¸å¤«ã§ã)ã
ã»[C:WindowsSystem32] ãã©ã«ãå ã®[WindowsPowerShell] ãã©ã«ãã®ååããoldWindowsPowerShellãã«å¤æ´ãã¾ãã
ã»[C:WindowsSysWOW64] ãã©ã«ãå ã®[WindowsPowerShell] ãã©ã«ããåæ§ã«[oldWindowsPowerShell]ã«å¤æ´ãã¾ãã - [管çãã¼ã«]ãéãã[ã³ã³ãã¥ã¼ã¿ã®ç®¡ç]â[è¨æ¶å]â[ãã£ã¹ã¯ã®ç®¡ç]ã¨é²ãã¾ãã
-
ãã£ã¹ã¯ã®ç¶æ
ããªãã©ã¤ã³ã«ãªã£ã¦ããã®ã§ãå³ã¯ãªãã¯ãã[ãªã³ã©ã¤ã³]ãé¸æãã¦ç¶æ
ããªã³ã©ã¤ã³ã«ãã¾ãã
- å³ã¯ãªãã¯ãããã£ã¹ã¯ãéãã¾ãã
- [source]ãã©ã«ããéãã¦ããã®ä¸ã«ãã[Setup.exe]ãå®è¡ãã¾ããã»ããã¢ãããå§ã¾ãã¾ãã
- [ãªã³ã©ã¤ã³ã§ä»ããæ´æ°ããã°ã©ã ãã¤ã³ã¹ãã¼ã«ãã(æ¨å¥¨)]ãé¸æãã¾ãã
- [Windows Server 2012 R2 Standard (GUI使ç¨ãµã¼ãã¼)]ãé¸æãã¦ã[次ã¸]ãæ¼ãã¾ãã
- ã©ã¤ã»ã³ã¹æ¡é ã®ãã¤ã¢ãã°ããã¯ã¹ã§ã[åæãã¾ã]ã«ãã§ãã¯ãå ¥ãã¦[次ã¸]ãé¸æãã¾ãã
- [ã¢ããã°ã¬ã¼ã : Windowsãã¤ã³ã¹ãã¼ã«ãã¦ããã¡ã¤ã«ãè¨å®ãã¢ããªãå¼ãç¶ã]ãé¸æãã¾ãã
-
æå¾ã«ã[次ã¸]ãé¸æãã¾ããã¢ããã°ã¬ã¼ããå§ã¾ãã¾ãã
ã¢ããã°ã¬ã¼ãã«ã¯ã40åããæ°æéç¨åº¦ãããã¾ããã¢ããã°ã¬ã¼ãä¸ã¯ãOSã¸ã®ã¢ã¯ã»ã¹ãåºæ¥ãªããããã¤ã³ã¹ã¿ã³ã¹ã¹ãã¼ã¿ã¹ã®ãã§ãã¯ã失æãã¾ãããã®ãããã·ã¹ãã ã¹ãã¼ã¿ã¹ã®ãã§ãã¯ã®ã¿ã®æåã¨ãªããEC2ã³ã³ã½ã¼ã«ã§ã®ã¹ãã¼ã¿ã¹ãã§ãã¯ã1/2失æã«ãªãã¾ããã¢ããã°ã¬ã¼ããå®äºããã¨ãã¤ã³ã¹ã¿ã³ã¹ã¹ãã¼ã¿ã¹ã®ãã§ãã¯ãæåãã2/2ã®ãã§ãã¯ã«åæ ¼ãã¾ãããã¨ãªãã¾ãã -
ã¢ããã°ã¬ã¼ãã«æåããã¨ã以ä¸ã®ãããªãã¹ã¯ãããã表示ããã¾ããWindows Server 2012 R2ã¨è¡¨ç¤ºããã¦ãããã¨ã確èªã§ãã¾ãã
4. ã¢ããã°ã¬ã¼ãå¾ã«ã¤ãã¦
- ã¤ã³ã¹ã¿ã³ã¹ã«æ¥ç¶ãã¦ã.NET Frameworkã®ã¢ããã°ã¬ã¼ããè¡ãã¾ãã
- 2015å¹´2æããåã®AMIãç¨ãã¦ã¢ããã°ã¬ã¼ããè¡ã£ãå ´åã¯ãEC2configãææ°ãã¼ã¸ã§ã³ãã¤ã³ã¹ãã¼ã«ãã¾ãã
- UpgradeHelperService.exeãå度å®è¡ãã¾ãã
çµããã«
ãã®ããã°ã§ã¯ãWindows Server 2012ãWindows Server 2012 R2ã«ã¢ããã°ã¬ã¼ãããæ¹æ³ãã¾ã¨ãã¾ããã
é¢é£ãã¦ãWindows Server 2012 R2ã§ã¯ã¿ã¹ã¯ã¹ã±ã¸ã¥ã¼ã©ã®æ©è½ã«ããä¸å®æéåä½å¾ã«ãããã¯ã¼ã¯æ¥ç¶ã失ãããã¨ããã¨ã©ã¼ãçºçãããã¾ãã®ã§(詳ããã¯ãã¡ã)ãWindows Server 2012 R2ã«ã¢ããã°ã¬ã¼ãããå ´åã«ã¯ãPVãã©ã¤ããAWS PVãã©ã¤ãã«ã¢ããã°ã¬ã¼ããããã¨ãæ¨å¥¨ããã¾ãã