Sunday, February 19, 2017

Property Defaults

Miranda properties and their default values:

Miscellaneous properties. 

These properties have "com.lsllc.miranda" as their prefix.

Name Default Description
DelayBetweenRetries 10000 The amount of time, in milliseconds that the sytem waits before retrying a connection to another node.
DeliveryDirectory data/deliveries The directory where deliveries files are kept.
FileCheckPeriod 1000 The amount of time, in milliseconds, that the systems wait in between chececks to see if any files have changed.
GarbageCollectionPeriod 3600000 The amont of time, in milliseconds, the system waits before doing a collection of old users, topics and subscriptions.
Log4jFile log4j.xml The log4j cofiguration file.
MaxWriteFailures 5 The number of times that the sytem tries to write out a file when before giving up, when shutting down.
MessageDirectory data/messages The directory where the system keeps the message files.
MessageFileSize 100 The number of events (messages) in a single event file.
MessagePort 443 The TCP port that the system listens for clients to send events (messages) to.
Network mina The network library that the system uses.
PropertiesFile mirnda.properties The properties file for the system.
SubscriptionsFile data/subscriptions.json The file the system uses for suscriptions.
TopicsFile data/topics.json The file where the system keeps the topics.
UsersFiledata/users.jsonThe file where the system keeps the users.

Cluster Properties

These properties pertain to the operation of the system cluster.  They all share the prefix: "com.ltsllc.miranda.cluster"

Name Default Description
File data/cluster.json The file that contains the nodes that make up the cluster
HealthCheckPeriod 86400000 The period of time, in milliseconds, that the system checks if a node is up.
Port 6789 The port that the system waits for new nodes to connect on.
Timeout 604800000 The amount of time, in milliseconds, that a node can be down before the system concludes that the node is dead.

Encryption Properties

These properties effect the way that the system uses encryption.  Each uses "com.ltsllc.miranda.encytion" as a prefix to its name.  Entries in bold have no default value.

Name Default Description
CertificateAlias server The alias of the certificacte that the system presents to other nodes.
KeyStore serverkeystore The file that contains the server private key. The file must be in Java Keystore format.
KeyStoreAlias server The alias of the server private key.
KeyStorePassword none The password for the keystore.
Mode localCA The encryption mode used by the system.
Truststore truststore The file that contains the certificate used to sign the other certificates.
TruststoreAlias ca The alias of the certificate used to sign the other certificates.
TruststorePassword none The password for the truststore

HTTP Properties

These properties govern how the system uses HTTP and HTTPS.  All properties have the prefix "com.ltsllc.miranda.http"

Name Default Description
Base html The directory that contains the system's HTML and other web-oriented files.
HttpPort 80 The TCP port that the system listens for new HTTP connections on.
Server jetty The web server to use.
SslPort 443 The TCP port that the system listens for new HTTPS connections on.

"My" Properties

These properties control what is sent with a join message.  None of these properties have default values.  All of these properties have the prefix "com.ltsllc.miranda.my"

Name Default Description
Description none A human-readable desciption of the node,
dns none The DNS name of the system.
ip none The IP address of the system.
Port none The TCP port that the system listens to for new nodes.

Panic Properties

These properties control how the system responds to panics.  All these properties have the prefix "com.ltsllc.miranda.panic"

Name Default Description
Limit 3 How many recovable panics the system will handle before it terminates.
Timeout 3600000 The amount of time, in milliseconds, that the system waits before decrementing the panic count.


No comments:

Post a Comment