Configuring Server-to-Server Routing
Server-to-server routing lets you set up a ProjectWise Gateway Service in a perimeter network in order to route connections from a ProjectWise Integration Server to a ProjectWise Caching Server, in cases where the ProjectWise Integration Server cannot directly connect to the ProjectWise Caching Server. For example, if the ProjectWise Caching Server is hosted behind a firewall of another organization.
To configure this feature, routing information is needed in the DMSKRNL.CFG file of the ProjectWise Integration Server, the ProjectWise Caching Server, and the connecting ProjectWise Gateway Service.
For the configuration examples below, assume the following host names for these servers:
PWIS = ProjectWise Integration Server
PWGS = ProjectWise Gateway Service
PWCS = ProjectWise Caching Server
When a client requests a file from a ProjectWise Caching Server, the ProjectWise Caching Server uses the ProjectWise Integration Server's public key to validate the request and verify the user's access. In a standard configuration, the ProjectWise Caching Server requests the ProjectWise Integration Server's public key directly, but in a routed scenario the ProjectWise Caching Server may not be able to connect to the ProjectWise Integration Server. If this is the case, you must manually specify the ProjectWise Integration Server's public key in the [FileTokenPublicKeys] section of the ProjectWise Caching Server's DMSKRNL.CFG file.
Set up a standard server-to-server routing configuration
- In the
DMSKRNL.CFG
file of the
ProjectWise Integration Server (PWIS), add the
following information:
[ServerGateway] PWCS=PWGS
[Routing] PWGS=5800
- In the
DMSKRNL.CFG
file of the
ProjectWise Gateway Service (PWGS), add
the following information:
[Gateway] PWIS=PWGS PWCS=PWGS
[Routing] PWIS=5800 PWCS=5800
- In the
DMSKRNL.CFG
file of the
ProjectWise Caching Server (PWCS), add
the following information:
[ServerGateway] PWIS=PWGS
[Routing] PWGS=5800
Set up a unidirectional server-to-server routing configuration
- In the
DMSKRNL.CFG
file of the ProjectWise Integration Server (PWIS), add the following
information:
[ServerGateway] PWCS=PWGS
[Routing] PWGS=5800
- In the
DMSKRNL.CFG
file of the
ProjectWise Gateway Service (PWGS), add
the following information:
[Gateway] PWCS=PWGS
[Routing] PWCS=5800
- In the
DMSKRNL.CFG
file of the
ProjectWise Caching Server (PWCS), add
the
ProjectWise Integration Server's public key
(note the key below is just an example):
[FileTokenPublicKeys] PWIS=BgIAAACkAABSU0ExAAQAAAEAAQBb6A14vA1opzUqBH0PFdmYNN1+TzfOyWLumgvuv8FvYgi8eqwmVKW8gReJBWx7Ogr+Wj0psFMNzUZCqBFuYxQTtqxBL5+udhTUz74QbttqVAfolhwkDuVTRfVGblDO1MKLDUnHpavttFr6UoC71Ox8g79kKxa3AzPZxtbt2XEWsA==
Your ProjectWise Integration Server's public key can be found by right-clicking the host name of the ProjectWise Integration Server in ProjectWise Administrator and selecting Properties. In the Properties dialog, select the Encryption tab. You can then copy the key found on this tab and paste it into the [FileTokenPublicKeys] section above as shown.