Cluster der kan alt/NFS Server

From Teknologisk videncenter
< Cluster der kan alt
Revision as of 12:44, 15 November 2012 by Demyl (talk | contribs) (NFS Clienter)
Jump to: navigation, search

NFS server

Installer NFS Server

apt-get install nfs-kernel-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
  • For at UID og GID bliver overført korrekt til Klienterne 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

Mount folderen på klienten

mount 10.0.0.1:/home/ /home/