windhcill10.0集群环境安装
本人安装的是windchill10.0版本的集群环境,其他版本仅供参考。 如果是linux系统,需提前设置下最大打开文件句柄数量(通过VI打开/etc/security/limits.conf,在"# End of file"上面添加: *** - nofile 65536** 通过VI打开/etc/sysctl.conf,在最后一行添加:fs.file-max = 65536)
前提:先确定要装的集群域名,ldap域名,然后配置好host,如下: 集群域名:cluster.company.com 安装DB的机器名:db.company.com 127.0.0.1 localhost.localdomain localhost Master(ldap ) 10.10.10.110 master master.company.com clusterldap.company.com 10.10.10.111 slave1 slave1.company.com 10.10.10.112 slave2 slave2.company.com slave1 10.10.10.110 mster master.company.com clusterldap.company.com 10.10.10.111 slave1 slave1.company.com cluster.company.com 10.10.10.112 slave2 slave2.company.com slave2 10.10.10.110 mster master.company.com clusterldap.company.com 10.10.10.111 slave1 slave1.company.com 10.10.10.112 slave2 slave2.company.com cluster.company.com
先安装master上面的windchill应用, 安装的时候勾上集群安装的选项 设置cluster information的时候,填入集群信息 在Define Setting中 Hsot name of th cluster master server 填写master的域名 如 master.company.com Cluster cache master server 填写master的url,如果http端口不是80,需要加上端口号,如 http://mnaster.company.com:8001/Windchill host name and IP address for each slave in the cluster 这儿填写所有slave的域名,中间以空格分隔 如 slave1.company.com slave2.company.com URL for the Windchill cluster 这儿填入cluster的域名,如 cluster.company.com 后续步骤中需注意如下一些配置 Web Server DNS Registered Host Name: cluster host name,如 cluster.company.com Oracle Database DNS Registered Host Name: 这儿填写安装db的机器的域名,如 db.company.com LDAP Server DNS Registered Host Name:填写安装ldap的机器的域名,如果装在master机器上,可在hosts中再配一个ldap的域名,如 10.10.10.110 mster master.company.com clusterldap.company.com 这儿就填写clusterldap.company.com 完成安装就好了。
安装完成后,在wt_home下会有如下文件,site.xconf,site.xconf.master,site.xconf.slave 其中site.xconf是单机文件 Linux下,在site.xconf中增加如下配置,增加如下配置以后,则不需要图形界面的支撑,即可在后台启动Windchill 如果需要做集群,备份site.xconf,然后在当前目录拷贝site.xconf.master为文件名site.xconf (拷贝是备份原文件,建议保留原文件),然后执行xconfmanager –p,本机就成了cluster的master机器了。如果需要切换回单机,则只需把备份的site.xconf文件还原,执行xconfmanager –p就可以了。 Slave配置 拷贝master机器上面的ptc目录到slave机器,使用和master一样的目录 Cd到WT_HOME目录下,同样备份site.xconf文件,然后拷贝site.xconf.slave文件为site.xconf 注意linux下没有加过后台启动windchill的命令,需增加那两条命令。然后执行命令xconfmanager -p就好了。 然后启动master上面的apache,ds,windchill。启好后再启动slave上面的apache,Windchill 启动slave的时候,如果master机器的ServerManager中出现如下日志信息,则说明集群OK了。 Wt.jmx.notif.slaveServerManager.start – Time=...........message=Slave server manager added.,
:D
搞PDM的童鞋