Overriding the Sybase IQ Agent Port Number

Overriding the IQ Agent Port Number on UNIX

The Sybase IQ Agent port number defaults to 1099. You can override the default value, provided that you do so before the plug-in starts. Changing the default port number lets you to run any number of version 15.2 Sybase IQ Agents on a given host, or run agents for Sybase IQ 12.7, 15.0, 15.1 and 15.2 on the same host. Use the IQPORT environment variable or the -port command line parameter to override the default agent port number. You can also specify the port per server within Sybase Central, or override the value on the Sybase Central startup command, for example:

scjview -DIQPORT=3356

On UNIX, you can override the agent port number on the startup command line; for example:

 $IQDIR15/bin64/S99SybaseIQAgent15 -port nnnn

Overriding the IQ Agent Port Number on Windows

On Windows, use the Service Manager, as follows:

  1. Select the name Sybase IQ Agent 15.

  2. Click the Properties icon or choose Action > Properties from the menu bar.

  3. Click Stop under Service status to stop the agent.

  4. In the Start Parameters text box, type -port nnnn where nnnn is the port number.

  5. Click Start to restart the agent.

If the agent fails to start on Windows, check the event log for diagnostic information.