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
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
相关文章推荐
- Memcached 笔记与总结(7)增加虚拟节点
- Ubuntu 17.10 单节点安装TorquePBS 4.2.6
- 孙鑫VC学习笔记:第十五讲 (三) 增加互斥条件实现线程同步
- jsp新手开发笔记(增加中)
- NetTiers学习笔记03---NetTiers.v2.0至v2.1.0.560累计增加的一些内容
- Jim's游戏外挂学习笔记2—适时编写个读取状态的小程序增加一下士气
- xml文件增加新的一行节点
- SQL语句笔记,增加一个字段,统计该表内的数据信息
- TreeList 的 增加、删除节点-----DevExpress
- TGE学习笔记01 - 初见Torque
- arcgis server 9.2代码阅读笔记一:在图层中增加一个点
- 在Winform中为TreeView控件增加鼠标旋停时提示节点信息
- XML文档中增加删除一个节点
- Dropdownlist绑定树形数据库,Tree动态绑定数据库,动态增加节点,动态删除节点
- javascript增加节点和改变背景色
- WebWork笔记--增加输入校验
- 在Winform中为TreeView控件增加鼠标旋停时提示节点信息
- 孙鑫VC学习笔记:第十五讲 增加互斥条件实现线程同步
- 利用TreeView.TreeNodePopulate 事件为TreeView动态增加节点
- 笔记:VC增加UNICODE项目