Skip to content

Commit 289733e

Browse files
committed
Update comments and options in config files
- Set AMS as default messaging system. - Add AMS hosts (both prod and devel) as options. - Emphasise note about the server_cert. - Add token as commented out option. - Copy log level comments from sender to receiver conf.
1 parent 40c38c8 commit 289733e

File tree

2 files changed

+21
-11
lines changed

2 files changed

+21
-11
lines changed

conf/receiver.cfg

+12-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
[receiver]
22
# Either 'STOMP' for STOMP message brokers or 'AMS' for Argo Messaging Service
3-
protocol: STOMP
3+
protocol: AMS
44

55
[broker]
66

77
# The SSM will query a BDII to find brokers available. These details are for the
88
# EGI production broker network
9-
bdii: ldap://lcg-bdii.cern.ch:2170
10-
network: PROD
9+
#bdii: ldap://lcg-bdii.cern.ch:2170
10+
#network: PROD
1111
# Alternatively, 'host' and 'port' can be set manually (with 'bdii' and
1212
# 'network' commented out). This option MUST be used for AMS.
13-
#host:
13+
host: msg-devel.argo.grnet.gr
14+
#host: msg.argo.grnet.gr
1415
#port:
1516

1617
# broker authentication. If use_ssl is set, the certificates configured
@@ -25,17 +26,22 @@ check_crls: false
2526

2627
[messaging]
2728
# If using AMS this is the project that SSM will connect to. Ignored for STOMP.
28-
ams_project:
29+
ams_project: accounting
2930

3031
# Destination to which SSM will listen.
31-
destination: /queue/ssm2test
32+
destination: ssm2test
33+
34+
# Only use direct token auth with AMS if you've been provided with a token to use.
35+
#token:
3236

3337
# Accepted messages will be written to <path>/incoming
3438
# Rejected messages will be written to <path>/reject
3539
path: /var/spool/apel
3640

3741
[logging]
3842
logfile: /var/log/apel/ssmreceive.log
43+
# Available logging levels:
44+
# DEBUG, INFO, WARN, ERROR, CRITICAL
3945
level: INFO
4046
console: false
4147

conf/sender.cfg

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
[sender]
22
# Either 'STOMP' for STOMP message brokers or 'AMS' for Argo Messaging Service
3-
protocol: STOMP
3+
protocol: AMS
44

55
[broker]
66

77
# The SSM will query a BDII to find brokers available. These details are for the
88
# EGI production broker network
9-
bdii: ldap://lcg-bdii.cern.ch:2170
10-
network: PROD
9+
#bdii: ldap://lcg-bdii.cern.ch:2170
10+
#network: PROD
1111
# Alternatively, 'host' and 'port' may be set manually (with 'bdii' and
1212
# 'network' commented out). This option must be used for AMS.
13-
#host: msg-devel.argo.grnet.gr
13+
host: msg-devel.argo.grnet.gr
14+
#host: msg.argo.grnet.gr
1415
#port: 443
1516

1617
# broker authentication. If use_ssl is set, the certificates configured
@@ -23,7 +24,7 @@ key: /etc/grid-security/hostkey.pem
2324
capath: /etc/grid-security/certificates
2425

2526
# If supplied, outgoing messages will be encrypted using this certificate.
26-
# May be used in addition to 'use_ssl'. If used, it must be the certificate of
27+
# May be used in addition to 'use_ssl'. If used, it MUST be the certificate of
2728
# the final server that's receiving your messages; not your own, nor the broker.
2829
#server_cert: /etc/grid-security/servercert.pem
2930

@@ -34,6 +35,9 @@ ams_project: accounting
3435
# Queue to which SSM will send messages
3536
destination: gLite-APEL
3637

38+
# Only use direct token auth with AMS if you've been provided with a token to use.
39+
#token:
40+
3741
# Outgoing messages will be read and removed from this directory.
3842
path: /var/spool/apel/outgoing
3943
# If 'path_type' is set to 'dirq' (or if 'path_type' is omitted), the supplied

0 commit comments

Comments
 (0)