How to configure an additional web server for AppLoader Controller

When planning on executing tests that simulate over 3,000 concurrent users, follow the below steps to ensure better Controller performance

AppLoder Controller Server

1. Edit AppLoader\webserv\bin\ORG_ctl.conf

and replace all the variables that are surrounded by @ signs with the actual values. 

Sample [defaults] values are provided after <- sign

 

########################################
# AppLoader Controller 
#######################################
ServerRoot "@HTTPINST@/webserv"    <- "C:\program files (x86)\Automai\AppLoader\Webserv\bin"
PidFile bin/ctl.pid
ErrorLog bin/ctl.log
Timeout 300
KeepAlive Off
EnableSendfile Off
EnableMMAP Off
<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild 100000
</IfModule>
Listen @WebServerPort@ .  <- 9001
LoadModule php7_module modules/php7apache2_4.dll
LoadModule mime_module modules/mod_mime.so
LoadModule dir_module modules/mod_dir.so
# ServerAdmin @SMTPserverFROM@
ServerAdmin ThisMayNeed@ToBeChanged.NodeWatch.com
ServerName @HTTPhostname@:@WebServerPort@ .  <- HOSTNAME:9001
UseCanonicalName Off 
DocumentRoot "@HTTPINST@/apps" .  <- "C:\program files (x86)\Automai\AppLoader\apps"

DirectoryIndex index.php
TypesConfig conf/mime.types
DefaultType text/plain
HostnameLookups Off
EnableMMAP off
ServerTokens Prod
ServerSignature Off
AddType application/x-httpd-php .php .phtml .html



##################################################
# PHP Options below this line

 

 

 

2. Save the file as ctl.conf

3. Edit "C:\program files (x86)\Automai\AppLoader\Webserv\bin\alsvc.conf"

     and un comment #run.prog = ctl -f bin/ctl.conf

     run.prog = ctl -f bin/ctl.conf

4. Restart AppLoader Controller Service

5. To make sure the changes work go to http://hostname:9001 The AppLoader Controller login or other pages should load.

 

AppLoader Injector

1. Edit Automai\Injector\VStation.ini file

2. Change port 8888 to 9001 in the following line

screenshotpage=ControllerHostName:8888/ctrlss.php

to

screenshotpage=ControllerHostName:9001/ctrlss.php

 

This will send all failure screenshots to the new webserver listening on the port 9001