- If the FME Engines require direct access to the shared resource (for example, a workspace run by the Job Submitter service, rather than using the Data Upload Service to supply the resource), you must also add an entry for the shared resource definition to fmeEngineConfig.txt (also located in <FMEServerDir>Server\\), on the machine that hosts the FME Server Core, as well as any other machines on which engines are installed:
MACRO_DEF <Name> "<Directory>"
Example:
MACRO_DEF SERVER_TEMP "C:/Server"
Example (specifying a UNC path):
MACRO_DEF FME_SHAREDRESOURCE_UNCDATA "//servername/Data/"
- If the FME Engines require direct access to the shared resource (for example, a workspace run by the Job Submitter service, rather than using the Data Upload Service to supply the resource), you must also add an entry for the shared resource definition to fmeEngineConfig.txt (also located in <FMEServerDir>Server\\), on the machine that hosts the FME Server Core, as well as any other machines on which engines are installed:
MACRO_DEF <Name> "<Directory>"
Example:
MACRO_DEF SERVER_TEMP "C:/Server"
Example (specifying a UNC path):
MACRO_DEF FME_SHAREDRESOURCE_UNCDATA "//servername/Data/"
Hi and thanks @stalknecht
I will try it now, but just another question, does the MACRO_DEF have to be a unique name?
Would this make sense?
fmeServerConfig.txt
SHAREDRESOURCE_TYPE_7=FILE
SHAREDRESOURCE_NAME_7=FME_SHAREDRESOURCE_SCE
SHAREDRESOURCE_DISPLAYNAME_7=rivers
SHAREDRESOURCE_DESCRIPTION_7=This shared resource is for the rivers
SHAREDRESOURCE_ISMIGRATABLE_7=false
SHAREDRESOURCE_DIR_7=C:/ProgramData/Safe Software/FME
Server///resources/data/water/rivers/
SHAREDRESOURCE_SECURITY_DEFAULT_ROLES_7=fmeadmin
fmeEngineConfig.txt
MACRO_DEF FME_DATA_REPOSITORY
"!FME_SERVER_ROOT!/resources/system/temp/upload/"
\\
MACRO_DEF FME_SHAREDRESOURCE_LOG "C:/ProgramData/Safe
Software/FME Server///resources/logs/"
\\
MACRO_DEF FME_SHAREDRESOURCE_DATA "C:/ProgramData/Safe
Software/FME Server///resources/data/"
\\
MACRO_DEF FME_SHAREDRESOURCE_TEMP "C:/ProgramData/Safe
Software/FME Server///resources/temp/"
\\
MACRO_DEF FME_SHAREDRESOURCE_SYSTEM
"C:/ProgramData/Safe Software/FME Server///resources/system/"
\\
MACRO_DEF FME_SHAREDRESOURCE_BACKUP
"C:/ProgramData/Safe Software/FME Server///resources/backups/"
\\
MACRO_DEF FME_SHAREDRESOURCE_SCE "C:/ProgramData/Safe
Software/FME Server///resources/data/water/rivers/"
Thanks.
Hi and thanks @stalknecht
I will try it now, but just another question, does the MACRO_DEF have to be a unique name?
Would this make sense?
fmeServerConfig.txt
SHAREDRESOURCE_TYPE_7=FILE
SHAREDRESOURCE_NAME_7=FME_SHAREDRESOURCE_SCE
SHAREDRESOURCE_DISPLAYNAME_7=rivers
SHAREDRESOURCE_DESCRIPTION_7=This shared resource is for the rivers
SHAREDRESOURCE_ISMIGRATABLE_7=false
SHAREDRESOURCE_DIR_7=C:/ProgramData/Safe Software/FME
Server///resources/data/water/rivers/
SHAREDRESOURCE_SECURITY_DEFAULT_ROLES_7=fmeadmin
fmeEngineConfig.txt
MACRO_DEF FME_DATA_REPOSITORY
"!FME_SERVER_ROOT!/resources/system/temp/upload/"
\\
MACRO_DEF FME_SHAREDRESOURCE_LOG "C:/ProgramData/Safe
Software/FME Server///resources/logs/"
\\
MACRO_DEF FME_SHAREDRESOURCE_DATA "C:/ProgramData/Safe
Software/FME Server///resources/data/"
\\
MACRO_DEF FME_SHAREDRESOURCE_TEMP "C:/ProgramData/Safe
Software/FME Server///resources/temp/"
\\
MACRO_DEF FME_SHAREDRESOURCE_SYSTEM
"C:/ProgramData/Safe Software/FME Server///resources/system/"
\\
MACRO_DEF FME_SHAREDRESOURCE_BACKUP
"C:/ProgramData/Safe Software/FME Server///resources/backups/"
\\
MACRO_DEF FME_SHAREDRESOURCE_SCE "C:/ProgramData/Safe
Software/FME Server///resources/data/water/rivers/"
Thanks.
The name should be unique but they can point to existing locations that are used in other names.