Interviewer - Server > Configuration and customization > Web configuration files > Settings for the Review Interviews activity > Alternate session engines
 
Alternate session engines
In clustered installations where you have created additional interviewer session engines, you can configure Review Interviews to use multiple interviewer session engines. This improves performance by allowing the activity to allocate interviewers to the least loaded engine and provides a recovery facility should an engine fail while interviews are in progress.
All UNICOM Intelligence interview review sessions have access to the default session engine (usually [INSTALL_FOLDER]\IBM\SPSS\DataCollection\<version>\Interviewer Server\Server\mrIEngWS\mrIEngWS.dll) and to any other interviewer session engines named in the activity's Web.config file. To name alternate engines, place the following definition in the <appSettings> section of the activity's Web.config file:
<add key="ALTERNATE_INTERVIEW_ENGINES" value="engine_names"/>
where engine_names is a comma-separated list of the URLs of interview engines. For example:
<add key="ALTERNATE_INTERVIEW_ENGINES"
value=" http://redserver/mriengws2, http://redserver/mriengws, http://blueserver/mriengws2"/>
Each URL must be no more than 255 characters long.
When a supervisor starts Review Interviews, the activity reads the list of alternate interviewer session engines it may use and then runs the PercentLoaded method on the default engine and on the alternate session engines named in this file. It then allocates the supervisor to the least loaded engine, and all the reviews that the supervisor carries out will run using that engine.
The only time that Review Interviews switches to a different engine is if the current engine becomes unavailable. If an engine stops responding, Phone Participants goes through the list of session engines again, rechecking PercentLoaded (failed engines are not removed from the list of alternate engines), and selects the engine that now has the lowest loading figure. All the supervisor's interviews from now on will take place on the newly selected engine even if the old one becomes available again. When an review session fails over in this way, Review Interviews creates an interview session, gets the appropriate sample record, and then restarts the interview. The reviewer is not normally aware of this background activity, but you'll find a record of these actions in the CIV*.log file.
See also
Settings for the Review Interviews activity