SlideShare a Scribd company logo
1 of 22
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
How Enterprise Manager uses
SNMP to monitor Exadata
Mike Chafin
Principal Member of Technical Staff
Maximum Availability Architecture
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
What is SNMP?
• SNMP (Simple Network Management Protocol) is an internet standard protocol for
sending and receiving information to and from devices
• SNMP standard is defined by Internet Engineering Task Force (IETF)
• Currently there are four versions: v1, v2, v2c and v3
• v2 was never widely adopted due to an overly complex security model
• v1 and v2c have several areas of incompatibility.
• V2c is the most widely prevalent implementation
• v3 primarily added security and remote configuration enhancements to SNMP
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SNMP Terminology
• MIB (Management Information Base)
Collection of definitions which define the properties of the
managed object
The MIB resides on the managed object
• Agent
Gathers information about the local device and saves them
in the MIB
• SNMP Manager
A system that is configured to poll SNMP agents for
information
Managed Object
MIB Database
SNMP Agent
SNMP Receiver
Monitoring
Software
SNMP Receiver
Network
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Why does Enterprise Manager use SNMP for Exadata?
• Exadata Hardware components notify Enterprise Manager of component failures via
SNMP traps
• Information is also gathered using SNMP Get operations on certain components such
as the PDUs
• SNMP is configured in various places
CELLCLI
DBMCLI
IBSWITCH ilom
Cisco Switch admin interface
PDU ilom website
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SNMP Operations
• GetRequest
A manager-to-agent request to retrieve information
• SetRequest
A manager-to-agent request to change a value
• GetNextRequest
A manager-to-agent request to discover available variables and their values
• GetBulkRequest
A manager-to-agent request for multiple iterations of GetNextRequest
• Response
Returns variable bindings and acknowledgement from agent to manager for GetRequest, SetRequest, GetNextRequest, GetBulkRequest
and InformRequest
• Trap
Asynchronous notification from agent to manager. SNMP traps enable an agent to notify the management station of significant events
by way of an unsolicited SNMP message.
• InformRequest
Acknowledged asynchronous notification
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SNMP Flow
• There is no need to configure snmpd on the agent hosts to receive traps
• The EM agent contains code to act as a receiver
• All rack components should be configured to send SNMP traps to both the
primary and backup monitoring agents
• Relevant information is then sent from the
agent to the OMS for processing and the
creation of Incidents
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SNMP Community String
• Sent along with each GET request
• Allows access to the specified Managed Object
• Used only in v1, v2 and v2c
• Most objects ship with a default community string of public
• Enterprise Manager uses read-only community strings
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Exadata Component SNMP Configuration
• During Exadata discovery some components are automatically configured for SNMP
InfiniBand Switches (v2c)
Storage Servers (v1)
**(Plug-In version 12.1.0.2) and later. Earlier
versions require manual entry
• Enter the desired community string
on screens eight and nine of discovery
• Always use a secure community string!
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Exadata Component SNMP Configuration(contd.)
• Remaining components must be manually configured
Compute Node ilom (v2c)
Cisco Switch (v1)
PDUs (v1)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Exadata Compute Node SNMP Configuration
• Compute nodes are configured using dbmcli (Exadata version 12.1.2.1.0 and later) or
exadata_mon_hw_asr.pl in earlier versions
dbmcli -e "ALTER DBSERVER snmpSubscriber=((host='[agent1_hostname]',port=[agent1_port],
community=‘internal',type=asr),host='[agent2_hostname]',port=[agent2_port],community=‘internal',type=asr))“
• “type=asr” specifies that the SNMP version should be v2c
• To Verify the configuration on the Compute Node
dbmcli -e "LIST DBSERVER attributes snmpSubscriber“
• There should be an entry for the hosts and ports of both monitoring agents
((host=agent1_hostname,port=agent1_port,community=Internal,type=asr),
(host=agent2_hostname,port=agent2_port,community=Internal,type=asr))
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Exadata Ethernet Switch SNMP Configuration
• Login to the switch and enter configuration mode
ssh cisco-switch-host -l <admin user>
User Access Verification Password:
> enable
Password:
# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
#
• Allow access for the agents
#access-list 1 permit agent1_ip_address agent2_ip_address
• Add agent subscriptions
#snmp-server host [agent1_ip] version 1 internal udp-port [agent1_port]
#snmp-server host [agent2_ip] version 1 internal udp-port [agent2_port]
• Set the switch to only send relevant traps
#snmp-server enable traps envmon
• Save the configuration
# end
# copy running-config startup-config
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Exadata Ethernet Switch SNMP Configuration
• Verify the configuration
#show configuration
<TRIMMED>
snmp-server host agent1_ip public udp-port agent1_port entity envmon config snmp
snmp-server host agent2_ip public udp-port agent2_port entity envmon config snmp
<TRIMMED>
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Exadata PDU SNMP Configuration
• Login to the PDU with a web browser
• Click on the “Net Configuration” button
• Scroll down to the SNMP section
Ensure “SNMP enable” option is checked
Add an entry with each agent’s IP and community string
Select the v1 radio button
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Exadata PDU SNMP Configuration
• Next click the Submit button
• Repeat the above steps on the second PDU
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Verify Storage Server SNMP Configuration
• To Verify the configuration on the Storage Server
cellcli -e "LIST cell attributes snmpSubscriber“
• There should be an entry for the hosts and ports of both monitoring agents
((host=agent1_hostname,port=agent1_port,community=Internal,type=asr),
(host=agent2_hostname,port=agent2_port,community=Internal,type=asr))
• If running an Exadata Plugin version below 12.1.0.2 the cell must be manually configured as shown below
cell -e "ALTER CELL snmpSubscriber=((host='agent1_hostname',port=agent1_port,
community=‘internal',type=asr),(host='agent2_hostname’,port=agent2_port,community=‘internal',type=asr))“
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Verify Infiniband SNMP Configuration
• Login to the Infiniband switch with a web browser
Select ConfigurationAlert Management
• There should be an entry for each agent with the following
Level=minor
Destination=agent_ip,agent_port,snmp1 v1,community “community string”
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Finding SNMP Information in Enterprise Manager
• There is no way to view some target SNMP information such as community string in
Enterprise Manager once the target is discovered
• However repvfy can be used to extract the information
repvfy -tns haem.world -pwd notwelcome1 dump exadata_validation -name "DB Machine
scab02.us.oracle.com“
• For more information on repvfy see MOS Note 421053.1
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Conclusion
• With SNMP configuration complete any hardware faults that occur on Exadata rack
components should be reported to Enterprise Manager.
• These faults can be viewed in Enterprise Manager Incident Manager
• For more information on Incident Manager :
https://docs.oracle.com/cd/E24628_01/doc.121/e24473/incident_mgmt.htm#EMADM9790
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
References
• For more information refer to: Enterprise Manager Exadata Management Getting Started Guide
• For more information on Exadata Monitoring refer to: Exadata health and resource usage monitoring
• For more information on repvfy see MOS Note 421053.1
Oracle Enterprise manager SNMP and Exadata

