備份和還原 VMMBack up and restore VMM

重要

已不再支援此版本的 Virtual Machine Manager (VMM),建議升級至 VMM 2019This version of Virtual Machine Manager (VMM) has reached the end of support, we recommend you to upgrade to VMM 2019.

本文說明 System Center - Virtual Machine Manager (VMM) 環境中的備份與復原程序,並提供一些建議。This article describes the backup and recovery process in a System Center - Virtual Machine Manager (VMM) environment, and provides some recommendations.

在您開始使用 Intune 之前Before you start

  • 請勿使用嚴重損壞修復的檢查點。Don't use checkpoints for disaster recovery. 檢查點不會建立硬碟內容的完整複本,也不會將資料複製到不同的磁碟區。Checkpoints do not create full duplicates of the hard disk contents, nor do they copy data to a separate volume.
  • 更新虛擬機器上的作業系統之前,您可以使用檢查點當作暫時性備份。You can use a checkpoint to serve as temporary backup, before updating an operating system on a virtual machine. 這樣一來,如果更新有負面影響,您就可以復原更新。This allows you to roll back the update if it has adverse effects.
  • 您應該在發生重大資料遺失時,使用備份應用程式來備份及復原資料。You should use a backup application to back up and recover your data in case of catastrophic data loss. 其中一個選項是 System Center Data Protection Manager (DPM)。One option is System Center Data Protection Manager (DPM).
  • 當您重新安裝 VMM 時,可以輸入「遠端存取授權」(RAA) 密碼和產品金鑰等資料。Data such as Remote Access Authorization (RAA) passwords and the product key can be entered when you reinstall VMM. 不過,某些加密的資料 (例如虛擬機器角色) 無法重新輸入。However, some encrypted data such as Virtual Machine Roles cannot be reentered.
  • 如果您使用資料保護應用程式開發介面 (DPAPI) 來備份 VMM,就無法備份和還原這類資料。You can't back up and restore such data if you use the Data Protection application programming interface (DPAPI) for backing up VMM.
  • 如果 VMM 管理伺服器失敗,就會遺失這些資料。The data will be lost if the VMM management server fails.

建立和實作備份計劃Create and implement a backup plan

備份計劃的基本要素包含需要備份之項目的清單,以及環境中經常變更項目 (因此需要經常備份) 的概要。Basic elements of a backup plan include a list of what needs to be backed up, and an outline of what is changed frequently (and therefore need to be backed up frequently) in your environment.

備份 VMM 資料庫Back up the VMM database

VMM 資料庫包含組態、服務範本、設定檔、虛擬機器範本、服務、擴充服務,以及 VMM 正常運作所需的其他重要資料等資訊。The VMM database contains information such as configurations, service templates, profiles, virtual machine templates, services, scale-out services, and other critical data that is required for VMM to function correctly. 定期備份 VMM 資料庫。Back up the VMM database regularly.

VMM 資料庫可以儲存在 VMM 管理伺服器上,或是執行 Microsoft SQL Server 的個別伺服器上。The VMM database can be stored on the VMM management server or on a separate server running Microsoft SQL Server. 若要備份 VMM 資料庫,您可以使用下列一或多個方法:To back up the VMM database, you can use one or more of the following:

  • SQL Server 工具。SQL Server tools. 如需詳細資訊,請參閱建立完整資料庫備份 (SQL Server)For more information, see Create a Full Database Backup (SQL Server).

  • 環境中所使用的其他備份工具。Other backup tools that are used in your environment.

  • VMM 主控台或 Windows PowerShell Cmdlet,如下列程序中所述。The VMM console or a Windows PowerShell cmdlet, as described in the procedures that follow.

除了備份資料庫之外,建議您建立 VMM 管理伺服器的系統狀態備份,以便您可以在發生重大資料遺失時,使用相同的安全性識別碼 (SID) 來重新建立伺服器。In addition to backing up the database, we recommend that you create a system state backup of the VMM management server so that you can re-create the server with the same security identifier (SID) in case of a catastrophic data loss. SID 是在虛擬機器主機上授權 VMM 時不可或缺的一部分。The SID is an integral part of how VMM is authorized on virtual machine hosts.

