安装和升级 > 更新现有 Windchill 安装 > 更新现有安装 > 更新后操作
  
更新后操作
更新完毕后按以下几节中的说明进行操作;
重新导入 SSL 证书
运行更新工具
迁移项目模板
迁移项目群模板
迁移用于 Windchill 质量解决方案的模板
* 
对于群集安装,请在执行这些说明前将群集还原到单一系统。关于还原群集的详细说明,请参阅 。
重新导入 SSL 证书
当站点使用 HTTPS 时,请参阅《Windchill 安装和配置指南》的“完成配置 - 手动步骤”一节 >“为 Apache 和 Windchill 配置 HTTPS”,以在更新解决方案后将颁发机构的证书重新导入到 jssecacerts 文件中。
运行更新工具
应在现有安装中添加或更新产品之后运行更新工具。例如,在以下应用场景中:
在使用 Windchill Service Pack 选项完成对现有安装的更新 (例如,维护版本更新) 之后。
在将非 PSI 子安装程序添加至 Windchill 安装之后。
在对独立组件 (可视化) 使用 PSI 完成现有安装的更新之后。
如果 Windchill 安装在更新后出现问题,例如方法服务器无法启动,或者表在数据库架构中缺失。
* 
在运行更新工具之前,PTC HTTP Server、Windchill Directory Server 和数据库必须已启动并正在运行。
要执行更新工具:
Windows
Update_Tool.bat -username <用户名> -password <密码> -noui
UNIX
Update_Tool.sh -username <用户名> -password <密码> -noui
当看到消息 "Marking phase Load New Data as completed in the database" 时,表示更新工具已成功完成。
迁移项目群模板
* 
执行以下命令时,必须运行方法服务器。
从以下命令中进行选取,以迁移要与 Enhanced Project Planning 结合使用的项目群模板。
要迁移在 Windchill 系统中可用的所有项目群模板,可运行以下命令:
java com.ptc.projectmanagement.project.utils.MigrateProjectTemplateUtility ALL=true PROGRAM=true
要迁移来自特定组织的所有项目群模板,可运行以下命令:
java com.ptc.projectmanagement.project.utils.MigrateProjectTemplateUtility ORG=”<organization>” PROGRAM=true
,其中 <organization> 为组织名称。
要迁移来自特定组织的特定项目群模板,可运行以下命令:
java com.ptc.projectmanagement.project.utils.MigrateProjectTemplateUtility TEMPLATE=”<templateA>” ORG=”<organization>” PROGRAM=true
,其中 <templateA> 为模板名称,<organization> 为组织名称。
要迁移来自任何上下文的特定项目群模板,可运行以下命令:
java com.ptc.projectmanagement.project.utils.MigrateProjectTemplateUtility TEMPLATE=”<templateA>, <templateB>” PROGRAM=true
,其中 <templateA><templateB> 为模板名称。
Windchill Quality Solutions的模板迁移
当更新现有 Windchill CAPA 上下文以包括 Windchill Nonconformance NC 角色和 NC 访问规则时,选择下列命令来移植您想要使用的项目群模板。
要加载 NC 团队角色:
windchill wt.load.LoadFromFile -d <Windchill>\loadFiles\nc\NCTeamRole.xml -u wcadmin -p wcadmin -CONT_PATH \"/wt.inf.container.OrgContainer=Demo Organization/wt.inf.library.WTLibrary=myQMS-1\"
其中,<Demo Organization> 是组织名称,<myQMS-1> 是需要更新的上下文名称。
要加载 NC 访问规则:
windchill wt.load.LoadFromFile -d <Windchill>\loadXMLFiles\nc\NC_ACLRules.xml -u wcadmin -p wcadmin -CONT_PATH \"/wt.inf.container.OrgContainer=Demo Organization/wt.inf.library.WTLibrary=myQMS-1\"
其中,<Demo Organization> 是组织名称,<myQMS-1> 是需要更新的上下文名称。
要更新 Windchill CAPA 团队角色:
• windchill wt.load.LoadFromFile -d <Windchill>\loadFiles\capa\ CAPATeamRole.xml -u wcadmin -p wcadmin -CONT_PATH \"/wt.inf.container.OrgContainer=Demo Organization/wt.inf.library.WTLibrary=myQMS-1\"
其中,<Demo Organization> 是组织名称,<myQMS-1> 是需要更新的上下文名称。
要更新 Windchill CAPA 访问规则:
• windchill wt.load.LoadFromFile -d <Windchill>\loadXMLFiles\capa\ CAPA_ACLRules.xml -u wcadmin -p wcadmin -CONT_PATH \"/wt.inf.container.OrgContainer=Demo Organization/wt.inf.library.WTLibrary=myQMS-1\"
其中,<Demo Organization> 是组织名称,<myQMS-1> 是需要更新的上下文名称。