How do I configure UNIX agents to use a port other than 9001? (NETIQKB48936)

  • 7748936
  • 02-Feb-2007
  • 15-Oct-2007

Environment

AppManager 6.x
AppManager 5.x

Situation

How do I change the port used by the agent?
How do I modify the port number that the agent and the Management Server use to communicate?

Resolution

To change the port the UNIX agent uses to communicate with the Managed Server:

  1. On the UNIX agent, stop the agent service by executing the command:

    nqmdaemon stop

  2. Remove everything in your AppManager UNIX ./db/ directory by executing the command:

    rm -rf /<Path>/netiq/UnixAgent/db/* 

  3. In the conf/nqmcfg.xml file, change the following line:

    <CONFIGURATION NAME="<ManagementServer>" SECURITY_LEVEL="0" PORT="<PortNumber>" 

    AppManager will only use the nqmcfg.xml values if the ./db/ directory is empty.

  4. Restart the agent service by executing the command:

    nqmdaemon start

  5. On the Managed Server, back up the registry file.
  6. Update the registry with the new port number using the following key:

    HKEY_LOCAL_MACHINE\SOFTWARE\NETIQ\AppManager\4.0\NetIQms\Unix Port
     

  7. Restart the NetIQ Management Server service.
  8. Repeat steps 5-6 for any backup Management Servers.


Additional Information

Formerly known as NETIQKB48936

Warning: Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. NetIQ Technical Support cannot guarantee that problems resulting from the incorrect use of Registry Editor can be resolved. Make sure that you back up your registry before making any changes.

For more information on how to change the port for the AppManager services, see NetIQ Knowledge Base article NETIQKB3307: "How do I change ports used by the NetIQ AppManager Management Server and the NetIQ AppManager Client Resource Monitor Service?" https://www.netiq.com/kb/esupport/consumer/esupport.asp?id=NETIQKB3307.