重要

  • 有幾種方式可復原您透過下列任一備份程序所建立的 VMM 資料庫檔案。There are several ways to recover the VMM database file that you create through either of the following backup procedures. 有一個需要 VMM 管理伺服器才能運作的方式是使用 Backup-SCVMMServer 中所述的 SCVMMRecover.exe 工具 (雖然 SCVMMRecover.exe 並不是 Cmdlet) 。One way, which requires the VMM management server to be functioning, is to use the SCVMMRecover.exe tool, as described in Backup-SCVMMServer (although SCVMMRecover.exe is not a cmdlet). 另一個不需 VMM 管理伺服器就能運作的方式是使用 SQL Server 工具來還原,以還原和附加資料庫檔案。Another way, which does not require the VMM management server to be functioning, is to restore by using SQL Server tools for restoring and attaching a database file.
  • 若要使用下列程序,您必須是系統管理員使用者角色的成員。To use the following procedures, you must be a member of the Administrator user role.

使用 VMM 主控台來備份 VMM 資料庫Back up the VMM database by using the VMM console

  1. 在 [設定] 工作區中的 [常用] 索引標籤上,按一下 [備份] 群組中的 [備份] 。In the Settings workspace, on the Home tab, in the Backup group, click Backup.

  2. 在 [Virtual Machine Manager 備份] 對話方塊中,指定備份檔案的位置。In the Virtual Machine Manager Backup dialog box, specify the location for the backup file. 選取不是根目錄且 SQL Server 可存取的資料夾。Select a folder that is not a root directory and that SQL Server can access.

    您可以在 [工作] 工作區中檢查備份的狀態。You can check the status of the backup in the Jobs workspace.

    如需有關如何復原備份的資訊,請參閱此程序之前的「重要事項」 注意事項。For information about how to recover the backup, see the Important note before this procedure.

在 Windows PowerShell 中使用 Cmdlet 來備份 VMM 資料庫Back up the VMM database by using cmdlets in Windows PowerShell

  1. 啟動 Windows PowerShell 工作階段。Start a Windows PowerShell session.

  2. 在 Windows PowerShell 命令提示字元中,使用下列語法來執行 Get-SCVMMServerBackup-SCVMMServer Cmdlet:At the Windows PowerShell command prompt, run the Get-SCVMMServer and Backup-SCVMMServer cmdlets, using the following syntax:

    get-scvmmserver <VMM management server name> | backup-scvmmserver -Path <BackupFileDir>
    

如需有關如何復原備份的資訊,請參閱這些程序之前的「重要事項」 注意事項。For information about how to recover the backup, see the Important note before these procedures.

備份主機和虛擬機器Back up hosts and virtual machines

虛擬機器主機包括 Hyper-V 主機、VMware ESXi 主機,以及虛擬機器和服務部署所在的主機叢集。Virtual machine hosts are Hyper-V hosts, VMware ESXi hosts, and host clusters on which virtual machines and services are deployed. 若要備份虛擬機器主機和叢集,請使用 Microsoft System Center Data Protection Manager (DPM) 或另一個利用「磁碟區陰影複製服務」(VSS) 的備份應用程式,將主機和虛擬機器資料複製到遠端檔案伺服器共用。To back up virtual machine hosts and clusters, use Microsoft System Center Data Protection Manager (DPM) or another backup application that takes advantage of Volume Shadow Copy Service (VSS) to copy host and virtual machine data to a remote file server share.

重要

建議您每天備份虛擬機器設定檔案 (.vmc)。We recommend that you back up virtual machine configuration files (.vmc) daily.

清查您的主機,然後備份所有裝載的虛擬機器。Inventory your hosts, and then back up all of the hosted virtual machines. 若要取得 VMM 所管理的主機清單,請從 Windows PowerShell 命令列執行下列 Cmdlet:To get the list of hosts that are being managed by VMM, run the following cmdlet from a Windows PowerShell command line:

$vmhost = get-scvmmserver <VMM management server name> | get-scvmhost

如需詳細資訊,請參閱 Get-SCVMMServerGet-SCVMHostFor more information, see Get-SCVMMServer and Get-SCVMHost.

