1 / 88

EMS Hardware Monitors 2002. 5. 16 강사 : 공 용섭 과장 HPCS/SDO/MC

EMS Hardware Monitors 2002. 5. 16 강사 : 공 용섭 과장 HPCS/SDO/MC. EMS 의 기초적인 이해 EMS Monitors 의 설치 EMS HW Monitors 의 운용 HW Monitor 환경설정 파일 PSM – Peripheral Status Monitor Review of Operation and Basic Trouble-shooting Guidance. Agenda. 목 적. Event Monitoring Service.

miltona
Download Presentation

EMS Hardware Monitors 2002. 5. 16 강사 : 공 용섭 과장 HPCS/SDO/MC

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EMS Hardware Monitors2002. 5. 16강사 : 공 용섭 과장HPCS/SDO/MC

  2. EMS의 기초적인 이해 • EMS Monitors의 설치 • EMS HW Monitors의 운용 • HW Monitor 환경설정 파일 • PSM – Peripheral Status Monitor • Review of Operation and Basic Trouble-shooting Guidance Agenda

  3. 목 적 Event Monitoring Service HW 관련된 문제들을 해결할 수 있도록 EMS HW Monitors의 활용 즉, 그 사용법과 설치 및 설정 그리고 시스템에 적용하는 방법을 알아봅니다. EMS HW Monitors의 기초적인 troubleshooting을 도와줄 여러 가지 방법을 알아봅니다.

  4. SECTION 1:EMS의 기초적인 이해 Event Monitoring Service • EMS HW Monitor 의 장점 • EMS란 무엇인가? • EMS 환경에서 현재 사용중인 Monitors • 설정 가능한 notification methods

  5. Event Monitoring Architecture Event Monitoring Service Customer EMS HA* Monitors • Enterprise Mgmt • Applications* • HP OpenView • CA TNG EMS Hardware Monitors Event Monitoring Service Framework* HP-UX Servers MC/Service Guard* Third Party Monitors HP Predictive* User Developed Monitors HP Response Center Detected by Monitors Distributed to Notification Device Relayed to EMS Framework Events generated by HP Servers

  6. EMS HW Monitor의 장점 Event Monitoring Service • System downtime 감소 • 문제 분석 및 수리 시간 단축 • Default monitoring 환경 설정 • HW 자원 감시를 위한 일반적 툴 제공 • 여러 가지 통보 방법 제공 • 타 applications과 적용 가능 • 최소 관리로 최대 효과

  7. AutoRAID Disk Array (armmon) Chassis Monitor (dm_chassis, June 2001) CMC Monitor (cmc_em, June 2001) Core Hardware (dm_core_hw) Disk (disk_em) Disk Array FC60 (fc60mon) Fast Wide SCSI Disk Array (fw_disk_array) Fibre Channel Adapter (dm_FCMS_adapter) Fibre Channel Adapter A5158 (dm_TL_adapter) Fibre Channel Arbitrated Loop Hub (dm_fc_hub) Fibre Channel SCSI Multiplexer (dm_fc_scsi_mux) Fibre Channel Switch (dm_fc_sw) High Availability Disk Array (ha_disk_array) High Availability Storage System (See SES Enclosure Monitor) Itanium Core Hardware Monitor (ia64_corehw, June 2001) Kernel Resource (krmond) LPMC (lpmc_em) Memory (dm_memory) Remote (RemoteMonitor) SCSI Card (scsi123_em) SCSI Tape Devices (dm_stape) SES Enclosure Monitor (ses_enclosure) System Status (sysstat_em) UPS (dm_ups) Monitors currently utilizing EMS Event Monitoring Service http://www.docs.hp.com/hpux/onlinedocs/diag/ems/ems_prod.htm

  8. EMS란 무엇인가? Event Monitoring Service • Event Monitoring Services는 다음과 같은 내용을 제공하는 하나의 구조체 입니다.: • 자원 감시 설정을 위한 일반적인 툴 제공 • 특정 자원에서 event또는 critical value 발생시 여러 경로를 통해 통보 • 표준 API를 통해 새로운 resource monitor를 쉽게 적용 가능 Configuration Clients Notification Methods Configuration Core/ Framework Target Apps EMS Monitors Resources

  9. HW Event Monitoring 구성 요소 Event Monitoring Service • EMS • Event 통보를 위한 구조체 • Monitoring request manager ( monconfig) • Hardware Monitors • 환경설정 files 및 툴 • Support Tools Manager • Event를 기록 및 보여주는데 사용되는 low-level error handling components. • STM 은 하나의 Map을 제공하는데, 이는 감시해야 될 장치와 그것을 결정하는 HW monitors 에 의해 사용된다.

  10. EMS HW Monitoring: 자원간 통신방법 Event Monitoring Service EMS Framework Notify Event Monitoring HW Monitors Raw Error Log Logtool OS diaglogd Formatted Logs Decoder Raw Memory Log memlogd Memory STM Diag2 Pseudo-Driver *OS Memory Access really means hooks in the Kernel to access memory subsystem. (i.e. read registers) *OS Memory Access HW Device Driver Memory Subsystem

  11. Dict DB Event Monitoring Service EMS Monitor 구성도 CONFIGURATION CLIENTS armmon.log fc60mon.log SAM EMS GUI Configure Package Configuration Monconfig client.log EMS MONITORS CONFIGURATION CORE/FRAMEWORK NOTIFICATION METHODS Values System TCP, UDP, SNMP, eMail, OPC, syslog, textlog, emslog, console Poll HA Monitors P-Client Registrar Up/DN Up/DN PSM client.log Hardware RESOURCES Info-Min-Maj-Ser-Crit api.log api.log TARGET APPS Poll registar.log HW Monitors MC/SG MC/LM STM Notify IT/O NNM emslog OnSite Pred. (emsscan) (Base Path to Monitor Logs /etc/opt/resmon/log/) RC Predictive USER

  12. EMS Event 통보 방법 Event Monitoring Service • Messages written to the system: • SYSLOG • TEXTLOG : event.log • CONSOLE • Predictive Text File • Messages sent via various protocols: • EMAIL • TCP • UDP • SNMP • OPC (Open View Messaging) • Notification integrated with MC/ServiceGuard and MC/LockManager

  13. Target Applications Event Monitoring Service SNMP traps,TCP 또는 UDP 메시지 서비스를 지원하는 어떤 시스템관리 어플리케이션 이라도 event 통보를 받을 수 있습니다. HP Open View IT/O and HP Network Node Manager message templates for EMS are available at no charge as contributed software from the external web page: http://www.software.hp.com http://www.software.hp.com/products/EMS/index.html

  14. Notification Targets End User Actions Event Monitoring Service

  15. Notification Targets End User Actions (cont’d) Event Monitoring Service

  16. Section 2:EMS Monitors의 설치 Event Monitoring Service • 포함된 과정에 대한 개관 • EMS Hardware Monitors 설치

  17. EMS HW Monitors: Product 구조 Event Monitoring Service 800 700 OnlineDiag Support OnlineDiag Support HP-UX 10.20 HP-UX 10.20 Tools Bundle Tools Bundle HP-UX 11.00 HP-UX 11.00 Contrib-Tools Contrib-Tools LIF-LOAD LIF-LOAD B4708AA Sup-Tool-Mgr-800 B4708AA Sup-Tool-Mgr-700 EMS HW Event EMS HW Event B4708AA-1000 B4708AA-1000 Monitors Monitors EMS-Core EMS-Core B7609BA B7609BA EMS-Config EMS-Config Predictive

  18. The Steps Involved Event Monitoring Service • 최신의 Support Plus Media로 부터 STM 설치. • 어떤 장치를 모니터하기 위해 특별히 필요한 사항이 있는지 지원되는 products list 확인. • Monitoring Request Manager 실행: /etc/opt/resmon/lbin/monconfig • Enable hardware event monitoring if release of media is earlier than June 1999 • Default monitoring requests가 적절한지 결정. • Add or modify monitoring requests as necessary. • Verify monitor operation (optional) NOTE: More information on special requirements can be found in the EMS Hardware Monitors User’sGuide, pages 30-34, or at http://www.docs.hp.com/hpux/onlinedocs/diag/ems/ems_prod.htm

  19. EMS Hardware Monitors 설치 Event Monitoring Service • HW Monitoring을 위해 설치되는 Software components : • All hardware event monitors • Monitor configuration files • Monitoring Request Manager • EMS framework, including EMS graphical interface

  20. Supported System Configuration Event Monitoring Service • HP 9000 Series 700 or 800 Computer • HP-UX 10.20 or 11.00, 11i • Support Plus Media or http://www.software.hp.com • If you are using MC/ServiceGuard (optional), you must have • Version A.10.11 for HP-UX 10.20 • Version A.11.04 for HP-UX 11.0

  21. Online Diagnostic Products Event Monitoring Service OnlineDiag Support Tools Bundle • HP-UX 10.20 B.10.20.22.xx • HP-UX 11.00 B.11.00.17.xx • HP-UX 11.11 B.11.11.03.xx • HP-UX 11.20 B.11.20.01.xx Supported on HP-UX 10.20 and 11.X EMS-Core: EMS Framework (B7609BA) EMS-Config: SAM interface to EMS (B7609BA) Sup-Tool-Mgr: STM, EMS HW Monitors, PSM, monconfig (B4708AA) Predictive: Onsite Predictive, emsscan

  22. Monitor-Specific InstallationTasks – (Example) Event Monitoring Service • Special requirements for individual monitors: • URL: http://www.docs.hp.com/hpux/onlinedocs/diag/ems/ems_prod.htm • AutoRAID Disk Arrays - ARMserver • Fibre Channel SCSI Multiplexers - F/W ver. 3840 이상 • Fibre Channel Adapters • Fibre Channel Arbitrated Loop Hubs • Fibre Channel Switches • System Chassis Code Monitor ( 11i only) • HP UPSs - ups_mond

  23. Enable Monitoring Event Monitoring Service • IPR9906 - EMS HW Monitors are active by default after installation • E-Mail message for enabling HW monitors is sent to root@system* • HW monitors enabled from character-based configuration client called the “Monitoring Request Manager” • /etc/opt/resmon/lbin/monconfig • Default monitoring requests provided for HW event monitoring • Users may accept these defaults or customize their monitoring configuration using monconfig

  24. Enable Monitoring – (cont’d) Event Monitoring Service • Default monitoring requests NOT provided for HW status monitoring. (PSM) • Status monitoring configured using the EMS GUI • EMS HW resources will show up in EMS GUI configuration client after specific HW monitoring has been added using monconfig • IPR0006 - CONSOLE logging not enabled by default.

  25. EMS HW Monitors and EMS HA Monitors - Differences Event Monitoring Service

  26. Section 3:EMS HW Monitors의 운용 Event Monitoring Service • Default settings • Listing • Viewing • Adding • Modifying • Verifying • Checking status • Retrieving and interpreting event messages • Removing/deleting/disabling

  27. Monitoring Request란 무엇인가? Event Monitoring Service • 어떤 hardware를 감시할 것인가?- HW 자원과 관련된 monitor를 선택. • 어떤 events를 리포팅 할 것인가?- 리포팅 할 event의 severity level를 선택. • 어떻게 통보를 해줄 것인가?- Notification 방법을 선택.

  28. Monitoring Request Manager Event Monitoring Service • Monitoring is enabled by default • Opening screen indicates if monitoring is currently enabled or disabled • Must be logged on as root • Type /etc/opt/resmon/lbin/monconfig

  29. Monitoring Request Manager:Opening Screen Event Monitoring Service EMS Version : A.03.20 STM Version : A.26.00

  30. EnablingHardware Event Monitoring Event Monitoring Service • Support Tools bundle이 설치될 때 자동으로 enable 됨 • Run the Hardware Monitoring Request Manager • /etc/opt/resmon/lbin/monconfig • Enter “E” from the main menu selection prompt

  31. HW Monitoring Request Manager Event Monitoring Service

  32. Default Monitoring Requests Event Monitoring Service

  33. Listing Monitor Descriptions Event Monitoring Service • 특정 HW 자원에 적합한 monitor를 선택할 때 사용. • 각각의 monitor가 어떤 HW 자원을 지원하는지 확인할 때 사용. • 사용 가능한 monitor들의 내용을 나열한다. • Run the Hardware Monitoring Request Manager • /etc/opt/resmon/lbin/monconfig • Enter ‘L’ from the main menu selection prompt http://www.docs.hp.com/hpux/onlinedocs/diag/ems/emd_summ.htm

  34. Listing Monitor Descriptions Event Monitoring Service

  35. Viewing Current Monitoring Requests Event Monitoring Service • Monitoring requests를 추가 또는 수정하기 전에 확인할 경우에 사용 • Monitoring and notification strategy를 수행할 추가적인 requests를 결정할 때 사용. • Run the Hardware Monitoring Request Manager • /etc/opt/resmon/lbin/monconfig • Enter ‘S’ from the main selection prompt

  36. Current Monitoring Requests Event Monitoring Service

  37. Adding a Monitoring Request Event Monitoring Service • 특정 monitor를 위해 통보 방법을 추가 및 설정할 때 사용. • Run the Monitoring Request Manager • /etc/opt/resmon/lbin/monconfig • Enter “A” at the main selection prompt, then select • Monitors to which this configuration can apply • Criteria Thresholds (INFORMATION, CRITICAL, …) • Criteria Operator (>=, =, …) • Notification Method Prompt (EMAIL, SYSLOG, …) • User Comment (Any desired comments) • Client Configuration File Prompt • (C)lear – default client configuration file • (A)dd – specify a client configuration file • Save request when prompted

  38. Hardware Monitoring Requests Event Monitoring Service 어떤 HW를 모니터 할 것인지 설정한다. 각 request에 대해 여러 개의 monitor를 선택할 수 있다. Hardware Event Monitor Severity Level: Critical = 5 Serious = 4 Major Warning = 3 Minor Warning = 2 Information = 1 Operator = > < >= <= ! 어떤 event에 대해 리포팅 할 것인지 설정한다. 각 request에 대해 한 쌍의 설정 값을 선택할 수 있다. + Event가 발생시 어떻게 통보할 것인지 설정한다. 각 request에 대해 오직 하나의 통보 방법을 선택할 수 있다. Notification Method

  39. Event Severity Levels & Interaction with MC/SG Event Monitoring Service

  40. Example: Adding a Monitoring Request (AutoRaid) Event Monitoring Service

  41. Event Monitoring Service Example: Adding a MonitoringRequest (cont’d)

  42. Example: Adding a MonitoringRequest (cont’d) Event Monitoring Service

  43. Example: Adding a MonitoringRequest (cont’d) Event Monitoring Service

  44. Example: Adding a MonitoringRequest (cont’d) Event Monitoring Service

  45. Modifying Monitoring Requests Event Monitoring Service • Run the Hardware Monitoring Request Manager • /etc/opt/resmon/lbin/monconfig • Enter “M” from the main selection prompt • Enter the number of the request you want to modify • Change the setting(s) • Save request when prompted

  46. Modifying Monitoring Requests Event Monitoring Service

  47. Remove/Disable EMS Hardware Monitoring Event Monitoring Service • RemoveSTM and/or EMS • Run swremove • SelectB7609BA or OnlineDiag bundle • Disable • Run Hardware Monitoring Request Manager • /etc/opt/resmon/lbin/monconfig • Enter “K” from main menu selection prompt • Confirm when prompted

  48. Delete EMS HW Monitor Requests Event Monitoring Service • Delete • Run Hardware Monitoring Request Manager • /etc/opt/resmon/lbin/monconfig • Enter “D” from main menu selection prompt • Enter the number assigned to request to delete • Delete when prompted

  49. Deleting A Monitoring Request Event Monitoring Service

  50. Verifying Hardware Event Monitoring Event Monitoring Service • Run the command send_test_event (introduced September 2000) • Simulate a hardware failure or event • Remove a disk from an array • Unplug a cable • Turn off the hardware resource • Use known defective media • Event messages will be generated

More Related