将Windows server 2016 升级到Windows server 2019

升级路径:

windows server 2016 可以在一个升级过程中升级到 windows 2019。

支持:

windows server 2016 在物理硬件和虚拟机中支持就地升级。公共和私有云公司还支持在 windows server 2016 虚拟机上进行就地升级, 以升级到 windows server 20as-请与您的云提供商联系。

替代:

在 windows server 2019 的全新安装中迁移 (重新部署) 应用程序和数据。

限制:

  • 为了获得最顺畅的升级体验, 如果您部署了软件定义的数据中心 (sddc) 功能 (如软件定义的网络 (sdn) 或存储空间直通), 则鼓励您等待来自 windows server 软件定义的经过验证的硬件 (可持续发展问题世界首脑会议) 程序变得可用。预计很快就会有第一波经过验证的硬件;20191月中旬。在此之前, 请使用windows 内部版本评估 windows server 2019, 或致电 microsoft 支持以获取有关如何继续操作的建议。

 

  • 配置为 " vhd 启动" windows 服务器无法使用就地升级进行升级。


 

规划就地升级

在继续就地升级之前, 请收集以下信息:

  • 是否有升级此服务器的目标或目标时间范围?

  • 这是一个生产关键型服务器吗?

  • 是否有用于升级此服务器的维护时段?

    扫描二维码关注公众号,回复: 4771441 查看本文章
  • 是否有足够的时间在相同或类似的非生产服务器上进行测试升级?

  • 谁使用此服务器?内部用户、外部用户或两者兼而有之?他们是否被告知升级或维护?

  • 是否有服务器上正在运行的内容的清单?请检查以下各项:

 

  • windows 服务器角色和功能

  • 微软应用程序:sql 服务器、sharepoint 服务器、exchange 服务器等

  • 第三方应用程序:saporacledb2

  • 服务器是否已加入活动目录 (ad)

  • 是否有任何服务器磁盘bitlocker受到保护?

  • 服务器是故障转移群集的一部分吗?

请注意, 群集操作系统滚动升级可用于将 windows server 2016 故障转移群集升级到 windows server 2019。

  • 服务器备份的频率是多少?备份是否已成功还原 (应用) 到服务器或应用程序?

  • 使用了什么备份软件?

  • 如果就地升级不成功, 并且需要重建服务器, windows 服务器和应用程序安装媒体是否可用?

虽然这种情况很少见, 但就地升级可能会失败, 并且应该有针对这种可能性的就地计划, 以最大限度地减少服务器停机时间并维护 sla。

  • 服务器是否已完全修补?强烈建议在就地升级之前对服务器进行完全修补。

  • 运行systeminfo. exe 并保存输出:

Administrator: Windows PowerSheII 
opyrlgt C 2016 M 1 croso t Corporation. 
ps 
systeni nfo 
A 
r lg ts reserve . 
Host Name: 
S Name: 
S Version: 
S Manufacturer: 
S Configuration: 
S 8uiId Type: 
Registered Owner : 
Registered Organization: 
Product ID: 
riginal Install Date: 
System Soot Time: 
System Manufacturer: 
System Model : 
System Type: 
Processor (s) : 
BIOS Version : 
indows Directory: 
System Directory: 
Soot Device: 
System Locale: 
Input Locale: 
ime Zone: 
Ota I Physical Memory: 
vailable Physical Memory: 
irtual Memory: Max Size: 
irtual Memory: Available: 
irtual Memory: In Use: 
Page File Location (s) : 
Domain : 
Logon Server: 
Hotfix(s) : 
Network Card(s): 
Hyper-V Requirenents: 
Mi crosoft Wi ndows Server 2016 Datacenter 
10.0.14393 N/A auild 14393 
Microsoft Corporation 
Member Server 
Multiprocessor Free 
Wi ndows User 
00377-90000-00001-guuo 
9/14/2018, PM 
9/14/2018, PM 
Dell Inc. 
Precision T1700 
x64-based PC 
I Processor (s) Installed. 
Col]: Inte164 Family 6 Model 
Dell Inc. A08, 4/25/2014 
C : ndows 
C : ndows\system32 
\ Devi ce\Har ddi skVoI umel 
60 Stepping 3 Genuinelntel 
-800 Mhz 
en-us; English (United States) 
en-us; English (United States) 
(UTC-08:00) Pacific Time (US & Canada) 
16,292 Ma 
14,358 Ma 
19,236 Ma 
17,412 Ma 
1,824 Ma 
C: Noaaefile.s s 
N/A 
I NIC(s) Installed. 
Col]: Intel (R) Ethernet Connection 
Connection Name: Ethernet 
DHCP Enabled: 
Yes 
DHCP server : 
IP address (es 
C02] : 
[03] : 
W Monitor Mode Extensions: Yes 
Virtualization Enabled In Firnmare: Yes 
Second Level Address Translation: Yes 
Data Execution Prevention Available: Yes


 

  • 全部运行保存输出:

