Ir al contenido

Deployment on Proxmox VE and Windows Server Core Installation

Creating the optimized virtual machine on Proxmox, injecting VirtIO paravirtualized drivers, and initial Server Core installation.

0views

This initial module details the systems engineering steps required to provision an optimized virtual machine on Proxmox VE, install the Windows Server 2022 Core operating system, and correctly inject VirtIO paravirtualized storage and network drivers.


To ensure maximum print server performance and reduce CPU overhead, it is essential to structure the virtual machine using VirtIO (KVM Paravirtualized Drivers):

  1. General: Assign a unique identifier and hostname (e.g., w-server-2022).
  2. OS (Operating System): Select the original Windows Server 2022 ISO. Set type as "Microsoft Windows" and version as "11/2022".
  3. System:
    • Bios: OVMF (UEFI) (Recommended for modern GPT partitioning schemes).
    • SCSI Controller: VirtIO SCSI Single (Ensures independent IO queues and TRIM support).
    • QEMU Guest Agent: Activado (Essential for allowing safe shutdowns and interacting with the network system from the Proxmox panel).
  4. Disks:
    • Bus/Device: SCSI (with the previously selected VirtIO single SCSI controller).
    • Cache: Write back (Optimizes write speed using host RAM).
    • IO Thread: Activado.
  5. CPU / Memory: Minimum 2 vCores and 4 GB of RAM (Server Core has a minimum consumption of just 1.2 GB at idle).
  6. Network: Model VirtIO (paravirtualized).

Critical Device Step

Before booting the installation for the first time, add a second virtual CD/DVD drive to the machine and mount the ISO with the official drivers downloaded from Proxmox: virtio-win.iso.


Since VirtIO SCSI drivers are not natively integrated into the basic Microsoft installation ISO, the hard drive will not appear in the Windows installation wizard by default:

  1. In the disk partitioning window, click “Load Driver”.
  2. Click Browse and navigate to the second CD drive (virtio-win).
  3. Navigate to the path: amd64 > 2k22.
  4. Select and install the driver: Red Hat VirtIO SCSI pass-through controller. The virtual disk will immediately appear available for partitioning and installation.

In certain hypervisor configurations, the injected hard drive may report as offline due to restrictive Windows storage policies (Storage Area Network - SAN).

If the installer indicates that the disk is not online, press the key combination <kbd>Shift + F10</kbd> to raise the rescue command console and execute:

Ventana de terminal
diskpart
list disk
select disk 0
attributes disk clear readonly
online disk
exit

3. Post-Installation Driver and Network Configuration

Sección titulada «3. Configuración Post-Instalación de Drivers y Red»

After booting the server for the first time, Windows Server Core will start in a pure black command console. There will be no enabled network interface because the VirtIO network adapter requires manual drivers.

  1. Identify the letter assigned to the VirtIO CD drive (e.g., D: or E:) by running in the console:
    Ventana de terminal
    Get-Volume
  2. Run the system control driver utility (pnputil) to force the installation of the paravirtualized network driver (NetKVM):
    Ventana de terminal
    :: Reemplaza D: por la letra real de tu lectora virtual detectada
    pnputil /add-driver "D:\NetKVM\2k22\amd64\netkvm.inf" /install

The Command Prompt in Server Core includes an excellent interactive menu-driven configuration utility called sconfig:

Ventana de terminal
sconfig

Run the interactive menu to perform the following mandatory network actions:

  1. Option 2 (Computer Name): Structuredly change the hostname to w-server-2022 and restart the server.
  2. Option 8 (Network Configuration): Select the NetKVM network adapter and assign a static IP address within your segment (e.g., 192.168.10.10), along with the subnet mask, gateway, and corporate DNS.

To enable the local printer queuing and sharing engine, spin up the native print system role by running in PowerShell:

Ventana de terminal
Install-WindowsFeature Print-Services -IncludeManagementTools
Restart-Computer

The system will restart to compile the new lightweight print services.