Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

本文將說明在 2022 年 3 月發行的 Azure 檔案同步 Agent v15 版本中修正的改進與問題。 此外,本文包含此版本的安裝指示。

已修正的改進與問題

執行雲端變更列舉工作時減少交易

Azure 檔案同步有一項雲端變更列舉工作,每 24 小時執行一次,以偵測直接在 Azure 檔案共用中所做的變更,並將這些變更同步處理至同步處理群組中的伺服器。 在 v14 版本中,我們做了一些改進,以在執行此工作時減少交易數量,並在 v15 版本中做了進一步的改進。 交易成本也更可預測,每個工作現在每天會產生 1 筆清單交易。

檢視伺服器端點或磁片區之雲端層級狀態

根據指定) 路徑,Get-StorageSyncCloudTieringStatus Cmdlet 會顯示特定伺服器端點或特定磁片區 (的雲端層級狀態。 如果指定伺服器端點路徑,Cmdlet 會顯示目前的原則、分層與完整下載資料的目前分配,以及最後一個分層會話統計資料。 如果已指定音量路徑,則會顯示有效的無磁片區原則、位於該磁片區上的伺服器端點,以及這些伺服器端點是否已啟用雲端層。

若要取得伺服器端點或磁片區之雲端層級狀態,請執行下列 PowerShell 命令:

Import-Module 「C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll」

Get-StorageSyncCloudTieringStatus -路徑<伺服器端點路徑或磁片區>

新的診斷與疑難排解工具

Debug-StorageSyncServer Cmdlet 會診斷常見的問題,例如憑證設定錯誤和伺服器時間不正確。 此外,我們也簡化了Azure 檔案儲存體同步處理疑難排解,方法是將一些現有腳本和 Cmdlet (AFSDiag.ps1、FileSyncErrorsReport.ps1、Test-StorageSyncNetworkConnectivity) 的功能合併到 Debug-StorageSyncServer Cmdlet。

若要在伺服器上執行診斷,請執行下列 PowerShell 命令:

Import-Module 「C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll」

Debug-StorageSyncServer -診斷

若要測試伺服器上的網路連線能力,請執行下列 PowerShell 命令:

Import-Module 「C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll」

Debug-StorageSyncServer -TestNetworkConnectivity

若要識別無法在伺服器上同步處理的檔案,請執行下列 PowerShell 命令:

Import-Module 「C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll」

Debug-StorageSyncServer - FileSyncErrorsReport

若要收集伺服器上的記錄和追蹤,請執行下列 PowerShell 命令:

Import-Module 「C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll」

Debug-StorageSyncServer -AFSDiag -OutputDirectory C:\output -KernelModeTraceLevel 詳細資訊 -UserModeTraceLevel 詳細資訊

其他改良功能

雲端分層和同步處理的可靠性和遙測改進。

Azure 檔案同步專員 v15 版本的詳細資訊

  • 此版本適用于 Windows Server 2012 R2、Windows Server 2016、Windows Server 2019 和 Windows Server 2022 安裝。

  • 如果代理程式版本小於版本 12.0,則擁有現有Azure 檔案同步代理程式安裝的伺服器必須重新開機。

  • 此版本的代理程式版本為 15.0.0.0。

如何取得及安裝Azure 檔案同步專員 

Azure 檔案同步代理程式可從 Microsoft Update、Microsoft Update Catalog 和 Microsoft 下載中心取得。

注意事項

  • 如果伺服器目前尚未安裝Azure 檔案同步代理程式,請使用 Microsoft 下載中心的代理程式安裝套件。 Microsoft Update 和 Microsoft Update Catalog 上的代理程式安裝套件僅適用于代理程式升級。

  • 若要更新現有的代理程式安裝,請執行AfsUpdater.exe (位於代理程式安裝目錄) 或從 Microsoft Update 或 Microsoft Update Catalog 下載並安裝更新。

Microsoft Update

若要從 Microsoft Update 取得並安裝,請在已安裝Azure 檔案同步代理程式的伺服器上遵循下列步驟:

Server 2016 和 Server 2019

  1. 按一下 [開始],然後按一下 [設定]。

  2. 在 設定 中,按一下 [更新&安全性]。

  3. 在Windows Update視窗中,按一下 [線上檢查 Microsoft Update 的更新]。

  4. 確認已列出Azure 檔案同步代理程式更新,然後按一下 [立即安裝]。

Server 2012 R2

  1. 按一下 [開始],然後按一下 [控制台]。

  2. 在 主控台 中,按兩下 [Windows Update]。

  3. 在Windows Update視窗中,按一下 [檢查更新]。

  4. 按一下 [有可用的重要更新]。

  5. 確認已選取Azure 檔案同步代理程式更新,然後按一下 [安裝]。

Microsoft Update Catalog

請移至下列網站,從 Microsoft Update Catalog 手動下載此更新:

Azure 檔案同步專員 v15 發行:2022 年 3 月 (KB5003882)

若要手動安裝更新套件,請從提升許可權的命令提示字元執行下列命令:

msiexec.exe /p packagename.msp REINSTALLMODE=OMUS REINSTALL=StorageSyncAgent,StorageSyncAgentAzureFileSync,StorageSyncAgentGuardFilter,StorageSyncAgentUpdater /qb /l*v KB5003882.log

例如,若要安裝 Server 2016 的 Azure 檔案同步 代理程式更新,請執行下列命令:

msiexec.exe /p StorageSyncAgent_WS2016_KB5003882.msp REINSTALLMODE=OMUS REINSTALL=StorageSyncAgent,StorageSyncAgentAzureFileSync,StorageSyncAgentGuardFilter,StorageSyncAgentUpdater /qb /l*v KB5003882.log

Microsoft 下載中心

移至 Microsoft 下載中心 ,手動下載新代理程式安裝套件的代理程式安裝套件。

如何為新的代理程式安裝執行無聲安裝

若要針對使用預設設定的新代理程式安裝執行無訊息安裝,請在提升許可權的命令提示字元執行下列命令:

msiexec /i packagename.msi /qb /l*v AFSv15Installation.log

例如,若要安裝 Windows Server 2016 的Azure 檔案同步代理程式,請執行下列命令:

msiexec /i StorageSyncAgent_WS2016.msi /qb /l*v AFSv15Installation.log

注意事項

  • 如果需要,請使用 /qb 參數顯示重新開機提示 () 、代理程式更新和伺服器註冊畫面。 若要隱藏螢幕,並視需要自動重新開機伺服器 () ,請使用 /qn 參數。

  • 若要使用自訂設定執行無訊息安裝,請遵循KB4459986中所述的步驟。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×