Administrator: Windows PowerSheII 
ps C: Users 
Ipcon -lg / a 
Wi ndows IP Configuration 
Host Name . . . . . . . . . . . . : 
Primary Ons Suffix 
Node Type . 
IP Routing Enabled. . 
WINS Proxy Enabled. . 
DNS Suffix Search List. . . . . . 
Ethernet adapter Ethernet: 
Hybri d


 

  • 运行get-windows 功能并保存输出:

Administrator: Windows PowerSheII 
PS C: Users 
Display Name 
Get-Win owsFeature 
Active Directory Certificate Services 
] Certification Authority 
] Certificate Enrol Iment Policy Web Service 
] Certificate Enrol Iment Web Service 
] Certification Authority Web Enrol Iment 
] Network Device Enrol Iment Service 
] Online Responder 
Active Directory Domain Servi ces 
Active Directory Federation Servi ces 
Active Directory Lightweight Directory Services 
Active Directory Rights Management Servi ces 
] Active Directory Rights Management Server 
Name 
AD-Certifi cate 
AXS-Cert-Authority 
ADCS-Enrol -Web-Pol 
ARS-Enrol -Web-Svc 
ADCS-Web-EnroI Iment 
ARS-Devi ce-EnroI Iment 
ADCS-Onl i ne-Cert 
AD- Domai n -Servi ces 
ADFS-Federation 
ADLDS 
ADRNS 
ADRNS-server 
Install State 
Available 
Available 
Available 
Available 
Available 
Available 
Available 
Available 
Available 
Available 
Available 
Available


 

  • 运行regedit并捕获HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion配置单元的值--这将显示 windows 服务器的确切版本 (buildlabex) 和版本 (editionid):

Registry Editor 
Eile Edit Yiew Favorites Help 
Windows Desktop Search A 
Windows Mail 
Windows Media Device Ma 
Windows Media Foundatio 
Windows Media Player NSE 
Windows Messaging Subsy 
Windows NT 
CurrentVersion 
Windows Phone 
Windows Photo Viewer 
Windows Portable Devices 
Windows Script Host 
Windows Search 
WindowsRuntime 
WindowsSeIfHost 
WindowsStore 
WindowsUpdate 
WSDAPI 
X b oxGa meSaveSto rage 
ODBC 
Partner 
Policies 
RegisteredAppIications 
WOW6432Node 
SYSTEM 
WindowsAppLockerCache 
Name 
(Default) 
8uiId8ranch 
e) 8uildGUID 
8uiIdLab 
e) 8uiIdLabEx 
ab CompositionEdi... 
ab Current8uiId 
ab Current8uiIdNu... 
CurrentMajorVe.. 
CurrentMinorVe... 
CurrentType 
CurrentVersion 
ab Customizations 
DigitalProductId 
DigitalProductId4 
EditionID 
nstaIIationType 
nstalIDate 
nstaIITime 
ab PathName 
Productld 
ab ProductName 
ab RegisteredOrga... 
RegisteredOwner 
Releaseld 
Softwar eTy pe 
ab SystemRoot 
USERS 
CURRENT CONFIG 
Type 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG DWORD 
REG DWORD 
REG SZ 
REG SZ 
REG SZ 
REG BINARY 
REG BINARY 
REG SZ 
REG SZ 
REG DWORD 
REG_QWORD 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG DWORD 
(value not set) 
rsl release 
ffffffff ffff ffff ffff ffffffffffff 
14393.rs1 release.1wg12-17S8 
14393.2541.amd64fre.rs1 release.mg12-17S8 
ServerDatacenter 
DxDDDDDDOa (10) 
DxDDDDDDDO (0) 
Multiprocessor Free 
a4DODODOD3DODOD030303337372d"30303... 
f804DOD004DODOD030D030D030D030D030DO... 
ServerDatacenter 
Server 
Dx5bgc3627 (1 536964135) 
d44c7a52960ee3 (131814377355874019) 
D0377-9DDDO DODOI-AAUO 
Windows Server 2016 Datacenter 
Windows User 
System 
DxDDDDDged (2541) 
H KEY 
H KEY 
Computer\HKEY 
LOCAL NT\CurrentVersion


 

