Windchill 10 Rehost步骤

背景:从生产拷贝系统搭建测试环境。文中内容仅供参考,请根据实际情况修改。

#按照本地环境修改rehost.properties 和 project.properties文件

具体配置参考/opt/ptc/windchill_10.2/Windchill/MED-61138-CD-102_M010/conf中的对应文件

project.properties

rename=InfoEngine,Database,Apache

rehost.properties

---------use case settings-------

rehost.useCase=rename

rehost.keyStore.clear=false

rehost.log.passwords=false

test.prop.values.only=false

---------Database Settings--------

target.db.hostname=localhost

target.db.port=1521

target.db.serviceName=wind

----------LDAP Settings----------

target.directory.ldap=D:\ptc\Windchill_10.2\WindchillDS

target.ldap.username=cn-Manager

target.ldap.password=manager

target.ldap.baseon=configration,cn=Windchill_10.2M010,o=ptc

target.ldap.hostname=localhost

target.ldap.port=389

------Windchill Path Settings-------

target.httpserver.port=80

target.httpserver.ssl.port=443

target.wt.home=D:\ptc\Windchill_10.2\Windchill

target.java.home=D:\ptc\Windchill_10.2\Java

target.directory.httpserver=D:\ptc\Windchill_10.2\HTTPServer

#执行Rehost命令 (Windchill/bin/adminTools)

打开Windchill shell导航至Windchill Rehost Utility安装目录

执行命令 ./rehost.sh conf/rehost.properties

#DS及LDAP配置更改

DS更改

调整<Apache>/conf/extra/app-Windchill-AuthProvider.xml中认证的Provider的顺序,使得Apache首先验证本地的WindchillDS

shell中执行

Run ant -f webAppConfig.xml regenWebAppConf

注意:调整前,要停止Apache服务器

文件修改

从WC_HOME/codebase/WEB-INFO/mapCredentials.txt文件中,移除属性mapcredentials.admin.adapters的LDAP链接适配器

从wt.properties中,移除wt.federation.org.directoryService属性LDAP的适配器

启动windhcill,通过DS用户编辑JNDI支配器,使其匹配新的ActiveDirecory用户认证

LDAP更改

注意,先停止Apache服务器

调整<Apache>/conf/extra/app-Windchill-AuthProvider.xml中认证的Provider的顺序,使得Apache首先选择LDAP

shell中执行

Run ant -f webAppConfig.xml regenWebAppConf

通过命令增加“加密”的连接串

xconfmanager add "mapcredentials.admin.adapters=com.XX.XXX jndiAdapter cn=root,dc=XX,dc=com xxxc/2345" -t "codebase/WEB-INFO/mapCredentials.txt" -p

检查Apache3个文件是否为LDAP首选,可以手动调整

app-Windchill-Auth.conf

app-Windchill-Solr-Auth.conf

app-Windchill-WHC-Auth.conf

LDAP管理器更改链接

xxx.xxx.xxx.jndiAdapter.java.naming.provider.url=ldap://ip...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值