User Tools

Site Tools


自作クラスタ計算機:nisの基本設定

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
自作クラスタ計算機:nisの基本設定 [2020/10/03 14:10]
koudai [使い方]
自作クラスタ計算機:nisの基本設定 [2021/01/23 20:24]
koudai
Line 42: Line 42:
  
 At this point, we have to construct a list of the hosts which will run NIS At this point, we have to construct a list of the hosts which will run NIS
-servers.  dlp.srv.world is in the list of NIS server hosts.  Please continue to add+servers.  kanri is in the list of NIS server hosts.  Please continue to add
 the names for the other hosts, one per line.  When you are done with the the names for the other hosts, one per line.  When you are done with the
 list, type a <control D>. list, type a <control D>.
Line 70: Line 70:
 domain kanri.nis server 192.168.0.1 domain kanri.nis server 192.168.0.1
 </file> </file>
-  - /etc/nsswitch.conf に、/etc/ にある passwd, group, shadow, hosts はNISサーバのものを使用するように指定する(OSのバージョンによって微妙に変わってくるが、それぞれの項目に nis を付け加えるだけでオーケー)<code>+  - /etc/nsswitch.conf に、/etc/ にある passwd, group, shadow, hosts はNISサーバのものを使用するように指定する(OSのバージョンによって微妙に変わってくるが、それぞれの項目の先頭に nis を付け加えるだけでオーケー)<code>
 $ sudo vi /etc/nsswitch.conf $ sudo vi /etc/nsswitch.conf
 </code><file - nsswitch.conf> </code><file - nsswitch.conf>
Line 83: Line 83:
 </file> </file>
     * ユーザ情報に加えてNISサーバで行われる名前解決も共有するようにしています     * ユーザ情報に加えてNISサーバで行われる名前解決も共有するようにしています
-    * これにより、各計算ノードで /etc/hosts を編集する必要がなくなります+    * これにより、各計算ノードで /etc/ hosts を編集する必要がなくなります
     * グループの管理は管理ノードのみで行いたいため、gshadow(グループのパスワードが暗号化されて入っているファイル)は共有しません     * グループの管理は管理ノードのみで行いたいため、gshadow(グループのパスワードが暗号化されて入っているファイル)は共有しません
   - NISを再起動します<code>   - NISを再起動します<code>
自作クラスタ計算機/nisの基本設定.txt · Last modified: 2024/01/20 17:32 by koudai