Configuring Discovery Properties

Set properties in the <discoveries> or <agents> definition of the service-servlet-properties.xml file so that Sybase products can be discovered and listed in Sybase Control Center.

  1. Open a text editor and load <UAF-InstallDir>\services\EmbeddedWebContainer\container\Jetty-6.1.6\work\Jetty_0_0_0_0_8282_sysadminwebtool.war__sysadminwebtool__abcevf\webapp\WEB-INF\service-servlet-properties.xml.
  2. Choose and configure UDP or JINI as your discovery method in the <discoveries> definition. You can also configure both methods if you choose. UDP discovery is normally chosen in a production environment; it is faster than JINI. Therefore, JINI is disabled by default.
    1. To enable and configure UDP discovery, include the UDP <discovery> format in the <discoveries> definition. There is only one format for this method:
      <discovery>
      		<protocol> udp</protocol>
      	</discovery>
      
    2. To enable and configure JINI discovery, include any of these <discovery> formats in the <discoveries> definition.
      Format Syntax required
      JINI broadcast
      <discovery>
      		<protocol>jini</protocol>
      	</discovery>
      JINI server with the default port of 4160
      <discovery>
      		<protocol>jini</protocol>
      		<host>MyHost</host>
      	</discovery>
      JINI server with a different port
      <discovery>
      		<protocol>jini</protocol>
      		<host>MyHost</host>
      		<port>MyPort</port>
      </discovery>
      For example, a definition that contains both UDP and JINI broadcast would be defined as follows:
      <discoveries>
       <discovery>
      		 <protocol>udp</protocol>
       </discovery>
       <discovery>
      		 <protocol>jini</protocol>
       </discovery>
      </discoveries>
      Note: Do not repeat definitions. Each definition must be unique.
  3. If you have a server or agent that cannot be discovered by any of the discovery methods you define, you must manually add them to the <agents> definition. Agents you define take <host>, <port>, and <protocol> properties. For example, to configure RMI, your agent format may look like this:
    <agents>
     <agent>
       <host>localhost</host>
       <port>9999</port>
       <protocol>RMI</protocol>
     </agent>
    <agents>
  4. Save the changes.


Created September 17, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com