openlsd.multiple.admin.LSDInitDBMLFromConfigFiles Class Reference

Collaboration diagram for openlsd.multiple.admin.LSDInitDBMLFromConfigFiles:

Collaboration graph
[legend]

List of all members.


Detailed Description

Main Class to show an example of initialization of DB only from config files for Multiple Legacy support. One config file of LSD at a time is given.
It creates no storage as they should be automatically created when it will be necessary. However, even if they would be automatically created after when needed, The Storage administrator should handle filesystems creations and mounts and so LSDStorage creation using the LSDAdmin function (or Web interface).

Warning: The size in Lehacy must be less than real size since encryption should add some bytes. In general, depending on average files size and crypto mode, 5 percent less than the real size should be enough.

Author:
Frederic Bregier LGPL

Static Public Member Functions

static void main (String[] args)

Private Member Functions

 LSDInitDBMLFromConfigFiles (LSDLoadConfig llc)
boolean initLSD ()

Private Attributes

LSDDbAdmin admin = null
ConcurrentHashMap< Long,
LSDLegacy
LegacyHMap = null
LSDServerInstance[] LSI = null
String serverip = null

Constructor & Destructor Documentation

openlsd.multiple.admin.LSDInitDBMLFromConfigFiles.LSDInitDBMLFromConfigFiles ( LSDLoadConfig  llc  )  [private]

Create a LSDInitDB from driver ans server args

Parameters:
llc 


Member Function Documentation

static void openlsd.multiple.admin.LSDInitDBMLFromConfigFiles.main ( String[]  args  )  [static]

Main Class to show an example of initialization of DB only from config files.

Parameters:
args with 1-openlsddb client config file, and 2-openlsd server config file and 3-IP(or DNS entry) of LSD Server

boolean openlsd.multiple.admin.LSDInitDBMLFromConfigFiles.initLSD (  )  [private]

Sample of Initialization of LSD from DB point of vue: 4 IpPort, 4 Services and associated Legacies are created. If the Legacy are already created in DB, then nothing is done.

Returns:
True if OK, else False


Member Data Documentation

DB Admin

Legacy HMAP

LSI for the 4 Network service

IP of LSD server


The documentation for this class was generated from the following file: