12.0 Supported Storage Types for MBeans

 


12.1 Supported Storage Types for MBeans : An Overview

12.2 Configuring Storage Types for MBeans

12.3 Configuring a Database


 

12.1 Supported Storage Types for MBeans : An Overview

 

Data held by the Multi-Protocol agent may either be stored in Text files, or in XML files, or in databases or be retrieved from external applications using system calls or from internal applications. The storage options depend on the data held by the run time agent. The AdventNet Multi-Protocol agent supports to provide the following storage options for the data held by agent.

Note: For non-tabular data, only Runtime Memory and Text File storage are supported.

 

12.2 Configuring Storage Types for MBeans

 

You can configure the required storage option for the MBean attributes using the JMX Compiler UI.  Code is generated based on the options specified.

 

Using JMX Compiler UI

12.3 Configuring Database

 

If storage in Database is provided for all or any of Tables of a MIB, the following Database parameters have to be provided to access the database.  Select  the Database option for configuring the following :

For example, let us assume that we have to provide storage in Database for the adiskTable of the AGENT-SAMPLE-MIB.  In order to proceed with this, do the following :

  1. Add the database file, (from an application which provides a ODBC driver) to the ODBC Data Source Administrator.  Provide a unique name for the file as "DatabaseTest".

  2. Once this is done,  you have to associate this data source to the adiskTable object in the MIB file. In this case, the DATABASE-URL should be "jdbc:odbc:DatabaseTest".

  3. Specify the Database driver name as "sun.jdbc.odbc.JdbcOdbcDriver".

  4. Specify a User Name and a Password. For Example, the User Name can be "AdventNet" and the Password can be "adventnet".

Note: The Database Name, URL, Driver, UserName,  and Password must be the same for all the Tables,  which provide database storage

 



Copyright © 1996-2004, AdventNet Inc. All Rights Reserved.