N2SVCD Configuration - PIApp
PI Application Configuration
The N2SVCD PI Application is a protocol gateway application which can perform client requests using the Man-Machine Language (MML) protocol used by the Oracle OCNCC "Provisioning Interface" service component running on an Oracle SMF node. The N-Squared Tester Application requires a PI Application instance to be installed in order to execute PI tests.
The following configuration is used to create a PI Application instance to act as a protocol gateway to an Oracle OCNCC Provisioning Interface. A single PI Application instance will maintain a pool of connections to a single PI Server Address. If you need to connect to more than one remote PI Server Address, you must configure multiple PI Application instances (each with unique names).
<?xml version="1.0" encoding="utf-8"?> <n2svcd> ... <applications> ... <application name="PI-SMF01" module="PIApp"> <include><lib>../apps/pi/lib</lib></include> <parameters> <parameter name="remote_host" value="10.42.2.154"/> <parameter name="remote_port" value="4999"/> <parameter name="username" value="admin"/> <parameter name="password" value="admin"/> <parameter name="pool" value="3"/> </parameters> </application> ... </application> ... </n2svcd>
application element attributes for a PI Application instance are:
[Required] A unique name for this application instance.
[Required] Array of
value Parameters for this Application instance.
[Required] IPv4 Host Name or A.B.C.D IPv4 Address for PI Server.
[Required] IPv4 Port Number for PI Server.
[Required] Username to present to OCNCC PI as credentials.
[Required] Password to present to OCNCC PI as credentials.
Number of simultaneous TCP client connections to this PI end-point.
(Default = 2).
Number of seconds to wait for a free connection before abandoning the request.
(Default = 10 seconds).
Number of seconds to wait on a submitted request before abandoning the request.
(Default = 20 seconds).
Time in seconds between attempts to re-connect a failed PI connection.
(Default = 5 seconds).
Note: The PI Server allows only one outstanding request per client connection.