Question
· Jun 16, 2023

How to publish 2 SMP on a serveriris

Hi,
i got 2 server with iris instances on them:

srv1
irisinstance1 port 51773/52773
irisinstance2 port 51774/52774

srv2
irisinstance3 port 51773/52773
irisinstance4 port 51774/52774

 

Both of them have apps published on an external apache on port 443 and i would like to publish irisinstance1 and irisinstance2 on port 443 of srv2.

Something like https://srv2/mgmt1/csp/sys/UtilHome.csp and similar to mgmt2.

I've tried with proxypass without luck.

How can i do that? Is there a guide?

 

Thanks!

Product version: IRIS 2022.1
Discussion (1)1
Log in or sign up to continue

One way to approach this is with WebServerURLPrefix.

The Web Gateway has special handling when it detects the first part of application URL matches the instance name of a connection.

Where:

https://srv2/[Instance name 1]/csp/sys/UtilHome.csp

https://srv2/[Instance name 2]/csp/sys/UtilHome.csp  

See: https://docs.intersystems.com/irisforhealth20231/csp/docbook/DocBook.UI....

To let Apache know to expect this traffic could use:

<Location /instance1>
   CSP On 
</Location>
<Location /instance2>
   CSP On
</Location>

See: https://docs.intersystems.com/irisforhealth20231/csp/docbook/DocBook.UI....