OVPA versions C.03.00.00 or later --> OVPM versions C.03.00.00 or later

NOTE: The product names used in this section are OVPA and OVPM, even though the names were different for earlier versions, as shown in the reference table.

OVPA communicates with OVPM using only the TCP protocol with the following port numbers:

 


Configuring the Ports for OVPA on HP-UX

1. Log in as user root.

2. Edit the /etc/services file to configure the port numbers for AGDBSERVER_PORT and REP_SERVER_PORT_RANGE.

agdbserver cccc/tcp
rep_server dddd/tcp


where cccc and dddd specify unused port numbers. agdbserver and rep_server will register themselves at the specified port numbers. If there are multiple data sources configured in the perflbd.rc file, then the first rep_server will use the "dddd" port number specified above. All other rep_server services will add one to the last used port number.

3. Restart the OVPA servers by executing:

/opt/perf/bin/mwa restart server

Example 1: only one rep_server running on the system

1. Log in as user root.

2. Edit the /etc/services file. Add the following lines:

agdbserver 14001/tcp
rep_server 14002/tcp

3. Restart the OVPA servers by executing:

/opt/perf/bin/mwa restart server

Example 2: three rep_servers running on the system

1. Log on as user root.

2. Edit the /etc/services file. Add the following lines:

agdbserver 14001/tcp
rep_server 14002/tcp


The first rep_server will register at port 14002. The second rep_server will register at port 14003.
The third rep_server will register at port 14004.

3. Restart the OVPA servers by executing:

/opt/perf/bin/mwa restart server


Configuring the Ports for OVPA on Sun Solaris Systems

1. Log in as user root.

2. Stop the OVPA server by executing:

/opt/perf/bin/mwa stop server

3. Stop the dced daemon by executing:

/etc/init.d/hplwdce stop

4. Edit the DCE startup script /etc/default/hplwdce. Uncomment out the following lines:

RPC_RESTRICTED_PORTS=ncadg_ip_udp[xxxx-yyyy] :ncacn_ip_tcp[xxxx-yyyy]

where [xxxx-yyyy] represents the range of addresses you have chosen. The default recommended range is [10500-10540].

5. Start the dced daemon by executing:

/etc/init.d/hplwdce start

6. Start the OVPA servers by executing:

/opt/perf/bin/mwa start server


Configuring the Ports for OVPA on AIX Systems

1. Log in as user root.

2. Stop the OVPA server by executing:

/usr/lpp/perf/bin/mwa stop server

3. Stop the dced daemon

4. Edit the DCE start up script /etc/dce/rc.dce. Add the following lines:

RPC_RESTRICTED_PORTS=ncadg_ip_udp[xxxx-yyyy] :ncacn_ip_tcp[xxxx-yyyy]
export
RPC_RESTRICTED_PORTS

5. Edit the script /etc/default/mwa. Uncomment out the following lines:

RPC_RESTRICTED_PORTS=ncadg_ip_udp[xxxx-yyyy] :ncacn_ip_tcp[xxxx-yyyy]
export
RPC_RESTRICTED_PORTS

where xxxx-yyyy is a range of unused ports calculated previously for the MWA_PORT_RANGE. The default recommended range is at least [10500-10540].

6. Start the dced daemon.

7. Start the OVPA servers by executing:

/usr/lpp/perf/bin/mwa start server


Configuring the Ports for OVPA on Tru64 UNIX Systems

1. Log in as user root.

2. Stop the OVPA server by executing:

/usr/opt/perf/bin/mwa stop server

3. Stop the dced daemon.

4. Edit the DCE startup script. Depending on your DCE software version, the DCE startup script is located as follows:

[xxxx-yyyy] represents the range of addresses you have chosen. The default recommended range is [10500-10540].

5. Edit the /etc/default/mwa file and uncomment out the following lines:

RPC_RESTRICTED_PORTS=ncadg_ip_udp[xxxx-yyyy] :ncacn_ip_tcp[xxxx-yyyy]
export RPC_RESTRICTED_PORTS

6. Start the dced daemon.

7. Start the OVPA servers by executing:

/usr/opt/perf/bin/mwa start server


Configuring the Ports for OVPA on Windows NT/2000 Systems

Please note that there is no capability of restricting the port ranges on the Windows NT/2000 platform on a per application basis. The MWA_PORT_RANGE for OVPA for Windows NT/2000 will be any port greater than 1023.

1. Edit the \%windir%\system32\drivers\etc\Services file.

agdbserver xxxx/tcp
rep_server yyyy/tcp


