Tags:
create new tag
view all tags
-- ShiJingyan - 2011-03-23

  1. 在torqmaui上对torqsrv进行了备份,并一小时执行一次。

  • 备份目录:

/pbs-bak/

pbs目录结构:

/pbs-bak/pbs

maui结构:

/pbs-bak/maui

  • 配置内容备份目录

/pbs-bak/crontab-bak

  • 备份脚本:/pbs-bak/pbs-bak.sh

more pbs-bak.sh

/usr/bin/qmgr -c "print server" >/pbs-bak/crontab-bak/server-bak-`/bin/da

te +%H:%M:%S`

cp /var/spool/pbs/server_priv/nodes /pbs-bak/crontab-bak/node-bak-`/bin/date +%H:%M:%S`

  1. 检查torqsrve的状态,出错发邮件及短信
  • 机器:sysmonitor
  • 用户:suzz 目录:/home/cc/suzz/pbstest
  • 程序:

(1)forCrontab.sh: 用于向pbs提交作业,将结果写入/home/cc/suzz/pbstest/pbslog/目录 。crontab每15分钟提交一次作业

(2) sendmessage.py :读取/home/cc/suzz/pbstest/pbslog/目录中日志文件,如果有错误码发邮件和短信。crontab每15分钟检查一次日志文件。

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2011-03-23 - ShiJingyan
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback