MWA Server and Dispatcher Configuration Quick Start Reference (January 2003)
Key Mappings Environment Verification
Setup default_key.ini ü Verify the telnet port that is not in use ü Verify the environment that is set 1. Locate file in $MWA_TOP/secure correctly by sourcing the 2. Use the default_key.ini if there is no APPLSYS.env file change ü Verify $MWA_TOP is set correctly 3. If you need to customize, create a new file e.g. intermec2415_key.ini ü Verify the DbcFolder and DbcFile a. Assocate Server-Defined actions in the mwa.cfg file that is set to This quick start reference is for setting up the to Device keys the location and file name of your MWA telnet server and Dispatcher <Action> =<Key>=<Description> Oracle Application .dbc file e.g. MWA_CLEAR_FIELD=CONTROLK=Clear ü Verify the log directory that exists MWA Configuration file b. Specify device’s width and height ü Verify the $CLASSPATH that Setup mwa.cfg file includes appsborg.zip and apps.zip 1. Locate file in $MWA_TOP/secure Device IP 2. Copy mwa_template.cfg to mwa.cfg Setup deviceIP.ini Starting/Shutdown the MWA Server 3. Edit mwa.cfg and configure following To start the MWA telnet server: parmameters: 1. Locate file in $MWA_TOP/secure 1. Source the APPLSYS.env a. Set mwa.DbcFolder=full directory of 2. Copy deviceIP_template.ini to 2. cd $MWA_TOP/bin .dbc file ending with / deviceIP.ini 3. mwactl.sh start [port number] b. Set mwa.DbcFile=dbc file name 3. This file is to associate device with a key c. Set mwa.logdir=full directory of log file mapping file 4. Map the device name and IP address as To shutdown the MWA telnet server d. Set mwa.TelnetPortNumber=default follows: 1. cd $MWA_TOP/bin port# e. Setmwa.DropConnectionTimeout= a) Mapping by device name 2. mwactl.sh –login xxx/yyy stop port# no. of minutes Intermec 2415=intermec2415_key.ini where xxx is application user id with f. Set mwa.StaleSessionTimeout= b) Mapping by IP address system administrator responsibility and yyy is the application user password no. of minutes 130.35.112.*=intermec2415.ini g. Set mwa.LogLevel=error or trace Note: for NT server, use mwactl.cmd script to start/stop servers MWA Server and Dispatcher Configuration Quick Start Reference (January 2003)
D mwa.DispatcherClientsPerWorker=10 Alternating the MWA telnet servers
I Server 1 with Dispatcher S port 2310 Starting/Shutdown the MWA servers P and Dispatcher See metalink note: 198543.1 on how to use A the dispatcher to bounce the MWA Servers T To startup: at predefined intervals, so that database C Server 2 • mwactl.sh start 2310 sessions can be refreshed, and possible H port 2320 • mwactl.sh start 2320 memory leaking can be avoided. E • mwactl.sh start 2330 • mwactl.sh start_dispatcher R Server 3 Mobile users connect to the Dispatcher port 2300 2300. Dispatcher will distribute mobile users port 2330 among the three MWA servers.
Mobile users can hit control-X to view the
MWA server port#, host name and other If you want to use the Dispatcher to perform connection information load balance among multiple MWA servers, use the following steps to configure and To shutdown: manage the Dispatcher. • mwactl.sh stop 2310 • mwactl.sh stop 2320 Configuring MWA Dispatcher • mwactl.sh stop 2330 MWA CONFIGURATION HELP Setup Dispatcher parameters in mwa.cfg • mwactl.sh stop_dispatcher For MWA configuration details, please see following Metalink notes: 1. Specify the port number and machine for running the dispatcher Note: MWA server will be terminated only when all mobile users are disconnected. Mobile Applications Technology Stack: mwa.Dispatcher=hostname:port# New users cannot sign-on when the server is 163931.1 Note: the dispatcher uses 3 consecutive stopped. If you want to terminate the server ports for internal control MWA Dispatcher port number usage: while users are connected, you can use 2. Specify the dispatcher worker thread stop_force to stop server immediately. 170939.1 count mwa.DispatcherWorkerThreadCount=15 Note: for NT server, use mwactl.cmd script to MWA Dispatcher usage and example: 3. Specify the dispatcher clients per worker start/stop servers 198543.1