Echelon OpenLNS User Manual

Page 904

Advertising
background image

OpenLNS Programmer's Reference

867

MgmtMode property will be set to

lcaMgmtModeDeferConfigUpdates (1). You will need

to set the property to

lcaMgmtModePropagateConfigUpdates (0) before

resuming normal operations.

If the recovery operation is aborted (by the computer being

turned off, for example), it is possible to resume recovery. To

do this, follow these steps:
1. Call the Open method of the Network object on the

appropriate network.

2. Call the Open method of the System

object.

3. Call the RecoverFromNetwork method of the

System

object with the resumeRecovery parameter set to True.

Note: The network recovery process should not be considered

a replacement for backing up your network database.

Although the network recovery process initiated by the

RecoverFromNetwork method can recover an entire network,

you may discover inconsistencies in the network database

depending on the network configuration and the size of the

database being recovered.
There are also many parts of an OpenLNS database that are

not recoverable, including most object names, connection

templates, hub/target relationships, and connections

involving

Network

Service Devices. As a result, you should

examine the recovered database before setting the

MgmtMode property to

lcaMgmtModePropagateConfigUpdates (0) once a

recovery has completed.
For more information on this, see the OpenLNS

Programmer’s Guide.

Availability

Local, full, and lightweight clients.

Syntax

systemObject.

RecoverFromNetwork

resumeRecovery, options

Element

Description

systemObject

The System object for the recovered

network.

resumeRecover

A Boolean value specifying

whether the process is resuming

from a previously started recovery.

options

A Long indicating the recovery

options.
The valid values for this element,

which are contained in the

ConstRecoveryOptions constant,

are as follows:
1

Advertising