2006-11-27

集群系统配置之NFS

1. 共享的目录及其目的

Linux 下共享分区是用NFS的方式,主节点将/usr/local 和 /home分区共享给所有的从节点。/usr/local分区共享主要是因为这样可以在自行安装软件的时候只需安装一份拷贝而在所有节点机上均可用。/home分区共享可以使得用户在每一台节点机上都有统一的操作界面及用户主目录。

2. 主节点设置

确保所有节点机上的nfslock portmap netfs服务已经打开,另外主节点机上的nfs服务已经打开。主节点机上的/etc/exports文件内容如下:

/usr/local node*.sim973.gfkd.mtn(rw,sync,no_root_squash)
/home node*.sim973.gfkd.mtn(rw,sync,no_root_squash)

3. 从节点设置
从节点设置成自动mount,在/etc/fstab中加入如下几句:

master:/home /home nfs soft,bg
master:/usr/local /usr/local nfs soft,bg

在应用的过程中发现一点小问题,尽管能保证主节点机比从节点早开机但是从节点好象总不能正常挂载nfs分区。所以开机后要检查一下是否nfs分区已经挂载上了,如果没有的话需要手动mount上(执行cexec mount -a 即可)。

26 条评论:

匿名 说...

generic xanax does xanax show up on hair drug test - xanax recreational use snorting

匿名 说...

buy tramadol no prescription tramadol 50 mg what is it for - tramadol 93 58 side effects

匿名 说...

tramadol online pharmacy generic tramadol no prescription overnight - buy tramadol for dogs online

匿名 说...

buy tramadol online does generic tramadol look like - buy tramadol online without prescriptions usa

匿名 说...

alprazolam drug does xanax show up job drug test - xanax overdose how many pills

匿名 说...

no prescription xanax high does xanax make you - buy xanax generic online

匿名 说...

buy tramadol online tramadol for dogs effects on humans - buy tramadol legit

匿名 说...

buy carisoprodol carisoprodol can you get high - carisoprodol other drugs in same class

匿名 说...

buy carisoprodol cod carisoprodol 350 mg oral tablet - carisoprodol buy us

匿名 说...

buy tramadol online can you buy tramadol online no prescription - tramadol dosage info

匿名 说...

buy tramadol online tramadol online buy - tramadol repeat order

匿名 说...

buy cialis from canada cialis online without rx - cialis online pharmacy us

匿名 说...

buy cialis online cialis price reviews - generic cialis and viagra

匿名 说...

cialis online cialis 60 mg - cheap cialis and viagra

匿名 说...

buy tramadol tramadol used withdrawal - 100mg of tramadol side effects

匿名 说...

buy tramadol online tramadol hcl pills - tramadol hcl compared to percocet

匿名 说...

learn how to buy tramdadol order tramadol online legally - tramadol 150 mg dose

匿名 说...

tramadol 50 where can i buy tramadol online usa - tramadol withdrawal symptoms depression

匿名 说...

http://landvoicelearning.com/#44827 buy cheap tramadol cod - buy tramadol in florida

匿名 说...

buy tramadol tramadol overdose what to do - tramadol 50 mg good

匿名 说...

buy tramadol no prescription buy tramadol and soma - usa online pharmacy tramadol

匿名 说...

xanax online pharmacy xanax 1 mg yellow - how much xanax and alcohol is safe

匿名 说...

http://staam.org/#90723 ultram side effects withdrawal - buy tramadol online us

匿名 说...

http://staam.org/#74560 tramadol 50 mg during pregnancy - tramadol for dogs the same as humans

匿名 说...

buy tramadol online tramadol overdose yahoo - tramadol hcl 50 mg uses

匿名 说...

buy tramadol online buy tramadol no prescription cheap - tramadol dosage restless leg syndrome