Configurazione delle comunicazioni esterne

Affinché Agent Controller sia visibile ad altri client, deve aprire un dispositivo al quale connettersi. Questa connessione viene stabilita utilizzando una o più porte nell'host di distribuzione.  The Agent Controller uses different transport layers depending on the protocol being used by the client it is communicating with.  By default, the Agent Controller uses port 10002 for communication with clients using the older protocol and port 10006 for communication with clients using the new protocol.  Both are specified in the configuration file, serviceconfig.xml.  With the old protocol, additional ports are specified for secure connections (10003) and file transfer operations (10005).

Specifica di porte diverse per Agent Controller

You can indicate that a different port is to be used by the Agent Controller by modifying the Port element within the  <TransportLayer> sub-element.

To modify the port used for old protocol communication, follow these steps:

  1. Individuare il file di configurazione serviceconfig.xml.
  2. Aprire il file in un editor e ricercare il seguente frammento XML:
        <TransportLayer loadlib="tptpCCTL" type="TPTP_CCTL">
            <Configuration>
                <Port>10002</Port>
    <SecuredPort>10003</SecuredPort> <FilePort>10005</FilePort> <IsDataMultiplexed>false</IsDataMultiplexed> <ProcessPolling>true</ProcessPolling> <Jvm>C:\Program Files\Java\j2re1.4.2_08\bin\client\jvm.dll</Jvm> <Version>4.2.0</Version> <SecurityEnabled>false</SecurityEnabled> <Hosts configuration="default"> <Allow host="LOCAL"/> </Hosts>
            </Configuration>
            <CommandExtractor>tptpCmdExtr</CommandExtractor>
        </TransportLayer>
     
  3. Modificare il valore per l'attributo relativo alla porta con il numero di porta che Agent Controller deve utilizzare.

 

To modify the port used for new protocol communication, follow these steps:

  1. Individuare il file di configurazione serviceconfig.xml.
  2. Aprire il file in un editor e ricercare il seguente frammento XML:
        <TransportLayer loadlib="socketTL" type="TPTP_SOCKET">
            <Configuration>
                <Port>10006</Port>
            </Configuration>
            <CommandExtractor>tptpCmdExtr</CommandExtractor>
        </TransportLayer>
     
  3. Modificare il valore per l'attributo relativo alla porta con il numero di porta che Agent Controller deve utilizzare.

Icona NotaNota

L'applicazione client deve specificare un numero di porta uguale a quello del file di configurazione quando stabilisce la comunicazione con questo Agent Controller.

 

Attività correlate
Individuazione dei file di configurazione
Gestione di Agent Controller
 

Argomenti correlati

Backwards Compatibility in the Agent Controller


Copyright (C) 2005, 2006 Intel Corporation.