-
-
-
工具
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
工具
您可以使用以下工具和实用程序来定制、加速和监控 PvD 操作。
自定义规则文件
PvD 提供的自定义规则文件允许您通过以下方式修改 PvD 映像更新的默认行为:
- PvD 上文件的可见性
- 如何合并对文件所做的更改
- 文件是否可以写入
有关自定义规则文件和 CoW 功能的详细说明,请参阅安装 PvD 的计算机上 C:\ProgramData\Citrix\personal vDisk\Config 目录中文件的注释。名为“custom_*”的文件描述了规则以及如何启用它们。
调整大小和池统计信息脚本
提供了两个脚本来监控和管理 PvD 的大小;它们位于 XenDesktop 安装介质的 Support\Tools\Scripts 文件夹中。您还可以使用 PvD 映像更新监控工具,该工具位于 Support\Tools\Scripts\PvdTool 文件夹中。
使用 resize-personalvdisk-pool.ps1 增加目录中所有桌面中 PvD 的大小。运行 Studio 的计算机上必须安装以下适用于您的虚拟机管理程序的管理单元或模块:
- XenServer® requires XenServerPSSnapin
- vCenter requires vSphere PowerCli
- 系统中心虚拟机管理器需要 VMM 控制台
使用 personal-vdisk-poolstats.ps1 检查映像更新的状态,并检查一组 PvD 中应用程序和用户配置文件的空间。在更新映像之前运行此脚本,以检查是否有任何桌面空间不足,这有助于防止更新期间出现故障。该脚本要求在 PvD 桌面上启用 Windows Management Instrumentation (WMI-In) 防火墙。您可以在主映像上或通过 GPO 启用它。
如果映像更新失败,则“更新”列中的条目会显示原因。
重置应用程序区域
如果桌面损坏或受损(由于安装了损坏的应用程序或其他原因),您可以将 PvD 的应用程序区域恢复到出厂默认(空)状态。重置操作会保留用户配置文件数据不变。
要重置 PvD 的应用程序区域,请使用以下方法之一:
- Log on to the user’s desktop as Administrator. Launch a command prompt, and run the command C:\Program Files\Citrix\Personal vDisk\bin\CtxPvD.exe -s Reset.
- 在 Citrix Director 中找到用户的桌面。单击“重置 Personal vDisk”,然后单击“确定”。
导出和导入 PvD 清单
映像更新过程是将新映像部署到 PvD 桌面的一个组成部分;它包括调整现有 Personal vDisk 以与新基础映像配合使用。对于使用 Machine Creations Services (MCS) 的部署,您可以将清单从活动 VM 导出到网络共享,然后将其导入到主映像中。将使用主映像中的此清单计算差异。尽管使用导出/导入清单功能不是强制性的,但它可以提高整个映像更新过程的性能。
要使用导出/导入清单功能,您必须是管理员。如果需要,请使用“net use”对用于导出/导入的文件共享进行身份验证。用户上下文必须能够访问用于导出/导入的任何文件共享。
导出
-
要导出清单,请在包含已启用 PvD 的 VDA(最低版本 7.6)的计算机上以管理员身份运行导出命令:
Ctxpvdsvc.exe exportinventory "\<path-to-export-location>"软件会检测当前清单的位置,并将清单导出到指定位置名为“ExportedPvdInventory”的文件夹中。以下是命令输出的摘录:
C:\Program Files\Citrix\personal vDisk\bin> .\CtxPvDSvc.exe exportinventory \share location\ExportedInventory Current inventory source location C:\CitrixPvD\Settings\Inventory\VER-LAS ... Exporting current inventory to location \ ... . ... Deleting any pre-existing inventory folder at \ ... . .Successfully exported current inventory to location \ ... . Error code = OPS <!--NeedCopy--> -
要导入以前导出的清单,请在主映像上以管理员身份运行导入命令:
导入
在主映像上以管理员身份运行导入命令。
Ctxpvdsvc.exe importinventory "\<path-to-exported-inventory>"
<导出的清单路径> 应该是清单文件的完整路径,通常是 <网络位置\ExportedPvdInventory>。
清单从导入位置(之前使用 exportinventory 选项导出的位置)获取,并导入到主映像上的清单存储中。以下是命令输出的摘录:
C:\Program Files\Citrix\personal vDisk\bin> .\CtxPvDSvc.exe importinventory
\share location\ExportedInventory\ExportedPvdInventory
Importing inventory \share location\ExportedInventory\ExportedPvdInventory
…
Successfully added inventory \share location\ExportedInventory\ExportedPvdInventory to the
store at c:\ProgramData\Citrix\personal vDisk\InventoryStore
<!--NeedCopy-->
导出完成后,网络共享中应包含以下文件名。导入完成后,主映像上的清单存储应包含相同的文件名。
- Components.DAT
- 文件规则
- 文件夹规则
- 注册表项规则
- RINGTHREE.DAT
- S-1-5-18.DAT
- SAM.DAT
- 安全数据文件
- 快照数据文件
- 软件.DAT
- SYSTEM.CurrentControlSet.DAT
- VDCATALOG.DAT
- vDisk日志数据
共享
共享
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.