Friday, July 4, 2008

Changing Ports for Em agent..



There may be times when we have to change the port for EM agents.
Use the following to do so.
Stop the Management Agent.

Locate the emd.properties file in the Agent home directory:
AGENT_HOME/sysman/config/emd.properties
Use a text editor to open the file and locate the EMD_URL property.
For example:
EMD_URL=http://managed_host1.acme.com:1813/emd/main
Modify the port number in the EMD_URL property so the Agent uses a new unused port on the managed host.
For example:
EMD_URL=http://managed_host1.acme.com:1913/emd/main
Start the Management Agent.

You can verify that with checking the status of the agent.
emctl status agent

0 comments: