Ci-dessous, les différences entre deux révisions de la page.
Both sides previous revision Révision précédente Prochaine révision | Révision précédente Dernière révision Both sides next revision | ||
si:glusterfs [2018/02/04 22:12] heraclide |
si:glusterfs [2018/08/01 14:59] dino |
||
---|---|---|---|
Ligne 56: | Ligne 56: | ||
<code> | <code> | ||
- | root@troll4:~# gluster volume set ${curVol} cluster.lookup-optimize on | + | root@troll4:~# gluster volume set ${curVol} cluster.readdir-optimize on |
root@troll4:~# gluster volume set ${curVol} performance.parallel-readdir on | root@troll4:~# gluster volume set ${curVol} performance.parallel-readdir on | ||
root@troll4:~# gluster volume set ${curVol} nfs.disable on | root@troll4:~# gluster volume set ${curVol} nfs.disable on | ||
root@troll4:~# gluster volume set ${curVol} performance.client-io-threads on | root@troll4:~# gluster volume set ${curVol} performance.client-io-threads on | ||
- | # quand on est pas riche en ram | + | # quand on est pas riche en ram et qu'on monte un truc en local .. |
root@troll4:~# gluster volume set ${curVol} performance.io-cache off | root@troll4:~# gluster volume set ${curVol} performance.io-cache off | ||
</code> | </code> | ||
Ligne 87: | Ligne 87: | ||
root@troll3:~# echo "troll3.lan.parinux.org:/lxc_www1 /var/lib/lxc/www glusterfs defaults,noatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072 0 0" >> /etc/fstab | root@troll3:~# echo "troll3.lan.parinux.org:/lxc_www1 /var/lib/lxc/www glusterfs defaults,noatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072 0 0" >> /etc/fstab | ||
root@troll3:~# mount /var/lib/lxc/www | root@troll3:~# mount /var/lib/lxc/www | ||
+ | </code> | ||
+ | |||
+ | ====== Usage de LXC ==== | ||
+ | <code> | ||
+ | sudo lxc-create -n NOM -t debian -- -r jessie | ||
</code> | </code> |