Enabling JMX Agents
To enable JMX agents:
-
Run PSADMIN and choose the domain that you want to configure.
-
Select 6) Edit configuration/log files menu.
-
Select 1) Edit domain configuration file.
-
In the configuration file, in the PSTOOLS section, locate the following parameters and set the values:
-
Enable Remote Administration - Set the value to 1.
-
Remote Administration Port - Set the value to 10100.
Note:
In order to prevent the Java RMI stack from using random ports for the PHC RMI Server, PHC sets a specific port for it, which is the Remote Administration Port value incremented by 1. For example, if the Remote Administration Port is 10100, then port 10101 will be used for PHC's RMI server. When you plan the port usage, this needs to be taken into account.
Also, in an environment where a firewall is enforced, for a monitored Application server or Process Scheduler domain, the ports assigned for the Remote Administration Port and for the PHC RMI server have to be opened for communication, so that the remote monitoring system's JMX connection can be established. For example, if the monitored domain has the value 10100 set for the Remote Administration Port and the value 10101 is assigned to the PHC RMI server, then the firewall needs to allow ports 10100 and 10101 for communication.
-
Remote Administration Userid - Enter a user ID, for example, admin.
-
Remote Administration Password - Enter a password in clear text or enter an encrypted password. To encrypt the password, use the PSCipher utility.
Note:
If you enter a password in clear text, Oracle recommends that you re-configure the domain using PSADMIN, which encrypts the password and stores in the configuration file.
For more information on encrypting passwords, see Integration Broker Administration: Encrypting Passwords Using the PSCipher Java Utility.
-
-
Save the changes you made in the configuration file.
-
Restart the domain.