Concept Flash Directory: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
m (→‎Increasing Flash Directory Space: feedback: added example calculation)
m (added "Accessing Error Messages")
Line 79: Line 79:
This procedure shouldn't be applied into an IPVA. The IPVA increases the /seg parameter automatically depending on the available RAM.
This procedure shouldn't be applied into an IPVA. The IPVA increases the /seg parameter automatically depending on the available RAM.


==Accessing Error Messages==
The flash directory maintains a backlog of a few recent error messages.
Those messages are accessible either via the replicator status page or via the LDAP expert:
*'''Services/LDAP/Rep-Status/Flash Directory Status'''
*'''Services/LDAP/Expert/Flash Directory Status'''
<!-- == Related Articles == -->
<!-- == Related Articles == -->


[[Category:Concept|{{PAGENAME}}]]
[[Category:Concept|{{PAGENAME}}]]

Revision as of 12:38, 13 February 2013

The flash directory is a software module on top of the flash management module. It serves firmware-internally as a database offering an LDAP-like API.

Applies To

This information applies to

  • innovaphone PBXs, V9


More Information

+-------+ +-------------+ +-----------------+ | | | | | | | PBX | | LDAP Server | | LDAP Replicator | +-------+ +-------------+ +-----------------+ | | | | | +-----------+ | | | | +-----------------+ | +-------+ +-----------------+ +---| |----+ | | | |

   | Flash Directory |         | VARS  |    | FW Upload       |
   +-----------------+         +---+---+    +--------+--------+
           |  +--------------------+                 |
           |  |  +-----------------------------------+
           |  |  |
   +---------------+
   |               |
   | Flash Manager |
   +---------------+

Above: Illustration of the flash directory residing in between its applications and the flash manager. Other clients of the flash manager are shown.

Investigating Flash Directory Space

The current assignment of the available space for the flash directory can be investigated by issuing the following command towards the flash manager. mod cmd FLASHMAN0 info

The output may look as follows bottom 0xfe020000 base 0xfe020000 top 0xfffc0000 segsize 0x20000 segments 253 LDAP - used 6944k avail 87k owned 7040k (max 9728k) VARS - used 10k avail 90k owned 128k (max 256k)

 ...

Within the above excerpt the line beginning with LDAP shows the flash directory's utilization of flash space.

  • used 6944k tells how much payload is effectively in use
  • avail 87k tells how much space is available within the current 64KB segment. I.e. this value does not tell how much overall space is remaining.
  • owned 7040k tells how much space is occupied by the payload plus space that wasn't freed, yet
  • max 9728k tells how much space would be available as maximum

Increasing Flash Directory Space

Warning: The procedure described here shall always be applied after consulting the innovaphone support.

If for whatever reason the available space for the flash directory doesn't suffice the following tweak may help: config change FLASHDIR0 /seg <number-of-64KB-segments> Where <number-of-64KB-segments> is a number, denoting the available space in multiples of 64KB. Note: If the /seg parameter was once specified and is later on about to be removed or lowered, a loss of data will happen.

Example Calculation: 152 segments of 64KB yield a total of 9961472 Bytes or roughly 9.5MB.

Default settings for the flash directory segments(in number of 64KB segments)

  • IPxx10 128
  • IP6000 50
  • IP800 50
  • IP30x 50
  • IPVA up to 900

Obsolete V8 parameter /max

Within version 8 an additional parameter /max allowed to specify the maximum amount of object entries within the flash directory. E.g. as follows config change FLASHDIR0 /seg 80 /max 14000 This parameter /max has been deprecated from on version 9, where's no such limit in a practical sense.

IPVA Aspects

This procedure shouldn't be applied into an IPVA. The IPVA increases the /seg parameter automatically depending on the available RAM.

Accessing Error Messages

The flash directory maintains a backlog of a few recent error messages.

Those messages are accessible either via the replicator status page or via the LDAP expert:

  • Services/LDAP/Rep-Status/Flash Directory Status
  • Services/LDAP/Expert/Flash Directory Status