在继续就地升级之前

  1. 备份操作系统、应用程序和虚拟机。

  2. 关闭、快速迁移或实时迁移服务器上运行的所有虚拟机-在就地升级期间, 虚拟机无法在服务器上运行。

 

 

 

 

升级

  • 找到 windows 服务器2019年的安装镜像或者光盘

  • 双击 setup. exe:

El WS2019Setup 
Home 
* Quick access 
Desktop 
Downloads 
Documents 
[e Pictures 
This pc 
Network 
8 items 
Share 
View 
o 
ThisPC Local Disk 
Name 
sources 
suppot 
autorun 
bootmgr 
bootmgr.efi 
setup 
WS2019Setup 
Search WS201gSetup 
Size 
Date modified 
9/14/2018 6:47 PM 
9/14/2018 6:47 PM 
PM 
PM 
AM 
AM 
AM 
AM 
Type 
File folder 
File folder 
File folder 
File folder 
Setup Information 
File 
EFI File 
Application 
1,419 G 
81 G


 

  • 单击 "" 以启用安装程序以继续:

User Account Control 
Do you want to allow this app to make 
changes to your device? 
Microsoft Windows 
Verified publisher: Microsoft Corporation 
File origin: Hard drive on this computer 
Show more details 
Yes 
No


 

  • 对于互联网连接的设备, 我们建议使用"下载更新""驱动程序"      "可选功能" 选项。点击下一步:

Windows Server 2019 Setup 
Get updates, drivers and optional features 
These updates will help the installation go smoothly, and can include important fixes, updated device drivers, and 
additional files which are not on the installation media. If you don't install these updates ncw, your PC might not 
function properly after the installation, and you might need to reinstall some optional features and languages. 
O Download updates, drivers and optional features (recommended) 
Not right now 
want to help make the installation of Windows better 
Privacy statement


 

  • 安装程序将检查您的计算机的配置请稍候:

Windows Server 2019 Setup 
Checking your PC


 

  • 根据您从接收 windows server 媒体 (零售、批量许可、oemodm ) 和服务器许可证接收的分销渠道, 系统可能会提示您输入授权密钥以继续操作。

  • 系统将提示您选择要升级到的版本映像。然后单击 "下一步":

Windows Server 2019 Setup 
Select Image 
Please select the image you want to install. 
Operating System: 
Windows Server 2019 Standard 
Wndows Server 2019 Standard (Desktop Experience) 
Windows Ser.•er 2019 Datacenter 
Windows Server 2019 Datacenter (Desktop Experience) 
Language: 
en-US 
en-US 
en-US 
This option installs the full Windows graphical environment, consuming extra drive space. It can be useful if you want 
to use the Windows desktop or have an app that requires it. 
Back


 

  • 根据您从接收 windows server 媒体 (零售、批量许可、oemodm ) 接收的分销渠道, 您可能会看到不同的许可协议。单击 "接受":

Windows Server 2019 Setup 
Applicable notices and license terms 
Please read this so you know what you're agreeing to. 
our use of this software is subject to the terms and conditions of the license agreement by 
which you acquired this software. If you are a volume license customer, use of this software 
is subject to your volume license agreement. You may not use this software if you have not 
validly acquired a license for the software from Microsoft or its licensed distributors. 
Decline 
Accept


 

  • 对于就地升级, 选择 "保留个人文件和应用", 然后单击 "下一步":

Windows Server 2019 Setup 
Choose what to keep 
O Keep personal files and apps 
You will be able to manage your Windows settings. 
Nothing 
Everything will be deleted, including files, apps, and settings. 
For more information on upgrading Windows Server, visit: https://aka.ms/windowsserverupgrade 
Back


 

  • 分析阶段完成后, 安装程序将提示您单击 "上一步" 更改选项, 或继续进行就地升级。单击 "安装":

Windows Server 2019 Setup 
Ready to install 
You won't be able to use your PC while Windows installs. Save and close your files before you begin. 
To recap, you've chosen to: 
Install Windows Server 2019 Datacenter (Desktop Experience) 
Keep personal files and apps 
Change what to keep 
Back 
Install


 

  • 安装程序将继续进行就地升级, 然后服务器将重新启动:

Installing Windows Server 2019 
Your PC will restart several times. This might take a while. 
0% complete 
Cancel


 

  • 安装程序将完成, 服务器将重新启动。

 

升级后

  • 安装程序完成安装并重新启动服务器后, 登录以检查服务器是否已成功升级。如果选择了 windows      服务器2019年标准版或 "数据中心桌面版", 则应看到 "服务器管理器" 窗口:

Server Manager 
Server Manager Dashboard 
Manage 
All Servers 
Manageability 
Events 
Services 
Performance 
SPA results 
Tools 
View 
Hide 
Help 
Dashboard 
Local Server 
All Servers 
File and Storage Ser.•ices 
WELCOME TO SERVER MANAGER 
O Configure this local server 
QUICK START 
2 
3 
HATS NEW 
4 
5 
MORE 
ROLES AND SERVER GROUPS 
Add roles and features 
Add other servers to manage 
Create a server group 
Connect this server to cloud services 
Roles: I I Server groups: I I Servers total: I 
File and Storage 
Services 
Manageability 
Events 
Services 
Performance 
SPA results 
Local Server 
Manageability 
Events 
Services 
Performance 
SPA results


 

  • 运行regedit并检查HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion 配置单元的值-该版本应成功更新到 windows server 2019

Registry Editor 
Eile Edit Yiew Favorites Help 
Computer\HKEY LOCAL NT\CurrentVersion 
CurrentVersion 
Accessibility 
AdaptiveDispIay8rightness 
AeDebug 
AppCompatFIags 
Audit 
BackgroundModeI 
Clipsvc 
Compatibility32 
Console 
CorruptedFiIeRecovery 
DefaultProductKey 
DefaultProductKey2 
DeviceDispIayObjects 
DiskDiagnostics 
drivers.desc 
Drivers32 
Event Viewer 
Failover Clusters 
Font Drivers 
Font Management 
FontDPI 
FontIntensityCorrection 
FontLink 
FontMapper 
FontMapperFamiIyFaIIback 
Fonts 
FontSubstitutes 
FveDetect 
GRE Initialize 
HostActivityManager 
ICM 
A Name 
(Default) 
8uiId8ranch 
e) 8uiIdGUID 
8uiIdLab 
8uiIdLabEx 
lab CompositionEdi... 
ab Current8uiId 
ab Current8uiIdNu... 
CurrentMajorVer... 
CurrentMinorVe... 
CurrentType 
CurrentVersion 
DigitalProductId 
DigitalProductId4 
ab EditionID 
ab EditionSubMan... 
EditionSubstring 
ab EditionSubVersion 
nstaIIationType 
nstaIIDate 
nstaIITime 
Path Name 
ab Productld 
ab ProductName 
Releaseld 
ab SoftwareType 
ab SystemRoot 
Type 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG DWORD 
REG DWORD 
REG SZ 
REG SZ 
REG BINARY 
REG BINARY 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG DWORD 
REG QWORD 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG SZ 
REG DWORD 
(value not set) 
rs5 release 
ffffffff ffff ffff ffff ffffffffffff 
17763.rs5 release.1wg14-1434 
17763.1.amd64fre.rs5 release.18Dg14-1434 
Server Datacenter 
17763 
17763 
DxDDDDDDOa (10) 
DxDDDDDDDO (0) 
Multiprocessor Free 
a4DODODOD3DODOD030303433302d3030303... 
f804DOD004DODOD030D030D030D030D030DO... 
Server Datacenter 
Server 
Dx5ba30293 (1 537409683) 
(131818832836506334) 
00430 DODDO DODDO AASDO 
Windows Server 2019 Datacenter 
System 
DxDDDDDD01 (1)


 

  • 检查应用程序是否正在运行, 以及与应用程序的客户端连接是否成功。

  • 如果您认为升级服务器时出现了问题, 则应复制和压缩 %SystemRoot%\Panther(通常 c:\ wwows\ panther) 目录并联系技术支持。

 


猜你喜欢

转载自blog.51cto.com/489807/2338581