More Related Content

What's hot

[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
オラクルエンジニア通信
 

What's hot (20)

Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
 
Maximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19cMaximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19c
 
Oracle GoldenGate FAQ
Oracle GoldenGate FAQOracle GoldenGate FAQ
Oracle GoldenGate FAQ
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
[Oracle DBA & Developer Day 2014] しばちょう先生による特別講義! RMANの運用と高速化チューニング
[Oracle DBA & Developer Day 2014] しばちょう先生による特別講義! RMANの運用と高速化チューニング[Oracle DBA & Developer Day 2014] しばちょう先生による特別講義! RMANの運用と高速化チューニング
[Oracle DBA & Developer Day 2014] しばちょう先生による特別講義! RMANの運用と高速化チューニング
 
Oracle AHF Insights 23c: Deeper Diagnostic Insights for your Oracle Database
Oracle AHF Insights 23c: Deeper Diagnostic Insights for your Oracle DatabaseOracle AHF Insights 23c: Deeper Diagnostic Insights for your Oracle Database
Oracle AHF Insights 23c: Deeper Diagnostic Insights for your Oracle Database
 
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)
 
Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0
Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0
Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0
 
簡単!AWRをEXCELピボットグラフで分析しよう♪
簡単!AWRをEXCELピボットグラフで分析しよう♪簡単!AWRをEXCELピボットグラフで分析しよう♪
簡単!AWRをEXCELピボットグラフで分析しよう♪
 
オンプレミスからクラウドへ:Oracle Databaseの移行ベストプラクティスを解説 (Oracle Cloudウェビナーシリーズ: 2021年2月18日)
オンプレミスからクラウドへ:Oracle Databaseの移行ベストプラクティスを解説 (Oracle Cloudウェビナーシリーズ: 2021年2月18日)オンプレミスからクラウドへ:Oracle Databaseの移行ベストプラクティスを解説 (Oracle Cloudウェビナーシリーズ: 2021年2月18日)
オンプレミスからクラウドへ:Oracle Databaseの移行ベストプラクティスを解説 (Oracle Cloudウェビナーシリーズ: 2021年2月18日)
 
