00197193-02_IM_SIPLACE_EDM_2.1_EN - 第50页

EDM V2.1 / I nstallat ion Ma nual Ausgabe 11/2012 E dition 50 </ configuration > 6.3.6 System Configuration The perm itted k eys used ar e described in brief in T able 6- 10 . The indi vidual entri es are spec ifie…

100%1 / 73
EDM V2.1 / Installation Manual Ausgabe 11/2012 Edition
49
6.3.5 Role Configuration
The Role Configuration consists of a “<roles>” section containing a list of “<role>” entries. Each
entry has the following attributes:
id: Id of the role),
line: Pattern to match against the ‘Line-Alias’ (or the Host-Name if no alias is configured)
application: Pattern to match against the name of the EDM Application (e.g. EdmClient))
spiUser: Pattern to match against the SIPLACE user name (currently always ‘System’ as
EDM does not support any User Management).
windowsUser: Pattern to match against the Windows user name running the EDM
Application (Note: the EDM service normally runs as “SYSTEM” user).
lineServerRole: Pattern to match against the “server type” of the EDM Application
(e.g. “LINE”)
edmVersion: Pattern to match against the EDM version
pattern: Specified the pattern matching algorithm to use. Supported values:
“regex” (or “regularexpression”) to use Regular-Expressions.
“” (or omitting the attribute) to use simple case insensitive string comparison.
index: used to define the priority of the roles (highest index => lowest priority).
The following rules apply:
1. The “id” of each entry must be unique.
2. Currently the recognized pattern value is “regex” (otherwise a case insensitive string
comparison is used).
3. The “pattern” attribute changes the comparison of all values.
4. The first match (by index) is used. This implies the “default” configuration has to have the
highest “index” otherwise all following entries are ignored.
5. If no matching entry is found the standard EDM Configuration
[ConfigDir]\EdmConfiguration.xml will be used.
6. The referenced configuration file has to exist and has to be a valid EdmConfigurationSet
(Otherwise the default EDM configuration file (see above) will be used - which could lead to
unexpected behaviour).
7. The path of the configuration file is relative to the EDM configuration directory (not to the
location of the role configuration file).
Sample Role-Config file:
<configuration>
<configurationInfo name=" Role mapping" version="2.0.0.0" comment="Sample"
type="Siemens.SiplacePro.EDM.Common.Configuration.RoleConfig" />
<roles>
<!-- Role using regular expression to match the line server name -->
<role id="NPI"
line="NPI-Line_.*"
application=""
configuration="Edm-NPI-Configuration.xml"
spiUser=""
windowsUser="EdmNpi"
lineServerRole=""
pattern="regex"
index="0" />
<!—- Fallback configuration for all other lines -->
<role id="Default" application="" line="" spiUser="" windowsUser=""
configuration="EdmConfiguration.xml" index="1" />
</roles>
EDM V2.1 / Installation Manual Ausgabe 11/2012 Edition
50
</configuration>
6.3.6 System Configuration
The permitted keys used are described in brief in Table 6-10. The individual entries are specified in
detail starting with section 6.3.6.1 (some values might not have a detailed description).
For purposes of legibility, abbreviations are used in the table. The abbreviations are explained in
Table 6-9.
Table entry Meaning
Enum Enumeration type. The ordinals valid for each key are shown in the
corresponding explanation.
String Character string
Boolean String value of “true” or “false”
Integer String value describing a number
Time Time specification in the format "
P0Y0M0DT0H15M0S
" (short form: “
PT15M
)
Class .NET class in the format
[ClassName][,Assembly]
Path Windows path specification
File Windows file specification
Endpoint Communication endpoint. The exact format depends on the transfer protocol.
Section Subsection with several values. The entries valid for each key are shown in the
corresponding explanation.
C Valid for: Clearing Pool
L Valid for: Line Server
M Valid for: Master Server
T Valid for: EDM Tool
S Valid for: Configuration Server
F Valid for: Configuration Manager
P Valid for: Data Transfer Manager (Push)
All Valid for: All EDM Applications that use the configuration (short for CLMTSFP)
R Required
D Default value. Input is only necessary if a different setting is desired.
Table 6-9: Legend
EDM V2.1 / Installation Manual Ausgabe 11/2012 Edition
51
Example: The basic structure of the EDM SystemConfig.xml file
<configuration>
<configurationInfo name=”…” version=”2.0.0.1” />
<!- - This is a comment - - >
<appSetting>
<add key="masterServer" value="EDM-Master"/>
<add key="notificationInterval" value="P0Y0M0D0H15M0S"/>
</appSettings>
<! - - This is a configuration parameter of the type "Section" - ->
<endpointConfig>
<add key="*" value="Private$\EDM"/>
</endpointConfig>
<add key="
notificationDistributorConfiguratorClass"
value=
"Siemens.SiplacePro.EDM.UserInterface.EmailConfigurator,UserInterface" />
</configuration>
The keys and sections permitted are listed in the following table:
Key Format
(Default)
Type Contents
communicationTimeout Time
(PT10M)
All
Timeout for communication between
line and Master Server (6.3.6.16)
compressionType Enum
(Zip)
All
Compression for data transfer
(6.3.6.20).
edmToolEndPoint Endpoint L;M;T;P;R End point for messages to the EDM
tool. (6.3.6.14)
endpointConfig Section M;R Endpoint configuration for the
exchange of data (6.3.6.15)
helpDirectory Path All;D Path for help files (6.3.6.2)
incomingClearingPoolRequests Endpoint M;C;R Endpoint for incoming queries to the
Clearing Pool (6.3.6.13)
incomingNotifications Endpoint M;R Endpoint for incoming change
notifications to the master (6.3.6.12)
incomingRequests Endpoint M;R Endpoint for incoming queries to the
master (6.3.6.11)
masterNotifications Endpoint L;R Destination for change notifications
(6.3.6.10)
masterRequests Endpoint A;R Requests to the EDM Service (6.3.6.9)
masterServer String L;M;C;P;R Network identification of the Master
Server (6.3.6.7)
notificationDistributorClass Class M;F;D Class for external notifications (e.g.
email)
notificationDistributor
ConfiguratorClass
Class M;F;D Configuration for external notification
system (e.g. email) (6.3.6.4)
notificationInterval Time
(PT15M)
L; D
Time to transfer the change notification
to the master (6.3.6.5)
notificationStorage Endpoint L; D Temporary storage for change
notifications
Endpoint
Key
Value
Class
Section
Time