Upgrade Windows Server 2016 to Windows Server 2019

Posted jinweichang

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Upgrade Windows Server 2016 to Windows Server 2019相关的知识,希望对你有一定的参考价值。

 

 

Pre-Upgrade


Upgrade path:

Windows Server 2016 can be upgraded to Windows 2019 in a single upgrade process.

Support:

In-place Upgrade is supported for Windows Server 2016 on physicaL hardware, and in Virtual Machines. Public and private cloud companies also support In-place Upgrade on Windows Server 2016 Virtual Machines to upgrade to Windows Server 2019 – check with your cloud provider.

Alternative:

Migrate (re-deploy) applications and data on a clean install of Windows Server 2019.

Limitations:

  • For the smoothest upgrade experience, if you‘ve deployed software-defined datacenter (SDDC) features like Software-Defined Networking (SDN) or Storage Spaces Direct, you are encouraged to wait for validated hardware from the Windows Server Software-Defined (WSSD) program to become available. The first wave of validated hardware is expected very soon; in mid-January 2019. Until then, please evaluate Windows Server 2019 using the Windows Insider edition, or call Microsoft support for recommendations on how to proceed.
  • Windows Servers configured to “Boot from VHD” cannot be upgraded using In-place Upgrade.

Planning for In-place Upgrade


Before proceeding with In-place Upgrade, collect the following information:

  • Is there a target or goal timeframe for upgrading this server?

  • Is this a production-critical server?

  • Is there a maintenance window for upgrading this server?

  • Is there enough time for a test upgrade on an identical or similar non-production server?

  • Who uses this server? Internal users, external users, or both? Have they been informed of the upgrade or maintenance?

  • Is there an inventory of what is running on the server? Check the following:

    • Windows Server Roles and Features

    • Microsoft applications: SQL Server, SharePoint Server, Exchange Server, etc.

    • 3rd-Party applications: SAP, Oracle, DB2, etc.

    • Is the server joined to an Active Directory domain?

    • Are any of the server disks BitLocker protected?

    • Is the server part of a Failover Cluster?

      Note that Cluster OS Rolling Upgrade can be used to upgrade Windows Server 2016 Failover Clusters to Windows Server 2019.

  • How often is the server backed-up? Have backups ever been successfully restored (applied) to the server or applications?

  • What backup software is used?

  • If In-place Upgrade is not successful and the server needs to be rebuilt, are the Windows Server and application install media available?

    Although it is rare, In-place Upgrade can fail and there should be a plan in-place for this possibility, to minimize server downtime and maintain SLAs.

  • Is the server fully patched? It is strongly recommended that the server is fully patched prior to In-place Upgrade.

  • Run systeminfo.exe and save the output:

    技术图片


  • Run ipconfig /all and save the output:

    技术图片


  • Run Get-WindowsFeature and save the output:

    技术图片


  • Run RegEdit and capture the value of the the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsNTCurrentVersion hive – this will show the exact version (BuildLabEx) and edition (EditionID) of Windows Server:

    技术图片

 
 

Before proceeding with the In-place Upgrade


  1. Backup the Operating System, Applications, and Virtual Machines.

  2. Shutdown, Quick Migrate, or Live Migrate all Virtual Machines running on the server - Virtual Machines cannot be running on the server during In-place Upgrade.

 

 

Upgrade


  1. Locate the setup media for Windows Server 2019

  2. Run setup.exe by double-clicking it:

    技术图片


  1. Click Yes to enable setup to proceed:

    技术图片


  1. For internet-connected devices, we recommend the Download updates, drivers and optional features option. Click Next:

    技术图片


  1. Setup will check the configuration of your computer – please wait:

    技术图片


  1. Depending on the distribution channel that you received Windows Server media from (Retail, Volume License, OEM, ODM, etc.) and the license for the server, you may be prompted to enter a licensing key to proceed.

  2. You will be prompted to select the image of the Edition to upgrade to. Then click Next:

    技术图片


  1. Depending on the distribution channel that you received Windows Server media from (Retail, Volume License, OEM, ODM, etc.) you may be presented with different license agreements. Click Accept:

    技术图片


  1. For In-place Upgrade, select Keep personal files and apps, and then click Next:

    技术图片


  1. When the analysis phase is complete, setup will prompt you to click Back to change choices, or to proceed with the In-place Upgrade. Click Install:

    技术图片


  1. Setup will proceed with the In-place Upgrade, and then the server will reboot:

    技术图片

  1. Setup will complete and the server will reboot.

 

 

Post-upgrade


  1. After Setup has completed installing and rebooted the sever, login to check that the server has been successfully upgraded. If you selected Windows Server 2019 Standard or Datacenter Desktop Edition, you should see the Server Manager window:

技术图片

 

  1. Run RegEdit and check the value of the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsNTCurrentVersion hive – the version should be successfully updated to Windows Server 2019.

    技术图片

 

    1. Check that applications are running and that client connections to the applications succeed.

    2. If you believe that there has been an issue upgrading you server, you should copy and Zip the %SystemRoot%Panther (usually C:WindowsPanther) directory and contact support.

以上是关于Upgrade Windows Server 2016 to Windows Server 2019的主要内容,如果未能解决你的问题,请参考以下文章

r MySQL server version for the right syntax to use near 'mysql_upgrade -u root -p' at line 1

upgrade HPE server firmware

Kubernetes 1.20.5 upgrade 1.21.0

Kubernetes 1.20.5 upgrade1.21.0后遗症

Realcase: Failed to upgrade SQL Server 2016 SP2 CU11. (Installation success or error status: 1648)(示

Windows Server 2003