Installation of Torque/Maui for a Beowulf Cluster
来源:互联网 发布:好的看盘软件 编辑:程序博客网 时间:2024/04/30 08:43
Installation of Torque/Maui for a Beowulf Cluster
-- just for reference,configuration isn't all
-- just for reference,configuration isn't all
note that:
perhaps, you must do the things listed below first before install and configure torque
in server_machine:
domain name server config
network information service config
network file system config
using Rcmd authentication:
remote shell / secure shell config
and so on
perhaps, you must do the things listed below first before install and configure torque
in server_machine:
domain name server config
network information service config
network file system config
using Rcmd authentication:
remote shell / secure shell config
and so on
# tar zxvf torque-x.x.x.tar.gz
# cd torque-x.x.x
# ./configure --enable-docs --with-scp --enable-syslog
# make
# make install
# cd torque-x.x.x
# ./configure --enable-docs --with-scp --enable-syslog
# make
# make install
# make packages
create the self-extracting,ditributable packages with this
command and use the parallel shell command from your cluster management suite to copy and execute the packages on
create the self-extracting,ditributable packages with this
command and use the parallel shell command from your cluster management suite to copy and execute the packages on
all nodes.
now,let's begin configuration.
initialize/configure torque on the server:
enabling TORQUE as a service:you must refer to the users's guide,the services in server_machine consist of two or
enabling TORQUE as a service:you must refer to the users's guide,the services in server_machine consist of two or
three daemon processes
share the install directory with no_root_squash or
chgrp nfsnobody pbs_mom;chmod 710 pbs_mom
chgrp nfsnobody pbs_mom;chmod 710 pbs_mom
torque common configuration files
set up:
PATH
set up:
PATH
# vi /var/spool/torque/server_name
add:
cluster_server_name
add:
cluster_server_name
# vi /var/spool/torque/server_priv/nodes
add:
sun01 np=2
sun02 np=2
add:
sun01 np=2
sun02 np=2
# torque.setup <user_name>
pbs_server configuration creating the configuration database
# pbs_server -t create
# pbs_server -t create
pbs_server configuration security note ,by qmgr command
it can be used to create a queue and set up server parameter
using the 'submit_hosts' server parameter
usign the 'scheduling' server parameter
allowing job submission from compute hosts,edit .rhosts or hosts.equiv
it can be used to create a queue and set up server parameter
using the 'submit_hosts' server parameter
usign the 'scheduling' server parameter
allowing job submission from compute hosts,edit .rhosts or hosts.equiv
submitting and managing jobs:
qsub command used to submit jobs
qsub command used to submit jobs
enabling the scheduler to make submitting successful
if you want a advanced sheduler just like maui,please install and configure it by yourself
# tar zxvf maui-x.x.x.tar.gz
# cd maui-x.x.x
# ./configure --with-pbs=/usr/local --with-spool-dir=/var/spool/maui
# make
# make install
# cd maui-x.x.x
# ./configure --with-pbs=/usr/local --with-spool-dir=/var/spool/maui
# make
# make install
like before,change ownership of the /usr/local/maui directory structures so that it may be run under a non-root
user.
maui configuration how to connect to resource manager
maui.cfg
modify:
SERVERHOST sun00.cluster
RMCFG[SUN00.CLUSTER] TYPE=PBS
maui configuration how to connect to resource manager
maui.cfg
modify:
SERVERHOST sun00.cluster
RMCFG[SUN00.CLUSTER] TYPE=PBS
maui configuration job prioritization:queue time and credentials,fair share
initialize/configure torque on each compute node
# vi /var/spool/torque/mom_priv/config
add:
$pbsserver server_IP
$logevent 0xff
$usecp *:/home /home
# vi /var/spool/torque/mom_priv/config
add:
$pbsserver server_IP
$logevent 0xff
$usecp *:/home /home
enabling TORQUE as a service:you must refer to the users's guide,the services in compute_machines consist of one
daemon processes
if you want advanced installatin and configuraion,please refer to the torque users's guide
### here is a article searched from internet for reference:
Installing Torque + Maui
September 18, 2006 by xman
Posted in Linux
Installing Torque (PBS)
September 18, 2006 by xman
Posted in Linux
Installing Torque (PBS)
Download and extract the source from Cluster Resources
> ./configure --prefix=/usr/local/torque --set-cflags=-O2
> make
> make install
> make packages (will generate .sh files for distribution)
Create a system account TORQUEADMIN
Add /usr/local/torque/bin and /usr/local/torque/sbin to path.
Initialize PBS server files and create default queue.
> ./torque.setup TORQUEADMIN
Note that "pbs_server -t create" is running in background.
torque.setup is similar to following:
> pbs_server -t create
> qmgr -c "set server scheduling=true"
> qmgr -c "create queue batch queue_type=execution"
> qmgr -c "set queue batch started=true"
> qmgr -c "set queue batch enabled=true"
> qmgr -c "set queue batch resources_default.nodes=1"
> qmgr -c "set queue batch resources_default.walltime=3600"
> qmgr -c "set server default_queue=batch"
> qmgr -c "set server operators += TORQUEADMIN@SERVERNAME"
> qmgr -c "set server managers += TORQUEADMIN@SERVERNAME"
Check pbs_server running status.
> qstat -q
> qmgr -c 'p s'
Stop the pbs_server, runs "qterm -t quick"
Install pbs_mom into all compute nodes by running the generated script torque-package-mom-linux-ia64.sh in all
> ./configure --prefix=/usr/local/torque --set-cflags=-O2
> make
> make install
> make packages (will generate .sh files for distribution)
Create a system account TORQUEADMIN
Add /usr/local/torque/bin and /usr/local/torque/sbin to path.
Initialize PBS server files and create default queue.
> ./torque.setup TORQUEADMIN
Note that "pbs_server -t create" is running in background.
torque.setup is similar to following:
> pbs_server -t create
> qmgr -c "set server scheduling=true"
> qmgr -c "create queue batch queue_type=execution"
> qmgr -c "set queue batch started=true"
> qmgr -c "set queue batch enabled=true"
> qmgr -c "set queue batch resources_default.nodes=1"
> qmgr -c "set queue batch resources_default.walltime=3600"
> qmgr -c "set server default_queue=batch"
> qmgr -c "set server operators += TORQUEADMIN@SERVERNAME"
> qmgr -c "set server managers += TORQUEADMIN@SERVERNAME"
Check pbs_server running status.
> qstat -q
> qmgr -c 'p s'
Stop the pbs_server, runs "qterm -t quick"
Install pbs_mom into all compute nodes by running the generated script torque-package-mom-linux-ia64.sh in all
compute nodes.
Add server node information to compute nodes.
Create /usr/spool/PBS/server_name with the server hostname.
> cat /usr/spool/PBS/server_name
shannon
Create /usr/spool/PBS/mom_priv/config
Create the file with the following lines.
$pbsserver shannon1 # note: IP address of host running pbs_server
$logevent 255
$restricted shannon1 # note: IP address of host running pbs_server
$usecp shannon1:/home /home
Add compute node information to server node
Create /usr/spool/PBS/server_priv/nodes
Create the file with the hostnames. e.g.
shannon2 np=2
shannon3 np=2
shannon4 np=2
shannon5 np=2
Start pbs_server on server node, and pbs_mom on all compute nodes.
> qterm -t quick
> pbs_server (in server node)
> pbs_mom (in all compute nodes)
Verify torque
> qstat -q
> pbsnodes -a
> echo "sleep 30" | qsub
> qstat
End of Torque installation.
Add server node information to compute nodes.
Create /usr/spool/PBS/server_name with the server hostname.
> cat /usr/spool/PBS/server_name
shannon
Create /usr/spool/PBS/mom_priv/config
Create the file with the following lines.
$pbsserver shannon1 # note: IP address of host running pbs_server
$logevent 255
$restricted shannon1 # note: IP address of host running pbs_server
$usecp shannon1:/home /home
Add compute node information to server node
Create /usr/spool/PBS/server_priv/nodes
Create the file with the hostnames. e.g.
shannon2 np=2
shannon3 np=2
shannon4 np=2
shannon5 np=2
Start pbs_server on server node, and pbs_mom on all compute nodes.
> qterm -t quick
> pbs_server (in server node)
> pbs_mom (in all compute nodes)
Verify torque
> qstat -q
> pbsnodes -a
> echo "sleep 30" | qsub
> qstat
End of Torque installation.
Installing Maui
Download and extract the source from Cluster Resources
> CFLAGS=-O2 ./configure --with-pbs=/usr/local/torque --with-spooldir=/usr/spool/maui --prefix=/usr/local/maui-
> CFLAGS=-O2 ./configure --with-pbs=/usr/local/torque --with-spooldir=/usr/spool/maui --prefix=/usr/local/maui-
3.2.6p13
> make
> make install
Create a system user mauiadmin.
Edit /usr/spool/maui/maui.cfg
Set ADMIN1 mauiadmin
Add mauiadmin to PBS manager and operator list.
> qmgr -c "set server managers += mauiadmin@shannon"
> qmgr -c "set server operators += mauiadmin@shannon"
Change owner of /usr/spool/maui and /usr/local/maui/sbin to mauiadmin.
End of installing Maui.
> make
> make install
Create a system user mauiadmin.
Edit /usr/spool/maui/maui.cfg
Set ADMIN1 mauiadmin
Add mauiadmin to PBS manager and operator list.
> qmgr -c "set server managers += mauiadmin@shannon"
> qmgr -c "set server operators += mauiadmin@shannon"
Change owner of /usr/spool/maui and /usr/local/maui/sbin to mauiadmin.
End of installing Maui.
Running Torque and Maui
1. pbs_server (on server node only, must be started using root).
2. pbs_mom (on compute nodes only, must be started using root).
3. maui (on server node only)
1. pbs_server (on server node only, must be started using root).
2. pbs_mom (on compute nodes only, must be started using root).
3. maui (on server node only)
# Prepared at 16 March 2006
0
上一篇:Linux Cluster 学习网站推荐
下一篇:UNIX shell -- trick and experience (20090423)
相关热门文章
- linux 常见服务端口
- xmanager 2.0 for linux配置
- 【ROOTFS搭建】busybox的httpd...
- openwrt中luci学习笔记
- 什么是shell
- linux dhcp peizhi roc
- 关于Unix文件的软链接
- 求教这个命令什么意思,我是新...
- sed -e "/grep/d" 是什么意思...
- 谁能够帮我解决LINUX 2.6 10...
给主人留下些什么吧!~~
评论热议
0 0
- Installation of Torque/Maui for a Beowulf Cluster
- A record for OF installation
- torque maui 资源
- HOD服务集群 torque maui
- 关于MAUI和torque的一些学习
- mpich2+torque+maui并行集群搭建
- mpich2+torque+maui配置及运行
- Torque + Maui配置手册之抛砖引玉篇
- torque+maui问题-任务不运行
- 关于MAUI和torque的一些学习
- 关于MAUI和torque的一些学习
- Building a Beowulf System
- Beowulf
- Tips of SQL Server 2005 installation in cluster
- Maui
- [cloud] A common substrate for cluster computing
- Setting up SSH for a Hadoop cluster
- Websphere liberty cluster installation
- Cluster Implementation Based On RHEL
- configure quota -- 配置配额
- install and configure ganglia in cluster base on r
- Beowulf Implementation
- Linux Cluster 学习网站推荐
- Installation of Torque/Maui for a Beowulf Cluster
- UNIX shell -- trick and experience (20090423)
- Cluster solutions DIY or use OSCAR
- C/C++程序员必须熟练应用的开源项目
- DNS 服务基本配置
- install mpich2 in rhel4
- 使用shell脚本删除当前目录下.c文件对应的可执行文件
- vmware installtion and configuration for linux
- Linux驱动开发必看详解神秘内核(完全转载)
原创粉丝点击
热门IT博客
热门问题
老师的惩罚
人脸识别
我在镇武司摸鱼那些年
重生之率土为王
我在大康的咸鱼生活
盘龙之生命进化
天生仙种
凡人之先天五行
春回大明朝
姑娘不必设防,我是瞎子
数学全书
杨冲数学
关于数学
数学的奥秘
高级数学
数学类
悠数学
具体数学
教数学
数学园地
数学系
数学的本质
数学手抄报简单又漂亮
数学手抄报简单漂亮
三年级数学手抄报
数学七年级上册
高中数学公式
三年级数学题
二年级数学题
四年级上册数学
五年级上册数学
数学手抄报内容
数学手抄报图片
六年级数学上册
世界数学难题
生活中的数学
数学公式大全
数学与生活手抄报
高中数学必修
七年级上册数学书答案
数学补充习题答案
全国大学生数学竞赛
高中数学公式大全
四年级数学计算题
四年级数学计算题100道
小学数学公式大全
七年级上册数学书
小学数学四年级上册
大学生数学竞赛
八年级上册数学
数学英语单词