The JLupin Next Server console can manage group of servers. The configuration allows to connect with servers specified in file: 'server_configuration.properties' (File holds definition of the server indices from 1 to n, address, port)

Go to the 'console' subdirectory and run test by executing start_console.cmd or start_console.sh file.

Default user name:jlns00001
Default password:password1

You should see the following screen:

Every user name and password is configured in user.properties file located in the server-resources directory.

Available console commands:

? - shows all available commands help - the same as "?" appRestart - restarts all or selected applications ( all previous requests will be handled by old processes ). All applications will be restarted with no parameters.

Example:

[appRestart] [appRestart firstSampleApplication]

appStart - starts all or selected applications. All not running applications will be started with no parameters

Example:

[appStart] [appStart firstSampleApplication]

appStop stops all or selected applications ( currently processed requests will be handled by old processes ). All running application will be stopped with no parameters.

Example:
[appStop] [appStop firstSampleApplication]

appStopForce force stops all or selected applications ( currently processed requests will not be handled ). All running applications will be force stopped without parameters.

Example:
[appStopForce] [appStopForce firstSampleApplication]

appRestartSafe restarts all or chosen applications with waits for finish for all started requests and archive current application version to archive directory.

Example:
[appRestartSafe] [appRestartSafe firstSampleApplication]
[appRestartSafe firstSampleApplication secondSampleApplication]

appRestore restores all application to latest version.

Example:
[appRestore] - restores all application to latest version
[appRestore firstSampleApplication] - restores firstSampleApplication to latest version
[appRestore 2] - restores all application to version no: 2
[appRestore firstSampleApplication 23] - restores firstSampleApplication to version no: 23
[appRestore firstSampleApplication secondSampleApplication 23] - restores firstSampleApplication and secondSampleApplication to version no: 23

appStartPercentMove starts chosen percent movement to chosen application.

Example:
[appStartPercentMove firstSampleApplication 15] - starts percentage movements to new version of firstSampleApplication on 15%

appAcceptNew accepts full movement to new version of application (before of this command must be appStartPercentMove).

Example:
[appAcceptNew firstSampleApplication]

appAcceptNewSafe accepts full movement to new version of application and archive current version (before of this command must be appStartPercentMove command).

Example:
[appAcceptNewSafe firstSampleApplication]

appStopPercentMove stops percentage movement to new version of application (before of this command must be appStartPercentMove command).

Example:
[appStopPercentMove firstSampleApplication]

serverQuit stops all applications ( currently processed requests will be handled by old processes ) and the main global server.

serverQuitForce force stops all applications ( currently processed request will not be handled ) and the main global server

show shows running applications with their settings and the global server with its settings and current load

bye, quit, logout closes sessions with server and closes console as well.