ESIC Invocation

The ESIC commands can be invoked from anywhere in the machine where Infrastructure is installed only if $FIC_APP_HOME/icc/bin is added to $PATH variable. Alternatively, you can navigate to that directory where ESIC component is installed ($FIC_APP_HOME/icc/bin) and Execute.

The log files are generated in $FIC_APP_HOME/icc/log. ESIC handles all exceptions generated during its execution.

The log file name for ESIC for each instance would be as follows:

  • ESIC_<Date>_<Time>_<PID>_< External Unique ID>.log
  • ESIC_<Date>_<Time>_<PID>_< External Unique ID>_<TaskId>.log

In case of an exception, ESIC logs appropriately and exits with an appropriate exit status that can be used by the ES.

Ensure the following:

  • ES should execute Initialization and De-Initialization tasks which are invocations of ESIC with specific parameters.
  • ES invokes ESIC as a command line executable for each task that are to be executed which includes the initialization and de-initialization tasks.
  • Optionally, ESIC can wait for an executed task to complete. Once done, ESIC exits with an appropriate exit status that is fetched by the ES.
  • Once an execution has started, the instance of ESIC will exist till the request is completed.
  • ESIC handles all exceptions generated and in case of an exception, ESIC logs it appropriately and exits with an appropriate exit status that can be fetched by the ES.

    Note:

    When a Batch is initialized for execution through ES, ESIC captures the OFSAAI user ID and password as parameters and authenticates the same. If the user is already logged in through UI, and Allow user to log in from multiple machines checkbox from the Configuration window is not selected, it will show the error message "User Already Logged in". Hence initialization of batch will fail.

Figure 17-3 Illustration of ESIC


This illustration show how the ESCI is mapped to the OFSAAI Operations infrastructure.

For more details of ESIC exit status, see Exit Status Specifications section. For other miscellaneous information of ESIC, see Additional Information on ESIC section.