Windchill Rehost.doc
Windchill Rehost 配置指南 Windchill Rehost 配置是 Windchill 产品中的一个重要组件,负责将 Windchill 服务从一个主机迁移到另一个主机。这个过程需要按照特定的步骤进行,以确保Windchill 服务的正常运行。 Windchill Rehost 配置步骤 1. 停止 Windchill 服务:在开始 Rehost 配置之前,需要停止 Windchill 服务,以免影响配置过程。 2. 备份 ldap 数据:在 Rehost 配置过程中,需要备份 ldap 数据,以免数据丢失。可以使用 cp 命令将 $WT_HOME/WindchillDS 文件夹备份。 3. 确保 MasteredOnReplicaItem 表中没有数据:在 Rehost 配置之前,需要确保 MasteredOnReplicaItem 表中没有数据,以免影响配置过程。 4. 执行 Rehost 命令:使用 ant 命令执行 Rehost 配置,例如:ant "-Dtarget-ldap=ldap://cn=Manager:ldapadmin@plmsit.wonly.com/" -Dtarget-domain=plmsit.wonly.com 5. 更新 apache 配置:使用 ant 命令更新 apache 配置,例如:ant -DesrverName = plmsit.wonly.com -f config.xml reconfigure 6. 修改 $WT_HOME/apache/conf/extra/app-windchill-Auth.conf 文件:将该文件中原来的域名换成 plmsit.wonly.com 7. 更新数据库:使用 SQL 命令更新数据库,例如:update Repository set lastKnownDomain = 'plmsit.wonly.com' where local=1; 8. 更新 site.xconf 文件:将该文件中原来的域名换成 plmsit.wonly.com Rehost 步骤的重要说明 1. plmsit.wonly.com 指的是你想改成的域名 2. Rehost 步骤会还原 apache 的配置成 OOTB 的第二步,Rehost & AD 配置clone 好后的机器包含了 jndiAdapter.plm.tclcom.com 的设定 Clone LDAP Contents from Source LDAP to Target LDAP 1. 删掉 jndiAdapter.plm.tclcom.com 在 repository 中的定义 2. 同时删除 com.tclcom.plm.jndiAdapter 在 site.conf 中的定义 3. 执行 xconfmanager -p (第一步 4 已做,跳过) 4. Cloning LDAP Contents from Source LDAP to Target LDAP Updating Host Names in Apache 1. 切换到 apache 安装目录 2. 使用 ant 命令更新 apache 配置,例如:ant -DServerName=plmtest.tclcom.com -f config.xml reconfigure Updating the Database on the Target System 1. 使用 SQL 命令更新数据库,例如:Update Repository set lastKnownDomain='plmtest.tclcom.com' where local=1; 2. 使用 SQL 命令更新数据库,例如:Update Repository set lastKnownDomain='jndiAdapter.plmtest.tclcom.com', guid='jndiAdapter.plmtest.tclcom.com' where LastKnownDomain='jndiAdapter.plmtest.tclcom.com'; 重启 windchill 1. 以 plmtest.tclcom.com 登录系统 2. 重新创建一个 Repository definition 创建 Repository definition 1. 进入 Site->Utilities > Task Delegate Administration > Manage Repository 2. 创建一个新的 Repository definition,例如: * Repository Name:jndiAdapter.plmtest.tclcom.com * Repository Type:com.ptc.windchill-ldap * Webject Processor:com.tclcom.plm Windchill Rehost 配置是一个复杂的过程,需要按照特定的步骤进行,以确保Windchill 服务的正常运行。
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/c25c0f43ccd84b6e9f1246668973964e_wonly_wu.jpg!1)
- 粉丝: 241
- 资源: 22
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
最新资源
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)