Difference between revisions of "Cluster der kan alt/NFS Server"
From Teknologisk videncenter
m (→NFS Clienter) |
|||
Line 17: | Line 17: | ||
<source lang=cli> | <source lang=cli> | ||
service nfs-kernel-server restart | service nfs-kernel-server restart | ||
+ | </source> | ||
+ | |||
+ | *For at UID og GID bliver overført korrekt til klineterne skal de have det samme | ||
+ | |||
+ | IDMAPD domain i /etc/idmapd.conf | ||
+ | <source lang=cli> | ||
+ | Domain = Cluster | ||
+ | </source> | ||
+ | *genstart så idmapd servicen for at loade det nye configuration. | ||
+ | <source lang=cli> | ||
+ | service idmapd restart | ||
</source> | </source> | ||
===NFS Clienter=== | ===NFS Clienter=== | ||
Line 26: | Line 37: | ||
<source lang=cli> | <source lang=cli> | ||
mount 10.0.0.1:/home/ /home/ | mount 10.0.0.1:/home/ /home/ | ||
+ | </source> | ||
+ | *For at UID og GID bliver overført korrekt til klineterne skal de have det samme | ||
+ | |||
+ | IDMAPD domain i /etc/idmapd.conf | ||
+ | <source lang=cli> | ||
+ | Domain = Cluster | ||
+ | </source> | ||
+ | *genstart så idmapd servicen for at loade det nye configuration. | ||
+ | <source lang=cli> | ||
+ | service idmapd restart | ||
</source> | </source> | ||
{{Source cli}} | {{Source cli}} | ||
[[Category:Cluster]][[Category:Ubuntu]] | [[Category:Cluster]][[Category:Ubuntu]] |
Revision as of 09:47, 12 November 2012
NFS server
Editer /etc/exports tilføj disse 2 linier i bunden
/home/ 10.0.0.0/24(rw,no_root_squash,no_subtree_check,async)
/script/ 10.0.0.0/24(rw,no_root_squash,no_subtree_check,async)
Exporter de nye shares:
exportfs
Det burde ikke være nødvendig, men kan genstart NFS serveren med
service nfs-kernel-server restart
- For at UID og GID bliver overført korrekt til klineterne skal de have det samme
IDMAPD domain i /etc/idmapd.conf
Domain = Cluster
- genstart så idmapd servicen for at loade det nye configuration.
service idmapd restart
NFS Clienter
Installer NFS clienten
apt-get install nfs-common
Mount folderen på klienten
mount 10.0.0.1:/home/ /home/
- For at UID og GID bliver overført korrekt til klineterne skal de have det samme
IDMAPD domain i /etc/idmapd.conf
Domain = Cluster
- genstart så idmapd servicen for at loade det nye configuration.
service idmapd restart