Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. [hosts]
  2. node01.localdomain.local
  3.  
  4. [disktype]
  5. jbod
  6.  
  7. [diskcount]
  8. @NUMBER_OF_DATA_DISKS@ #Ignored in case of jbod
  9.  
  10. [stripesize]
  11. 256
  12.  
  13. [script1]
  14. action=execute
  15. ignore_script_errors=no
  16. file=/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb
  17.  
  18. #[vdo] # Note: Uncomment if dedupe & compression needs to be enabled on device. Needs kmod-vdo module
  19. #action=create
  20. #names=@VDO_DEVICE_Name@
  21. #devices=@DEVICE@
  22. #logicalsize=@logical_size@T # Note:logicalsize is 10x physical space on disk
  23. ##slabsize=32G # Note: used only when the physical size is few TBs
  24. #blockmapcachesize=128M
  25. #readcache=enabled
  26. #readcachesize=20M
  27. #emulate512=enabled
  28. #writepolicy=auto
  29.  
  30. [pv]
  31. action=create
  32. devices=sdb
  33.  
  34. [vg1]
  35. action=create
  36. vgname=gluster_vg1
  37. pvname=sdb
  38.  
  39. [lv1]
  40. action=create
  41. vgname=gluster_vg1
  42. lvname=engine_lv
  43. lvtype=thick
  44. size=20GB
  45. mount=/gluster_bricks/engine
  46.  
  47. [lv2]
  48. action=create
  49. vgname=gluster_vg1
  50. poolname=lvthinpool
  51. lvtype=thinpool
  52. poolmetadatasize=16GB
  53. size=60GB
  54.  
  55. [lv3]
  56. action=create
  57. lvname=lv_vmdisks
  58. poolname=lvthinpool
  59. vgname=gluster_vg1
  60. lvtype=thinlv
  61. mount=/gluster_bricks/vmstore
  62. virtualsize=30GB
  63.  
  64. [lv4]
  65. action=create
  66. lvname=lv_datadisks
  67. poolname=lvthinpool
  68. vgname=gluster_vg1
  69. lvtype=thinlv
  70. mount=/gluster_bricks/data
  71. virtualsize=20GB
  72.  
  73. #[lv5]
  74. #action=setup-cache
  75. #ssd=@SSD_DEVICE@
  76. #vgname=gluster_vg1
  77. #poolname=lvthinpool
  78. #cache_lv=lvcache
  79. #cache_lvsize=5GB # Provide device size
  80. ## cachemode=writeback
  81.  
  82. [shell2]
  83. action=execute
  84. command=vdsm-tool configure --force
  85.  
  86. [script3]
  87. action=execute
  88. file=/usr/share/gdeploy/scripts/blacklist_all_disks.sh
  89. ignore_script_errors=no
  90.  
  91. [selinux]
  92. yes
  93.  
  94. [service3]
  95. action=restart
  96. service=glusterd
  97. slice_setup=yes
  98.  
  99. [firewalld]
  100. action=add
  101. ports=111/tcp,2049/tcp,54321/tcp,5900/tcp,5900-6923/tcp,5666/tcp,16514/tcp,54322/tcp
  102. services=glusterfs
  103.  
  104. [script2]
  105. action=execute
  106. file=/usr/share/gdeploy/scripts/disable-gluster-hooks.sh
  107.  
  108. [shell3]
  109. action=execute
  110. command=usermod -a -G gluster qemu
  111.  
  112. [volume]
  113. action=create
  114. volname=engine
  115. transport=tcp
  116. key=storage.owner-uid,storage.owner-gid,features.shard,performance.low-prio-threads,performance.strict-o-direct,network.remote-dio,network.ping-timeout,user.cifs,nfs.disable,performance.quick-read,performance.read-ahead,performance.io-cache,cluster.eager-lock
  117. value=36,36,on,32,on,off,30,off,on,off,off,off,enable
  118. brick_dirs=/gluster_bricks/engine/engine
  119. ignore_volume_errors=no
  120.  
  121. [volume2]
  122. action=create
  123. volname=vmstore
  124. transport=tcp
  125. key=storage.owner-uid,storage.owner-gid,features.shard,performance.low-prio-threads,performance.strict-o-direct,network.remote-dio,network.ping-timeout,user.cifs,nfs.disable,performance.quick-read,performance.read-ahead,performance.io-cache,cluster.eager-lock
  126. value=36,36,on,32,on,off,30,off,on,off,off,off,enable
  127. brick_dirs=/gluster_bricks/vmstore/vmstore
  128. ignore_volume_errors=no
  129.  
  130. [volume3]
  131. action=create
  132. volname=data
  133. transport=tcp
  134. key=storage.owner-uid,storage.owner-gid,features.shard,performance.low-prio-threads,performance.strict-o-direct,network.remote-dio,network.ping-timeout,user.cifs,nfs.disable,performance.quick-read,performance.read-ahead,performance.io-cache,cluster.eager-lock
  135. value=36,36,on,32,on,off,30,off,on,off,off,off,enable
  136. brick_dirs=/gluster_bricks/data/data
  137. ignore_volume_errors=no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement