您的位置:首页 > 产品设计 > UI/UE

torque pbs 增加新节点笔记

2017-05-16 16:23 288 查看
同步文件

rsync -avP node01:/etc/init.d/pbs_mom /etc/init.d/

rsync -avP node01:/etc/init.d/pbs_sched /etc/init.d/

rsync -avP node01:/var/spool/torque /var/spool/

rsync -avP node01:/etc/passwd /etc/passwd

rsync -avP node01:/etc/group /etc/group

rsync -avP node01:/etc/shadow /etc/shadow

rsync -avP node01:/etc/profile /etc/profile

重启server与计算节点PBS服务:

/etc/init.d/pbs_server restart

/etc/init.d/pbs_mom restart

/etc/init.d/pbs_sched restart

时间同步问题

# ntpdate time.xxx.xxx.cn # 同步标准时间到系统时间

# date # 显示系统时间

# hwclock -r # 显示硬件时间

# hwclock -w # 同步系统时间到硬件时间

自动运行同步时间脚本设定

# crontab –e

添加脚本例子如下:

*/20 * * * * /usr/sbin/ntpdate 210.72.145.44 //每20分钟执行一次 或者下面的

30 5 * * * /usr/sbin/ntpdate 210.72.145.44 //每天早晨5点半执行。

参考:
https://wiki.archlinux.org/index.php/TORQUE http://goodluck1982.blog.sohu.com/242717652.html http://blog.chinaunix.net/uid-26000296-id-3986914.html [开机自启动等]
http://www.cnblogs.com/the-study-of-linux/p/5428827.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Linux HPC 调度系统