使用支援 VMM VSS 寫入器的備份軟體,來備份每部 VMM 主機上的所有組態和資源檔案。Back up all of the configuration and resource files on each VMM host by using backup software that supports the VMM VSS writer. 支援 VMM 的備份軟體可將封存及還原虛擬伺服器所需的步驟數目降至最低、協助將停機時間縮減到最短,以及協助確保所封存或還原之資料的一致性。Backup software that supports VMM can minimize the number of steps required to archive and restore virtual machines, help minimize downtime, and help ensure consistency of the data that is being archived or restored.

備份程式庫伺服器Back up library servers

VMM 資源庫包括檔案型資源,例如虛擬硬碟、ISO 映像、指令碼、驅動程式檔案,以及儲存在資源庫伺服器上的應用程式封裝。The VMM library includes file-based resources, such as virtual hard disks, ISO images, scripts, driver files, and application packages that are stored on library servers. 這些資源會與 VMM 資料庫中非檔案型的資源密切關聯,例如虛擬機器及服務範本和設定檔。These resources are closely associated with resources in the VMM database that are not file-based, such as virtual machine and service templates and profiles. 所有的這些資源都應該備份。All of these resources should be backed up.

若要備份資源庫伺服器上的資料,請使用 System Center Data Protection Manager (DPM) 或另一個利用「磁碟區陰影複製服務」(VSS) 的備份應用程式,將主機和虛擬機器資料複製到遠端檔案伺服器共用。To back up the data on library servers, use System Center Data Protection Manager (DPM) or another backup application that takes advantage of Volume Shadow Copy Service (VSS) to copy host and virtual machine data to a remote file server share. 如需 VMM 資源庫伺服器清單,請從 Windows PowerShell 命令列執行下列 Cmdlet:For a list of VMM library servers, run the following cmdlet from the Windows PowerShell command line:

$libraryservers = get-scvmmserver <VMM management server name> | get-sclibraryserver

如需詳細資訊,請參閱 Get-SCVMMServerGet-SCLibraryServerFor more information, see Get-SCVMMServer and Get-SCLibraryServer.

將程式庫共用上的所有檔案備份到遠端檔案伺服器上的共用資料夾,包括具有下列副檔名的檔案:Back up all files on library shares to a shared folder on a remote file server, including files with the following extensions:

  • .vhd 和 .vhdx.vhd and .vhdx
  • .iso.iso
  • .vmx.vmx
  • .ps1.ps1
  • .vmc.vmc
  • .vsv.vsv

備份 VMM 私人雲端Back up VMM private clouds

若要協調及自動化 VMM 雲端中之虛擬機器的複寫和容錯移轉作業,您可以使用 Azure Site Recovery ManagerTo orchestrate and automate the replication and failover of virtual machines located in VMM clouds, you can use Azure Site Recovery Manager. 您可以利用下列方式進行複寫:You can replicate in the following ways:

  • 使用 Hyper-V 複寫或 SAN 複寫,從一個內部部署 VMM 站台複寫至另一個站台。From one on-premises VMM site to another, using Hyper-V replication or SAN replication.

  • 使用 Hyper-V 複寫,從內部部署 VMM 站台複寫至 Azure。From an on-premises VMM site to Azure, using Hyper-V replication.

備份登錄機碼、加密金鑰和認證Back up registry keys, encryption keys, and credentials

