正在加载图片...
Ishan的主目录 文件编辑E查看V终端①转到G帮助田 r log in: connect ion closed 从这里开始 #!/b in/sh if【-z$ echo Usage: clus teruser username ### add a user and set its passwd ssl s1 ##s copy the user config files to o ther node s while si-It 63 i- expr $i+I echo copy config files to nodeS rep /e te/passwd node si: /e te/passwd rep /etc/group node si: /etc/grou Iroo tunode0 root]# . /cluster user, sh cluste 当θ公恩色 root node 0 1月02日 图9 23单一文件系统( Single File System)的构建 NFS是一种 Unix/Linux之间通过网络共享文件的标准方式。使用NFS,就能够透明的 安装和访问网络上远程主机的文件系统,将其安装( mount)在本地的文件系统中,类似于 Windows下的映射驱动器。在示例机群中,节点node0是服务器,把目录/home和/ cluster 进行共享;节点 nodel到node3是客户端,把服务器的home和 cluster安装到自己的文件 系统当中。下面分别进行讨论 1.首先在节点node0上建立目录/ cluster,然后将该目录授权给用户 cluster图 9 2.3 单一文件系统(Single File System)的构建 NFS 是一种 Unix/Linux 之间通过网络共享文件的标准方式。使用 NFS,就能够透明的 安装和访问网络上远程主机的文件系统,将其安装(mount)在本地的文件系统中,类似于 Windows 下的映射驱动器。在示例机群中,节点 node0 是服务器,把目录/home 和/cluster 进行共享;节点 node1 到 node63 是客户端,把服务器的/home 和 cluster 安装到自己的文件 系统当中。下面分别进行讨论: 1. 首先在节点 node0 上建立目录/cluster,然后将该目录授权给用户 cluster
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有