where xxxx and yyyy are unused port numbers. This will cause agdbserver and rep_server to register at the specified ports. If there are multiple data sources configured in the perflbd.mwc file, then the first rep_server will use the "yyyy" port specified above. All other rep_servers will add one to the last used port number.

3. Restart the OVPA servers. You can restart the OVPA services on Windows by using the OVPA GUI. From the main window, select the menu Agent _ Start/Stop. In the OVPA Services window, select the "Stop Services" button, then select the "Start Services" button.

Example 1: only one rep_server running on the system

1. Log in as user "Administrator".

2. Edit the \%windir%\system32\drivers\etc\Services file. Add the following lines:

agdbserver 20001/tcp
rep_server 20002/tcp

3. Restart the OVPA servers. You can restart the OVPA services on Windows by using the OVPA GUI. From the main window, select the menu Agent _ Start/Stop. In the OVPA Services window, select the "Stop Services" button, then select the "Start Services" button.

Example 2: three rep_servers running on the system

1. Log in as user "Administrator".

2. Edit the \%windir%\system32\drivers\etc\Services file. Add the following lines:

agdbserver 20001
rep_server 20002
rep_server 20003
rep_server 20004


3. Restart the OVPA servers. You can restart the OVPA services on Windows by using the OVPA GUI. From the main window, select the menu Agent _ Start/Stop. In the OVPA Services window, select the "Stop Services" button, then select the "Start Services" button.


Configuring Ports on the OVPM Side on HP-UX Systems

1. Log in as user root.

2. Configure a port range for the dced/rpcd dynamically allocated ports:

HP-UX 10.20 /sbin/init.d/ncs and /sbin/init.d/dce
HP-UX 11.00 /sbin/init.d/Rpcd and /sbin/init.d/dce

add the following lines:

RPC_RESTRICTED_PORTS=ncadg_ip_udp[xxxx-yyyy] :ncacn_ip_tcp[xxxx-yyyy]
export RPC_RESTRICTED_PORTS


where [xxxx-yyyy]represents the range of addresses you have chosen.

3. Edit the /var/opt/perf/vppm.env file and set RPC_RESTRICTED_PORTS environment variable to the following:

RPC_RESTRICTED_PORTS=ncadg_ip_udp[xxxx-yyyy] :ncacn_ip_tcp[xxxx-yyyy]
export RPC_RESTRICTED_PORTS

where xxxxx and yyyyy specify an unused range of port numbers. The formula for calculating the port range is:

2*# of connected OVPA system
+ # of connected data sources

4. Comment the following line for pvalarm in file /etc/services to look like:

#pvalarm 383/tcp

5. Kill and restart rpcd or dced daemon. Start the daemon in either of the following ways:

/opt/dce/sbin/rpcd

or

/opt/dce/sbin/dced -b

6. Restart the pvalarmd:

/opt/perf/bin/pvalarmd.start


Configuring Ports on the OVPM Side on Sun Solaris Systems

1. Log in as user root.

2. Stop the dced daemon by executing:

/etc/init.d/hplwdce stop

3. Edit the DCE startup script /etc/default/hplwdce. Uncomment out the following lines:

RPC_RESTRICTED_PORTS=ncadg_ip_udp[xxxx-yyyy] :ncacn_ip_tcp[xxxx-yyyy]
export RPC_RESTRICTED_PORTS

where [xxxx-yyyy]represents the range of addresses you have chosen.

4. Edit the /var/opt/perf/vppm.env file and set RPC_RESTRICTED_PORTS environment variable to the following:

RPC_RESTRICTED_PORTS=ncadg_ip_udp[xxxx-yyyy] :ncacn_ip_tcp[xxxx-yyyy]
export RPC_RESTRICTED_PORTS

where xxxxx and yyyyy specify an unused range of port numbers. The formula for calculating the port range is:

2*# of connected OVPA system
+ # of connected data sources

5. Comment the following line for pvalarm in file /etc/services to look like:

#pvalarm 383/tcp

6. Start the dced daemon by executing:

/etc/init.d/hplwdce start

7. Restart the pvalarmd:

/opt/perf/bin/pvalarmd.start

Example 1:

The OVPM system connects to system SYS1 which has 1 data source. System SYS2 has 2 data sources. OVPM connects to all data sources. The port range would be:
2*2 (number of OVPA systems)
+ 3 (number of connected data sources)
7 (total number of ports)

Set the RPC_RESTRICTED_ PORTS environment variable in the vppm.env and the /etc/default/hplwdce files to:

RPC_RESTRICTED_PORTS=ncadg_ip_udp[15001-15007] :ncacn_ip_tcp[15001-15007]
export RPC_RESTRICTED_PORTS

 

next