亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2391 | 回復(fù): 0
打印 上一主題 下一主題

HP-UX下EMS的使用說明 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2006-01-06 00:39 |只看該作者 |倒序?yàn)g覽
1. EMS介紹
   EMS(Event Monitoring Service)是一項(xiàng)HP-UX的集成服務(wù),它能夠?qū)χ鳈C(jī)硬件進(jìn)行實(shí)時(shí)監(jiān)控,并可以通過指定方式將監(jiān)控信息報(bào)告給系統(tǒng)維護(hù)人員,這有助于運(yùn)維人員及時(shí)、準(zhǔn)確的發(fā)現(xiàn)主機(jī)故障,并輔助判定故障所在,提高主機(jī)的可用時(shí)間。
   EMS可以通過MRM(Monitoring Request Manager)進(jìn)行管理,通過MRM可以對(duì)EMS的監(jiān)控范圍、事情報(bào)警觸發(fā)條件、事件信息報(bào)警方式進(jìn)行設(shè)置。
   MRM調(diào)用方法如下:
      (1)用root身份登陸主機(jī)系統(tǒng)
      (2)運(yùn)行/etc/opt/resmon/lbin/monconfig
      (3)通過(MRM)Monitoring Request Manager Main Menu進(jìn)行配置
   在MRM菜單中,可以查看、檢查、修改、刪除、啟用、禁用檢測(cè)器。
   如下:
============================================================================
===================       Event Monitoring Service       ===================
===================      Monitoring Request Manager      ===================
============================================================================
  EVENT MONITORING IS CURRENTLY ENABLED.
  EMS Version : A.04.10
  STM Version : C.46.15
============================================================================
==============      Monitoring Request Manager Main Menu      ==============
============================================================================
Note: Monitoring requests let you specify the events for monitors
      to report and the notification methods to use.
Select:
   (S)how monitoring requests configured via monconfig
   (C)heck detailed monitoring status
   (L)ist descriptions of available monitors
   (A)dd a monitoring request
   (D)elete a monitoring request
   (M)odify an existing monitoring request
   (E)nable Monitoring
   (K)ill (disable) monitoring
   (H)elp
   (Q)uit
   Enter selection:
   下面以定制一個(gè)monitor為例子,說明MRM的配置方法:
      (1)以root身份登陸系統(tǒng)
      (2)運(yùn)行/etc/opt/resmon/lbin/monconfig進(jìn)入MRM主菜單(就是上面看到的)
      (3)選擇a并回車,對(duì)應(yīng)的功能選項(xiàng)是(A)dd a monitoring request
      (4)此時(shí)將顯示出可供監(jiān)控的硬件模塊,一般全選,鍵入a并回車就行
      (5)選擇基準(zhǔn)事件級(jí)別,建議選擇2)MINOR WARNING
      (6)選擇報(bào)警觸發(fā)的條件,選擇4)>=
      (7)選擇監(jiān)控事件信息報(bào)警的方式,選擇6)EMAIL
      (8)選擇事件報(bào)警郵件的接收人,這里可根據(jù)需要輸入相應(yīng)的用戶名,例如:monitor
      (9)對(duì)此次monitor進(jìn)行注釋說明,選擇(A)dd
      (10)Client Configuration File,這里選擇(C)lear
      (11)保存上述配置信息,此后將退回到主菜單
      (12)在主菜單下,選擇(S)how monitoring requests configured via monconfig查看新建的monitor是否存在
      (13)退回到MRM主菜單,選擇(C)heck detailed monitoring status,可查看所有有效的監(jiān)控狀態(tài),因主機(jī)配置而異,對(duì)于主機(jī)中不存在的硬件,EMS將會(huì)忽略,即使在上述第“4”步中設(shè)置為監(jiān)控所有硬件
      (14)(E)nable Monitoring,開啟EMS服務(wù)功能
   說明:通過上述步驟,我們新建的monitor是針對(duì)所有硬件模塊(step 4)實(shí)時(shí)監(jiān)控,但僅對(duì)嚴(yán)重程度大于等于Minor Warning(step 5 & step 6)的事件,通過email(step 6)的方式報(bào)告給用戶monitor(step 8)。