Presentation upgrade, migrate &amp; consolidate to oracle database 12c &amp...
Presentation   upgrade, migrate &amp; consolidate to oracle database 12c &amp...Presentation   upgrade, migrate &amp; consolidate to oracle database 12c &amp...
Presentation upgrade, migrate &amp; consolidate to oracle database 12c &amp...
 
シンプルでシステマチックな Oracle Database, Exadata 性能分析
シンプルでシステマチックな Oracle Database, Exadata 性能分析シンプルでシステマチックな Oracle Database, Exadata 性能分析
シンプルでシステマチックな Oracle Database, Exadata 性能分析
 
Oracle RAC 19c with Standard Edition (SE) 2 - Support Update
Oracle RAC 19c with Standard Edition (SE) 2 - Support UpdateOracle RAC 19c with Standard Edition (SE) 2 - Support Update
Oracle RAC 19c with Standard Edition (SE) 2 - Support Update
 
Oracle RAC - New Generation
Oracle RAC - New GenerationOracle RAC - New Generation
Oracle RAC - New Generation
 
Oracle GoldenGate EM Plugin 13c セットアップガイド
Oracle GoldenGate EM Plugin 13c セットアップガイドOracle GoldenGate EM Plugin 13c セットアップガイド
Oracle GoldenGate EM Plugin 13c セットアップガイド
 
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
 
Oracle GoldenGate Veridata 12cR2 セットアップガイド
Oracle GoldenGate Veridata 12cR2 セットアップガイドOracle GoldenGate Veridata 12cR2 セットアップガイド
Oracle GoldenGate Veridata 12cR2 セットアップガイド
 
OCI 購入モデルの整理と Universal Credit 最新情報(2021年2月17日版)
OCI 購入モデルの整理と Universal Credit 最新情報(2021年2月17日版)OCI 購入モデルの整理と Universal Credit 最新情報(2021年2月17日版)
OCI 購入モデルの整理と Universal Credit 最新情報(2021年2月17日版)
 
Zero Data Loss Recovery Appliance 設定手順例
Zero Data Loss Recovery Appliance 設定手順例Zero Data Loss Recovery Appliance 設定手順例
Zero Data Loss Recovery Appliance 設定手順例
 

Similar to Oracle Enterprise manager SNMP and Exadata

Chapter 2 overview
Chapter 2 overviewChapter 2 overview
Chapter 2 overview
ali raza
 

Similar to Oracle Enterprise manager SNMP and Exadata (20)

CampusSDN2017 - Jawdat: SDN Technology Evolvement
CampusSDN2017 - Jawdat: SDN Technology EvolvementCampusSDN2017 - Jawdat: SDN Technology Evolvement
CampusSDN2017 - Jawdat: SDN Technology Evolvement
 
Exploring the Final Frontier of Data Center Orchestration: Network Elements -...
Exploring the Final Frontier of Data Center Orchestration: Network Elements -...Exploring the Final Frontier of Data Center Orchestration: Network Elements -...
Exploring the Final Frontier of Data Center Orchestration: Network Elements -...
 
Security defined routing_cybergamut_v1_1
Security defined routing_cybergamut_v1_1Security defined routing_cybergamut_v1_1
Security defined routing_cybergamut_v1_1
 
L2 and L3 agent restructure
L2 and L3 agent restructureL2 and L3 agent restructure
L2 and L3 agent restructure
 
SNMP OPC Server from Transcend Automation
SNMP OPC Server from Transcend AutomationSNMP OPC Server from Transcend Automation
SNMP OPC Server from Transcend Automation
 
CCNA4 Verson6 Chapter5
CCNA4 Verson6 Chapter5CCNA4 Verson6 Chapter5
CCNA4 Verson6 Chapter5
 
CCNA Network Monitoring
CCNA Network MonitoringCCNA Network Monitoring
CCNA Network Monitoring
 
Chapter 2 overview
Chapter 2 overviewChapter 2 overview
Chapter 2 overview
 
[old] Network Performance Monitoring for DevOps and IT
[old] Network Performance Monitoring for DevOps and IT[old] Network Performance Monitoring for DevOps and IT
[old] Network Performance Monitoring for DevOps and IT
 
DCUS17 : Docker networking deep dive
DCUS17 : Docker networking deep diveDCUS17 : Docker networking deep dive
DCUS17 : Docker networking deep dive
 
CCNA_Security_02.ppt
CCNA_Security_02.pptCCNA_Security_02.ppt
CCNA_Security_02.ppt
 
Puppet devops wdec
Puppet devops wdecPuppet devops wdec
Puppet devops wdec
 
