FEAdminConsole (CCAdminConsole) guide
- 1 Description
- 2 How to run
- 3 Commands
- 3.1 -help
- 3.2 -?
- 3.3 -create_acceptor
- 3.4 -create_initiator
- 3.5 -change_session
- 3.6 -delete or -d
- 3.7 -reload_bl
- 3.8 -switch_to_backup
- 3.9 -shutdown or -s
- 3.10 -stat
- 3.11 -online_sessions_status
- 3.12 -online_sessions_list
- 3.13 -session_stat
- 3.14 -offline_sessions
- 3.15 -exec_xml
- 3.16 -adaptor_exec
- 4 Troubleshooting
- 4.2 Usage examples
Description
The FEAdminConsole (CCAdminConsole) tool allows to manage sessions and can be started from the command line as well as from cron.
FEAdminConsole uses the FixEdge XML Socket monitor port number. Default: 8902
The tool is written on Java, so requires Java to be in the PATH.
Since FIXEdge version 5.11.0 JRE is within the installation package.
FEAdminConsole can run both on Windows and Linux.
The tool uses the same FIX Administrative session protocol as FIXICC under the hood.
How to run
This application is included in the FIXEdge package, it is located in \FIXEdge\bin\ folder.
Run FEAdminConsole.exe. file for Windows.
Run ./FEAdminConsole file for Linux.
It uses the same credentials as FIXICC with UI. The credentials are configured as parameters for Monitoring sessions in engine.properties
Commands
Command | Description | Parameters |
|---|---|---|
-help-? | Enumerate all options and command line keys | None |
-create_acceptor | Creates FIX session as acceptor | -host Host_Name - the FixEdge hostname. Default: localhost |
-create_initiator | Creates FIX session as an initiator | -host Host_Name - the FixEdge hostname. Default: localhost |
NOT IMPLEMENTED YET start_session | Starts FIX session using a properties file | -host Host_Name - the FixEdge hostname. Default: localhost |
-change_session | changes FIX session parameters | -host Host_Name |
-delete or -d | deletes registered FIX session | -host Host_Name - the FixEdge hostname. Default: localhost |
-reload_bl | reloads Business Layer | -host Host_Name - the FixEdge hostname. Default: localhost |
-switch_to_backup | switches FIX session to a backup connection (or to the primary) | -host Host_Name - the FixEdge hostname. Default: localhost |
-shutdown or -s | stops the instance of FixEdge | -host Host_Name - the FixEdge hostname. Default: localhost |
-stat | shows FixEdge statistics | -host Host_Name - the FixEdge hostname. Default: localhost |
-online_sessions_status | shows FixEdge online sessions status | -host Host_Name - the FixEdge hostname. Default: localhost |
-online_sessions_list | shows FixEdge online sessions list | -host Host_Name - the FixEdge hostname. Default: localhost |
-session_stat | shows FixEdge session statistics | -host Host_Name - the FixEdge hostname. Default: localhost |
-offline_sessions | shows offline sessions | -host Host_Name - the FixEdge hostname. Default: localhost |
-exec_xml | sends XML text to adaptor for executing | -host Host_Name - the FixEdge hostname. Default: localhost |
-adaptor_exec | sends a command to an adaptor for executing | -host Host_Name - the FixEdge hostname. Default: localhost |
For every command the following list of authentication parameters should be provided:
-admin_sender <SenderCompId for admin session>. Optional, default is AdminClient;
-admin_target <TargetCompId for admin session>. Optional, default is FIXADMIN;
-user <user>. Optional, default is user;
-password <password>. Optional, default is pass;
-host <Host_Name> - the FIXEdge hostname. Optional, default is localhost;
-port <Port_Number> - port. Optional
Troubleshooting
FIXEdge XML Socket monitor port number
FEAdminConsole uses the FixEdge XML Socket monitor port number.
Verify FIXEdge.properties file where the property is set.
ControlCentre.XMLSockMonitor.Port = 8902
./FEAdminConsole: error while loading shared libraries: libV12_rh6.so: cannot open shared object file: No such file or directory
Set env variable LD_LIBRARY_PATH to force the system to search libraries in the current directory.
LD_LIBRARY_PATH is a variable pointing to dependencies (libraries).
cd FIXEdge/bin
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATHNo connection could be made because the target machine actively refused it.
This issue is generated because it was not able to establish a connection with FIXEdge, it can be solved by performing the below verifications.
Verify FIXEdge is running.
Verify the port FixEdge XML Socket is the same as the one used in the parameter port e.g. (8902)
Usage examples
Get FIXEdge statistics with FEAdminConsole
Path: \FIXEdge\bin\
FEAdminConsole.exe -stat -host localhost -port 8902FEAdminConsole -stat Output Sample of Success
OK
FIX Engine Statistics:
Acceptors: 3
Initiators:
Active sessions: 3
Correctly terminated sessions:
Non gracefully terminated sessions: 0