2. 如何從event mail獲取信息
   EMS產(chǎn)生的時(shí)間警告郵件可通過內(nèi)部網(wǎng)絡(luò)接收,無需另外配置域名服務(wù)器。EMS產(chǎn)生的郵件,根據(jù)事先定義發(fā)給目標(biāo)用戶monitor,可通過PC上的郵件客戶端軟件(outlook等)進(jìn)行接收。
   以outlook為例子,為了接收event mail,郵件客戶端軟件需要新建郵件賬號(hào),用戶名為在MRM中指定的HP-UX用戶名,口令為HP-UX中對(duì)應(yīng)的口令,pop3/smtp服務(wù)器為被檢測(cè)主機(jī)的IP地址,建議outlook設(shè)定自動(dòng)收取郵件的間隔時(shí)間,以便能及時(shí)收到來自EMS的事件信息。
   說明:
      (1)因?yàn)镠P-UX自身的安全機(jī)制,root用戶的e-mail無法通過客戶端軟件收取,因此在MRM中指定事件郵件接收用戶時(shí)指定為其他普通用戶,例如此次就新建了monitor這個(gè)用戶
      (2)網(wǎng)絡(luò)中應(yīng)該開放pop3/pop的110/109兩個(gè)端口
      (3)供event mail使用的用戶是HP-UX中的用戶,也能夠登陸主機(jī),建議定期修改HP-UX中該用戶的密碼,對(duì)應(yīng)的,也要修改outlook的密碼
   下面舉例說明EMS生成的事件報(bào)警郵件的內(nèi)容,下述故障來自人為帶電拔出一塊硬盤導(dǎo)致的系統(tǒng)異常(中文部分為注釋)
>------------ Event Monitoring Service Event Notification ------------= 2.    硬件模塊、觸發(fā)器
Its current value is CRITICAL(5).      該事件嚴(yán)重程度
User Comments:
Just a test:)
Event data from monitor:
Event Time..........: Wed Jun 8 23:26:16 2005
Severity............: CRITICAL
Monitor.............: disk_em
Event #.............: 101
System..............: hpux1
Summary:         事件概述
  Disk at hardware path 0/0/1/1.15.0 : Device removed from monitoring
Description of Error:         故障描述
  The device has been removed from the list of devices being monitored by
  this monitor.
Probable Cause / Recommended Action:       可能原因/推薦處理辦法
  The device was removed from the system, has stopped responding to the
  system or it has been replaced with a device that is not supported by this
  monitor.
    Run ioscan to determine the state and type of the device.
    Check the /var/stm/data/os_decode_xref for the information indicating
    which devices are supported by this monitor.
    Check other monitors to determine if they are now monitoring the
    device by running /etc/opt/resmon/lbin/monconfig and using the "Check
    monitoring" command.
Additional Event Data:
  System IP Address...: 15.85.114.14       主機(jī)IP
  Event Id............: 0x42a70e1800000000
  Monitor Version.....: B.01.01
  Event Class.........: I/O        事件類別
  Client Configuration File...........:
  /var/stm/config/tools/monitor/default_disk_em.clcfg
  Client Configuration File Version...: A.01.00
  Qualification criteria met.
  Number of events..: 1
Associated OS error log entry id(s):
  None
Additional System Data:
  System Model Number.............: 9000/800/A500-44     主機(jī)model號(hào)
  OS Version......................: B.11.11      操作系統(tǒng)版本
  STM Version.....................: A.45.00
  EMS Version.....................: A.04.00
Latest information on this event:
  
http://docs.hp.com/hpux/content/hardware/ems/disk_em.htm#101
v-v-v-v-v-v-v-v-v-v-v-v-v D E T A I L S v-v-v-v-v-v-v-v-v-v-v-v-v
Component Data:
  Physical Device Path...: 0/0/1/1.15.0      故障設(shè)備物理路徑
  Device Class...........: Disk       設(shè)備類型
  Inquiry Vendor ID......: SEAGATE      設(shè)備生產(chǎn)商
  Inquiry Product ID.....: ST34572WC      產(chǎn)品號(hào)
  Firmware Version.......: HP03       固件版本
  Serial Number..........: JKJ118650QPJCX     故障備件序列號(hào)
>---------- End Event Monitoring Service Event Notification ----------
   Enven mail中顯示了故障發(fā)生的事件、主機(jī)名字、事件嚴(yán)重等級(jí)、故障盤的物理路徑、硬盤的product ID、建議的檢查步驟、主機(jī)型號(hào)、操作系統(tǒng)版本等信息,有助于發(fā)現(xiàn)并排查主機(jī)硬件故障。
   但因主機(jī)硬件故障可能并非單一部件的簡(jiǎn)單故障,故event mail中Probable Cause / Recommended Action 描述有可能更最終發(fā)現(xiàn)確認(rèn)的故障鑒定不一致,這是正常情形。往往對(duì)故障分析,需輔助更多的工具和手段進(jìn)行排查。


本文來自ChinaUnix博客,如果查看原文請(qǐng)點(diǎn):http://blog.chinaunix.net/u/12718/showart_65718.html
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP