torque pbs 增加新节点笔记

同步文件

  • 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

转载于:https://my.oschina.net/emptytimespace/blog/902076

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值