Skip to main content

This article describes the changes required to run multiple instances of OnWeb server on an iSeries.

Problem:

When multiple instances of OnWeb Server are required to run on the same iSeries configuration changes are necessary to avoid resource contention. What are these?

Resolution:

You can install multiple OnWeb Servers on an iSeries system byperforming the following steps:

  1. Specify a different HTTP Server directory
  2. Install the second instance of OnWeb Server into a different BaseLibrary and installation directory on the IFS. During theinstallation make sure you specify a unique Internal Server Portnumber
  3. Due to restrictions in the operating system, it is only permissibleto have one active subsystem with the same name. When installingmore than one server on the same iSeries, you will have to renamethe subsystem of the subsequent server(s) from OnWeb to a differentname. Enter the following commands:
RNMOBJ OBJ(Base_Library/ONWEB)OBJTYPE(*SBSD)

NEWOBJ(Subsystem_Name)

CHGDTAARA DTAARA(Base_Library/ONWEBCFG (302 10))

VALUE(Subsystem_Name)

Where:

Base_Library ??? the OnWeb Base Libraryspecified at install time

Subsystem_Name - the new subsystemname

Note: If a name is not present in position 302 of the data area, the subsystem name is assumed to be ONWEB.

Specify a unique Virtual Server Port number. Edit the followingline in the OnWeb_Configuration.xml file located under the bindirectory of your installation (/QOpenSys/usr/<OnWebDir>/bin directory): 

            <virtual_terminal_server_port>5923</virtual_terminal_server_port>  

Where 5923 is the default port that needs to be changed toanother TCP port number that is not in use.






Date:

Name:

Description of change:
Date:

Name:

Description of change:

Old KB# 14419

#OnWeb
#Rumba