Realtek NICå©ç¨æã®ESXi 6.5ã¤ã³ã¹ãã¼ã«æ¹æ³ã¡ã¢
å æ¥ãWindows7ã«VMware Workstation Proãå ¥ãã¦ããèªå® ã®ãã¹ã¯ãããæ©ã®Windowsãæ½°ãã¦ãESXi 6.5ãå°å ¥ãã¾ããããã®éã«NICãRealtekã§ãã£ãããå°ã æããã£ãããããã®ã¡ã¢ã§ãã
ãªãåæ§ã«å°ã£ã¦ãã人ã¯å¤ããã¾ãã®ã§ããããªã«ç®æ°ããè¨äºã§ã¯ããã¾ããâ¦â¦ä½æ¥ã®éã¯ã以ä¸ã®éæ¨æããã®è¨äºãåèã«ããã¦é ãã¾ããã
ã¡ãªã¿ã«ESXiã¨ããã®ã¯VMware vSphere Hypervisorã«å«ã¾ããã³ã³ãã¼ãã³ãã®ã²ã¨ã¤ã§ãããªã(ããã)ã®ã§ãæ¬æ¥ã¯ãVMware vSphere Hypervisor(ESXi)ãã¨æ¸ãã®ãæ£ããããã§ãããããã¡ãã¡æ¸ãã¨é·ãã®ã§ã以ä¸åã«ãESXiãã¨æ¸ãã¾ãã
ç°å¢
- ãã¶ã¼ãã¼ãï¼ASUS B85M-E
- NICï¼Realtek 8111F
ãã¡ãªä¾
ESXiã¯NICã®ãã©ã¤ã対å¿ãé常ã«æªããRealtekã®NICã§ã¯ããã©ã«ãã§ã¯èªèããã以ä¸ã®ããã«"No Network Adapters"ã¨è¨ããã¦ã¤ã³ã¹ãã¼ã«ãæ¢ã¾ã£ã¦ãã¾ãã¾ãã
Intelã®NICã§ããã°ã»ã¼ç¢ºå®ã«å¯¾å¿ãã¦ããã®ã§Intel製NICãåºãã¦ãã¾ãã¨ããæ¡ãããã¾ãããããã§ã¯Realtekã®NICãèªèãããã¹ãé å¼µãã¾ãã
å ¨ä½ã®æµã
åºæ¬çã«ãVMware PowerCLIã使ã£ã¦Realtekã®ãã©ã¤ãå ¥ãISOãã¡ã¤ã«ãä½ããã¨ããæµãã«ãªãã¾ãã
- BIOSè¨å®ã§Intel VT-xãæå¹ã«ãã
- vmwareã¢ã«ã¦ã³ããä½æããã©ã¤ã»ã³ã¹ãã¼ãã¡ã¢ã£ã¦ããã
- PowerShellãã¢ãããã¼ãããPowerShellã®è¨å®ãå¤æ´ãã
- VMware PowerCLI 6.5ããã¦ã³ãã¼ãããã¤ã³ã¹ãã¼ã«ããã
- ã¤ã³ã¹ãã¼ã«å¾ãPATHã®è¨å®ããããªã
- ESXi-Customizer-PSã§ISOãã¡ã¤ã«ãä½æãã
- ä½æããISOãã¡ã¤ã«ãCD-Rã«ç¼ãã¦ããã¼ããã
ã¾ãã¯ããã«ãBIOSã§Intel Virtualization TechnologyããEnabledãã«è¨å®ãã¦ããã¾ãããã
vmwareã¢ã«ã¦ã³ãã®ä½æã¨ã©ã¤ã»ã³ã¹ãã¼ã®å ¥æ
ESXiã®å©ç¨ã¯å¨ç¥ã®ã¨ããç¡åã§ããããã¦ã³ãã¼ãã«ã¯VMwareã¢ã«ã¦ã³ããç»é²ããå¿ è¦ãããã¾ããã¾ãESXiã¯ç¡åã¨ã¯ããã©ã¤ã»ã³ã¹ãã¼ãç»é²ããå¿ è¦ãããããããã¡ãã®ãã¼ã®å ¥æãå¿ è¦ã§ãã
2017å¹´11æç¾å¨ã§ã¯ESXi6.5ã¯ä»¥ä¸ã®ãªã³ã¯ã§ããããã³ãã³ãã¨ãªã³ã¯å ã¯å¤ãããããªã®ã§ããvSphere Hypervisor downloadããªã©ã§æ¤ç´¢ãã¦ãã©ãçãã¨ããã§ãããã
ãã®ããã«ããã¦ã³ãã¼ããã¼ã¸ã«åããã¦ã©ã¤ã»ã³ã¹ã³ã¼ãã表示ããã¾ãããããã¡ã¢ãã¦ããã¾ãã
PowerShellã®ã¢ãããã¼ãã¨è¨å®å¤æ´
ãã¼ã¸ã§ã³ã«ãããã¾ãããWindows7ã§ã¯PowerShell 2.0ãããã©ã«ãã¨ãªã£ã¦ãã¾ãããããPowerShell 4.0以ä¸ã¸ã¨ã¢ãããã¼ããã¾ãã
PowerShellã®ãã¼ã¸ã§ã³ã¯ã$PSVersionTable ã¨å
¥åãã¦è¡¨ç¤ºããããPSVersionãã§ç¢ºèªã§ãã¾ããããã¯Windows10ãªã®ã§ãPowerShellã¯5.1ã§ãã
PowerShellãã¢ãããã¼ãããå ´åãWindows Management Framework 4.0ãã¤ã³ã¹ãã¼ã«ãã¾ãã
PowerShellã®è¨å®å¤æ´
PowerShellã¯ããã©ã«ãã§ã¯å®å ¨å´ã«åããã¦ãããä»»æã®.ps1ãã¡ã¤ã«ãå®è¡ã§ããªãRestrictedã¢ã¼ãã«ãªã£ã¦ãã¾ãã
PS C:\Users\ozuma> Get-ExecutionPolicy Restricted
ãããä¸æçã«Unrestrictedã¢ã¼ãã¸å¤æ´ãã¾ãããã®ä½æ¥ã«ã¯ç®¡çè 権éãå¿ è¦ãªãããPowerShellã¯å³ã¯ãªãã¯ãã¦ã管çè ã¨ãã¦å®è¡ãããä¸ã§ä½æ¥ãã¾ãã
> Set-ExecutionPolicy Unrestricted
ãã®è¨å®ã¯å±éºãä¼´ããããä½æ¥ãçµãã£ããæå¾ã«Restrictedã«æ»ãã¦ããããã«ãã¦ãã ããã
> Set-ExecutionPolicy Restricted
VMware PowerCLI 6.5ã®ã¤ã³ã¹ãã¼ã«
VMwareã®å種PowerShellãã¼ã«ãPowerCLIããã¦ã³ãã¼ããã¾ãããã¡ãã®ãã¦ã³ãã¼ããvmwareã¢ã«ã¦ã³ããå¿ è¦ã§ãã
ä¸è¨ã®ãªã³ã¯ãå¤ããå¯è½æ§ããããããPowerCLIã§æ¤ç´¢ãã¦ãã©ãçãã¨è¯ãã§ãããã
ã¤ã³ã¹ãã¼ã«èªä½ã¯ç°¡åã§ããã¦ã³ãã¼ãããã¤ã³ã¹ãã¼ã©ãå®è¡ããã ãã§ãã
PATHã®è¨å®
PowerCLIã®ã¤ã³ã¹ãã¼ã«å¾ã«æ示ããã¾ãããPATHãéãè¨å®ãå¿ è¦ã§ããç§ã®å ´åã¯ä»¥ä¸ã¨ãªãã¾ããã
> $p = [Environment]::GetEnvironmentVariable("PSModulePath") > $p += ";C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Modules\" > [Environment]::SetEnvironmentVariable("PSModulePath",$p)
åèï¼https://blogs.vmware.com/PowerCLI/2015/03/powercli-6-0-introducing-powercli-modules.html
ESXi-Customizer-PSã®ã¤ã³ã¹ãã¼ã«
ç¶ãã¦ãå®éã«Realtekãã©ã¤ããåãè¾¼ãã§ESXiã®ã¤ã³ã¹ãã¼ã«ãã£ã¹ã¯ISOãã¡ã¤ã«ãä½æãããESXi-Customizer-PSãã¤ã³ã¹ãã¼ã«ãã¾ãã
ãã¡ãã®ãDownload latest versionããããã¦ã³ãã¼ããã¾ãããã¡ãã¯ç©èªä½ã¯ps1ã¹ã¯ãªããã²ã¨ã¤ã ãã§ãã®ã§ãã¤ã³ã¹ãã¼ã«ã¯ä¸è¦ã§ããé©å½ãªä½æ¥ãã£ã¬ã¯ããªã«ç½®ãã°ããã§ãã
ISOãã¡ã¤ã«ã®ä½æ
å ã»ã©ã®ESXi-Customizer-PSã§ãRealtekãã©ã¤ãå ¥ãã®ISOãã¡ã¤ã«ãä½æãã¾ããã¾ãVMware PowerCLIãèµ·åããå ã»ã©ESXi-Customizer-PSã®ps1ãã¡ã¤ã«ãç½®ããå ´æã¸ã¨ç§»åãã¾ãã
ç¶ãã¦ä»¥ä¸ã®ã³ãã³ããå®è¡ãã¾ãã
PowerCLI C:\Users\ozuma\local\vmware> .\ESXi-Customizer-PS-v2.5.1.ps1 -v65 -vft -load net55-r8168
- -v65ï¼ESXi 6.5ã®ISOãä½æ
- -vftï¼è©³ç´°ããåãããªããESXi-Customizer-PSå©ç¨ã§ä¾åé¢ä¿ããã¾ããã£ã¦ãããè¨å®ããã(?)
- -loadï¼çµã¿è¾¼ããã©ã¤ããæå®
- net55-r8168ï¼Realtek 811Fã¯ãã®ãã©ã¤ãã«å ¥ã£ã¦ããããããããæå®ãã¾ã
ãããå®è¡ããã¨ãå°ã æéããããã¾ããISOãã¡ã¤ã«ãä½æããã¾ãããã¨ã¯ãã®ISOãã¡ã¤ã«ãCD-Rã«ç¼ãã¦ãã¼ãããé常éãESXiã®ã¤ã³ã¹ãã¼ã«ããããªãã ãã§ãã
è£è¶³
æã®VMwareã使ã£ã¦ããæ¹ã¯ããVMware vSphere Clientã¯ã©ãï¼ãã¨æãã§ãããããESXi 6.5ã§ã¯å®å
¨ã«Webã¤ã³ã¿ãã§ã¼ã¹ã«ä»¥éããã¾ããããã®ããvSphere Clientã¯ä¸è¦ã§ãã
Chromeãªã©Webãã©ã¦ã¶ã ãã§ã³ã³ã½ã¼ã«ä½æ¥ãå
¨ã¦ãããªããã®ã¯ããªããªããããã§ããã