00197458-01_UG_EDM_V2.2_en - 第64页

EDM V2.2 / U ser Guid e Ausgabe 10/2013 E dition 64 6.2.1 Configuration Sets An EDM Configur ation Set has a config uration type of " Siemens.SiplacePro.EDM.Common.Configuration.ConfigurationSet " an d c ontain…

100%1 / 94
EDM V2.2 / User Guide Ausgabe 10/2013 Edition
63
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-5: List of the EDM configuration files
Manual configuration upgrade
EDM 2.x will try to convert the essential settings during the installation.
If you want to manually upgrade a configuration from EDM 1.x to 2.x 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).
In EDM 2.x, EdmPsc.exe also creates an "EDM 2.x" compatibility configuration.
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 of the existing configuration before you make any manual changes!
EDM V2.2 / User Guide Ausgabe 10/2013 Edition
64
6.2.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)
NotificationDisplay notifications\NotificationDisplayTemplates.r
esx
EDM User Language customized messages
ClientWorkflow
workflows\clientWorkflow.xml (EDM Workflow)
Table 6-6: Standard EDM Configuration Set entries
1)
"…": refers to Siemens.SiplacePro.EDM
NOTICE
The paths to the configuration files are relative to the location of the configuration set!
EDM V2.2 / User Guide Ausgabe 10/2013 Edition
65
6.2.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")
xmlHandling Flag
(See 6.2.6.29 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 its 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 its 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>
<configurationInfo name="Demo" version="2.0.0.0" comment="Sample Configuration"
type="Siemens.SiplacePro.EDM.Common.Configuration.MachineConfig"/>
<machines>
<host id="PC4711" alias="Line_01" serverType="LINE" xmlHandling="-1">
<spiLine path="System\Line1_A" />
<spiLine path="System\Line1_B" />
</host>
</machines>
</configuration>