[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Configuring Data Integrators

To configure a data integrator, you must create a property file that contains specific properties for the overall data transfer and for the individual data processors. When you create a property file, you must:

  1. Define logging properties by using the standard property names and values for SRC logging. To define the logging properties, use the following format:
  2. Logger.<groupName>.<propertyName>=<value> 
    
    
    

For detailed information about configuring logging properties, see SRC-PE Monitoring and Troubleshooting Guide, Chapter 4, Configuring Logging for SRC Components on a Solaris Platform.

  1. Define properties for the individual processors. The properties that you must or can configure depend on the particular processor. To define properties for the processors, use the following format:
  2. Processor.<processorName>.<propertyName>=<value> 
    
    
    

To define properties for each processor, see:

For detailed information about each processor, see the online documentation in the SRC software distribution in SDK/doc/dataint.

  1. Define the order in which the processors are called. To define the order in which the processors will be executed, enter one statement in the following format:
  2. Processor.chain=<comma-separated list of names of processors in order>
    
    
    

For example:

Processor.chain=dbreader,toldap,xmlfilewriter,ldapwriter 

Defining Properties for the Database Reader

You must define the following properties for this processor:

For information about optional properties for this processor, see the online documentation in the SRC software distribution in SDK/doc/dataint.

The following example is a property file for this processor:

# Database Reader
Processor.dbreader.class=net.juniper.smgt.ent.datamgt.reader.DBReader
Processor.dbreader.driverClass=org.gjt.mm.mysql.Driver
Processor.dbreader.dbURL=jdbc:mysql://127.0.0.1:3306/vpn
Processor.dbreader.user=admin
Processor.dbreader.password=secret
Processor.dbreader.genData=true
Processor.dbreader.out=dom

# The SQL query 
Processor.dbreader.dbQuery=SELECT vpn_ownership.vpn_id, 
vpn_ownership.vpn_owner,vpn_sites.router_name,vpn_sites.interface_name    FROM 
vpn_ownership, vpn_sites where vpn_ownership.vpn_id=vpn_sites.vpn_id

# XML element names
Processor.dbreader.elname.database=database
#Processor.dbreader.elname.record=record

Defining Properties for the LDAP Reader

This processor obtains the query it performs as an XML document from the previous processor in the chain, and you do not need to define the query. You must, however, define the following properties for this processor:

For information about DES properties and values, see SRC-PE Getting Started Guide, Chapter 32, Distributing Directory Changes to SRC Components on a Solaris Platform.

For information about optional properties for this processor, see the online documentation in the SRC software distribution in SDK/doc/dataint.

The following example is a property file for this processor:

Processor.ldapreader.class=net.juniper.smgt.ent.datamgt.reader.LDAPReader
Processor.ldapreader.java.naming.provider.url = ldap://127.0.0.1/
Processor.ldapreader.java.naming.security.principal = cn=umcadmin,o=umc
Processor.ldapreader.java.naming.security.credentials = admin123
Processor.ldapreader.continuous=true
Processor.ldapreader.java.naming.provider.url = ldap://127.0.0.1/

Defining Properties for the XML File Reader

You must define the following properties for this processor:

The following example is a property file for this processor:

Processor.xmlfilereader.class=net.juniper.smgt.ent.datamgt.reader.XMLFileReader
Processor.xmlfilereader.XMLFileName=var/log/dbout.xml

Defining Properties for the Enterprise Audit File Reader

You must define the following properties for this processor:

For information about optional properties for this processor, see the online documentation in the SRC software distribution in SDK/doc/dataint.

The following example is a property file for this processor:

Processor.auditfilereader.class=net.juniper.smgt.ent.datamgt.reader.EntAuditFileReader
Processor.auditfilereader.auditFileName=ent_audit.log
Processor.auditfilereader.filter=(Action=Unexport-VPN) 

Defining Properties for the XML File Writer

You must define the following properties for this processor:

The following example is a property file for this processor:

Processor.xmlfilewriter.class=net.juniper.smgt.ent.datamgt.filter.XMLFileWriter
Processor.xmlfilewriter.XMLFileName=var/log/ldapout.xml 

Defining Properties for the XSLT Translator

You must define the following properties for this processor:

The following example is a property file for this processor:

Processor.toabstract.class=net.juniper.smgt.ent.datamgt.filter.XSLTTranslator
Processor.toabstract.XSLTFileName=xslt/vpn.xslt 

Defining Properties for the LDAP Writer

You must define the following properties for this processor:

For information about DES properties and values, see SRC-PE Getting Started Guide, Chapter 32, Distributing Directory Changes to SRC Components on a Solaris Platform.

For information about optional properties for this processor, see the online documentation in the SRC software distribution in SDK/doc/dataint.

The following example is a property file for this processor:

Processor.ldapwriter.class=net.juniper.smgt.ent.datamgt.filter.LDAPWriter
Processor.ldapwriter.java.naming.provider.url = ldap://127.0.0.1/
Processor.ldapwriter.java.naming.security.principal = cn=umcadmin,o=umc
Processor.ldapwriter.java.naming.security.credentials = admin123
Processor.ldapwriter.updateRateLimit=3
Processor.ldapwriter.continuous=true 

[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]