简体   繁体   English

如何克隆具有与生产服务器相同数据的系统

[英]How to have a clone of systems with same data as production servers

We have PLM systems where all our product lifecycle data resides. 我们拥有所有产品生命周期数据所在的PLM系统。 We want to build services (REST) to let this data accessed by other systems. 我们要构建服务(REST),以使其他系统可以访问此数据。

The PLM system we are using comes with REST services and we can also build our own on top of that. 我们正在使用的PLM系统带有REST服务,我们也可以在此之上构建自己的服务。

These PLM Systems are our production servers and we don't want others to hit these services directly on the production servers. 这些PLM系统是我们的生产服务器,我们不希望其他人直接在生产服务器上使用这些服务。 We can rehost other systems with production data but the rehosted system will not always be with live data as production systems. 我们可以使用生产数据来重新托管其他系统,但是重新托管的系统并不总是将实时数据作为生产系统。

Any thoughts to solve this problem? 有什么想法可以解决这个问题?

I assume you meant PTC Windchill as your PLM system here. 我假设您是在这里将PTC Windchill作为您的PLM系统。

When you're done with rehosting your prod to a new server, you can try the following things. 将产品重新托管到新服务器后,可以尝试以下操作。

  • Create listeners on your production server for the 在生产服务器上为以下服务器创建侦听器:
    events(statechange,newVersion,checkout,checkin,etc.,) which you think you might want to capture when your production data changes. 生产数据更改时您可能想捕获的事件(状态更改,newVersion,签出,签入等)。
  • Write a REST service with your rehosted server url as the EndPoint . 使用重新托管的服务器URL作为EndPoint编写REST服务。 At the same time you should have a client class in the rehosted server to consume. 同时,您应该在重新托管的服务器中有一个客户端类可以使用。
  • In case of new parts or other objects being created in your production after rehost, when your listener captures that event, it needs to be exported as a jar file to a common folder location using ixb api's which the other server should have access to. 如果在重新托管后在生产中创建了新零件或其他对象,则当侦听器捕获该事件时,需要使用ixb api将其作为jar文件导出到公共文件夹位置,其他服务器应该可以访问该ixb api。
  • You should have a folder watcher in the rehosted server which will be watching that common export folder for the new files. 在重新托管的服务器中,您应该有一个文件夹监视程序,它将监视该公共导出文件夹中的新文件。 Once it finds a new file you can import the same using ixb into windchill. 找到新文件后,您可以使用ixb将其导入到windchill中。 You can also write a windchill ScheduleQueue to do this activity on a particular time interval. 您也可以编写windchill ScheduleQueue在特定时间间隔执行此活动。

I hope this helps to start. 我希望这有助于开始。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 相同的应用程序部署在两个不同的服务器中,但是从数据库中获取相同的数据。 如何同步数据库数据 - Same application deployed in two different servers but fetching same data from DB. How to synchronize DB data 一个客户端-嵌入式系统中的许多服务器 - One client - many servers in embedded systems 群集生产服务器中的性能问题 - Performance issue in clustered Production Servers 如何在不同的Linux系统上同时运行jar - how to run a jar on different linux systems at the same time AspectJ在生产系统中的加载时编织 - AspectJ load-time weaving in production systems 如何获取Sensu服务器事件数据 - How to fetch sensu servers events data 如何获取所有元素,即使它们具有相同的数据 - How to get all elements even if they have the same data 同一IP上的多个服务器 - Multiple Servers on the same ip 如何实现 2 个不同的服务器,它们由具有相同 object 的客户端调用 - How to implement 2 different servers, which get called by client with the same object 如何在具有多个服务器的同一数据库上使用骆驼 JPA 组件? - How to use camel JPA component on the same database with multiple servers?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM