From Crippled Pintail, 5 Months ago, written in Plain Text.
  1. # mfsmaster.cfg(5)
  2.  
  3. ## Personality of this instance of metadata server ('master' or 'shadow').
  4. ## 'master' means that this instance of metadata server acts as main
  5. ## metadata server govering all file system metadata modifications.
  6. ## 'shadow' means that this instance of metadata server acts as backup
  7. ## metadata server ready for immediate deployment as new 'master' in case
  8. ## of current 'master' failure.
  9. ## Only one metadata server in LizardFS shall have 'master' personality.
  10. PERSONALITY = master
  11.  
  12. ## Password for administrative connections and commands.
  13. # ADMIN_PASSWORD =
  14.  
  15. ## User to run daemon as.
  16. WORKING_USER = lizardfs
  17.  
  18. ## Group to run daemon as (if empty then default user group will be used).
  19. WORKING_GROUP = lizardfs
  20.  
  21. ## Name of process to place in syslog messages.
  22. ## (Default: mfsmaster)
  23. SYSLOG_IDENT = mfsmaster
  24.  
  25. ## Whether to perform "mlockall()" to avoid swapping out mfsmaster process,
  26. ## boolean value (0 or 1).
  27. ## (Default: 0)
  28. # LOCK_MEMORY = 0
  29.  
  30. ## Nice level to run daemon with, when possible to set.
  31. ## (Default: -19)
  32. # NICE_LEVEL = -19
  33.  
  34. ## Path to mfsexports.cfg file
  35. ## (Default: /etc/lizardfs/mfsexports.cfg)
  36. # EXPORTS_FILENAME = /etc/lizardfs/mfsexports.cfg
  37.  
  38. ## Path to mfstopology.cfg file
  39. ## (Default: /etc/lizardfs/mfstopology.cfg)
  40. # TOPOLOGY_FILENAME = /etc/lizardfs/mfstopology.cfg
  41.  
  42. ## Path to mfsgoals.cfg file
  43. ## (Default: /etc/lizardfs/mfsgoals.cfg)
  44. # CUSTOM_GOALS_FILENAME = /etc/lizardfs/mfsgoals.cfg
  45.  
  46. ## Location for metadata files.
  47. ## (Default: /var/lib/lizardfs)
  48. # DATA_PATH = /var/lib/lizardfs
  49.  
  50. ## When this option is set (equals 1) master will try to recover metadata
  51. ## from changelog when it is being started after a crash; otherwise it will
  52. ## refuse to start and 'mfsmetarestore' should be used to recover the metadata.
  53. ## (Default: 0)
  54. # AUTO_RECOVERY = 0
  55.  
  56. ## Number of metadata change log files.
  57. ## (Default: 50)
  58. # BACK_LOGS = 50
  59.  
  60. ## Number of previous metadata files to be kept.
  61. ## (Default: 1)
  62. # BACK_META_KEEP_PREVIOUS = 1
  63.  
  64. ## Initial delay in seconds before starting chunk operations.
  65. ## (Default: 300)
  66. # OPERATIONS_DELAY_INIT = 300
  67.  
  68. ## Chunk operations delay in seconds after chunkserver disconnection.
  69. ## (Default: 3600)
  70. # OPERATIONS_DELAY_DISCONNECT = 3600
  71.  
  72. ## IP address to listen on for metalogger connections (* means any).
  73. # MATOML_LISTEN_HOST = *
  74.  
  75. ## Port to listen on for metalogger connections.
  76. ## (Default: 9419)
  77. # MATOML_LISTEN_PORT = 9419
  78.  
  79. ## How many seconds of change logs to be preserved in memory.
  80. ## Note: logs are stored in blocks of 5k lines, so sometimes real number of
  81. ## seconds may be little bigger; zero disables extra logs storage.
  82. ## (Default: 600)
  83. # MATOML_LOG_PRESERVE_SECONDS = 600
  84.  
  85. ## IP address to listen on for chunkserver connections (* means any).
  86. MATOCS_LISTEN_HOST = *
  87.  
  88. ## Port to listen on for chunkserver connections
  89. ## (Default: 9420)
  90. MATOCS_LISTEN_PORT = 9420
  91.  
  92. ## IP address to listen on for client (mount) connections (* means any).
  93. MATOCL_LISTEN_HOST = *
  94.  
  95. ## Port to listen on for client (mount) connections
  96. ## (Default: 9421).
  97. MATOCL_LISTEN_PORT = 9421
  98.  
  99. ## IP address to listen on for tapeserver connections (* means any).
  100. # MATOTS_LISTEN_HOST = *
  101.  
  102. ## Port to listen on for tapeserver connections
  103. ## (Default: 9424)
  104. # MATOTS_LISTEN_PORT = 9424
  105.  
  106. ## Chunks loop shouldn't check more chunks per seconds than given number.
  107. ## (Default: 100000)
  108. # CHUNKS_LOOP_MAX_CPS = 100000
  109.  
  110. ## Chunks loop will check all chunks in specified time (in seconds) unless
  111. ## CHUNKS_LOOP_MAX_CPS will force slower execution.
  112. ## (Default: 300)
  113. # CHUNKS_LOOP_MIN_TIME = 300
  114.  
  115. ## Time in milliseconds between chunks loop execution.
  116. ## (Default: 1000)
  117. # CHUNKS_LOOP_PERIOD = 1000
  118.  
  119. ## Hard limit on CPU usage by chunks loop (percentage).
  120. ## (Default: 60)
  121. # CHUNKS_LOOP_MAX_CPU = 60
  122.  
  123. ## Soft maximum number of chunks to delete on one chunkserver.
  124. ## (Default: 10)
  125. # CHUNKS_SOFT_DEL_LIMIT = 10
  126.  
  127. ## Hard maximum number of chunks to delete on one chunkserver.
  128. ## (Default: 25)
  129. # CHUNKS_HARD_DEL_LIMIT = 25
  130.  
  131. ## Maximum number of chunks to replicate to one chunkserver.
  132. ## (Default: 2)
  133. # CHUNKS_WRITE_REP_LIMIT = 2
  134.  
  135. ## Maximum number of chunks to replicate from one chunkserver
  136. ## (Default: 10)
  137. # CHUNKS_READ_REP_LIMIT = 10
  138.  
  139. ## Percentage of endangered chunks that should be replicated with high priority.
  140. ## Example: when set to 0.2, up to 20% of chunks served in one turn would be extracted
  141. ## from endangered priority queue.
  142. ## When set to 1 (max), no other chunks would be processed as long as there are
  143. ## any endangered chunks in the queue (not advised)
  144. ## (Default: 0), i.e. there is no overhead for prioritizing endangered chunks.
  145. # ENDANGERED_CHUNKS_PRIORITY = 0
  146.  
  147. ## Max capacity of endangered chunks queue. This value can limit memory
  148. ## usage of master server if there are lots of endangered chunks in the
  149. ## system. This value is ignored if ENDANGERED_CHUNKS_PRIORITY is set to 0.
  150. ## (Default: 1Mi), i.e. no more than 1Mi chunks will be kept in a queue.
  151. # ENDANGERED_CHUNKS_MAX_CAPACITY = 1Mi
  152.  
  153. ## A maximum difference between disk usage on chunkservers that doesn't trigger
  154. ## chunk rebalancing. Value is fraction of one (i.e. 0.1 is 10%).
  155. ## (Default: 0.1)
  156. # ACCEPTABLE_DIFFERENCE = 0.1
  157.  
  158. ## When balancing disk usage, allow moving chunks between servers with
  159. ## different labels. Value is boolean i.e. '0' means that chunks will be
  160. ## moved only between servers with the same label.
  161. ## (Default: 0)
  162. # CHUNKS_REBALANCING_BETWEEN_LABELS = 0
  163.  
  164. ## Interval of freeing inodes being unused for longer than 24 hours in seconds.
  165. ## (Default: 60)
  166. # FREE_INODES_PERIOD = 60
  167.  
  168. ## Whether to update inode access time on every access,
  169. ## boolean value (0 or 1)
  170. ## (Default: 0)
  171. NO_ATIME = 1
  172.  
  173. ## Time in seconds for which client session data (e.g. list of open files) should be
  174. ## sustained in the master server after connection with the client was lost.
  175. ## Values between 60 and 604800 (one week) are accepted.
  176. ## (Default: 86400)
  177. # SESSION_SUSTAIN_TIME = 86400
  178.  
  179. ## Reject mfsmounts older than 1.6.0 (Boolean, 0 or 1).
  180. ## Note that mfsexports access control is NOT used for those old clients.
  181. ## (Default is 0)
  182. # REJECT_OLD_CLIENTS = 0
  183.  
  184. # GLOBALIOLIMITS_FILENAME = /etc/lizardfs/globaliolimits.cfg
  185.  
  186. ## How often mountpoints will request bandwidth allocations under constant,
  187. ## predictable load.
  188. ## (Default: 0.1)
  189. # GLOBALIOLIMITS_RENEGOTIATION_PERIOD_SECONDS = 0.1
  190.  
  191. ## After inactivity, no waiting is required to transfer the amount of data
  192. ## equivalent to normal data flow over the period of that many milliseconds.
  193. ## (Default: 250)
  194. # GLOBALIOLIMITS_ACCUMULATE_MS = 250
  195.  
  196. # MFSMETARESTORE_PATH = /usr/sbin/mfsmetarestore
  197.  
  198. ## Delay in seconds before trying to reconnect to metadata server
  199. ## after disconnection.
  200. ## Mandatory for "shadow" instance.
  201. ## (Default: 5)
  202. # MASTER_RECONNECTION_DELAY = 5
  203.  
  204. ## Address of the host running LizardFS metadata server that currently
  205. ## acts as master.
  206. ## Mandatory for "shadow" instance.
  207. MASTER_HOST = mfsmaster
  208.  
  209. ## Port number where LizardFS metadata server currently running as master
  210. ## listens for connections from shadow's and metaloggers.
  211. ## Mandatory for "shadow" instance.
  212. ## (Default: 9419)
  213. MASTER_PORT = 9419
  214.  
  215. ## Timeout (in seconds) for metadata server connections;
  216. ## Mandatory for "shadow" instance.
  217. ## (Default: 60)
  218. # MASTER_TIMEOUT = 60
  219.  
  220. ## How often metadata checksum shall be sent to backup servers, every N metadata updates.
  221. ## (Default: 50)
  222. # METADATA_CHECKSUM_INTERVAL = 50
  223.  
  224. ## How fast should metadata be recalculated in background, N objects per function call.
  225. ## (Default: 100)
  226. # METADATA_CHECKSUM_RECALCULATION_SPEED = 100
  227.  
  228. ## Should checksum verification be disabled while applying changelog, boolean.
  229. ## (Default: 0)
  230. # DISABLE_METADATA_CHECKSUM_VERIFICATION = 0
  231.  
  232. ## Minimal time in seconds between metadata dumps caused by requests from shadow masters.
  233. ## (Default: 1800)
  234. # METADATA_SAVE_REQUEST_MIN_PERIOD = 1800
  235.  
  236. # deprecated:
  237. # CHUNKS_DEL_LIMIT - use CHUNKS_SOFT_DEL_LIMIT instead
  238.  
  239. ## Use Berkley DB for file/directory name storage (Boolean, 0 or 1).
  240. ## By default system memory is used for storing file/directory names.
  241. ## With this option enabled Berkeley DB is used for storing
  242. ## names in file (/var/lib/lizardfs/name_storage.db)
  243. ## (Default: 0)
  244. # USE_BDB_FOR_NAME_STORAGE = 1
  245.  
  246. ## Size of memory cache (in MB) for file/directory names used
  247. ## by Berkeley DB storage.
  248. ## (Default: 10)
  249. # BDB_NAME_STORAGE_CACHE_SIZE = 10
captcha