Starting the InformixHQ Server and the Agent on Windows

This topic provides a brief tutorial about the script used to get started with InformixHQ Server and Agent on Windows.

  1. Locate your informixHQ.bat for Windows (default path is %INFORMIXDIR%/hq).
  2. Use command InformixHQ help to see sample syntax: e.g- InformixHQ.bat help.
    Tip: User can only run InformixHQ.bat for help menu
    Figure 1. InformixHQ helpThis figure shows InformixHQ help sample syntax.
  3. Use command to start InformixHQ server with default file names. e.g- InformixHQ.bat startserver

    It will start a INFORMIXHQ Server with default values for all the parameters including jar file name (informixhq-server.jar) and properties filename (informixhq-server.properties)

  4. Use command to start InformixHQ agent with default filenames. e.g- InformixHQ.bat startagent.

    It will start a INFORMIXHQ Agent with default values for all the parameters including jar file name (informixhq-agent.jar) and properties filename (informixhq-agent.properties).

  5. List the Java processes running. It will list all the InformixHQ processes running with ProcessID e.g. – InformixHQ.bat list.

  6. Stop the InformixHQ server or agent by providing processID to stop command. It will stop InformixHQ process with provided processID. e.g. – InformixHQ.bat stop 11376.
Following are sample commands where user can provide custom values (similar commands will work with agent)
  • optional jar and properties filename to start InformixHQ server:
    InformixHQ.bat startserver jarfile=informixhq-myinstance1.jar propfile=hqserver.properties
  • Use encoding and JVM value:
    InformixHQ startserver Encoding=utf-8 JVMMemx=1004m
  • Use all input:
    InformixHQ.bat startserver Encoding=utf-8 JVMMemx=1004m jarfile=informixhq-server.jar propfile=hqserver.properties

Copyright© 2021 HCL Technologies Limited