How to verify if iDash is up and running
search cancel

How to verify if iDash is up and running

book

Article ID: 92751

calendar_today

Updated On:

Products

iDash Workload Automation

Issue/Introduction

Binary 'idash_server' only has an option to 'start' or 'stop' the iDash server and  there is no option available to verify if iDash is started or not.
 

Environment

Windows - Linux

Resolution

Run binary 'idflags' which is located here
1. if windows : %IDASH_HOME%\bin
2. if Linux      : $IDASH_HOME/bin

If iDash server is up and running , it will give you the version of iDash.
Example : iDash Version:12.0.04.01-0731 
 
If iDash server is not running, it will produce following error message:
Exception in thread "main" com.ca.idash.core.exception.IdashException: Cannot connect to the specified primary server url:http://<hostname>:<port>
        at com.ca.idash.core.server.IdashConfig.getHttpAddressX(IdashConfig.java:136)
        at com.ca.idash.core.server.IdashConfig.getHttpAddress(IdashConfig.java:97)
        at com.ca.idash.core.idashdb.IdashDB.getIdashDB(IdashDB.java:273)
        at com.ca.idash.cli.CLI.checkIdashDB(CLI.java:208)
        at com.ca.idash.cli.CLI.initx(CLI.java:188)
        at com.ca.idash.cli.CLI.init(CLI.java:146)
        at com.ca.idash.cli.cmd.idflags.IdFlags.main(IdFlags.java:35)
 

Additional Information

On Linux, you can also execute "ps -ef | grep idash.home" command and if it finds an actual process that is running then the iDash server process is up.

On Windows, you can check thru Windows Services (services.msc) if the iDash service is running or not.