Обновление Windows Server 2008 R2 до Windows Server 2012 R2 Upgrade Windows Server 2008 R2 to Windows Server 2012 R2
Если вы хотите сохранить существующее оборудование и все роли сервера, которые вы настроили, без сжатия сервера, необходимо выполнить обновление на месте. If you want to keep the same hardware and all the server roles you’ve already set up without flattening the server, you’ll want to do an in-place upgrade. При обновлении на месте вы переходите с более старой версии операционной системы на более новую, сохраняя свои параметры, роли сервера и данные. An in-place upgrade allows you to go from an older operating system to a newer one, while keeping your settings, server roles, and data intact. Эта статья поможет вам перейти с Windows Server 2008 R2 на Windows Server 2012 R2. This article helps you to move from Windows Server 2008 R2 to Windows Server 2012 R2.
Чтобы выполнить обновление до Windows Server 2019, сначала используйте сведения из этой статьи, чтобы выполнить обновление до Windows Server 2012 R2, а затем выполнить обновление с Windows Server 2012 R2 до Windows Server 2019. To upgrade to Windows Server 2019, use this topic first to upgrade to Windows Server 2012 R2, and then upgrade from Windows Server 2012 R2 to Windows Server 2019.
Подготовка к обновлению на месте Before you begin your in-place upgrade
Перед началом обновления Windows Server рекомендуется выполнить сбор данных с устройств для диагностики и устранения неполадок. Before you start your Windows Server upgrade, we recommend that you collect some information from your devices, for diagnostic and troubleshooting purposes. Так как эти сведения предназначены для использования только в случае сбоя обновления, необходимо убедиться в том, что вы храните информацию в расположении, доступ к которому можно получить с вашего устройства. Because this information is intended for use only if your upgrade fails, you must make sure that you store the information somewhere that you can get to it off of your device.
Сбор данных To collect your info
Откройте командную строку, перейдите в c:\Windows\system32 , а затем введите systeminfo.exe. Open a command prompt, go to c:\Windows\system32 , and then type systeminfo.exe.
Скопируйте, вставьте и сохраните полученные сведения о системе в любом расположении на устройстве. Copy, paste, and store the resulting system information somewhere off of your device.
Введите ipconfig /all в командной строке, а затем скопируйте и вставьте полученные сведения о конфигурации в то же расположение, что и ранее. Type ipconfig /all into the command prompt, and then copy and paste the resulting configuration information into the same location as above.
Откройте редактор реестра, перейдите в куст HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion, а затем скопируйте и вставьте значения BuildLabEx (версия) и EditionID (выпуск) для Windows Server в то же расположение, что и выше. Open the Registry Editor, go to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion hive, and then copy and paste the Windows Server BuildLabEx (version) and EditionID (edition) into the same location as above.
После получения всех данных, относящихся к Windows Server, мы настоятельно рекомендуем создать резервную копию операционной системы, приложений и виртуальных машин. After you’ve collected all of your Windows Server-related information, we highly recommend that you backup your operating system, apps, and virtual machines. Кроме того, необходимо завершить работу, выполнить быструю миграцию или динамическую миграцию всех виртуальных машин, выполняющихся в данный момент на сервере. You must also Shut down, Quick migrate, or Live migrate any virtual machines currently running on the server. Во время обновления на месте виртуальные машины не могут работать. You can’t have any virtual machines running during the in-place upgrade.
Выполнение обновления To perform the upgrade
Убедитесь, что значение BuildLabEx указывает, что используется Windows Server 2008 R2. Make sure the BuildLabEx value says you’re running Windows Server 2008 R2.
Найдите установочный носитель Windows Server 2012 R2 и выберите setup.exe. Locate the Windows Server 2012 R2 Setup media, and then select setup.exe.
Выберите Да, чтобы начать процесс установки. Select Yes to start the setup process.
На экране Windows Server 2012 R2 выберите Установить сейчас. On the Windows Server 2012 R2 screen, select Install now.
Для устройств, подключенных к Интернету, выберите Установить обновления из Интернета (рекомендуется) . For internet-connected devices, select Go online to install updates now (recommended).
Выберите выпуск Windows Server 2012 R2, который требуется установить, а затем нажмите кнопку Далее. Select the Windows Server 2012 R2 edition you want to install, and then select Next.
Выберите Я принимаю условия лицензии, чтобы принять условия лицензионного соглашения, исходя из вашего канала распространения (например, розничная, многократная, OEM, ODM версия и т. д.), а затем нажмите кнопку Далее. Select I accept the license terms to accept the terms of your licensing agreement, based on your distribution channel (such as, Retail, Volume License, OEM, ODM, and so on), and then select Next.
Выберите Upgrade: Install Windows and keep files, settings, and applications (Обновление: установить Windows и сохранить файлы, настройки и приложения), чтобы выбрать обновление на месте. Select Upgrade: Install Windows and keep files, settings, and applications to choose to do an in-place upgrade.
Программа установки напоминает вам, что вы должны убедиться, что ваши приложения совместимы с Windows Server 2012 R2, используя информацию из статьи Установка и обновление Windows Server, а затем нажмите кнопку Далее. Setup reminds you to make sure your apps are compatible with Windows Server 2012 R2, using the information in the Windows Server installation and upgrade article, and then select Next.
Если отображается страница с уведомлением о том, что обновление не рекомендуется, можно проигнорировать его и нажать кнопку Подтвердить. If you see a page that tells you upgrade isn’t recommended, you can ignore it and select Confirm. Она предназначена для того, чтобы предлагать чистую установку, но это не обязательно. It was put in place to prompt for clean installations, but it isn’t necessary.
Начнется обновление на месте, в котором отображается окно Обновление Windows с информацией о ходе выполнения. The in-place upgrade starts, showing you the Upgrading Windows screen with its progress. После завершения обновления сервер перезапустится. After the upgrade finishes, your server will restart.
Действия по завершении обновления After your upgrade is done
После завершения обновления необходимо убедиться, что обновление до Windows Server 2012 R2 прошло успешно. After your upgrade completes, you must make sure the upgrade to Windows Server 2012 R2 was successful.
Проверка успешности обновления To make sure your upgrade was successful
Откройте редактор реестра, перейдите в куст HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion и просмотрите запись ProductName. Open the Registry Editor, go to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion hive, and view the ProductName. Вы должны увидеть выпуск Windows Server 2012 R2, например Windows Server 2012 R2 Datacenter. You should see your edition of Windows Server 2012 R2, for example Windows Server 2012 R2 Datacenter.
Убедитесь, что все приложения работают, и что подключения клиентов к приложениям выполняются успешно. Make sure all of your applications are running and that your client connections to the applications are successful.
Если вы считаете, что во время обновления возникли проблемы, скопируйте и создайте архив каталога %SystemRoot%\Panther (обычно C:\Windows\Panther ) и обратитесь в службу поддержки Майкрософт. If you think something might have gone wrong during your upgrade, copy and zip the %SystemRoot%\Panther (usually C:\Windows\Panther ) directory and contact Microsoft support.
Дальнейшие действия Next steps
Вы можете выполнить обновление на месте для перехода с версии Windows Server 2012 R2 на Windows Server 2019. You can perform one more upgrade to go from Windows Server 2012 R2 to Windows Server 2019. Подробные инструкции см. в статье Upgrade Windows Server 2012 R2 to Windows Server 2019 (Обновление Windows Server 2012 R2 до Windows Server 2019). For detailed instructions, see Upgrade Windows Server 2012 R2 to Windows Server 2019.
Будни администратора
В рамках тестирования обновления версий ОС, провел эксперимент по обновлению серверной ОС с установленной ролью Hyper-V и развернутыми виртуальными машинами.
В качестве тестового сервера был взять HP DL160 шестого поколения, с standalone Windows Server 2008R2 Datacenter Edition, на которой работают три тестовые виртуальные машины с операционными системами FreeBSD9.0, Windows 2003R2 и Windows 2008R2.
Предварительно на сервер установлены все обновления и патчи, доступные с сети Microsoft Update.
В качестве референса версии гипервизора использовал версию Hyper-V Manager — 6.1.7601.17514 — крайняя доступная на сегодня версия.
Само обновление не представляет сложности.
Для начала придется погасить все виртуальные машины, и смержить все имеющиеся снапшоты.
Затем можно приступать непосредственно к установке новой операционной системы. Подключаем образ дистрибутива совпадающей редакции, запускаем setup, и следуем привычным инструкциям. Напомню, что при установке нужно выбрать режим обновления операционной системы, а не установки по новой, ввести серийный номер, согласиться с лицензионным соглашением и выбрать ядык локали и формата денежных единиц и времени.
Отмечу что в процессе обновления сервер перегружался несколько раз, так что при обновлении следует ожидать множественных перезагрузок.
После успешного обновления я проверил версию менеджера Hyper-V, она стала 6.2.9200.16384.
Виртуальные машины остались на месте и смогли запуститься. Для операционных систем 2003 и 2008 понадобилось повторно запустить установку Integration Services, инсталлятор которой заметил предыдущую версию установки и успешно ее обновил. На заметку: если во впремя запуска виртуальной машины гостевая ОС обнаружит новые устройства — установку и поиск можно игнорировать. Это интеграционные устройства новой версии, драйвера для которых будут установлены автоматически при установке Integration Services.
Что бросилось в глаза при первом осмотре:
Virtual Networks ожидаемо превратились в Virtual Switches, унаследовав настройки предшественников, однако названия новых свичей тоже унаследовались, и получилась забавная картинка: виртуальный свич с именем «External — Virtual Network». Впрочем на работоспособность это никак не повлияло, тем более, что название свича можно в любой момент поменять.
В оличии от бета и превью версий, в релизной версии оказалось невозможным задействовать механизм Live Migration. Включении данной опции в настройках гипервизора получил ошибку что данную опцию можно активировать только для хоста в составе домена. Это большой минус, так как чаяния по организации «легкого» двухнодового геокластера с использованием shared nothing технологий не оправдались. Кроме двух хостов виртуализации по прежнему никуда не деться от контроллера домена.
На заключительном этапе еще раз проверил импортирование «на горячую» скопированных виртуальных машин с хоста 2008R2, тоесть без предварительного экспорта. Виртуальные машины успешно подключились, затребовав только указания виртуальных свичей, к которым нужно подключить свои сетевые адапетры. Кстати сказать — данный wordpress движок живет как раз на виртуальной машине с FreeBSD, которая крутится теперь на новом сервере с 2012 и Hyper-V 3.0, переехав сюда как раз в процессе тестирования легкого импорта.
Upgrade Windows Server 2008 R2 to Windows Server 2012 R2
If you want to keep the same hardware and all the server roles you’ve already set up without flattening the server, you’ll want to do an in-place upgrade. An in-place upgrade allows you to go from an older operating system to a newer one, while keeping your settings, server roles, and data intact. This article helps you to move from Windows Server 2008 R2 to Windows Server 2012 R2.
To upgrade to Windows Server 2019, use this topic first to upgrade to Windows Server 2012 R2, and then upgrade from Windows Server 2012 R2 to Windows Server 2019.
Before you begin your in-place upgrade
Before you start your Windows Server upgrade, we recommend that you collect some information from your devices, for diagnostic and troubleshooting purposes. Because this information is intended for use only if your upgrade fails, you must make sure that you store the information somewhere that you can get to it off of your device.
To collect your info
Open a command prompt, go to c:\Windows\system32 , and then type systeminfo.exe.
Copy, paste, and store the resulting system information somewhere off of your device.
Type ipconfig /all into the command prompt, and then copy and paste the resulting configuration information into the same location as above.
Open the Registry Editor, go to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion hive, and then copy and paste the Windows Server BuildLabEx (version) and EditionID (edition) into the same location as above.
After you’ve collected all of your Windows Server-related information, we highly recommend that you backup your operating system, apps, and virtual machines. You must also Shut down, Quick migrate, or Live migrate any virtual machines currently running on the server. You can’t have any virtual machines running during the in-place upgrade.
To perform the upgrade
Make sure the BuildLabEx value says you’re running Windows Server 2008 R2.
Locate the Windows Server 2012 R2 Setup media, and then select setup.exe.
Select Yes to start the setup process.
On the Windows Server 2012 R2 screen, select Install now.
For internet-connected devices, select Go online to install updates now (recommended).
Select the Windows Server 2012 R2 edition you want to install, and then select Next.
Select I accept the license terms to accept the terms of your licensing agreement, based on your distribution channel (such as, Retail, Volume License, OEM, ODM, and so on), and then select Next.
Select Upgrade: Install Windows and keep files, settings, and applications to choose to do an in-place upgrade.
Setup reminds you to make sure your apps are compatible with Windows Server 2012 R2, using the information in the Windows Server installation and upgrade article, and then select Next.
If you see a page that tells you upgrade isn’t recommended, you can ignore it and select Confirm. It was put in place to prompt for clean installations, but it isn’t necessary.
The in-place upgrade starts, showing you the Upgrading Windows screen with its progress. After the upgrade finishes, your server will restart.
After your upgrade is done
After your upgrade completes, you must make sure the upgrade to Windows Server 2012 R2 was successful.
To make sure your upgrade was successful
Open the Registry Editor, go to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion hive, and view the ProductName. You should see your edition of Windows Server 2012 R2, for example Windows Server 2012 R2 Datacenter.
Make sure all of your applications are running and that your client connections to the applications are successful.
If you think something might have gone wrong during your upgrade, copy and zip the %SystemRoot%\Panther (usually C:\Windows\Panther ) directory and contact Microsoft support.
Next steps
You can perform one more upgrade to go from Windows Server 2012 R2 to Windows Server 2019. For detailed instructions, see Upgrade Windows Server 2012 R2 to Windows Server 2019.