使用下列指導方針來備份登錄機碼、加密金鑰,以及非 VMM 管理的認證:Use the following guidelines to back up registry keys, encryption keys, and non-VMM managed credentials:

  • 登錄機碼:VMM 會使用多個登錄機碼來儲存重要的設定。Registry keys: VMM uses multiple registry keys to store important settings. 設定會儲存在下列登錄機碼及其子機碼中:HKLM\Software\Microsoft\Microsoft System Center Virtual Machine Manager Server\SettingsSettings are stored in the following registry key and its subkeys: HKLM\Software\Microsoft\Microsoft System Center Virtual Machine Manager Server\Settings.

    您應該備份這整個登錄區段,以及 SQL 子機碼的可能例外狀況。You should back up this entire section of the registry, with the possible exception of the SQL subkey. 如果您備份 SQL 子機碼,擷取的會是備份時的資料庫名稱、位置及其他詳細資料,這些資料可能會與您在復原時所要的 VMM 資料庫詳細資料不相符。If you back up the SQL subkey, you capture the database name, location, and other details at the time of backup, which might not match the VMM database details that you want at the time of recovery.

    若要備份登錄機碼,您可以使用 Regedit 的 [匯出] 功能或您環境所使用的其他任何工具,來備份登錄機碼。To back up registry keys, you can use the Regedit Export function, or any other tool that is used in your environment to back up registry keys.

  • Active Directory 網域服務中的加密金鑰:如果設定了分散式金鑰管理 (DKM),則您會將 VMM 相關的加密金鑰儲存於 Azure Active Directory Domain Services (AD DS) 中。Encryption keys in Active Directory Domain Services: If distributed key management (DKM) is configured, then you are storing VMM-related encryption keys in Active Directory Domain Services (AD DS). 若要備份這些金鑰,請定期備份 Active Directory。To back up these keys, back up Active Directory on a regular basis.

  • 非 VMM 受控的認證:某些與 VMM 相關的認證是由 VMM 管理伺服器上的 Windows 認證管理員所管理。Non-VMM managed credentials: Some credentials that are related to VMM are managed by the Windows Credential Manager on the VMM management server. 若要存取「認證管理員」,請在「控制台」中,選取 [所有控制台項目] ,然後按一下 [認證管理員] 。To access the Credential Manager, in Control Panel, select All Control Panel Items, and then click Credential Manager. 按一下 [備份認證] 來備份所有 VMM 相關認證。Click Back up Credentials to back up any VMM-related credentials.

備份非 Microsoft 使用者介面增益集和其他非 Microsoft 應用程式Back up non-Microsoft user interface add-ins and other non-Microsoft applications

您可以使用非 Microsoft 使用者介面 (UI) 增益集,來擴充 VMM 主控台的功能。You can use non-Microsoft user interface (UI) add-ins to extend the functionality of the VMM console. UI 增益集所使用的資料可能儲存於本機伺服器或遠端電腦上,而且可能是透過特定一組權限來設定。The data that is used by a UI add-in might be stored on the local server or on a remote computer, and it might be configured with a specific set of permissions. 請參閱特定 UI 增益集的備份指導方針。Consult the backup guidelines of your specific UI add-in.

針對任何其他非 Microsoft 應用程式,請參閱該應用程式的特定備份指導方針。For any other non-Microsoft applications, refer to the applications" specific backup guidelines.

還原 VMM 環境Restore the VMM environment

視需要還原 VMM 資料庫Restore the VMM database if necessary

如果必須還原 VMM 資料庫,請先使用對應到您備份方法的程序來還原它。If the VMM database must be restored, restore it first, using the process that corresponds to your backup method. 例如,若要使用 SQL Server 工具來還原,請參閱還原和復原概觀 (SQL Server)For example, to restore using SQL Server tools, see Restore and Recovery Overview (SQL Server).

如果 VMM 資料庫是您唯一需要還原的元素,而您需要 SCVMMRecover.exe 工具的相關資訊,請參閱 Backup-SCVMMServerIf the VMM database is the only element that you need to restore, and you want information about the SCVMMRecover.exe tool, see Backup-SCVMMServer.

在同一部電腦上還原 VMM 伺服器Restore the VMM server on the same computer

如果您將同一部電腦用於 VMM 伺服器,請在該電腦上執行系統狀態還原 (否則,請略過這一節)。If you are using the same computer for the VMM server, perform a system state restore on that computer (otherwise, skip this section). 如果這樣做,VMM 伺服器的 SID 會維持不變,而還原 VMM 環境所需的步驟則會減少。If you do this, the SID of the VMM server remains the same, and fewer steps are required to restore your VMM environment.

還原 VMM 伺服器之後,請執行下列步驟:After you have restored the VMM server, take the following steps:

  1. 從 VMM 主控台移除上次備份後已移除的任何主機或虛擬機器。Remove any hosts or virtual machines from the VMM console that were removed after the last backup. 如果上次備份後已移除主機,主機會顯示為「沒有回應」,且主機上的所有虛擬機器會顯示為「主機沒有回應」。If a host has been removed after the last backup, then it appears as "Not Responding" and all virtual machines on the host appear as "Host Not Responding". 如果主機存在,但上次備份後已移除虛擬機器,則虛擬機器會顯示為「遺失」。If the host is present but a virtual machine has been removed after the last backup, then the virtual machine appears as "Missing."

  2. 新增上次備份後已新增的任何主機或虛擬機器。Add any hosts or virtual machines that were added after the last backup.

