Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 操作系统 > 其他操作系统 > ES222:chapter24-monitoring and error reporting
【标  题】:ES222:chapter24-monitoring and error reporting
【关键字】:ES222,chapter24-monitoring,and,error,reporting
【来  源】:http://blog.chinaunix.net/article.php?articleId=52529&blogId=6589

ES222:chapter24-monitoring and error reporting

Your Ad Here

The following task map identifies the procedures that are needed to manage error reporting for solaris volume manager:
1,configure the mdmonitord daemon to periodically check for errors:
configure the error-checking interval used by the mdmonitord daemon by editing the /lib/svc/method/svc-mdmonitor script
2,configure the solaris volume manager SNMP agent:
edit the configuration files in the /etc/snmp/conf directory so that solaris volume manager will throw traps appropiately, to the correct system
3,monitor solaris volume manager with scripts run by the cron command:
create or adapt a script to check for errors, then run the script from the cron command

solaris卷管理器包括/usr/sbin/mdmonitord进程,当磁盘发生错误的时候,solaris卷管理器就检测故障并生成一个错误记录,这个错误记录直接触发mdmonitord进程执行对RAID-1卷以及RAID-5卷以及热插拔组件的检查

可以通过编辑/lib/svc/method/svc-mdmonitor脚本来添加一段时间间隔来进行定期检查,具体步骤:
1,成为超级用户
2,打开/lib/svc/method/svc-mdmonitor脚本,定位到下面的部分:
$MDMONITORD
error=$?
case $error in
0) exit 0
;;
*) echo "Could not start $MDMONITORD. Error $error."
exit 0
3,添加检查的时间间隔:
$MDMONITORD -t 3600
error=$?
case $error in
0) exit 0
;;
*) echo "Could not start $MDMONITORD. Error $error."
exit 0
;;
esac
4,重启mdmonitord命令来激活所作的变化
# svcadm restart system/mdmonitor

solaris主机断电后无法启动:【上一篇】
ES222:chapter23-Top-Down volume creation(tasks):【下一篇】
【相关文章】
  • ES222-磁盘阵列命令相关总结
  • VIDCONTROL(1) FreeBSD General Commands Manual V
  • Firewall Failover with pfsync and CARP
  • Apache+SSL, PHP, and MySQL
  • Andre Oppermann的BSD协议栈改进计划
  • Mandrake 寻求在华合资 与国内企业共推 Linux
  • kde and Debian FAQ[珍藏]
  • Big Endian and Little Endian
  • this fuck error ! - /lib/cpp
  • modversions.h error
  • 【随机文章】
  • Photoshop鲜为人知的的75个技巧-复制的技巧
  • XML文件的显示——CSS和XSL
  • UTF-8 字符集基础
  • gridview导出到excel
  • NMS板卡初步
  • 安全七招之屏幕保护
  • Visual Layer Overview(1)--Role of the Visual Object
  • 在C++ Builder6中使用XML
  • 初学Java所需要注意的几点
  • TOMCAT使用技巧
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.