VMwareESXi에 드라이브 추가

일부 서버는 ESXi를 설치할 때 드라이버가 부족합니다. 예를 들어 파도 서버인 NF8460M3를 설치할 때 하드디스크나 네트워크 카드를 찾을 수 없습니다. 이 때 스스로 드라이버를 ESXi의 설치 패키지에 추가해야 합니다.
드라이브 패키지 준비
WMware에서 현재 사용하고 있는 드라이브 패키지 도구는 PowerShell 기반 VMware로 업데이트되었습니다.EFI 지원 업스트림 결함과 같은 ESXiCustomizer 기능을 사용할 수 있습니다.다음 절차는https://docs.microsoft.com/en-us/powershell/gallery/installing-psget구체적인 설명이 있다.
온라인 설치
1. PowerShellGet 설치
이 모듈이 포함된 목록:
  • Windows 10 or newer
  • Windows Server 2016 or newer
  • Windows Management Framework (WMF) 5.0 or newer
  • PowerShell 6

  • 내가 사용하는 것은 윈도우즈 10이기 때문에 다시 설치할 필요가 없다.
    2. 최신 버전의 PowerShell Gallery(powerShell 라이브러리) 가져오기
    > Install-PackageProvider Nuget -Force
    > Exit

    또한 업데이트된 명령은
    > Update-Module -Name PowerShellGet
    > Exit

    3. VMware 설치PowerCLI
    > Install-Module -Name VMware.PowerCLI

    PowerShell 프롬프트에서 모듈이 있는지 확인합니다.
    > Find-Module -Name VMware.PowerCLI 

    오프라인 설치
    1. VMware 준비PowerCLI
    방법 1: 해당 모듈을 C:\PowerCLI 디렉토리로 다운로드(사용자가 지정한 디렉토리 이름)
    > Save-Module -Name VMware.PowerCLI -Path C:\PowerCLI 

    방법2: 직접 홈페이지 다운로드, 주소https://code.vmware.com/tool/vmware-powercli
    2. 모듈 디렉토리로 파일 복사
    다음 명령을 실행하여 PowerShell 디렉토리를 봅니다.
    > $ENV:PSModulePath

    다운로드한 파일을 상술한 명령 결과의 디렉터리로 복사하세요.재부팅하고 PowerShell 프롬프트에서 해당 모듈이 있는지 확인합니다.
    > Find-Module -Name VMware.PowerCLI 

    패키지 드라이브
    드라이브를 패키지화하기 전에 필요한 드라이버 및 오프라인 번들을 준비해야 합니다. VMware vSphere Hypervisor(ESXi) Offline Bundle.다음은 제가 직접 준비한 드라이버와 ESXi의 오프라인 번들입니다.
    VMware vSphere Hypervisor (ESXi) Offline Bundle:update-from-esxi6.7-6.7_update02.zip 드라이버: VMW-ESX-6.7.0-lsimr3-7.705.09.00-offline_bundle-8586101.zip
    PowerShell 시작 및 확인
    관리자가 Windows PowerShell을 시작하여
    > Get-ExecutionPolicy

    "RemoteSigned"인지 확인, 실행 안 함
    > Set-ExecutionPolicy RemoteSigned

    오프라인 번들 및 드라이브 추가
    Add-ESX Software Depot commandlet을 사용하여 ESXi 오프라인 번들과 드라이브를 라이브러리로 추가합니다.
    > Add-EsxSoftwareDepot D:\VMW-ESX-6.7.0-lsi_mr3-7.705.09.00-offline_bundle-8586101.zip D:\update-from-esxi6.7-6.7_update02.zip

    비동기 드라이버를 패키지로 사용할 수 있는지 확인
    > Get-EsxSoftwarePackage 

    여기서 ""은(는) 추가된 타사 제어
    사용 가능한 이미지 구성 파일 나열
    > Get-EsxImageProfile

    새 이미지 프로필에 비동기 드라이버 추가
    > New-EsxImageProfile -CloneProfile ESXi-6.7.0-20181002001-standard -name VMware-VMvisor-Installer-6.7.0.update01-10302608.x86_64-Inspur_Customized-A000 -Vendor Inspur

    새로 생성된 프로파일의 사용 권한 수정
    Set-EsxImageProfile -Name  VMware-VMvisor-Installer-6.7.0.update01-10302608.x86_64-Inspur_Customized-A000 -AcceptanceLevel CommunitySupported

    ImageProfile 프롬프트에서 VMware-VMvisor-Installer-6.7.0을 입력합니다.update01-10302608.x86_64-Inspur_Customized-A000
    새 이미지 구성 파일에 비동기 드라이버 추가
    Add-EsxSoftwarePackage -ImageProfile  VMware-VMvisor-Installer-6.7.0.update01-10302608.x86_64-Inspur_Customized-A000 -SoftwarePackage lsi_mr3

    이미지 구성 파일을 ISO 파일로 내보내기
    Export-EsxImageProfile -ImageProfile VMware-VMvisor-Installer-6.7.0.update01-10302608.x86_64-Inspur_Customized-A000 -ExportToISO -filepath E:\VMware-VMvisor-Installer-6.7.0.update01-10302608.x86_64-Inspur_Customized-A000.iso

    좋은 웹페이지 즐겨찾기