安装SGE
开始安装SGE。vm1作为sge的master主机。用户账号和系统服务这些信息都通过NIS服务器来统一管理。master主机和执行机通过NFS服务共享$SGE_ROOT。sge_qmaster服务的端口号为6444/tcp,sge_execd的端口号为6445/tcp。没有shadow主机。采用classicspooling。
其中master主机和所有的exec主机共享$SGE_ROOT,这是最容易管理、测试、调试的方法。sge网站上的一篇文章(链接:http://gridengine.sunsource.net/howto/nfsreduce.html)总共给了四种方案,摘录如下:
Configuration |
Description |
Advantage |
Disadvantage |
---|---|---|---|
default |
executables, configuration files, spool directories: all shared |
simple to install easy to upgrade easy to debug |
potentially significant NFS traffic |
local spool directories |
executables, configuration files: shared. spool directories: local to each compute host |
simple to install easy to upgrade significant reduction in NFS traffic |
less convenient to debug (must go to individual host to see execd messages file) |
local executable files |
configuration files: shared executables, spool directories: local to each compute host |
near-elimination of NFS traffic (NOTE: consequences especially seen when running massively parallel jobs across many nodes) |
less convenient to install and upgrade (must modify files on every host) less convenient to debug |
local configuration files |
executables, configuration files, spool directories: all local to each compute host |
elimination of NFS requiremen |