Solved

Code Repository For Managing Scripts Across Servers

  • 16 August 2017
  • 5 replies
  • 4 views

Badge

In a situation where multiple FME servers are spun up and run standardized workbenches, what's the recommendation for managing helper scripts? We have a set of Python scripts that aid the startup/shutdown of these workbenches. But having multiple servers, it is difficult to ensure the versions of these scripts are the same across the board. Anyone have any recommendations for a code repository?

We do have a subscription to Visual Studio Team Service. If anyone has used VSTS with FME server, I am interested to hear about your experenice in that as well.

icon

Best answer by fmelizard 18 August 2017, 05:43

View original

5 replies

Badge

Maybe you can modify the FME Server Engine resource to point to a common share used by all your FME Server and make sure this share is always updated with the latest version of the code.

What we have internally here is a custom tool monitoring source control check-ins (Subversion) and taking care of redeploying the code (workspaces, custom transformers, python file and any configuration change (role, users, notification, schedule)) as soon as there is a change.

Badge

Thanks @larry. Unfortunately I don't have the permissions to make that happen. I could potentially set up a workbench that crawls the various servers to monitor/push new versions of the code...!

Userlevel 4

If you keep your common scripts in a version management system such as Git or SVN, it would be fairly easy to set a scheduled task on each server to update them daily (e.g. a nightly 'git pull').

Badge +2

deleted answer

Userlevel 4
Badge +13

If the use case is moving solutions from Development to Staging to Production environments, then this Q&A; might be of use:

 

https://knowledge.safe.com/questions/35716/how-can-i-move-a-solution-from-my-development-envi.html?childToView=50984#answer-50984

 

 

In short, I'd consider placing the python scripts in a Resources directory on FME Server and then moving them and other parts of your solution with the Projects feature in FME Server (2017.0 or newer). I'd be interested in feedback on that idea.

Reply