Ansible benelux meetup - Amsterdam 27-5-2015
Ansible benelux meetup - Amsterdam 27-5-2015Ansible benelux meetup - Amsterdam 27-5-2015
Ansible benelux meetup - Amsterdam 27-5-2015
 
Virtualization & Network Connectivity
Virtualization & Network Connectivity Virtualization & Network Connectivity
Virtualization & Network Connectivity
 
CENTRAL MANAGEMENT OF NETWORK AND CALL SERVICES
CENTRAL MANAGEMENT OF NETWORK AND CALL SERVICESCENTRAL MANAGEMENT OF NETWORK AND CALL SERVICES
CENTRAL MANAGEMENT OF NETWORK AND CALL SERVICES
 
DPDK Summit 2015 - RIFT.io - Tim Mortsolf
DPDK Summit 2015 - RIFT.io - Tim MortsolfDPDK Summit 2015 - RIFT.io - Tim Mortsolf
DPDK Summit 2015 - RIFT.io - Tim Mortsolf
 
Splunk: Forward me the REST of those shells
Splunk: Forward me the REST of those shellsSplunk: Forward me the REST of those shells
Splunk: Forward me the REST of those shells
 
2012 ah vegas remote networking fundamentals
2012 ah vegas   remote networking fundamentals2012 ah vegas   remote networking fundamentals
2012 ah vegas remote networking fundamentals
 
Snmp Opc Server from Transcend Automation
Snmp Opc Server from Transcend AutomationSnmp Opc Server from Transcend Automation
Snmp Opc Server from Transcend Automation
 
Composing services with Kubernetes
Composing services with KubernetesComposing services with Kubernetes
Composing services with Kubernetes
 

Recently uploaded

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

