|
|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
|
|
|
|
|
Per eseguire uno script su tutte i nodi possiamo utilizzare lo script di utilità:
|
|
|
|
|
```bash
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
@ -147,6 +146,13 @@ sudo reboot
|
|
|
|
|
|
|
|
|
|
## GlusterFS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
sudo echo "nameserver 192.168.0.2" >> /etc/resolvconf/resolv.conf.d/head
|
|
|
|
|
sudo ln -sf /run/resolvconf/resolv.conf /etc/resolv.conf
|
|
|
|
|
sudo resolvconf -u
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Creiamo la cartella che conterrà le home condivise in **tutti i nodi** e attiviamo il servizio GlusterFS:
|
|
|
|
|
```bash
|
|
|
|
|
sudo mkdir /data
|
|
|
|
|
|