更新时间:2026-06-15 GMT+08:00
分享

升级Windows版本

在迁移中心的设备列表中,当设备的版本列出现“可升级”提示时,代表当前安装的MgC Agent并非最新版本,为了不影响功能的正常使用,此时需要您将MgC Agent升级为最新版本。

升级Windows版MgC Agent时,以下目录中的文件和数据均会被保留。

表1 Windows升级时会保留的文件目录列表

文件目录路径

说明

C:\Windows\ServiceProfiles\NetworkService\AppData\Local\HUAWEI\MgC-Agent

保存敏感数据表文件。

C:\MgC-Agent\config

保存配置文件。

C:\MgC-Agent\data

保存数据表文件。

C:\MgC-Agent\logs

保存日志文件。

C:\MgC-Agent\tools\SCCConf

保存SCC加密文件。

C:\MgC-Agent\tools\plugins\collectors\python\windows\mgc-app-discovery-collectors-windows\app-discovery-process-netstat\logs

保存Linux版本进程采集器插件日志与输出文件。

C:\MgC-Agent\tools\plugins\collectors\python\windows\mgc-app-discovery-collectors-windows\app-discovery-process-netstat\output

C:\MgC-Agent\tools\plugins\collectors\python\windows\mgc-app-discovery-collectors-windows\app-discovery-process-netstat-win\logs

保存Windows版本进程采集器插件日志与输出文件。

C:\MgC-Agent\tools\plugins\collectors\python\windows\mgc-app-discovery-collectors-windows\app-discovery-process-netstat-win\output

操作步骤

  1. 在安装旧版本MgC Agent的Windows主机,登录迁移中心管理控制台
  2. 在左侧导航栏单击“迁移中心Agent”,进入迁移中心Agent页面。
  3. 在Windows版区域,单击“下载安装包”,将最新版本的MgC Agent安装程序下载到Windows主机。
  4. 双击最新版本的MgC Agent安装程序,开始安装,覆盖旧版本的MgC Agent。安装完成后,前往MgC控制台,在设备列表中确认设备的版本已更新为最新版本。

相关文档