Oracle Enterprise manager SNMP and Exadata

  • 1.
  • 2. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | How Enterprise Manager uses SNMP to monitor Exadata Mike Chafin Principal Member of Technical Staff Maximum Availability Architecture
  • 3. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
  • 4. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | What is SNMP? • SNMP (Simple Network Management Protocol) is an internet standard protocol for sending and receiving information to and from devices • SNMP standard is defined by Internet Engineering Task Force (IETF) • Currently there are four versions: v1, v2, v2c and v3 • v2 was never widely adopted due to an overly complex security model • v1 and v2c have several areas of incompatibility. • V2c is the most widely prevalent implementation • v3 primarily added security and remote configuration enhancements to SNMP
  • 5. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | SNMP Terminology • MIB (Management Information Base) Collection of definitions which define the properties of the managed object The MIB resides on the managed object • Agent Gathers information about the local device and saves them in the MIB • SNMP Manager A system that is configured to poll SNMP agents for information Managed Object MIB Database SNMP Agent SNMP Receiver Monitoring Software SNMP Receiver Network
  • 6. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Why does Enterprise Manager use SNMP for Exadata? • Exadata Hardware components notify Enterprise Manager of component failures via SNMP traps • Information is also gathered using SNMP Get operations on certain components such as the PDUs • SNMP is configured in various places CELLCLI DBMCLI IBSWITCH ilom Cisco Switch admin interface PDU ilom website
  • 7. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | SNMP Operations • GetRequest A manager-to-agent request to retrieve information • SetRequest A manager-to-agent request to change a value • GetNextRequest A manager-to-agent request to discover available variables and their values • GetBulkRequest A manager-to-agent request for multiple iterations of GetNextRequest • Response Returns variable bindings and acknowledgement from agent to manager for GetRequest, SetRequest, GetNextRequest, GetBulkRequest and InformRequest • Trap Asynchronous notification from agent to manager. SNMP traps enable an agent to notify the management station of significant events by way of an unsolicited SNMP message. • InformRequest Acknowledged asynchronous notification
  • 8. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | SNMP Flow • There is no need to configure snmpd on the agent hosts to receive traps • The EM agent contains code to act as a receiver • All rack components should be configured to send SNMP traps to both the primary and backup monitoring agents • Relevant information is then sent from the agent to the OMS for processing and the creation of Incidents
  • 9. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | SNMP Community String • Sent along with each GET request • Allows access to the specified Managed Object • Used only in v1, v2 and v2c • Most objects ship with a default community string of public • Enterprise Manager uses read-only community strings
  • 10. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Exadata Component SNMP Configuration • During Exadata discovery some components are automatically configured for SNMP InfiniBand Switches (v2c) Storage Servers (v1) **(Plug-In version 12.1.0.2) and later. Earlier versions require manual entry • Enter the desired community string on screens eight and nine of discovery • Always use a secure community string!
  • 11. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Exadata Component SNMP Configuration(contd.) • Remaining components must be manually configured Compute Node ilom (v2c) Cisco Switch (v1) PDUs (v1)
  • 12. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Exadata Compute Node SNMP Configuration • Compute nodes are configured using dbmcli (Exadata version 12.1.2.1.0 and later) or exadata_mon_hw_asr.pl in earlier versions dbmcli -e "ALTER DBSERVER snmpSubscriber=((host='[agent1_hostname]',port=[agent1_port], community=‘internal',type=asr),host='[agent2_hostname]',port=[agent2_port],community=‘internal',type=asr))“ • “type=asr” specifies that the SNMP version should be v2c • To Verify the configuration on the Compute Node dbmcli -e "LIST DBSERVER attributes snmpSubscriber“ • There should be an entry for the hosts and ports of both monitoring agents ((host=agent1_hostname,port=agent1_port,community=Internal,type=asr), (host=agent2_hostname,port=agent2_port,community=Internal,type=asr))
  • 13. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Exadata Ethernet Switch SNMP Configuration • Login to the switch and enter configuration mode ssh cisco-switch-host -l <admin user> User Access Verification Password: > enable Password: # configure terminal Enter configuration commands, one per line. End with CNTL/Z. # • Allow access for the agents #access-list 1 permit agent1_ip_address agent2_ip_address • Add agent subscriptions #snmp-server host [agent1_ip] version 1 internal udp-port [agent1_port] #snmp-server host [agent2_ip] version 1 internal udp-port [agent2_port] • Set the switch to only send relevant traps #snmp-server enable traps envmon • Save the configuration # end # copy running-config startup-config
  • 14. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Exadata Ethernet Switch SNMP Configuration • Verify the configuration #show configuration <TRIMMED> snmp-server host agent1_ip public udp-port agent1_port entity envmon config snmp snmp-server host agent2_ip public udp-port agent2_port entity envmon config snmp <TRIMMED>
  • 15. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Exadata PDU SNMP Configuration • Login to the PDU with a web browser • Click on the “Net Configuration” button • Scroll down to the SNMP section Ensure “SNMP enable” option is checked Add an entry with each agent’s IP and community string Select the v1 radio button
  • 16. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Exadata PDU SNMP Configuration • Next click the Submit button • Repeat the above steps on the second PDU
  • 17. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Verify Storage Server SNMP Configuration • To Verify the configuration on the Storage Server cellcli -e "LIST cell attributes snmpSubscriber“ • There should be an entry for the hosts and ports of both monitoring agents ((host=agent1_hostname,port=agent1_port,community=Internal,type=asr), (host=agent2_hostname,port=agent2_port,community=Internal,type=asr)) • If running an Exadata Plugin version below 12.1.0.2 the cell must be manually configured as shown below cell -e "ALTER CELL snmpSubscriber=((host='agent1_hostname',port=agent1_port, community=‘internal',type=asr),(host='agent2_hostname’,port=agent2_port,community=‘internal',type=asr))“
  • 18. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Verify Infiniband SNMP Configuration • Login to the Infiniband switch with a web browser Select ConfigurationAlert Management • There should be an entry for each agent with the following Level=minor Destination=agent_ip,agent_port,snmp1 v1,community “community string”
  • 19. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Finding SNMP Information in Enterprise Manager • There is no way to view some target SNMP information such as community string in Enterprise Manager once the target is discovered • However repvfy can be used to extract the information repvfy -tns haem.world -pwd notwelcome1 dump exadata_validation -name "DB Machine scab02.us.oracle.com“ • For more information on repvfy see MOS Note 421053.1
  • 20. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Conclusion • With SNMP configuration complete any hardware faults that occur on Exadata rack components should be reported to Enterprise Manager. • These faults can be viewed in Enterprise Manager Incident Manager • For more information on Incident Manager : https://docs.oracle.com/cd/E24628_01/doc.121/e24473/incident_mgmt.htm#EMADM9790
  • 21. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | References • For more information refer to: Enterprise Manager Exadata Management Getting Started Guide • For more information on Exadata Monitoring refer to: Exadata health and resource usage monitoring • For more information on repvfy see MOS Note 421053.1

Editor's Notes

  1. IB switches and Cisco switches use getbulkrequest and traps PDU uses get operations and traps Cell targets use traps and getrequests Point out that one of the challenges of SNMP management is its distributed nature
  2. Go briefly over why we need two enthttps://docs.oracle.com/cd/E24628_01/doc.121/e24473/incident_mgmt.htm#EMADM9790ries. One for the primary agent and one for the backup agent.