在不同電腦上還原 VMM 伺服器Restore the VMM server on a different computer

如果您打算將 VMM 管理伺服器還原至不同的實體電腦,請先檢閱「系統需求」中的硬體需求:If you plant to restore the VMM management server onto a different physical computer, first review the hardware requirements in System Requirements.

接下來,在所選取的伺服器上重新安裝 VMM,並將這部 VMM 伺服器指向 VMM 資料庫。Next, re-install VMM on the selected server, and point this VMM server to the VMM database. 由於這部伺服器的 SID 將會與原來的電腦不同,因此需要執行一些必要步驟來使它與您的環境同步。Because this server will have a different SID than the original computer, a few steps are necessary to bring it current with your environment. 這些步驟包括使主機與新的 VMM 伺服器重新關聯 (否則,它們仍會持續對應到原始電腦的機器帳戶)。These steps include reassociating hosts with the new VMM server (otherwise, they remain mapped to the original computer's machine account).

使用新的 VMM 管理伺服器更新主機Update hosts with the new VMM management server

  1. 開啟 VMM 主控台。Open the VMM console.

  2. 視需要檢閱主機和虛擬機器的清單,以準備執行此程序中的後續步驟:Review the lists of hosts and virtual machines, as needed, to prepare for later steps in this procedure:

    • 若要檢閱伺服器清單,請在 [網狀架構] 工作區中,按一下左側的 [伺服器] 。To review the list of servers, in the Fabric workspace, on the left, click Servers.

    • 若要檢閱虛擬機器清單,請在 [VM 和服務] 工作區中,按一下左側的 [所有主機] 。To review the list of virtual machines, in the VMs and Services workspace, on the left, click All Hosts.

  3. 從 VMM 主控台移除上次備份後已移除的任何主機或虛擬機器。Remove any hosts or virtual machines from the VMM console that were removed after the last backup. 如果上次備份後已移除主機,主機會顯示為「沒有回應」,且主機上的所有虛擬機器會顯示為「主機沒有回應」。If a host has been removed after the last backup, then it appears as "Not Responding" and all virtual machines on the host appear as "Host Not Responding". 如果主機存在,但上次備份後已移除虛擬機器,則虛擬機器會顯示為「遺失」。If the host is present but a virtual machine has been removed after the last backup, then the virtual machine appears as "Missing."

  4. 新增上次備份後已新增的任何主機或虛擬機器。Add any hosts or virtual machines that were added after the last backup.

  5. 識別已標示為「拒絕存取」的受管理電腦、在每一部電腦上按一下滑鼠右鍵、按一下 [重新關聯] ,然後提供系統管理認證。Identify managed computers that are marked as "Access Denied," right-click each one, click Reassociate, and then provide the administrative credentials.

  6. 如果您要還原同時也是資源庫伺服器的 VMM 管理伺服器,則新電腦會列出原始 VMM 伺服器作為預設資源庫伺服器。If you are restoring a VMM management server that was also a library server, then the new computer lists the original VMM server as the default library server. 請從 [資源庫] 檢視中移除原始資源庫伺服器,然後新增新的電腦作為資源庫伺服器。From the Library view, remove the original library server, and then add the new computer as a library server.

您可能也需要重新關聯周邊網路 (又稱為 DMZ 和遮蔽式子網路) 中的伺服器,如下一節所述。You might also need to reassociate servers in the perimeter network (also known as DMZ, demilitarized zone, and screened subnet), as described in the next section.

重新關聯周邊網路中的伺服器Reassociate servers in a perimeter network

還原 VMM 伺服器之後,周邊網路上的伺服器一開始可能會顯示為「沒有回應」。After you restore a VMM server, servers on a perimeter network might initially appear as "Not Responding." 在此情況下,請執行下列步驟。In that case, perform the following steps.

  1. 登入周邊網路上的每部伺服器,然後尋找 VMM 帳戶。Sign in to each server on the perimeter network, and then locate the VMM account. VMM 帳戶是由 10 個字元的 scvmm 使用者名稱加上 5 個隨機字元所組成的本機系統管理員帳戶。The VMM account is a local administrator account with a 10-character user name of scvmm plus 5 random characters.

  2. 變更每部伺服器上 VMM 帳戶的密碼。Change the password of the VMM account on each server.

  3. 在 VMM 管理伺服器上,按一下 [主機內容] 對話方塊中的 [選項] 索引標籤,然後為每部伺服器指派您在步驟 2 中建立的相同密碼。On the VMM management server, in the Host Properties dialog box, click the Options tab, and then assign each server the same password that you created in step 2.

還原 VMM 程式庫伺服器Restore VMM library servers

若要在資料遺失後還原程式庫伺服器,請還原檔案伺服器共用,然後再將資料還原回共用。To restore a library server after data loss, restore the file server shares, and then restore the data back onto the shares.

還原 VMM 管理伺服器和 VMM 資料庫之後,資源庫伺服器會列在 VMM 主控台中。After you restore the VMM management server and the VMM database, library servers are listed in the VMM console. 如有需要,可將這些清單與實體程式庫伺服器重新產生關聯。As needed, reassociate these listings with the physical library servers.

  1. 如果新還原之電腦的名稱與原始電腦的名稱相同,請在該本機電腦上安裝 Virtual Machine Manager 代理程式,然後將該電腦與 VMM 管理伺服器重新關聯。If the newly restored computer has the same name as the original computer, install the Virtual Machine Manager agent locally on that computer and then reassociate that computer with the VMM management server.
  2. 如果新還原之電腦的名稱與原始電腦的名稱不同,請使用 VMM 主控台將原始電腦從受管理的電腦清單中移除,然後新增新的電腦。If the newly restored computer has a different name than the original computer, use the VMM console to remove the original computer from the list of managed computers, and then add the new computer.

還原登錄機碼、Active Directory 物件和非 VMM 管理的認證Restore registry keys, Active Directory objects, and non-VMM managed credentials

使用下列指導方針來還原登錄機碼、Active Directory 物件和非 VMM 管理的認證:Use the following guidelines to restore registry keys, Active Directory objects, and non-VMM managed credentials:

  • 登錄機碼:若要還原先前備份的登錄機碼,您可以使用 Regedit 的 [匯入] 功能或您環境中所使用的其他任何工具,來備份和還原登錄機碼。Registry keys: To restore registry keys that were previously backed up, you can use the Regedit Import function or any other tool that is used in your environment to back up and restore registry keys. 不過,如果資料庫名稱、位置及其包含的其他詳細資料,與您在還原登錄機碼時想要用於 VMM 資料庫的資料不符,請勿還原 SQL 子機碼。However, do not restore the SQL subkey if the database name, location, and other details that it contains do not match what you want for the VMM database at the time you are restoring the registry keys.

  • Active Directory 物件:如果在 VMM 環境中啟用了分散式金鑰管理 (DKM),則 VMM 會在 Active Directory 中儲存一些資料,例如,RAA 密碼、產品金鑰資訊和虛擬機器角色資料。Active Directory objects: If distributed key management (DKM) is enabled in your VMM environment, VMM stores some data in Active Directory, such as RAA passwords, product key information, and Virtual Machine Role data. 重新安裝 VMM 之後,您可以視需要重新輸入儲存在 Active Directory 中的部分資料,例如 RAA 密碼和產品金鑰資訊。After re-installing VMM, if needed, you can re-enter some of the data that was stored in Active Directory, such as RAA passwords and product key information. 重新安裝 VMM 並 (視需要) 還原 Active Directory 之後,VMM 仍可繼續存取 Active Directory 中的資料。After you re-install VMM and (if necessary) restore Active Directory, the data in Active Directory continues to be accessible to VMM.

  • 非 VMM 受控的認證:在 [控制台] 中,選取 [所有控制台項目] ,然後按一下 [認證管理員] 。Non-VMM managed credentials: In Control Panel, select All Control Panel Items, and then click Credential Manager. 按一下 [還原認證] ,以還原所有先前備份的 VMM 相關認證。Click Restore Credentials to restore any VMM-related credentials that were previously backed up.

還原後工作Post-restore tasks

視您的 VMM 組態而定,您可能需要在還原 VMM 環境之後,執行下列部分工作:Depending on your VMM configuration, you might need to do some of the following tasks after you restore your VMM environment:

設定永遠可用可用性群組Configure Always On Availability Groups

如果使用「SQL Server 永遠可用可用性群組」設定 VMM 資料庫,您必須完成幾項工作,才能確保資料庫已正確設定「可用性群組」。If the VMM database was configured by using SQL Server Always On Availability Groups, you must complete a few tasks to ensure that the database is correctly configured with an availability group.

重新安裝 Windows Azure PackReinstall Windows Azure Pack

如果您使用 VMM 在環境中部署「Windows Azure 套件」(WAP) 以支援租用戶,您就必須在還原 VMM 環境之後重新安裝該套件。If Windows Azure Pack (WAP) was deployed in your environment to support tenants by using VMM, then you"ll have to reinstall it after you restore the VMM environment. 如需有關 Windows Server 適用之「Windows Azure 套件」的詳細資訊,請參閱 Windows Server 適用的 Windows Azure 套件For more information about Windows Azure Pack for Windows Server, see Windows Azure Pack for Windows Server.

安裝其他 VMM 主控台Install additional VMM consoles

如果您必須更換任何已安裝 VMM 主控台的伺服器,請在這些伺服器上重新安裝主控台。If you had to replace any servers on which VMM consoles were installed, re-install the consoles on those servers.

更新虛擬機器範本Update virtual machine templates

所有還原的虛擬機器範本都必須正確地指定包含作業系統的虛擬硬碟。All virtual machine templates that were restored must correctly specify the virtual hard disk that contains the operating system.

  1. 在 VMM 主控台中,開啟 [資源庫] 工作區、展開 [範本] ,然後按一下 [VM 範本] 。In the VMM console, open the Library workspace, expand Templates, and then click VM Templates.

  2. 在 [範本] 窗格中,於您想要更新的虛擬機器範本上按一下滑鼠右鍵,然後按一下 [內容] ,再按一下 [硬體組態] 來頁面更新設定。In the Templates pane, right-click the virtual machine template that you want to update, click Properties, and click the Hardware Configuration page to update the settings.

還原 Windows Azure Hyper-V Recovery ManagerRestore Windows Azure Hyper-V Recovery Manager

如果在 VMM 環境中實作了 Windows Azure Hyper-V Recovery Manager,您就必須執行幾個步驟,才能還原「Windows Azure Hyper-V Recovery Manager 提供者」。If Windows Azure Hyper-V Recovery Manager is implemented in the VMM environment, then you must perform a few steps to restore the Windows Azure Hyper-V Recovery Manager Provider.

檢閱增益集、驅動程式套件和憑證Review add-ins, driver packages, and certificates

還原 VMM 之後,請檢閱下列項目,以確保您已經執行增益集、驅動程式套件及憑證的必要步驟:After you restore VMM, review the following items to ensure that you have taken necessary steps for your add-ins, driver packages, and certificates:

  • 非 Microsoft 使用者介面增益集:若要還原任何非 Microsoft 使用者介面增益集或其他任何非 Microsoft 廠商應用程式,請參閱個別應用程式的還原指導方針。Non-Microsoft user interface add-ins: To restore any non-Microsoft user interface add-ins or any other non-Microsoft party applications, consult the respective application"s restore guidelines.

  • 驅動程式套件:您可能無法在復原之後正確探索到先前新增至 VMM 程式庫的驅動程式套件。Driver packages: Driver packages that were previously added to the VMM library might not be discovered correctly after a restore. 您可能需要移除並重新加入它們。They might have to be removed and be re-added.

  • 憑證:必須以新 VMM 管理伺服器的資訊更新主機上所有 VMM 相關憑證。Certificates: Any VMM-related certificates on hosts must be updated with the information of the new VMM management server.

注意

重新安裝 VMM 之後,VMM 會更新因失敗而變成過期的帳戶控制清單 (ACL),After you re-install VMM, VMM updates the account control lists (ACLs) that became outdated due to the failure. 而不需要進一步的介入。No further intervention is required.