<html><head><meta http-equiv="content-type" content="text/html; charset=GB2312"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: Î¢ÈíÑźÚ; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Hi &nbsp;all£º</div><div><span style="background-color: rgba(0, 0, 0, 0);">&nbsp; &nbsp;&nbsp;</span><span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 1.5;">&nbsp; &nbsp;&nbsp;</span><span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 1.5;">I ask about ALU-related configuration, should be configured in any place?&nbsp;</span></div><ul style="font-family: arial, sans-serif; font-size: small; line-height: 16.8999996185303px;"><li style="margin-top: 0.2em; margin-bottom: 0.2em;"><b>ALU Scheduler Volume example</b></li></ul><pre style="font-size: 1em; border: 1px dashed rgb(102, 102, 102); padding: 15px 20px; overflow: auto; background-color: rgb(238, 238, 238); background-position: initial initial; background-repeat: initial initial;">volume bricks
  type cluster/unify
  subvolumes brick1 brick2 brick3 brick4 brick5
  <b>option alu.read-only-subvolumes brick5</b> # This option makes brick5 to be readonly, where no new files are created.
  <b>option scheduler alu</b>   # use the ALU scheduler
  <b>option alu.limits.min-free-disk  5%</b>      # Don't create files one a volume with less than 5% free diskspace
  <b>option alu.limits.max-open-files 10000</b>   # Don't create files on a volume with more than 10000 files open
  
  # When deciding where to place a file, first look at the disk-usage, then at  
  # read-usage, write-usage, open files, and finally the disk-speed-usage.
  <b>option alu.order disk-usage:read-usage:write-usage:open-files-usage:disk-speed-usage</b>
  <b>option alu.disk-usage.entry-threshold 2GB</b>   # Kick in if the discrepancy in disk-usage between volumes is more than 2GB
  <b>option alu.disk-usage.exit-threshold  60MB</b>   # Don't stop writing to the least-used volume until the discrepancy is 1988MB 
  <b>option alu.open-files-usage.entry-threshold 1024</b>   # Kick in if the discrepancy in open files is 1024
  <b>option alu.open-files-usage.exit-threshold 32</b>   # Don't stop until 992 files have been written the least-used volume
<b># option alu.read-usage.entry-threshold 20%</b>   # Kick in when the read-usage discrepancy is 20%
<b># option alu.read-usage.exit-threshold 4%</b>   # Don't stop until the discrepancy has been reduced to 16% (20% - 4%)
<b># option alu.write-usage.entry-threshold 20%</b>   # Kick in when the write-usage discrepancy is 20%
<b># option alu.write-usage.exit-threshold 4%</b>   # Don't stop until the discrepancy has been reduced to 16%
<b># option alu.disk-speed-usage.entry-threshold # NEVER SET IT. SPEED IS CONSTANT!!!</b>
<b># option alu.disk-speed-usage.exit-threshold  # NEVER SET IT. SPEED IS CONSTANT!!!</b>
<b>  option alu.stat-refresh.interval 10sec</b>   # Refresh the statistics used for decision-making every 10 seconds
<b># option alu.stat-refresh.num-file-create 10</b>   # Refresh the statistics used for decision-making after creating 10 files
end-volume</pre><pre style="font-size: 1em; border: 1px dashed rgb(102, 102, 102); padding: 15px 20px; overflow: auto; background-color: rgb(238, 238, 238); background-position: initial initial; background-repeat: initial initial;"><span style="font-family: monospace;">If I configure the contents of the above, I will not start glusterd</span></pre><pre style="font-size: 1em; border: 1px dashed rgb(102, 102, 102); padding: 15px 20px; overflow: auto; background-color: rgb(238, 238, 238); background-position: initial initial; background-repeat: initial initial;"><span style="font-family: monospace;">[2014-12-02 06:41:12.726886] I [glusterfsd.c:1959:main] 0-/usr/sbin/glusterd: Started running /usr/sbin/glusterd version 3.5.3beta2 (/usr/sbin/glusterd --pid-file=/var/run/glusterd.pid)
<br>[2014-12-02 06:41:12.742594] W [xlator.c:188:xlator_dynload] 0-xlator: /usr/lib64/glusterfs/3.5.3beta2/xlator/cluster/unify.so: cannot open shared object file: No such file or directory
<br>[2014-12-02 06:41:12.742769] E [graph.y:212:volume_type] 0-parser: Volume 'bricks', line 68: type 'cluster/unify' is not valid or not found on this machine
<br>[2014-12-02 06:41:12.742827] E [graph.y:321:volume_end] 0-parser: "type" not specified for volume bricks
<br>[2014-12-02 06:41:12.743852] E [glusterfsd.c:1823:glusterfs_process_volfp] 0-: failed to construct the graph
<br>[2014-12-02 06:41:12.744387] W [glusterfsd.c:1095:cleanup_and_exit] (--&gt;/usr/sbin/glusterd(main+0x54e) [0x4075ce] (--&gt;/usr/sbin/glusterd(glusterfs_volumes_init+0xc0) [0x405240] (--&gt;/usr/sbin/glusterd(glusterfs_process_volfp+0x106) [0x405146]))) 0-: received signum (0), shutting down</span></pre></body></html>