00197193-01_IM_SIPLACE_EDM_2_0_EN.pdf - 第45页
EDM V2.0 / Installation Manual Ausgabe 04/2012 Edition 6.3.1 Configuration Sets An EDM Configuration Set has a configu ration type of “ Siemens.SiplacePro.EDM.Common.Configuration.ConfigurationSet ” and contains a list o…

EDM V2.0 / Installation Manual Ausgabe 04/2012 Edition
default log4net.config
log4net_debug.config
Contain the EDM logging configuration for normal and debug
output.
Note: If you want to change the logging of all lines - that share
a configuration set - simply, replace the “Log4Net”
configuration set entry with the reference to the new logging
configuration (e.g. log4net_debug.config) and transfer the
changes to the affected lines.
workflows clientWorkflow.xml Contains the standard EDM Workflow used by the EDM Client
during the “Pull” operation. The files just moved from the root
configuration folder to the ‘workflows’ folder.
Table 6-7: List of the EDM configuration files
Manual configuration upgrade:
EDM 2.0 will try to convert the essential settings during the installation.
If you want to manually upgrade a configuration from EDM 1.x to 2.0 you may try use:
“EdmPsc.exe upgrade src [dst]” (‘src’ specifies the folder containing the old EDM 1.x
config; ‘dst’ is the destination folder for the new EDM 2.x configuration (if omitted the source folder
will also be used as destination folder).
All EDM configuration files are XML-based files. The “SystemConfig.xml” and
“CustromSettings.xml” files use the format of the Microsoft Dictionary Configuration-Sections
(<add key="x" value="y" />).
The default EDM configuration files found in the ‘defaultconfiguration’ directory of the EDM Setup
folder contain placeholders that are changed during installation — They thus cannot be used to
restore the standard configuration (at least not without additional modifications).
NOTICE
Create a backup the existing configuration before making any manual changes!
44

EDM V2.0 / Installation Manual Ausgabe 04/2012 Edition
6.3.1 Configuration Sets
An EDM Configuration Set has a configuration type of
“Siemens.SiplacePro.EDM.Common.Configuration.ConfigurationSet” and contains a
list of configuration files associated with the configuration set. EDM uses 15 standard entries,
custom configuration files (e.g. used in workflows) may be added as needed. All files referenced in
the configuration set must be stored in the EDM configuration directory (or any sub-folder except
“_cache”). The default configuration set (used by the configuration server or in local mode) is
named “EdmConfiguration.xml” and has to reside in the EDM Configuration folder.
Name Default Type
1
MachineConfig global\MachineConfig.xml ….Common.Configuration.MachineConfig
RoleConfig global\RoleConfig.xml ….Common.Configuration.RoleConfig
SystemConfig default\SystemConfig.xml ….Common.Configuration.SystemConfig
CommentConfig default\CommentConfig.xml ….Common.Configuration.CommentConfig
CustomConfig default\CustomConfig.xml ….Common.Configuration.CustomConfig
RequestConfig default\RequestConfig.xml ….Common.Configuration.RequestConfig
DataTransferConfig default\DataTransferConfig.xml ….DataTransferExtension.PushModeConfig
Rules default\NotificationFilterConfig.xml …Common.NotificationFilterConfig
Rules_DirectImport default\ClearingPoolImportFilterConfig.xml ….Common.NotificationFilterConfig
Rules_AutoReject default\ClearingPoolRejectFilterConfig.xml ….Common.NotificationFilterConfig
EmailFilter default\EmailNotificationFilterConfig.xml ….Common.NotificationFilterConfig
EmailSettings default\EmailConfig.xml (EDM EmailConfig)
DisplayConversionConfig default\DisplayConversionConfig.xml (Generic XML)
Log4Net default\log4net_debug.config (Log4Net)
ClientWorkflow workflows\clientWorkflow.xml (EDM Workflow)
Table 6-8: Standard EDM Configuration Set entries
NOTICE
The paths to the configuration files are relative to the location of the configuration set!
1
“…”: refers to „Siemens.SiplacePro.EDM“
45

EDM V2.0 / Installation Manual Ausgabe 04/2012 Edition
6.3.2 Machine Configuration
The Machine Configuration consists of a “<machines>” section containing a list of “<host>”
entries. Each entry has the following attributes:
• id (DNS-Name),
• alias (EDM-Display-Name)
• serverType (the type of the EDM installation, generally “LINE”)
• xmlHanling Flag
(See 6.3.6.31 for a description of the possible values. The default is “-1” which means
“ByServerType” and results in “1” for Lines and “9” for the Master)
Each host entry may also contain a list of <spiLine> child elements with the ‘path’ attribute
specifying the SIPLACE Pro path of the associated Line. The special values “[ALL]” and “[NONE]”
may also be used to indicate, that a host shall be assigned to all or no line. If no entry is found
EDM assumes, that it is assigned to all lines found in the local SIPLACE Pro installation.
Please remember, that An EDM Line Alias must meet the following criteria:
1. It must be unique
2. It must not be equal to the “id” of another entry (it may be equal to it’s own id though)
3. It may not be empty or consist of only whitespace characters (spaces tabs etc.)
4. It should not contain new lines.
The “id” (hostname) has to fulfil these criteria:
1. It must be unique
2. It must not be equal to the “alias” of another entry (it may be equal to it’s own alias though)
3. It may not be empty or consist of only whitespace characters (spaces tabs etc.)
4. It cannot contain new lines.
5. Only hostnames are allowed (EDM will not resolve IP-Addresses)
A sample Machine-Config file:
<configuration>
<configurationInfoname="Demo"version="2.0.0.0"comment="SampleConfiguration"
type="Siemens.SiplacePro.EDM.Common.Configuration.MachineConfig"/>
<machines>
<hostid="PC4711"alias="Lin e_01"serverType="LINE"xmlHandling="‐1 ">
<spiLinepath="System\Line1_A"/>
<spiLinepath="System\Line1_B"/>
</host>
</machines>
</configuration>
46