Skip to content
Snippets Groups Projects
Commit be0db021 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Use spaces for indenting in configuration example XML.

parent f352a1a0
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ServiceConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <ServiceConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!-- HostAlias: friendly name to be used for this machine in mails --> <!-- HostAlias: friendly name to be used for this machine in mails -->
<HostAlias>Confocal Microscope 2</HostAlias> <HostAlias>Confocal Microscope 2</HostAlias>
<!-- DestinationAlias: friendly name for the target to be used in mails --> <!-- DestinationAlias: friendly name for the target to be used in mails -->
<DestinationAlias>Core Facility Storage</DestinationAlias> <DestinationAlias>Core Facility Storage</DestinationAlias>
<!-- EmailPrefix: prefix label for email subjects --> <!-- EmailPrefix: prefix label for email subjects -->
<EmailPrefix>[Core Facility] </EmailPrefix> <EmailPrefix>[Core Facility] </EmailPrefix>
<!-- enable or disable debug log messages --> <!-- enable or disable debug log messages -->
<Debug>true</Debug> <Debug>true</Debug>
<!-- SourceDrive: base drive including backslash, e.g. "D:\" --> <!-- SourceDrive: base drive including backslash, e.g. "D:\" -->
<SourceDrive>XXX</SourceDrive> <SourceDrive>XXX</SourceDrive>
<!-- IncomingDirectory: directory on SourceDrive to watch for new files --> <!-- IncomingDirectory: directory on SourceDrive to watch for new files -->
<IncomingDirectory>AUTOTRANSFER</IncomingDirectory> <IncomingDirectory>AUTOTRANSFER</IncomingDirectory>
<!-- [OPTIONAL] MarkerFile: a file to place in each user's incoming <!-- [OPTIONAL] MarkerFile: a file to place in each user's incoming
directory, the file itself will be ignored for the transfers --> directory, the file itself will be ignored for the transfers -->
<MarkerFile>_DO_NOT_ACQUIRE_HERE_.txt</MarkerFile> <MarkerFile>_DO_NOT_ACQUIRE_HERE_.txt</MarkerFile>
<!-- ManagedDirectory: directory on SourceDrive where files and folders are <!-- ManagedDirectory: directory on SourceDrive where files and folders are
moved while queueing for their transfer (sub-directory "PROCESSING") moved while queueing for their transfer (sub-directory "PROCESSING")
and to store them for deferred delection after a grace period after and to store them for deferred delection after a grace period after
the transfer (sub-directory "DONE"). --> the transfer (sub-directory "DONE"). -->
<ManagedDirectory>ProgramData\AUTOTRANSFER</ManagedDirectory> <ManagedDirectory>ProgramData\AUTOTRANSFER</ManagedDirectory>
<!-- GracePeriod: number of days after data in the "DONE" location expires, <!-- GracePeriod: number of days after data in the "DONE" location expires,
which will trigger a summary email to the admin address. --> which will trigger a summary email to the admin address. -->
<GracePeriod>5</GracePeriod> <GracePeriod>5</GracePeriod>
<!-- DestinationDirectory: where files should be transferred to --> <!-- DestinationDirectory: where files should be transferred to -->
<DestinationDirectory>\\fileserver.mydomain.xy\share\</DestinationDirectory> <DestinationDirectory>\\fileserver.mydomain.xy\share\</DestinationDirectory>
<!-- TmpTransferDir: temporary directory relative to DestinationDirectory <!-- TmpTransferDir: temporary directory relative to DestinationDirectory
to be used for running transfers --> to be used for running transfers -->
<TmpTransferDir>AUTOTRANSFER-TMP</TmpTransferDir> <TmpTransferDir>AUTOTRANSFER-TMP</TmpTransferDir>
<!-- ServiceTimer: interval (in ms) for checking files and parameters --> <!-- ServiceTimer: interval (in ms) for checking files and parameters -->
<ServiceTimer>1000</ServiceTimer> <ServiceTimer>1000</ServiceTimer>
<!-- MaxCpuUsage: pause transfer if CPU usage is above this value (in %) --> <!-- MaxCpuUsage: pause transfer if CPU usage is above this value (in %) -->
<MaxCpuUsage>25</MaxCpuUsage> <MaxCpuUsage>25</MaxCpuUsage>
<!-- MinAvailableMemory: pause transfer if free RAM is below (in MB) --> <!-- MinAvailableMemory: pause transfer if free RAM is below (in MB) -->
<MinAvailableMemory>512</MinAvailableMemory> <MinAvailableMemory>512</MinAvailableMemory>
<!-- InterPacketGap: RoboCopy parameter to limit the bandwidth --> <!-- InterPacketGap: RoboCopy parameter to limit the bandwidth -->
<InterPacketGap>0</InterPacketGap> <InterPacketGap>0</InterPacketGap>
<SpaceMonitoring> <SpaceMonitoring>
<DriveToCheck> <DriveToCheck>
<DriveName>C:</DriveName> <DriveName>C:</DriveName>
<SpaceThreshold>20000</SpaceThreshold> <SpaceThreshold>20000</SpaceThreshold>
</DriveToCheck> </DriveToCheck>
<DriveToCheck> <DriveToCheck>
<DriveName>D:</DriveName> <DriveName>D:</DriveName>
<SpaceThreshold>120000</SpaceThreshold> <SpaceThreshold>120000</SpaceThreshold>
</DriveToCheck> </DriveToCheck>
</SpaceMonitoring> </SpaceMonitoring>
<!-- StorageNotificationDelta: how often to send storage notification mails <!-- StorageNotificationDelta: how often to send storage notification mails
in case one of the drives is below the threshold (in minutes) --> in case one of the drives is below the threshold (in minutes) -->
<StorageNotificationDelta>5</StorageNotificationDelta> <StorageNotificationDelta>5</StorageNotificationDelta>
<BlacklistedProcesses> <BlacklistedProcesses>
<ProcessName>calc</ProcessName> <ProcessName>calc</ProcessName>
<ProcessName>notepad</ProcessName> <ProcessName>notepad</ProcessName>
<ProcessName>wordpad</ProcessName> <ProcessName>wordpad</ProcessName>
</BlacklistedProcesses> </BlacklistedProcesses>
<SmtpHost>smtp.mydomain.xy</SmtpHost> <SmtpHost>smtp.mydomain.xy</SmtpHost>
<!--><SmtpHost /><--> <!--><SmtpHost /><-->
<SmtpPort>25</SmtpPort> <SmtpPort>25</SmtpPort>
<SmtpUserCredential /> <SmtpUserCredential />
<SmtpPasswortCredential /> <SmtpPasswortCredential />
<!-- SendAdminNotification: send email to user on finished transfers --> <!-- SendAdminNotification: send email to user on finished transfers -->
<SendTransferNotification>true</SendTransferNotification> <SendTransferNotification>true</SendTransferNotification>
<EmailFrom>admin@mydomain.xy</EmailFrom> <EmailFrom>admin@mydomain.xy</EmailFrom>
<!-- SendAdminNotification: notify admins via email of certain events --> <!-- SendAdminNotification: notify admins via email of certain events -->
<SendAdminNotification>true</SendAdminNotification> <SendAdminNotification>true</SendAdminNotification>
<!-- AdminNotificationDelta: how long to wait (in minutes) after sending an <!-- AdminNotificationDelta: how long to wait (in minutes) after sending an
admin notification before sending the next one --> admin notification before sending the next one -->
<AdminNotificationDelta>60</AdminNotificationDelta> <AdminNotificationDelta>60</AdminNotificationDelta>
<AdminEmailAdress>admin@mydomain.xy</AdminEmailAdress> <AdminEmailAdress>admin@mydomain.xy</AdminEmailAdress>
</ServiceConfig> </ServiceConfig>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment