IBM Sterling Transformation Extender

 View Only

 Running multi instances of launcher V11.01.1 with Linux

Ben Baessler's profile image
Ben Baessler posted Fri March 21, 2025 05:31 AM

Hi,

i have set up a configuration of the launcher where the launcher is installed in folder itx.

Then created a folder itx02 with symbolic links to bin,libs, java to the folders in itx and local folders for config, logs and systems. itx02 has its own LauncherAdmin.bin, mgmtconsole.bin and config.yaml. install.properties also contain the paths to itx02. itx02 ist set up to run on port 5106-5107 and port range 9104-9106.

Put when the launcher is started with launcher.sh start 5106 and then the processes are checked the launcher process is started in itx not itx02:

So if another instance like itx01 will be started the call would go to the same launcher and a conflict will exist.

I searched all config-files but I did not fígure out what parameter I have to change to make the launcher start on itx02 instead of itx.

Any hints?

Regards, Ben

Jim Davee's profile image
Jim Davee

The symlinks would seem to be the root cause but I’m betting it’s the environment variables created by the setup script. if you are not running a different setup script then you are still pointing to ITX and not itx02. 

two options.  We run many concurrent launcher engines on one server using one of two methods.  Typical method is to use two different accounts.  Second account points to and sets up itx02.  We set up file and dir permissions to use the group value to let the two accounts interact and navigate the common or shared areas.  I have eight concurrent engines running on one server under separate accounts this way.

the other method is to set up a single install config to run multiple launcher instances.  Need to rework the launcher admin.bin file to do that plus explicitly name the msl files you want each to run.  This also requires extending the port range to handle all established engines  I have one install that runs four separate engines this way.

I have never tried to do this using symlinks for the static ITX files though but it should work with the ones you have linked.  Bottom line is it is very doable to run multiple launchers on one Linux server once you get the configuration built  

Jim

Ben Baessler's profile image
Ben Baessler

Hi Jim,

thanks for your answer.

After some research I found out that I have to change the parameter -DINSTALLDIR in common.sh from "$DTX_JARS_DIR" to "$DTX_HOME_DIR/config". Then the installer starts in itx<NN> instead of itx.

Now I faced another issue:

I have defined this launcher and setup the managementconsole with User "xITX" and changed the Password to "mercator" for test reasons in both configs.

But when I execute ${DTX_HOME_DIR}/bin/launcher.sh -list 01_OBK I always get the error Invalid username and password for user "xITX" on Launcher "01_OBK"

I have no clou why the password does not match when I put the same string in both configs.