Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The preparation of J2EE remote instance monitoring is described in three parts:•    Installing

  • Installing an SSL Listener

...

  • Installing a consumer Listener

...

  • Creating the deployment package

Perform the part in the order as described.

Installing an SSL Listener

Install a new Precise Listener or edit an existing Precise Listener installation and configure the server to be an SSL Listener.

Info

...

The SSL Listener can also be configured on the Precise FocalPoint.

The SSL Listener mode is set by the server-machine-ssl-<SERVER<SERVER_NAME> NAME> property. The SSL Listener port is set by the the server-machine-ssl-port-<SERVER<SERVER_NAME> NAME> property. For example, to enable the SSL Listener on server sun5, run the following CLI utility command on the Main Precise FocalPoint server:Windows    infra

Windows   infra\bin\psin_cli.bat
                   -i3-user admin
                   -i3-clear-password admin
                   -action setup
                   -parameter setup-process=server
                   -parameter handle-server-machine-name=sun5
                   -parameter setup-mode=edit
                   -parameter server-machine-ssl-sun5=true
                   -parameter server-machine-ssl-port-sun5=1443
UNIX  

...

        infra/bin/psin_cli.sh
                   -i3-user admin
                   -i3-clear-password admin
                   -action setup
                   -parameter setup-process=server
                   -parameter handle-server-machine-name=sun5
                   -parameter setup-mode=edit
                   -parameter server-machine-ssl-sun5=true
                   -parameter server-machine-ssl-port-sun5=1443

Installing a consumer Listener

Install a new Precise Listener or edit an existing Precise Listener installation and configure the server to be a consumer Listener. The consumer Listener mode is set by the the server-machine-consumer-mode-<SERVER<SERVER_NAME> NAME> property. For example, to enable the consumer Listener on server sun5, run the following CLI utility command on the Main Precise FocalPoint server:

Windows  

...

 infra\bin\psin_cli.bat
                    -i3-user admin
                    -i3-clear-password admin
                    -action setup
                    -parameter setup-process=server
                    -parameter handle-server-machine-name=sun5
                    -parameter setup-mode=edit
                    -parameter server-machine-consumer-mode-sun5=true
UNIX  

...

         infra/bin/psin_cli.sh
                    -i3-user admin
                    -i3-clear-password admin
                    -action setup
                    -parameter setup-process=server
                    -parameter handle-server-machine-name=sun5
                    -parameter setup-mode=edit
                    -parameter server-machine-consumer-mode-sun5=true

The consumer Listener processes the data from the remote J2EE instances. The consumer Listener serves all the J2EE instances. If you have installed many remote J2EE instances and the load on the consumer Listener is high, you can configure additional Precise Listeners to be consumer Listeners.

By default the consumer Listener consumes data from all SSL listeners. If you want to consume data from a specific SSL Listener you can set the the server-machine-consume-target-<SERVER<SERVER_NAME> NAME> property. For example, to set the consumer Listener on server sun5 to consume data from SSL Listener hp2, run the following CLI utility command on the Main Precise FocalPoint server:

Windows  

...

 infra\bin\psin_cli.bat
                    -i3-user admin
                    -i3-clear-password admin
                    -action setup
                    -parameter setup-process=server
                    -parameter handle-server-machine-name=sun5
                    -parameter setup-mode=edit
                    -parameter server-machine-consumer-mode-sun5=true
                    -parameter server-machine-consume-target-sun5=hp2
UNIX  

...

         infra/bin/psin_cli.sh
                    -i3-user admin
                    -i3-clear-password admin
                    -action setup
                    -parameter setup-process=server
                    -parameter handle-server-machine-name=sun5
                    -parameter setup-mode=edit
                    -parameter server-machine-consumer-mode-sun5=true
                    -parameter server-machine-consume-target-sun5=hp2

Creating the deployment package

To create the deployment package
Run the following CLI utility script to create the deployment.zip file that should later be extracted on the remote monitored instance server. The deployment.zip file can be created once and there is no need to recreate the deployment.zip file for each instance that you want to monitor. This deployment.zip file is later used in the installation stage.
Windows    infra\bin\psin_cli.bat
-i3-user <user_name>
{-i3-encrypted-password <encrypted_password> | -i3-clear-password <clear_password>}
-action ssl-deployment
{-server <SSL target server>}
UNIX    ./infra/bin/psin_cli.sh
-i3-user <user_name>
{-i3-encrypted-password <encrypted_password> | -i3-clear-password <clear_password>}
-action ssl-deployment
{-server <SSL target server>}
Table 4-1    Elements of the deployment command
Element    Description
i3-user    See Authenticate to CLI Utility on page 8.

i3-encrypted-password    See Authenticate to CLI Utility on page 8.

action    Always ssl-deployment.
Mandatory: Yes
server    SSL target server name
Value: String
Mandatory: No, unless you have more than one SSL Listener.

...