72
Cisco Systems, Inc. www.cisco.com Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at www.cisco.com/go/offices. Cisco UCS Management Pack User Guide, Release 3.x For Microsoft System Center 2012, 2012 SP1 and 2012 R2, Operations Manager May 2015 Text Part Number:

Cisco UCS Management Pack User Guide, Release 3...Real Time UCS Fault monitoring 2-2 Dedicated Service Machine for UCS Domain Monitoring 2-2 Power State Change Notification for Blade

  • Upload
    others

  • View
    45

  • Download
    0

Embed Size (px)

Citation preview

Cisco UCS Management Pack User Guide, Release 3.x For Microsoft System Center 2012, 2012 SP1 and 2012 R2, Operations ManagerMay 2015

Cisco Systems, Inc.www.cisco.com

Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at www.cisco.com/go/offices.

Text Part Number:

THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.

THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.

The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.

NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.

IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)

Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.

Cisco UCS Management Pack User Guide, Release 3.x © 2015 Cisco Systems, Inc. All rights reserved.

C O N T E N T S

Preface 1

Audience 1

Conventions 1

Related Cisco UCS Documentation 3

Documentation Feedback 3

Obtaining Documentation and Submitting a Service Request 3

Overview 1-1

About the Cisco UCS Management Pack 1-1

System Requirements 1-1

Management and Gateway Servers 1-1

Operations Manager Windows Agents 1-2

Supported Cisco UCS Manager Releases 1-2

Introduction 2-1

One Monitor per UCS Domain Fault 2-1

Knowledge Articles in Alerts 2-2

Installing the Management Service outside the Resource Pool 2-2

Event Based Discovery 2-2

Real Time UCS Fault monitoring 2-2

Dedicated Service Machine for UCS Domain Monitoring 2-2

Power State Change Notification for Blade and Rack Servers 2-2

Proxy Server Support 2-3

PowerShell Cmdlets 2-3

Additional Features 2-3

Deployment Guide and Sizing Information 3-1

Deployment Guide and Sizing Information 3-1

Deployment Scenarios on Trusted Boundary (Domain) 3-1

Deployment Scenarios on Untrusted Boundary (Domain) 3-3

Check List to Install and Configure Cisco UCS Management Pack 3-5

Installing the Cisco UCS Management Pack 4-1

Installing the Cisco UCS Management Pack and Cisco UCS Management Service 4-1

iiiCisco UCS Management Pack User Guide, Release 3.x

Contents

Installing the Cisco UCS Management Service on Multiple Servers / Agent Managed Computers 4-2

Adding a Firewall Exception for the Cisco UCS Management Service 4-4

Upgrading the Management Pack 4-4

Uninstalling the Cisco UCS Management Pack 4-4

Using Operations Manager Console 4-4

Using Operations Manager Cmdlets 4-5

Uninstalling Cisco UCS Management Service 4-5

Adding a Cisco UCS Domain to Operations Manager 4-6

Guidelines for adding a Cisco UCS Domain to Operations Manager 4-6

Adding a New UCS Domain or Updating Existing Domains using PowerShell Cmdlets 4-8

Configuring Cisco UCS Manager Accounts 5-1

Creating an Account 5-1

Associating a Run As Account with a Profile 5-1

Configuring Fault Acknowledgment 6-1

Creating a Resolution State 6-1

Creating a Channel 6-2

Creating a Subscriber and Subscription 6-2

Customizing Cisco UCS Management Pack 7-1

Object Discoveries 7-1

Enabling Object Discoveries using PowerShell Cmdlets. 7-1

Types of Object Discovery 7-2

Overriding Object Discoveries 7-3

Overriding Object Discoveries using PowerShell Cmdlets 7-3

Monitors 7-4

Enabling Monitors using PowerShell Cmdlets 7-4

Severity Mapping 7-4

Overriding the Monitor 7-5

Overriding Monitors using PowerShell Cmdlets 7-6

Rules for Miscellaneous Alerts 7-6

Limitations of Miscellaneous Alerts 7-6

Overriding the Miscellaneous Alerts Rule 7-6

Migrating the Cisco UCS Domain to a Different Management Service 7-7

Monitoring Cisco UCS Domains with Operations Manager 8-1

About the Monitoring Pane in Operations Manager 8-1

Accessing the Cisco UCS folder in the Monitoring Pane 8-1

ivCisco UCS Management Pack User Guide, Release 3.x

Contents

About the Cisco UCS Folder 8-1

Cisco UCS Management Service Folder 8-2

Cisco UCS Instance Folder 8-3

Hardware Inventory Folder 8-6

Logical Inventory Folder 8-7

UCS HW/Logical Component Tasks 8-8

Alert Operations 8-9

PowerShell Cmdlets for Cisco UCS Management Pack 9-1

Importing Cmdlets from the PowerShell Module 9-1

Adding or Updating UCS Instance or Instances 9-2

Retrieving, enabling, or disabling UCS Object Discoveries 9-4

Retrieving, enabling or disabling UCS Fault Monitors 9-5

Troubleshooting 10-1

Error when Adding a Cisco UCS Domain to Operations Manager 10-1

Cisco UCS Monitoring Not Started 10-1

Cisco UCS Monitoring Stopped 10-2

Cisco UCS Management Service Log 10-2

Logging Levels 10-2

Changing the Logging Levels 10-2

Back Up Log Files 10-3

Purge Log Files 10-3

Generating Cisco UCS Technical Support File 10-3

Generating Cisco UCS Management Pack Installer Log File 10-4

Monitors and Rules for UCS Faults in the Management Pack 11-1

Enabled Monitors for UCS Faults 11-1

Disabled Monitors for UCS Faults 11-2

Miscellaneous Faults 11-3

Critical Miscellaneous Faults 11-3

Warning Miscellaneous Faults 11-4

vCisco UCS Management Pack User Guide, Release 3.x

Contents

viCisco UCS Management Pack User Guide, Release 3.x

Preface

This preface includes the following sections:

• Audience, page 1

• Conventions, page 1

• Related Cisco UCS Documentation, page 3

• Documentation Feedback, page 3

• Obtaining Documentation and Submitting a Service Request, page 3

AudienceThis guide is intended primarily for data center administrators with responsibilities and expertise in one or more of the following:

• Server administration

• Storage administration

• Network administration

• Network security

ConventionsThis document uses the following conventions:

Convention Indication

bold font Commands and keywords and user-entered text appear in bold font.

italic font Document titles, new or emphasized terms, and arguments for which you supply values are in italic font.

[ ] Elements in square brackets are optional.

{x | y | z } Required alternative keywords are grouped in braces and separated by vertical bars.

[ x | y | z ] Optional alternative keywords are grouped in brackets and separated by vertical bars.

-1Cisco UCS Management Pack User Guide, Release 3.x

Note Means reader take note. Notes contain helpful suggestions or references to material not covered in the manual.

Tip Means the following information will help you solve a problem. The tips information might not be troubleshooting or even an action, but could be useful information, similar to a Timesaver.

Caution Means reader be careful. In this situation, you might perform an action that could result in equipment damage or loss of data.

Timesaver Means the described action saves time. You can save time by performing the action described in the paragraph.

Warning IMPORTANT SAFETY INSTRUCTIONS

This warning symbol means danger. You are in a situation that could cause bodily injury. Before you work on any equipment, be aware of the hazards involved with electrical circuitry and be familiar with standard practices for preventing accidents. Use the statement number provided at the end of each warning to locate its translation in the translated safety warnings that accompanied this device.

SAVE THESE INSTRUCTIONS

Warning Statements using this symbol are provided for additional information and to comply with regulatory and customer requirements.

string A nonquoted set of characters. Do not use quotation marks around the string or the string will include the quotation marks.

courier font Terminal sessions and information the system displays appear in courier font.

< > Nonprinting characters such as passwords are in angle brackets.

[ ] Default responses to system prompts are in square brackets.

!, # An exclamation point (!) or a pound sign (#) at the beginning of a line of code indicates a comment line.

-2Cisco UCS Management Pack User Guide, Release 3.x

Related Cisco UCS DocumentationDocumentation Roadmaps

For a complete list of all B-Series documentation, see the Cisco UCS B-Series Servers Documentation Roadmap available at the following URL: http://www.cisco.com/go/unifiedcomputing/b-series-doc.

Other Documentation Resources

An ISO file containing all B and C-Series documents is available at the following URL: http://www.cisco.com/cisco/software/type.html?mdfid=283853163&flowid=25821. From this page, click Unified Computing System (UCS) Documentation Roadmap Bundle.

The ISO file is updated after every major documentation release.

Follow Cisco UCS Docs on Twitter to receive document update notifications.

For more information on UCS faults, visit this URL: http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/ts/faults/reference/ErrMess/UCS_SEMs.html

Documentation FeedbackTo provide technical feedback on this document, or to report an error or omission, please send your comments to [email protected]. We appreciate your feedback.

Obtaining Documentation and Submitting a Service RequestFor information on obtaining documentation, submitting a service request, and gathering additional information, see What’s New in Cisco Product Documentation at: http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html.

Subscribe to What’s New in Cisco Product Documentation, which lists all new and revised Cisco technical documentation, as an RSS feed and deliver content directly to your desktop using a reader application. The RSS feeds are a free service.

-3Cisco UCS Management Pack User Guide, Release 3.x

-4Cisco UCS Management Pack User Guide, Release 3.x

Cis

C H A P T E R 1

Overview

This chapter includes the following sections:

• About the Cisco UCS Management Pack, page 1-1

• System Requirements, page 1-1

• Supported Cisco UCS Manager Releases, page 1-2

About the Cisco UCS Management PackA management pack is a definition file that contains predefined monitoring settings that enable an agent to monitor a specific service or application in Operations Manager. These predefined settings include discovery information that allows Operations Manager to automatically detect and begin monitoring services and applications. It also consists of a knowledge base that contains error and troubleshooting information, alerts, and reports to help you correct the problems detected in the environment.

The Cisco UCS Management Pack for Microsoft System Center Operations Manager provides visibility into the health, performance, and availability of a Cisco UCS domain through a single, familiar, and easy-to-use interface. The management pack contains rules which monitor, for example, chassis, blade servers, rack servers, and service profiles across multiple Cisco UCS domains.

System RequirementsThe following system requirements are for Management Servers, Gateway Servers or Operations Manager Windows Agents (trusted or untrusted boundary) with Cisco UCS Management Service running on them:

• Management and Gateway Servers, page 1-1

• Operations Manager Windows Agents, page 1-2

Management and Gateway ServersSystem requirement for Management Server and Gateway Server are as per the Microsoft recommendations mentioned in the following page:

http://technet.microsoft.com/en-us/library/hh205990.aspx

1-1co UCS Management Pack User Guide, Release 3.x

Chapter 1 OverviewSupported Cisco UCS Manager Releases

Operations Manager Windows AgentsSystem requirement for Windows agents (trusted or untrusted boundary) running Cisco UCS Management Service is as follows:

Hardware

• Processor Architecture: 64-bit with Quad-core or higher

• Memory: 8 GB or higher

Operating System

Cisco UCS Management Service must be installed on the machines running 64-bit versions of following operating systems and latest patch updates must be installed.

• Windows Server 2008 R2

• Windows Server 2008 R2 SP1

• Windows Server 2012

• Windows Server 2012 R2

Software

For Using PowerShell module cmdlets for Cisco UCS Management Pack, PowerShell 3.0 or higher is required.

Supported Cisco UCS Manager ReleasesCisco UCS Management Pack for Microsoft System Center Operations Manager is compatible with Cisco UCS Manager, Releases 2.0, 2.1, 2.2, and 3.0.

1-2Cisco UCS Management Pack User Guide, Release 3.x

Cis

C H A P T E R 2

Introduction

The Cisco UCS Management Pack comprises several key features, which are listed here briefly. Subsequent chapters in this document elaborate these features further.

This chapter includes the following sections:

• One Monitor per UCS Domain Fault, page 2-1

• Knowledge Articles in Alerts, page 2-2

• Installing the Management Service outside the Resource Pool, page 2-2

• Event Based Discovery, page 2-2

• Real Time UCS Fault monitoring, page 2-2

• Dedicated Service Machine for UCS Domain Monitoring, page 2-2

• Power State Change Notification for Blade and Rack Servers, page 2-2

• Proxy Server Support, page 2-3

• PowerShell Cmdlets, page 2-3

• Additional Features, page 2-3

One Monitor per UCS Domain FaultThis management pack implements one monitor per UCS domain fault. This provides improved power of customization at the fault level. You can override parameters, such as changing the priority and severity, enabling or disabling monitors from the Operations Manager console interface. Apart from the console interface, all these customizations can also be applied using much more powerful Operations Manager cmdlets. PowerShell scripts could be developed to operate on multiple monitors at a time. Monitors are not implemented for informational messages from UCS domain. Informational messages will not be captured by the management pack in Operations Manager.

UCSM FSM faults are transient faults, therefore not supported by this version of Cisco UCS Management Pack. For a complete list of FSM faults in the UCS Domain not supported in the Management Pack, go to the following URL:

http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/ts/faults/reference/2-0/UCSFaultsErrorsRef_20/UCS_FSMs.html

All monitors corresponding to UCSM faults of type ‘Configuration’ are disabled by default. Only the monitors with severity as ‘Critical’ are enabled by default in the Management Pack. Users can customize rest of the monitors as per their environment/requirement.

2-1co UCS Management Pack User Guide, Release 3.x

Chapter 2 IntroductionKnowledge Articles in Alerts

Knowledge Articles in AlertsKnowledge articles are available for all the monitors implemented in the Management Pack. Whenever there is an alert, you can check the knowledge article associated with the alert from the Alert Details section or Health Explorer. Knowledge articles provide the details of fault, such as fault code, name, cause, explanation and list of steps to resolve it.

Installing the Management Service outside the Resource PoolThis release of the Management Pack supports installing the Management Service outside the Resource Pool. Once the Management Pack is imported in the Resource Pool, user can choose to install the Management Service on the Agent Managed Computer (on trusted or untrusted boundaries) or Gateway Server.

Event Based DiscoveryEvent based discovery is a unique feature in this Management Pack, by which the object discoveries executes only when there is some change detected in the inventory of UCS Domain. Intelligence is built in the Cisco UCS Management Service to detect any change in inventory and raise appropriate events to trigger the Object discovery and pull the changes in Operations Manager.

Real Time UCS Fault monitoringThis Management Pack supports real time UCS monitoring, which means that any fault on the UCS Domain is captured in the Operations Manager within a few seconds.

Dedicated Service Machine for UCS Domain MonitoringWhen you choose a service machine while adding a UCS Domain in the Add Monitoring Wizard, it means all the monitors, object discoveries, and rules required to monitor an UCS Domain execute on the Service Machine dedicatedly and do not use the resources on any other computer for monitoring this particular UCS Domain. The Management Servers however, will continue to analyze the return data from the Service Machine and store them in the database. A single Service Machine can also monitor multiple UCS Domains.

While adding a UCS domain for monitoring using Add Monitoring wizard, the selected service machine should have Cisco UCS Management Service installed and running on it.

Power State Change Notification for Blade and Rack ServersFrom Release 3.1(2), management pack generates warning and critical alerts when power state on associated blade and rack servers changes to the following:

Power states for warning alert:

• Test

2-2Cisco UCS Management Pack User Guide, Release 3.x

Chapter 2 IntroductionProxy Server Support

• Off

• Offline

• Offduty

• Power-save

Power states for critical alert:

• Unknown

• Degraded

• Error

• Failed

• Not-supported

Depending on the severity of the alert, health state of the server also changes. When the power state of the server is restored to On, Online, or Ok state, alert is closed in operations manager and health state is reset to the state before the power state alert. This functionality is not applicable for unassociated servers. If a server is unassociated, any existing alert on the server related to power state closes in Operations Manager.

Proxy Server SupportEffective with Release 3.1.1, you can configure the proxy server while adding a UCS Manager to the management pack using the Add Monitoring Wizard.

PowerShell CmdletsEffective with the release 3.1(1), Cisco UCS Management Pack supports the use of cmdlets that can be imported from a PowerShell Module. You can use these cmdlets to perform actions such as discovery of chassis along with enabling or disabling monitors on components.

PowerShell 3.0 must be installed on machine to use these cmdlets.

Additional FeaturesAside from the features listed above, the Cisco UCS Management Pack comprises the following additional features:

• A KVM Console can be launched on a Service Profile, Blade Server, or Rack Unit.

• Tech Support utility facilitates collecting logs for diagnosing an issue.

• Run-As Account association in the Add Monitoring Wizard simplifies the overall process to start monitoring a UCS Domain.

• Supports more secure account distribution.

2-3Cisco UCS Management Pack User Guide, Release 3.x

Chapter 2 IntroductionAdditional Features

2-4Cisco UCS Management Pack User Guide, Release 3.x

Cis

C H A P T E R 3

Deployment Guide and Sizing Information

This chapter includes the following sections:

• Deployment Guide and Sizing Information, page 3-1

• Check List to Install and Configure Cisco UCS Management Pack, page 3-5

Deployment Guide and Sizing Information

Deployment Scenarios on Trusted Boundary (Domain)

Single Server Deployment of Operations Manager - Recommended Approach

The Management Group (MG1) has one management server - MS1

Step 1 Add an Agent Managed Computer - AM1.

Step 2 Run the Installer on MS1, choose custom install and import only the Management Pack on MS1.

Step 3 Run the installer on AM1 and install the Management Service only.

Step 4 While adding UCS Domain from Operations Manager Console choose AM1 as the Service Machine for monitoring UCS Domain.

Step 5 Enable monitors for faults as documented in the Monitoring Cisco UCS Manager using Syslog document available at the following URL: http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/ucsm_syslog/b_Monitoring_Cisco_UCSM_Using_Syslog.pdf

Note The Agent Managed Computer's 'Health Service Private Bytes Threshold' and 'Monitoring Host Private Byte Threshold' are set to 400 MB each.

Sizing Information

The following table displays the sizing information for the above approach.

3-1co UCS Management Pack User Guide, Release 3.0

Chapter 3 Deployment Guide and Sizing InformationDeployment Guide and Sizing Information

Single Server Deployment of Operations Manager - Alternative Approach

Step 1 Run the Installer on MS1 and do a complete install, which imports the Management Pack and installs the Management Service on MS1.

Step 2 While adding UCS Domain from Operations Manager Console choose MS1 as the Service Machine for monitoring UCS Domain.

Sizing Information

The following table displays the sizing information for the above approach

Multiple Management Server Deployment of Operations Manager - Recommended Approach

The Management Group (MG1) has three management servers: MS1, MS2 and MS3

Step 1 Add an Agent Managed Computer: AM1.

Step 2 Repeat Step 1 to add more Agent Managed Computers for monitoring the UCS Domain.

Step 3 Run the Installer on MS1/MS2/MS3, and choose Custom Install to import only the Management Pack.

Step 4 Run the installer on AM1 and install only the Management Service.

Step 5 Repeat Step 4 for all the Agent Managed Computers added in Step 2.

Step 6 While adding the UCS Domain from the Operations Manager Console, choose AM1 as the Service Machine for monitoring UCS Domain.

Step 7 Enable monitors for faults as documented in the Monitoring Cisco UCS Manager using Syslog document available at the following URL: http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/ucsm_syslog/b_Monitoring_Cisco_UCSM_Using_Syslog.pdf

Step 8 Alternatively, you could also select the Agent Managed Computer added in Step 2 and Step 5 as the Service Machine from the Add Monitoring Wizard.

Agent Managed Computer

Hardware Specification

No. of Blades Monitored

No. of UCS Components Monitored

AM1 Quad-core CPU and 8GB RAM

80 ~4500

Management Server

Hardware Specification

No. of Blades Monitored

No. of UCS Components Monitored

MS1 Quad-core CPU and 8GB RAM

160 ~9000

3-2Cisco UCS Management Pack User Guide, Release 3.0

Chapter 3 Deployment Guide and Sizing InformationDeployment Guide and Sizing Information

Note The Agent Managed Computer's 'Health Service Private Bytes Threshold' and 'Monitoring Host Private Byte Threshold' are set to 400 MB each.

Multiple Management Server Deployment of Operations Manager - Alternative Approach

Step 1 Run the Installer on MS1/MS2/MS3 and do a complete install, which imports the Management Pack and installs the Management Service also.

Step 2 Chose other Management Servers where the Management Service should be installed. Run the installer and chose custom install and install the Management Service only.

Step 3 While adding UCS Domain from Operations Manager Console chose the Management Servers where installer was run in Step 1 or 2 as the Service Machine for monitoring UCS Domain

Sizing Information

The following table displays the sizing information for the above approach

Deployment Scenarios on Untrusted Boundary (Domain)Distributed deployment of Operations Manager could have Gateway Servers which are installed on a different Domain un-trusted to the Management Group domain. These Gateway servers monitor the Agent Managed Computers locally and send the monitoring information to the connected Management Server.

The Management Group (MG1) has two management servers: MS1 and MS2. Gateway Server GW1 is connected to MS1. GW1 belongs to a different Active Directory Domain than MS1/MS2. Assuming there are multiple UCS Domain to be monitored, few UCS Domain(s) are on same network as MS1/MS2 and few other UCS Domain(s) belong to the same network as GW1.

Recommended Approach

Step 1 Add an Agent Managed Computer: AM1 to MS1/MS2.

Management Server

Hardware Specification

No. of Blades Monitored

No. of UCS Components Monitored

MS1 Quad-core CPU and 8GB RAM

160 ~9000

MS2 Quad-core CPU and 8GB RAM

160 ~9000

MS3 Quad-core CPU and 8GB RAM

160 ~9000

3-3Cisco UCS Management Pack User Guide, Release 3.0

Chapter 3 Deployment Guide and Sizing InformationDeployment Guide and Sizing Information

Step 2 Add an Agent Managed Computer AM2 to GW1.

Step 3 Repeat Step 1 and Step 2 to add more Agent Managed Computers to monitor the Cisco UCS Domain.

Step 4 Run the Installer on MS1/MS2, choose custom install and import only the Management Pack.

Step 5 Run the installer on AM1 and install only the Cisco UCS Management Service.

Step 6 Run the installer on AM2 and install only the Cisco UCS Management Service.

Step 7 Repeat Step 5 and Step 6 for additional Agent Managed Computers added in Step 3.

Step 8 While adding Cisco UCS Domain from the Operations Manager Console choose AM1 as the Service Machine for monitoring the Cisco UCS Domain which belongs to the same network as MS1/MS2.

Step 9 While adding Cisco UCS Domain from Operations Manager Console choose AM2 as the Service Machine for monitoring Cisco UCS Domain which belongs to the same network as GW1.

Step 10 Enable monitors for faults as documented in the Monitoring Cisco UCS Manager using Syslog document available at the following URL: http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/ucsm_syslog/b_Monitoring_Cisco_UCSM_Using_Syslog.pdf

Step 11 Alternatively Agent Managed Computer added in Step 3 and Step 7 could also be selected as Service Machine from Add Monitoring Wizard.

Sizing Information

The following table displays the sizing information for the above approach

Note The Agent Managed Computer's 'Health Service Private Bytes Threshold' and 'Monitoring Host Private Byte Threshold' are set to 400 MB each.

Alternative Approach

Step 1 Run the Installer on MS1/MS2 and do a complete install, which imports the Management Pack and installs the Management Service also.

Step 2 Run the installer on GW1 and select custom install and choose to install only the Cisco UCS Management Service.

Step 3 While adding UCS Domain from Operations Manager Console choose MS1/MS2 as the Service Machine (where the installer was run in Step 1) for monitoring UCS Domain which belongs to the same network as MS1/MS2.

Agent Managed Computer

Hardware Specification

No. of Blades Monitored

No. of UCS Components Monitored

AM1 Quad-core CPU and 8GB RAM

80 ~4500

AM2 Quad-core CPU and 8GB RAM

80 ~4500

3-4Cisco UCS Management Pack User Guide, Release 3.0

Chapter 3 Deployment Guide and Sizing InformationCheck List to Install and Configure Cisco UCS Management Pack

Step 4 While adding UCS Domain from Operations Manager Console choose GW1 as the Service Machine for monitoring UCS Domain which belongs to the same network as GW1.

Note You can add Cisco UCS domains only from the Operations Manager Console application where Cisco UCS Management Pack installer was run to install the Management Pack or the Management Service, or both.

Check List to Install and Configure Cisco UCS Management Pack

Management Server

Hardware Specification

No. of Blades Monitored

No. of UCS Components Monitored

GW1 Quad-core CPU and 8GB RAM

160 ~9000

MS1 Quad-core CPU and 8GB RAM

160 ~9000

Serial No. Title

1. Ensure that logged in user has one of the following privileges on Management Server for executing installer

• Domain Administrator and Domain user with local administrative privileges

2. Ensure that logged in user has one of the following privileges on Management Server or Gateway Server or Agent Managed computers (trusted or untrusted boundaries) administrator privileges (local or domain) on gateway server or agent managed computer (trusted and untrusted boundaries).

• Domain Administrator

• Domain user with local administrative privileges

3. Ensure that the computer used for installing Cisco UCS Management Pack and UCS Management Service is part of domain.

4. Validate the Operating System of computer / server with one of the following

a.Windows Server 2008 R2

b.Windows Server 2012

c.Windows Server 2012 R2

3-5Cisco UCS Management Pack User Guide, Release 3.0

Chapter 3 Deployment Guide and Sizing InformationCheck List to Install and Configure Cisco UCS Management Pack

5. Validate the Operations Manager version with one of the following:

a.Operations Manager 2012 RTM (Updated with latest CUs)

b.Operations Manager 2012 SP1 (Updated with latest CUs)

c.Operations Manager 2012 R2 (Updated with latest CUs)

6. Ensure that UCS Management Pack must be installed / imported on Management Server only through installer.

7. Install Cisco UCS Management Service on following server(s) / computer(s)

a.Agent Managed Computers (trusted boundary) - Recommended

b.Management Server

c.Agent Managed Computers (Untrusted boundary) - Recommended

d.Gateway Server

8. Ensure.Net framework 4.0 (minimum) is installed on server / computer used for Cisco UCS Management Service (Verified by installer also)

9. Ensure PowerShell 2.0 (minimum) is installed on server / computer used for Cisco UCS Management Service (Verified by installer also)

10. Ensure that the option “Allow this server to act as a proxy and discover managed objects on other computers” is enabled for following server / computer hosting Cisco UCS Management Service.

a.Agent Managed Computers (trusted boundary)

b.Management Server

c.Agent Managed Computers (Untrusted boundary)

d.Gateway Server

11. Ensure that all server(s) / computer(s) hosting Cisco UCS Management Service are discovered in Operations Manager – Console – Administration – Device Management – (Agent Managed / Management Server).

12. Ensure that all server(s) / computer(s) hosting Cisco UCS Management Service are visible in Operations Manager – Console – Monitoring – Cisco Unified Computing System – Cisco UCS Management Service – State View.

If not visible, refer to point 10.

13. Ensure the Operations Manager – Console – Authoring - Add Monitoring Wizard is been launched on servers or computers hosting Cisco UCS Management Service for adding Cisco UCS domain or Management Server where management pack is imported.

Serial No. Title

3-6Cisco UCS Management Pack User Guide, Release 3.0

Chapter 3 Deployment Guide and Sizing InformationCheck List to Install and Configure Cisco UCS Management Pack

14. If Cisco UCS domain is added on a Gateway Server or agent managed computer (untrusted boundary) is selected for service machine, ensure that Cisco UCS domain is reachable from Gateway Server or agent managed computer (untrusted boundary).

15. Ensure that after adding Cisco UCS domain through Add Monitoring Wizard, appropriate Run As Account has been associated with correct Run As Profile.

16. Ensure, if Run As Account distribution is set to More Secure, the computer hosting Cisco UCS Management Service must appear in Selected Computers list and it must be same as selected for monitoring Cisco UCS domain.

17. Ensure that Operations Manager “Action Account” must have read and write privileges on TEMP (%SystemRoot%\Temp) folder.

Serial No. Title

3-7Cisco UCS Management Pack User Guide, Release 3.0

Chapter 3 Deployment Guide and Sizing InformationCheck List to Install and Configure Cisco UCS Management Pack

3-8Cisco UCS Management Pack User Guide, Release 3.0

Cis

C H A P T E R 4

Installing the Cisco UCS Management Pack

This chapter includes the following sections:

• Installing the Cisco UCS Management Pack and Cisco UCS Management Service, page 4-1

• Installing the Cisco UCS Management Service on Multiple Servers / Agent Managed Computers, page 4-2

• Upgrading the Management Pack, page 4-4

• Uninstalling the Cisco UCS Management Pack, page 4-4

• Uninstalling Cisco UCS Management Service, page 4-5

• Adding a Cisco UCS Domain to Operations Manager, page 4-6

Installing the Cisco UCS Management Pack and Cisco UCS Management Service

Prerequisites:

• The domain account with local administration rights should be used to install the Management Pack and/or the Management Service on Management Servers or Gateway Servers. This account should also be used to install the Management Service on the Operations Manager agent managed computers.

• You need to have.NET 4.0 installed on your computer

Step 1 Launch the Cisco UCS Management Pack Installer.

Step 2 In the Setup Wizard screen, click Next.

Step 3 In the License Agreement screen, do the following:

a. Review the End User License Agreement.

b. Click the I accept the terms in the License Agreement radio button.

c. Click Next.

Step 4 In the Product Registration screen, do the following:

a. In the Username field, enter your name.

b. In the Organization field, enter the name of your company.

4-1co UCS Management Pack User Guide, Release 3.x

Chapter 4 Installing the Cisco UCS Management PackInstalling the Cisco UCS Management Service on Multiple Servers / Agent Managed Computers

c. Click the Next button.

The user name is required, but the organization name is optional.

Step 5 In the Setup Type screen, choose one of the following options and then click Next:

• Custom—To choose which components you want to install. Continue with Step 6 if you chose this option.

• Complete—To install all components of the Cisco UCS Management Pack. Continue with Step 7 if you chose this option.

Step 6 In the Custom Setup Type screen, check the check boxes for the components you want to install and then click Next:

• Import Management Pack—Imports the Cisco UCS Management Pack and related components into the management group. You can import the Cisco UCS management pack into any management server in the management group.

Note The Management Pack can be imported only on Operations Manager Management Server.

• Install Cisco UCS Management Service—Installs the proxy agent that provides a bridge between Operations Manager and the Cisco UCS domain. This service maintains the Cisco UCS connections pool and provides Cisco UCS data to the management pack.

Note You can install the Cisco UCS Management Service only if you either choose to import the Management Pack also or the Management Pack is already imported in the Management Group.

Note The Cisco UCS Management Service can be installed on more than one Operations Manager Management Server, Gateway Server and Agent managed Computers.

Step 7 In the Select Installation Folder screen, accept the default installation folder or click Browse to navigate to a different folder, and then click Next.

Step 8 On the Ready to Install screen, click the Install button to start the installation.

After the Cisco UCS Management Pack is successfully installed, the Installation Complete screen is displayed

It also installs the PowerShell module for Cisco IMC management pack. This module is installed within the folder structure where the management pack related files are installed..

Step 9 Uncheck the Upgrade existing UCS Domain Instances check box if you do not want to update the existing Cisco UCS Manager instances (Applicable only in case of upgrade), and Click the Finish button to exit.

Installing the Cisco UCS Management Service on Multiple Servers / Agent Managed Computers

You can install the Cisco UCS Management Service on more than one Operations Manager Management Server, Gateway Server, or Agent Managed Computers.

4-2Cisco UCS Management Pack User Guide, Release 3.x

Chapter 4 Installing the Cisco UCS Management PackInstalling the Cisco UCS Management Service on Multiple Servers / Agent Managed Computers

Note Each instance of the Cisco UCS Management Service manages the Cisco UCS domains assigned to it. There is no load balancing or high availability (HA) between instances of the Cisco UCS Management Service.

Note A domain account or local account with local administrative rights should be used to install the Management Service.

Prerequisite:

Import the Management Pack into the management group. The domain account with local administration rights should be used to install the Management Service.

Step 1 Launch the Cisco UCS Management Pack Installer.

Step 2 In the Setup Wizard screen, click Next.

Step 3 In the License Agreement screen, do the following:

a. Review the End User License Agreement.

b. Click the I accept the terms in the License Agreement radio button.

c. Click Next.

Step 4 In the Product Registration screen, do the following:

a. In the Username field, enter your name.

b. In the Organization field, enter the name of your company.

c. Click the Next button.

The user name is required, but the organization name is optional.

Step 5 In the Setup Type screen, choose Custom and then click Next:

Step 6 In the Features to Install screen, check the check boxes for the components you want to install and then click Next:

• Install Cisco UCS Management Service—Installs the proxy agent that provides a bridge between Operations Manager and Cisco UCS. This service maintains the Cisco UCS connections pool and provides Cisco UCS data to the management pack.

• Add a desktop shortcut for the Cisco UCS Management Service Configuration GUI.

Note The option to import the Cisco UCS Management Pack is disabled if you have already imported the management pack.

Step 7 In the Select Installation Folder screen, accept the default installation folder or click Browse to navigate to a different folder, and then click Next.

Step 8 On the Ready to Install screen, click the Install button to start the installation.

After the Cisco UCS Management Service is successfully installed, the Installation Complete screen is displayed.

Step 9 Click the Finish button to exit.

4-3Cisco UCS Management Pack User Guide, Release 3.x

Chapter 4 Installing the Cisco UCS Management PackUpgrading the Management Pack

Adding a Firewall Exception for the Cisco UCS Management ServiceBefore you start monitoring your Cisco UCS domain, enable the following inbound rules in the Windows Firewall with Advanced Security on the computer where you run the Cisco UCS Management Service:

1. File and Printer Sharing:

a. Echo-Request—ICMPv4-In

b. Echo-Request—ICMPv6-In

2. Remote Service Management (RPC)

3. Remote Service Management (RPC-EPMAP)

Upgrading the Management Pack• The Cisco UCS Manager management pack, Release 3.x does not support direct upgrade from

Release 2.6. You need to uninstall the previous release and install, Release 3.x

• Any Cisco UCS Manager Management Pack, Release 3.x can be upgraded to the latest release. To upgrade the management pack, run the Cisco UCS Management Pack v3.x installer and choose Upgrade. Once the installation is complete, check the Upgrade existing UCS Domain instances check box and click Finish.

Note The Upgrade existing UCS Domain Instances check box is checked by default. Upon completing installation, the PowerShell window is displayed where the existing UCS Manager instances in the Cisco UCS Management Pack are updated.

Uninstalling the Cisco UCS Management Pack

Using Operations Manager Console

Step 1 In the Operations Manager applications, click the Go tab on the menu bar.

Step 2 From the drop-down list, select Administration.

Step 3 On the Administration column, click Management Packs.

A list of management packs appear on the right pane.

Step 4 Select Cisco UCS Manager Management Pack and select Properties from the Actions pane.

Cisco UCS Manager Management Pack page appears.

Step 5 Click the Dependencies tab.

Step 6 Note the list of all the Management Packs that depend on the selected Management Pack.

Step 7 Click Cancel.

The page redirects to the Operations Manager page.

4-4Cisco UCS Management Pack User Guide, Release 3.x

Chapter 4 Installing the Cisco UCS Management PackUninstalling Cisco UCS Management Service

Step 8 On the Operations Manager page, select the management pack dependencies that you noted in Step 6, and then delete the dependencies individually.

Step 9 Open Control Panel. Select Program and Features.

Step 10 Remove Cisco UCS Management Pack.

Note Step 9 and Step 10 should be performed on all the Management Servers and Gateway Servers and Agent Managed Computers where the management pack or management service, or both were installed.

Using Operations Manager CmdletsTo uninstall the Cisco UCS Management Pack, complete the following steps.

Step 1 Open Operations Manager Shell on a management server.

Step 2 Run the following cmdlet to remove all the UCS domains added for monitoring.

Get-SCOMManagementPack | Where-Object {$_.References.Contains("CiscoUcsm")} | Remove-SCOMManagementPack

Wait for all the configured Cisco UCS domain instances to be removed from Operations Manager.

Step 3 Open Control Panel. Select Program and Features.

Step 4 Remove Cisco UCS Management Pack.

Note Step 3 through Step 4 should be performed on all the Management Servers and Gateway Servers and Agent Managed Computers where the management pack or management service, or both were installed.

Uninstalling Cisco UCS Management ServiceTo uninstall Cisco UCS Management service from a Management server where service and management pack is installed, follow these steps:

Step 1 Double-click Cisco UCS MP msi installer.

Step 2 Click Change button.

Step 3 Uncheck the Install Cisco UCS Management Service check box.

Step 4 Click Next.

Step 5 Click Change.

4-5Cisco UCS Management Pack User Guide, Release 3.x

Chapter 4 Installing the Cisco UCS Management PackAdding a Cisco UCS Domain to Operations Manager

Adding a Cisco UCS Domain to Operations Manager

Guidelines for adding a Cisco UCS Domain to Operations ManagerYou can only add Cisco UCS domains on servers (trusted domain) where either management pack is imported or the Cisco UCS Management Service is installed. We recommend that you follow the guidelines below when you configure Operations Manager to monitor Cisco UCS domains through the Add Monitoring wizard.

Complete the following steps to add a Cisco UCS domain to Operations Manager.

Step 1 In the Operations Manager application, click the Go tab in the menu bar.

Step 2 From the drop-down menu, choose Authoring.

Step 3 In the Authoring column, choose Cisco Unified Computing Systems.

Step 4 In the Tasks panel, click the Add Monitoring wizard.

Step 5 On the Select Monitoring Type page of the Add Monitoring wizard, choose Cisco Unified Computing Systems from the Select the Monitoring Type list and click Next.

Step 6 On the General Information page of the Add Monitoring wizard, do the following:

a. In the IP Address/Hostname field, enter the IP address or hostname of the Cisco UCS domain.

This is the virtual IP address that you use to access the Cisco UCS Manager in that domain.

b. In the Port Number field, enter the port number that is used to connect to the Cisco UCS domain.

This is the port number specified in the HTTP or HTTPS configuration for the Cisco UCS domain.

c. In the Connection Mode check box, do one of the following:

– Check the check box for secure (HTTPS) connections.

– Uncheck the check box for non-secure (HTTP) connections using default port 80.

d. In the Proxy Server pane, check the Enable Proxy Configuration checkbox to enter the proxy details.

– In the Host field, enter the IP address of the proxy server.

– In the Port field, enter the post number used to connect to the proxy server.

– Check the Enable Proxy Authentication checkbox if a proxy requires authentication.

– In the Username field, enter the user name configured on the proxy server.

– In the Password field, enter the password of the proxy server.

e. Choose the Machine Type (Management Server, Gateway Server, or an Agent Managed Computer) and Service Machine where the Management Service is running.

f. Click Test Connection to verify that Operations Manager can connect to the Cisco UCS domain.

If you receive an error after you click Test Connection, contact your Network Administrator.

For secure connections, if there is an issue with the server certificate and a security alert dialog box is displayed, review the warnings and follow the instructions in the dialog box.

g. In the Authentication dialog box, enter the Username and Password and click OK.

4-6Cisco UCS Management Pack User Guide, Release 3.x

Chapter 4 Installing the Cisco UCS Management PackAdding a Cisco UCS Domain to Operations Manager

If the Cisco UCS Manager is configured for domain authentication, you must enter the user name in the following format: <username@domainname>. The domainname is the UCS authentication domain name (not the LDAP domain name) configured under Administration > User Management > Authentication in Cisco UCS Manager.

h. If the connection is successful and a message box is displayed, click OK.

Note The dialog box validates the state of Management Service if the Management Server or Agent Managed Computer (trusted boundary) within the same active directory as the operations console machine is chosen. You can additionally start the Management Service if it stops. If you are a console user trying to add the UCS Domain, you should have Local Administration rights on the Management Server or Agent Managed Computer. This is required to find out the state of the Management Service and remotely start the Management Service.

Note When you choose a Gateway Server or Agent Managed Computer (un-trusted boundary) you have the option to proceed even when the test connection to UCS Domain fails due to connectivity problem. You need to make sure that the Cisco UCS management service is running on the Gateway Server or Agent Managed Computer (untrusted boundary).

i. Click Next.

Step 7 On the Instance Name page of the Add Monitoring wizard, do the following:

a. In the Name field, accept the default Cisco UCS domain name that was added to the field.

We recommend that you do not change the default Cisco UCS domain name.

b. In the Description field, enter a description of the Cisco UCS domain.

c. In the Management Pack section, continue with the default settings. Or check the Use Existing Management Pack or Create new check box to save the current Cisco UCS domain in a different Management Pack and then do one of the following:

– From the drop-down list, choose the existing management pack.

We recommend that you use the existing management pack with its predefined timers and configuration. The Default Management Pack is the first management pack that is displayed in the list when creating an override. Do not save anything new to the default management pack.

– Click New to create and define a new management pack for this Cisco UCS domain.

d. Click Next.

Step 8 On the Run As Account Summary page, click Add.

Step 9 If you want to associate a new run-as account to the UCS Domain, click New to add a new run-as account for this UCS Domain.

Note From Release 3.1(2), the new run as account created from this dialog box has the distribution policy set to more secure. In earlier release, the new run as account created has the distribution policy set to less secure.

4-7Cisco UCS Management Pack User Guide, Release 3.x

Chapter 4 Installing the Cisco UCS Management PackAdding a Cisco UCS Domain to Operations Manager

Note For inventory collection and fault monitoring of UCS domain, the account should have read-only privileges in the Cisco UCS Manager. For actions such as Acknowledge Fault and Launch KVM Console, you need higher privileges. See: http://www.cisco.com/c/en/us/support/servers-unified-computing/ucs-manager/products-installation-and-configuration-guides-list.html

Step 10 Click Next.

Step 11 On the Configuration Summary page, review the summary and click Create.

The template for monitoring the Cisco UCS domain is created.

Note To enable monitoring of Cisco UCS, you must associate Run As Profile, which is created by this management pack, with the Run As account.

If a Run-As account is not associated in Step 9, you can manually create the account and associate it to a profile from the Operations Manager Console application.

Note The Add Monitoring Wizard is available on systems where either the Management Pack or Management Service is installed using the installer.

Adding a New UCS Domain or Updating Existing Domains using PowerShell Cmdlets

You can add a new UCS domain or update existing domains using PowerShell cmdlets. For more details see Adding or Updating UCS Instance or Instances, page 9-2

4-8Cisco UCS Management Pack User Guide, Release 3.x

Cis

C H A P T E R 5

Configuring Cisco UCS Manager Accounts

This chapter includes the following sections:

• Creating an Account, page 5-1

• Associating a Run As Account with a Profile, page 5-1

Note You need to configure a Cisco UCS Manager account only when you do not associate a Run-As account to the UCS domain in the Add Monitoring Wizard (When you uncheck the Associate Run-As Account check box).

Creating an AccountYou need to configure a Cisco UCS domain account if you did not associate a Run-As Account with the UCS domain while adding the template in the Add Monitoring Wizard, or if you wished to modify the current account association for the UCS domain.

To create an account for the Cisco UCS domain, create a Run-As Account with the Cisco domain username and password, to be used by the management pack.

See https://technet.microsoft.com/en-us/library/hh321655.aspx for detailed instructions on how to create a Run-As account.

Note On the General Properties page, you must select Simple Authentication as the Run-As Account Type.

Note If the Cisco UCS Manager is configured for domain authentication, you must enter the user name in the following format: <username@domainname>. The domainname is the UCS authentication domain name (not the LDAP domain name) configured under Administration > User Management > Authentication in Cisco UCS Manager. These credentials are used for all communication with the Cisco UCS Manager.

Associating a Run As Account with a ProfileAfter you create an account, you need to associate the account with the UCS domain Run-As Profile. A Run-As Profile is created with the same name as the UCS domain name in Operations Manager.

5-1co UCS Management Pack User Guide, Release 3.x

Chapter 5 Configuring Cisco UCS Manager AccountsAssociating a Run As Account with a Profile

See https://technet.microsoft.com/en-us/library/hh212825.aspx for detailed instructions on how to associate an account with a Run-As Profile.

Note For inventory collection and fault monitoring of UCS domain, the account should have read-only privileges in the Cisco UCS Manager. For actions such as Acknowledge Fault and Launch KVM Console, you need higher privileges. See: http://www.cisco.com/c/en/us/support/servers-unified-computing/ucs-manager/products-installation-and-configuration-guides-list.html

5-2Cisco UCS Management Pack User Guide, Release 3.x

Cis

C H A P T E R 6

Configuring Fault Acknowledgment

You can use the operations console to acknowledge faults in a Cisco UCS domain. This configuration helps to communicate with Cisco UCS for acknowledging alerts from the Operations Manager Console. You can configure this from any management server in the same management group.

This chapter includes the following sections:

• Creating a Resolution State, page 6-1

• Creating a Channel, page 6-2

• Creating a Subscriber and Subscription, page 6-2

Creating a Resolution StateA resolution state can be assigned to and is visible on all faults. However, you can only acknowledge Cisco UCS faults.

Step 1 In the Operations Manager application, click the Go tab in the menu bar.

Step 2 Choose Administration from the drop-down menu.

Step 3 Click the Settings node.

Step 4 In the right panel, double-click Alerts.

Step 5 On the Alert Resolution States tab, click New.

Step 6 In the Add Alert Resolution dialog box, do the following:

a. In the Resolution State field, enter a name for the resolution state.

We recommend that you use a name that enables you to easily recognize the resolution state. For example, UCS Acknowledged.

b. From the Unique ID drop-down menu, choose an ID for the resolution state.

The resolution state ID can be any available value between 1 and 254. The ID of 0 is reserved for the New state, and the ID of 255 is reserved for the Closed state.

c. Click OK.

Note You cannot acknowledge miscellaneous faults.

6-1co UCS Management Pack User Guide, Release 3.x

Chapter 6 Configuring Fault AcknowledgmentCreating a Channel

Creating a Channel

Step 1 In the Operations Manager application, click the Go tab in the menu bar.

Step 2 Choose Administration from the drop-down menu.

Step 3 Right-click the Channels node and choose New Channel > Command.

Step 4 On the Description page of the Command Notification Channel wizard, do the following:

a. In the Channel Name field, enter a name for the channel.

b. In the Description field, enter a description of the channel.

c. Click Next.

Step 5 On the Settings page of the Command Notification Channel wizard, do the following:

a. In the Full Path of the Command File field, enter the path to the command file.

For example,

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

b. In the Command Line Parameters field, enter the command line parameters for the channel.

-Command “& 'C:\ProgramData\Cisco\UCSM\Script\AcknowledgeFault.ps1'" -getDescription '$Data[Default='Not Present']/Context/DataItem/AlertDescription$' -getAlertSource '$Data[Default='Not Present']/Context/DataItem/ManagedEntityPath$\$Data[Default='Not Present']/Context/DataItem/ManagedEntityDisplayName$'

Note The Command line parameters must be configured correctly for acknowledging the UCS faults from Operations Manager.

c. In the Startup Folder for the Command Line field, enter the startup folder name.

C:\ProgramData\Cisco\UCSM\Script

Note Verify the path and location of the script first.

Step 6 Click Finish.

Ensure that the script AcknowledgeFault.ps1 exists at the path specified in Step 5 on each and every Management Server or Operations Manager Agent Machine hosting Cisco UCS Management Service.

Creating a Subscriber and Subscription

Step 1 In the Operations Manager application, click the Go tab in the menu bar.

Step 2 Choose Administration from the drop-down menu.

Step 3 Expand the Notifications node.

Step 4 Right-click Subscriptions and choose New Subscription.

Step 5 On the Description page of the Notification Subscribers wizard, do the following:

a. In the Subscriber Name field, enter a name for the subscription.

6-2Cisco UCS Management Pack User Guide, Release 3.x

Chapter 6 Configuring Fault AcknowledgmentCreating a Subscriber and Subscription

b. In the Description field, enter a description of the channel.

Step 6 Click Next.

Step 7 On the Criteria page of the Notification Subscription wizard, do the following:

a. In the Conditions pane, check the With Specific Resolution State check box.

b. In the Criteria Description pane, click the Specific link.

c. In the Select Resolution States to Search For pane of the Resolution State wizard, check the resolution state that you created and click OK.

d. Click Next.

Step 8 On the Subscribers page of the Notification Subscription wizard, click New to create a new subscriber.

Step 9 In the Subscriber Name field, enter a name for the subscriber.

Step 10 Click Next.

Step 11 On the Schedule page of the Notification Subscribers wizard, do the following:

a. Click one of the following radio buttons to choose the notification schedule you want to use:

– Always Send Notifications—Sends notifications at all times on all days.

– Notify Only During the Specified Times—Enables you to specify the days and times during which you want Operations Manager to send notifications.

b. Click Next.

Step 12 On the Addresses page of the Notification Subscribers wizard, click Add to add an address where you want to have notifications sent.

Step 13 On the General page of the Subscriber Address wizard, do the following:

a. In the Address Name field, enter a name that you can use to identify the notification address.

b. Click Next.

Step 14 On the Channel page of the Subscriber Address wizard, do the following:

a. From the Channel Type drop-down list, choose Command.

a. From the Command Channel drop-down list, choose the channel created in Creating a Channel.

b. Click Next.

Step 15 On the Schedule page of the Subscriber Address wizard, do the following:

a. Click the Always Send Notifications radio button.

b. Click Finish.

The subscriber address is created and displayed in the Subscriber Address pane of the Addresses page of the Notification Subscribers wizard.

Step 16 On the success notification page of the Notification Subscribers wizard, click Finish.

The subscriber address is displayed in the Selected Subscribers pane of the Addresses page of the Notification Subscribers wizard.

Step 17 On the Subscribers page of the Notification Subscription wizard, click Next.

Step 18 On the Channels page of the Notification Subscription wizard, click Add to add the channel that you have just created.

6-3Cisco UCS Management Pack User Guide, Release 3.x

Chapter 6 Configuring Fault AcknowledgmentCreating a Subscriber and Subscription

Step 19 In the Channel Search dialog box, do the following:

a. Click the channel you just created in the Available Channels pane.

If that channel is not visible in the Available Channels pane, you can search for it in the Filter By field.

b. Click Add to add the channel to the Selected Channels pane.

c. Click OK.

Step 20 On the Channels page of the Notification Subscription wizard, do the following:

a. In the Alert Aging field, click the Send Notifications Without Delay radio button.

b. Click Next.

Step 21 On the Summary page of the Notification Subscription wizard, do the following:

a. Review the details of your subscription in the Confirm Notification Subscription Settings pane.

b. If all the details are correct, check the Enable This Notification Subscription check box.

If one or more of the details are incorrect, click Previous and correct the misconfiguration.

c. Click Finish.

Step 22 On the success notification page of the Notification Subscription wizard, click Close.

Creating a Windows Firewall Inbound Rule

Create a Windows firewall inbound rule to open port 8732 in all the machine running Cisco UCS management service. This enables the AcknowledgeFault powershell script to communicate with the Cisco UCS management service.

6-4Cisco UCS Management Pack User Guide, Release 3.x

Cis

C H A P T E R 7

Customizing Cisco UCS Management Pack

For each UCS Domain added for monitoring in Operations Manager, a Management Pack Template is created under the Management Pack Templates tab in the Cisco Unified Computing System. It is very crucial to understand the components of the Management Pack to perform any customization.

This chapter includes the following sections:

• Object Discoveries, page 7-1

• Monitors, page 7-4

• Severity Mapping, page 7-4

• Overriding the Monitor, page 7-5

• Rules for Miscellaneous Alerts, page 7-6

• Migrating the Cisco UCS Domain to a Different Management Service, page 7-7

Object DiscoveriesEvery component of the Cisco UCS domain comprises an object discovery that the management pack monitors. To view the list of object discoveries in the pack, complete the following steps:

Step 1 In the Operations Manager application, click the Go tab in the menu bar.

Step 2 Choose Authoring from the drop-down menu.

Step 3 In the Authoring column, choose Authoring > Management Pack templates > Cisco Unified Computing System.

Step 4 Choose the template pack. Right click and choose View Management Pack Objects > Object Discoveries.

Note Several discoveries are disabled by default. Override the discoveries to enable them or change other parameters.

Enabling Object Discoveries using PowerShell Cmdlets.You can enable object discoveries using PowerShell Cmdlets. For more details, see Retrieving, enabling, or disabling UCS Object Discoveries, page 9-4

7-1co UCS Management Pack User Guide, Release 3.x

Chapter 7 Customizing Cisco UCS Management PackObject Discoveries

Types of Object DiscoveryObject discoveries are of two types:

• Interval based

• Event Based

Interval Based Object Discovery

Interval based discoveries execute at a defined interval to fetch the information from the Management Service.

Interval based discovery occurs at only two levels: Cisco UCS Instance Discovery and Organization Discovery.

Cisco UCS Instance (Object Discovery)

This is the top level Object Discovery and the first discovery to run for an UCS Domain. It discovers an instance of Cisco UCS Domain into Operations Manager. This discovery runs to fetch the inventory and monitoring information from Cisco UCS Domain using the Cisco UCS Management Service.

Following are the set of Overrides available for this Object Discovery:

• CacheClass: Defines the managed object for an inventory or monitoring information to be collected from the UCS Domain.

• Discovery Level: Defines the level up to which Organizations and Service Profiles from the UCS Domain should be discovered in the Operations Manager.

• Enabled: Defines the enabled state of the object discovery.

• Interval Seconds: Defines the interval of execution.

• IsAssociated: Defines whether or not the associated or unassociated Service Profiles should be discovered in Operations Manager. The default value is ‘True’ which means only an associated service profile must be discovered in the Operations Manager.

• Logging Level: Defines if the logging is enabled or disabled for this object discovery.

• Timeout Seconds: Defines the timeout period for the discovery script to execute.

Note By default the Cisco UCS Instance discovery is programmed to execute every two hours (7200 seconds) to fetch any modifications from the Cisco UCS Domain.

Organization Discovery

Organization Discovery enables discovery of logical components in the UCS Domain. Following are the set of overrides available for object discovery:

• Enabled: Defines the enabled state of the object discovery.

• Interval Seconds: Defines the interval of execution.

• Timeout Seconds: Defines the timeout period for the discovery script to execute.

7-2Cisco UCS Management Pack User Guide, Release 3.x

Chapter 7 Customizing Cisco UCS Management PackObject Discoveries

Event Based Discovery

The Cisco UCS Instance Discovery script executes at a default scheduled interval of 7200 seconds and detects the modification in the UCS Domain inventory. Any modification in UCS components triggers a windows event. This event triggers the Cisco UCS management pack to execute the discovery of modified UCS components.

Event based discovery occurs only when there is any modification in UCS components.

Following are the overrides available for an Event based Object Discovery.

• Enable Logging – Enables event logging for the discovery.

• Enabled – Enables or disables the Object Discovery.

• Timeout Seconds – Defines the timeout period for the discovery script to execute.

Overriding Object DiscoveriesComplete the following steps to override the object discoveries:

Step 1 On the Object Discovery page, choose the object and right-click Override.

Step 2 Choose Override > Override the Object Discovery > For All Objects of Class.

Step 3 In the Override Properties page, do the following:

a. Check the Override check box.

b. Modify the override value.

c. Click Apply/OK.

Note When an object discovery is enabled using override, make sure all its target class discoveries till the top level (Cisco UCS Instance) are also enabled. If not, enable them. When an object discovery is disabled using override, all the class discoveries targeted at this class till the leaf level are also not monitored by the Operations Manager

Note If you enabled an object discovery from the Disabled state, for all such object discoveries, discovery events should be generated using the Generate Discovery Event task from Cisco UCS Instance Tasks. This is used to retrieve old updates from the Management Service when the discovery was turned off.

Overriding Object Discoveries using PowerShell CmdletsYou can disable or override object discoveries using PowerShell Cmdlets. For more details, see Retrieving, enabling, or disabling UCS Object Discoveries, page 9-4

7-3Cisco UCS Management Pack User Guide, Release 3.x

Chapter 7 Customizing Cisco UCS Management PackMonitors

MonitorsThe Cisco UCS management pack has monitors for each UCS fault, and each monitor is event based two-state monitor. Depending on the number of UCS components on which a fault can occur, there could be multiple monitors per UCS fault.

For example, Fault F0174 can occur on the following UCS components:

sys/chassis-[id]/blade-[slotId]/board/cpu-[id]sys/rack-unit-[id]/board/cpu-[id]

Therefore there would be two monitors in the management pack corresponding to these 2 UCS components, and the naming convention is as follows:

• F0174 sys_chassis_id_blade_slotId_board_cpu_id Monitor

• F0174 sys_rack_unit_id_board_cpu_id Monitor

Note Currently, the Cisco UCS management pack does not support display of informational, clear faults from the Cisco UCS Domain in Operations Manager.

Note UCSM FSM faults are transient faults and therefore are not supported by this version of management pack. For a complete list of FSM faults not supported in the Management Pack, go to the following URL: http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/ts/faults/reference/2-0/UCSFaultsErrorsRef_20/UCS_FSMs.html

All monitors of corresponding UCSM faults of type Configuration are disabled by default.

Note For the list of enabled and disabled monitors and rules in the management pack, see Monitors and Rules for UCS Faults in the Management Pack.

Enabling Monitors using PowerShell CmdletsYou can enable monitors using PowerShell Cmdlets. For more details, see Retrieving, enabling or disabling UCS Fault Monitors, page 9-5

Severity MappingThis section describes the mapping between the severity of faults in the UCS Domain and the alert severity monitors in Operations Manager.

The following table shows the mapping of severity levels between the Cisco UCS Manager and Monitors.

Table 7-1 Default Severity Mapping

7-4Cisco UCS Management Pack User Guide, Release 3.x

Chapter 7 Customizing Cisco UCS Management PackOverriding the Monitor

Note Only monitors with alert severity as Critical are enabled by default. Therefore, only Critical and Major faults from the UCS Domain are shown as Alerts (Critical) in Operations Manager.

Complete the following steps to view the list of Monitors in the Management Pack:

Step 1 In the Operations Manager application, click the Go tab on the menu bar.

Step 2 Choose Authoring from the drop-down menu.

Step 3 In the Authoring column, choose Authoring > Management Pack templates > Cisco Unified Computing System.

Step 4 Choose the template pack and right-click to choose View Management Pack Objects > Monitors.

Overriding the MonitorComplete the following steps to override the Monitors:

Step 1 On the Monitors page, choose a target and expand it.

Step 2 Go to Entity Health > Availability. A list of monitors corresponding to the target is displayed. Alternatively search the monitor by fault code, and right-click to choose Monitor.

Step 3 Choose Override > Override the Monitor > For All Objects of Class.

Step 4 On the Override Properties page, do the following:

a. Check the Override check box.

b. Modify the Override value.

The following parameters are available to override Monitors:

• Alert On State

• Alert Priority: Defines the priority of the alert generated by this monitor.

• Alert Severity: Defines the severity of the alert generated by this monitor.

• Auto-Resolve Alert: Defines whether or not to auto-resolve the alert generated by this monitor.

• Enabled: Defines the enabled state of the monitor.

• Generate Alert: Defines where or not the monitor should generate an alert.

Note When a Monitor is enabled using override, make sure all its target class discoveries till the top level (Cisco UCS Instance) are also enabled.

Severity Level Cisco UCSM (Severity) Monitors (Alert Severity)

1 Critical, Major Critical

2 Minor, Warning Warning

7-5Cisco UCS Management Pack User Guide, Release 3.x

Chapter 7 Customizing Cisco UCS Management PackRules for Miscellaneous Alerts

Overriding Monitors using PowerShell CmdletsYou can override or disable monitors using PowerShell Cmdlets. For more details, see Retrieving, enabling or disabling UCS Fault Monitors, page 9-5

Rules for Miscellaneous AlertsThe management pack has monitors that fetch the faults related to the corresponding components in UCS domain. However, for other components which are not monitored using the Operations Manager monitors, these miscellaneous alert rules fetch the faults and display these on the Operations Console. The following are the three types of rules that can be enabled:

• Generate Critical Miscellaneous Fault Event Rule—This rule captures all the major and critical miscellaneous faults from the UCS domain.

• Generate Warning Miscellaneous Fault Event Rule—This rule captures all the minor and warning miscellaneous faults from the UCS domain.

• Miscellaneous Fault Closure Rule—This rule executes on root management server and closes any critical or warning miscellaneous faults. It runs when a corresponding closure window events are generated.

Note The miscellaneous alerts rules are disabled by default. For list of UCS faults collected by Critical and Warning Miscellaneous Fault Event Rule, see Rules for Miscellaneous Alerts, page 7-6

Limitations of Miscellaneous Alerts• Miscellaneous alerts cannot be acknowledged from the Operations Manager console

• Knowledge articles are not available for miscellaneous alerts

• Miscellaneous alerts do not affect the health state of UCS domain

Overriding the Miscellaneous Alerts RulePerform the following procedure to enable miscellaneous rules:

Step 1 On the menu bar of the Operations Manager Console, click Go, and select Authoring.

Step 2 From the navigation pane, select Management Pack Templates > Cisco Unified Computing Systems.

Step 3 On the work pane, right-click Cisco UCS instance, and select View Management Pack Objects > Rules.

Rules page appears.

Step 4 On the Rules page, enable the following rules:

• Generate Critical Miscellaneous Fault Events Rule

• Generate Warning Miscellaneous Fault Events Rule

Step 5 Close the Rules page.

7-6Cisco UCS Management Pack User Guide, Release 3.x

Chapter 7 Customizing Cisco UCS Management PackMigrating the Cisco UCS Domain to a Different Management Service

Step 6 From the navigation pane, select Management Pack Objects > Rules.

Step 7 Enable Close Miscellaneous Fault Rule, which belongs to Cisco UCS instance you selected in Step 3 (instance name is mentioned in brackets in rule name).

Migrating the Cisco UCS Domain to a Different Management Service

In a deployment where multiple Operations Manager Management Servers and Agent Managed Computers are present, Cisco UCS Management Service could be installed on more than one computer to monitor multiple UCS Domains. This helps in sharing the load of monitoring multiple UCS Domain among different Management Servers and Agent Managed Computers. While doing so, sometimes it may be required to assign the monitoring of UCS Domain from one Cisco UCS Management Service to another Management Service.

Complete the following steps to migrate the UCS Domain to different Cisco UCS Management Service:

Step 1 In the Operations Manager application, click the Go tab on the menu bar.

Step 2 Choose Authoring from the drop-down menu.

Step 3 Select Management Pack Templates > Cisco Unified Computing System.

Step 4 Right-click one of the UCS instances and select Properties.

Step 5 Select a different machine type and/or service machine from the drop down list.

Step 6 Click OK/Apply.

7-7Cisco UCS Management Pack User Guide, Release 3.x

Chapter 7 Customizing Cisco UCS Management PackMigrating the Cisco UCS Domain to a Different Management Service

7-8Cisco UCS Management Pack User Guide, Release 3.x

Cis

C H A P T E R 8

Monitoring Cisco UCS Domains with Operations Manager

This chapter includes the following sections:

• About the Monitoring Pane in Operations Manager, page 8-1

• Accessing the Cisco UCS folder in the Monitoring Pane, page 8-1

• About the Cisco UCS Folder, page 8-1

About the Monitoring Pane in Operations ManagerAfter you install and configure the Cisco UCS Management Pack, you can use the Monitoring pane of the operations manager to display a summary and components of a monitored Cisco UCS domain. The Cisco Unified Computing System folder and views in the Monitoring pane provide a complete view of the health of the Cisco UCS domains.

Accessing the Cisco UCS folder in the Monitoring Pane

Step 1 In the left pane of the Operations Manager application, click the Monitoring tab.

Step 2 Expand the Cisco Unified Computing System folder.

About the Cisco UCS FolderThe Cisco Unified Computing System folder displays active alert, state view and state summary for all discovered Cisco UCS domains and hardware components. The folder also provides additional views of components, which show monitoring data collected from Cisco UCS domains.

This folder contains the following sub-folders and views that display global aspects of all the monitored Cisco UCS domains:

• Cisco UCS Management Service Folder, page 8-2

• Cisco UCS Instance Folder, page 8-3

8-1co UCS Management Pack User Guide, Release 3.x

Chapter 8 Monitoring Cisco UCS Domains with Operations ManagerAbout the Cisco UCS Folder

• Hardware Inventory Folder, page 8-6

Management Pack Events

This view shows any alert related to execution of monitoring scripts in Operations Manager, some of the common errors are listed in the table below:

Table 8-1 Common Errors

Cisco UCS Management Service Folder This folder contains following views related to Cisco UCS Management Service.

• Alert View—Displays alerts related to service

• Performance View—Contains counters related to performance

• State View—Displays the health state of the service

Start Service

If the Management Service used to monitor Cisco UCS Domain is stopped, an alert gets generated in the Alert View. Use the Start Service task to remotely start the Management Service from the Operations Manager Console.

Stop Service

If the Management Service is no longer used to monitor Cisco UCS Domain, then the Management Service could be stopped from Operations Manager Console.

Complete the following steps to start or stop the Management Service:

Step 1 In the Operations Manager application, click the Go tab in the menu bar.

Step 2 Choose Monitoring from the drop-down menu.

Step 3 Expand the Cisco Unified Computing System folder to display the folders and views.

Serial No. Error Code Error Description What to Check

1 19900 Service Connection Error Verify the Service Machine entry in the Add Monitoring Wizard

2 19900 Service not found or not running.

Check if the Management Service is up and running on the Service Machine.

3 19900 Connection to the Cisco UCS Management Service failed.

Verify the account is associated to the profile and the account is authorized to make a connection to the UCS Domain.

8-2Cisco UCS Management Pack User Guide, Release 3.x

Chapter 8 Monitoring Cisco UCS Domains with Operations ManagerAbout the Cisco UCS Folder

Step 4 Expand Cisco UCS Management Service and go to State View.

Step 5 Select the Management Service, and from the Tasks pane, click Start Service or Stop Service.

Note It is crucial for the Cisco UCS domain monitoring added in the Operations Manager, that the Cisco UCS Management Service be in a healthy state. Make sure to capture alerts early in the Alert View and resolve them.

Cisco UCS Instance FolderThe Cisco UCS Instance folder contains a sub-folder for each Cisco UCS domain monitored by Operations Manager. Each Cisco UCS domain folder contains the following sub-folders that display alerts and information about the health and components of the domain:

• Diagram View —Displays a graphical view of a set of Cisco UCS managed objects and shows how they relate to each other.

• <UCS Name> Alert View—Displays active alerts from monitored components in the Cisco UCS domain. This Alert view also displays the alerts from objects which are not directly monitored by the management pack. However, these are visible only if the Miscellaneous Alert Rules are enabled. For more information on these rules, see Rules for Miscellaneous Alerts, page 7-6

• <UCS Name> State View— Display health status and other inventory information about Cisco UCS domain.

• State Summary View—Provides alert view and state view in a single panel, also known as the dashboard view. This view summarizes all related information about the Cisco UCS domain.

• Hardware Inventory Folder —Different views and sub-folders under the hardware inventory folder provide a detailed insight on health state, inventory and fault information about various hardware components present in the UCS Domain.

• Logical Inventory Folder — Different views and sub-folders under the logical inventory folder provide a very detailed insight on health state and inventory information about various logical components present in the UCS Domain.

Cisco UCS Instance Tasks

The Cisco UCS Management Pack provides capability to launch following tasks on each UCS Domain Instance being monitored by Operations Manager. These tasks are available under Tasks > Cisco UCS Instance Tasks when a UCS Domain is selected from <UCS Name> State View in the Cisco UCS Instance Folder.

Generating Discovery Events

Generating discovery events generates windows events for the selected classes, which results in the corresponding Object discovery to retrieve updates from the Management Service about that particular class object. This feature is used to manually run the Object Discoveries to retrieve updates about the class in Operations Manager.

Note Generating discovery events is a mandatory task when any disabled object discovery is enabled using object discovery override. This operation retrieve old updates about the class from Management Service and updates them in the Operations Manager.

8-3Cisco UCS Management Pack User Guide, Release 3.x

Chapter 8 Monitoring Cisco UCS Domains with Operations ManagerAbout the Cisco UCS Folder

Complete the following steps to generate discovery events:

Step 1 In the Operations Manager application, click the Go tab in the menu bar.

Step 2 Choose Monitoring from the drop-down menu.

Step 3 Expand the Cisco Unified Computing System folder to display the folders and views.

Step 4 Select State Summary and click Cisco UCS Domain from Cisco UCS Instance State View.

Step 5 Click Cisco UCS Instance Tasks > Generate Discovery Events from right panel.

Step 6 When the Generate Discovery Events task launches, click Override.

Step 7 Change the New Value to True for one or more classes, to generate discovery events from them.

Step 8 Click Run.

Note Generate Discovery Events is an Agent Task, and executes on the computer where the Management Service is hosted to monitor the UCS Domain. The operation results in the corresponding Object Discovery to run and retrieve the latest updates from the Management Service.

Launch UCS GUI

The default browser is launched and redirected to the selected UCS home page.

Note In order to launch the UCS GUI, network connectivity should be available between the computer where the Operations Manager Console application is running and the UCS Domain.

Complete the following steps to launch the UCS GUI:

Step 1 In the Operations Manager application, click the Go tab in the menu bar.

Step 2 Choose Monitoring from the drop-down menu.

Step 3 Expand the Cisco Unified Computing System folder to display the folders and views. Select State Summary and click Cisco UCS Domain from the Cisco UCS Instance State View.

Step 4 Click Cisco UCS Instance Tasks > Launch UCS GUI from the right panel.

Load UCS Fault Data

The Cisco UCS Management Service collects faults from the UCS Domain using event channel subscription and generates windows events. The Cisco UCS Management Pack reads the windows events and displays them in the Operations Console. This activity is automatically handled by Cisco UCS Management Service and Management Pack.

Loading the UCS fault data manually refreshes the event channel subscription and moves the updated faults from UCS Domain into the Operations Console.

Complete the following steps to load the UCS Fault Data:

Step 1 In the Operations Manager application, click the Go tab in the menu bar.

Step 2 Choose Monitoring from the drop-down menu.

8-4Cisco UCS Management Pack User Guide, Release 3.x

Chapter 8 Monitoring Cisco UCS Domains with Operations ManagerAbout the Cisco UCS Folder

Step 3 Expand the Cisco Unified Computing System folder to display the folders and views. Select State Summary and click Cisco UCS Domain from Cisco UCS Instance State View.

Step 4 Click Cisco UCS Instance Tasks > Load UCS Fault Data from the right panel.

Step 5 Click Run.

Note Load UCS Fault Data is an Agent task, and executes on the computer where the Management Service is hosted to monitor the UCS Domain

Load UCS Inventory Data

The Cisco UCS Management Pack collects inventory updates from the UCS Domain periodically (the default interval is two hours). Use this task to manually load any updates from UCS Domain.

Complete the following steps to load the UCS Inventory Data:

Step 1 In the Operations Manager application, click the Go tab in the menu bar.

Step 2 Choose Monitoring from the drop-down menu.

Step 3 Expand the Cisco Unified Computing System folder to display the folders and views. Select State Summary and click Cisco UCS Domain from Cisco UCS Instance State View.

Step 4 Click Cisco UCS Instance Tasks > Load UCS Inventory Data from right hand panel.

Step 5 Click Override to override any task parameter. The following overrides are available.

a. TimeOut Seconds: Time out period for the task to complete execution.

b. Organization Discovery Level: Defines the level up-to which Organizations and Service Profiles from UCS Domain should be discovered in operations Manager.

c. Enable Logging: Defines if the logging is enabled/disabled for this object discovery.

d. Cache Class: Defines the Managed Object for which inventory or Monitoring information to be collected from UCS Domain.

e. Associated Service Profiles: Defines whether the associated or unassociated Service Profiles need to be discovered in Operations Manager. Default value is “True” which means only an associated service profile needs to be discovered in the Operations Manager.

Step 6 Click Run.

Note Load UCS Inventory Data is a Operations Manager Agent Task and executes on the Service Machine monitoring UCS Domain.

Ping UCS

The Ping UCS task pings to the UCS domain to check the connectivity between the Operations Manager console and the Cisco UCS domain.

Follow the steps outline below to Ping UCS Domain

Step 1 In the Operations Manager application, click the Go tab in the menu bar.

Step 2 Choose Monitoring from the drop-down menu.

8-5Cisco UCS Management Pack User Guide, Release 3.x

Chapter 8 Monitoring Cisco UCS Domains with Operations ManagerAbout the Cisco UCS Folder

Step 3 Expand the Cisco Unified Computing System folder to display the folders and views. Select State Summary and click Cisco UCS Domain from Cisco UCS Instance State View.

Step 4 Click Cisco UCS Instance Tasks > Ping UCS from right hand panel.

Ping UCS Continuously (ping -t)

The Ping UCS Continuously task continuously pings to the UCS Domain to check the connectivity between the Operations Manager Console and the Cisco UCS Domain.

Complete the following steps to ping the UCS Domain continuously:

Step 1 In the Operations Manager application, click the Go tab in the menu bar.

Step 2 Choose Monitoring from the drop-down menu.

Step 3 Expand the Cisco Unified Computing System folder to display the folders and views. Select State Summary and click Cisco UCS Domain from Cisco UCS Instance State View.

Step 4 Click Cisco UCS Instance Tasks > Ping UCS Continuously (ping –t) from right hand Panel.

Hardware Inventory FolderThe Hardware Inventory folder displays a diagram view of the Cisco UCS hardware in the Cisco UCS domain, such as chassis, blade servers, fabric interconnects, and rack mount servers. Each type of hardware has its own folder with alert view, state view, and state summary for that hardware.

Different views and folders under Hardware Inventory provide an insight to health state, inventory and fault information about various hardware components of UCS Domain.

The following are the views and folders present under the hardware inventory:

• Diagram View: shows the entire hardware component under UCS Domain in a hierarchical fashion. User can click any component and the details view will give additional information about the component. User can also choose to launch the Alert View and Diagram view to see the alerts or component with-in the selected component.

• Chassis

– Blade

– Fan Module

• Fan

– IO Module

• Port

– PSU

• Fabric Interconnect

– Fan

– Fan Module

– PSU

– Storage Item

– Switch Card

• Port

8-6Cisco UCS Management Pack User Guide, Release 3.x

Chapter 8 Monitoring Cisco UCS Domains with Operations ManagerAbout the Cisco UCS Folder

– SWVlanPortNS

• Rack Mount

• FEX

– Fan

– IO Module

– Power Supply Unit

• Rack Unit

– Fan Module

– Interface Card

– Inventory

– PSU

Each of the above folders has three views:

• Alert View: Shows the alerts on all the instance of the component.

• State View: Shows the inventory about all the instances of the component.

• State Summary: Shows the State View and Alert View in a single pane.

Logical Inventory FolderDifferent views and folders under Logical Inventory provide an insight to health state, inventory and fault information about various logical components of UCS Domain. Following views and folder are present under logical Inventory:

• Diagram View: Displays the entire logical component under UCS Domain in a hierarchical fashion. You can click any component and the details view provides additional information about the component. You can also choose to launch the Alert View and Diagram view from the right panel to see the alerts or component within the selected component.

• Organization: State View lists all the organizations and sub-organizations available in the UCS Domain. Hierarchy of the organizations can be seen from the Diagram View. Alert View shows all the alerts related to organizations and sub-organizations and the State Summary shows the State View and the Alert View in a single pane.

– Firmware Packs and Items

Firmware Items: Lists the state summary of various firmware items.

Firmware Packs: Lists the state summary of various firmware Packs.

– Pools: Lists the state summary of various Pools like: Mac Pool, Server Pool, UUID Pool etc.

– Service Profiles. Alert View and State View shows the alerts and inventory related to the service profiles. State Summary shows the Alert View and State View in a single pane.

Note By default the management pack discovers three levels of organization and its components (Service Profiles/Pools). To discover more than three levels, override the Discovery level under Cisco UCS Instance Object Discovery.

8-7Cisco UCS Management Pack User Guide, Release 3.x

Chapter 8 Monitoring Cisco UCS Domains with Operations ManagerAbout the Cisco UCS Folder

Note By default the management pack discovers only associated service profiles. In order to discover the non-associated service profiles, override the IsAssociated parameter under Cisco UCS Instance Object Discovery.

This folder displays Logical Inventory View of UCS which contains Organization, Service Profiles, Pools, Firmware Packs and Items. It consists of Organizations folder which contains different views for the Organization, that is, Alert View, State View, and State Summary view. It also contains sub folders for Sub-Organizations, Service Profiles, Firmware Packs and Items, and Pools, each containing the different views for respective items. All the sub-organizations have a similar content structure.

UCS HW/Logical Component Tasks

KVM Console Task

The Cisco UCS Management Pack provides capability to launch KVM console from the Operations Console. KVM console launch action is available for following UCS components:

• Blade Server (Hardware Component)

• Rack Unit Server (Hardware Component)

• Service Profile (Logical Component)

Complete the following steps to launch the KVM console:

Step 1 In the Operations Manager application, click the Go tab in the menu bar.

Step 2 Choose Monitoring from the drop-down menu.

Step 3 Expand the Cisco Unified Computing System folder to display the folders and views.

Step 4 Expand the Cisco UCS Instance(s) folder.

Step 5 Expand <UCS Name> folder of UCS Domain on which KVM Console should be launched. Depending upon KVM Console should be launched on Blade/Rack/Service Profile, follow one of the following steps:

a. Blade Server: Go to HW Inventory > Chassis > Blade > Blade State View. Select the blade server and click Tasks > Blade Tasks > Launch KVM.

b. Rack Unit Server: Go to HW Inventory > Rack Mount > Rack Unit > Rack Unit State View. Select the rack unit server and click Tasks > Rack Unit Tasks > Launch KVM.

c. Service Profile: Go to Logical Inventory > Organization > Service Profiles > Service Profile State View. Select the service profile and click Tasks > Service Profile Tasks > Launch KVM.

Note The KVM console requires Java Version 1.6 Update (14). To launch the KVM console, you must have valid Cisco UCSM user credentials with administrator or user role privileges, and must be associated with the Cisco UCS Domain Profile.

Caution The KVM console cannot be launched on a Blade/Rack Unit/Service Profile, if the connection to the UCS Domain is established using a proxy server.

8-8Cisco UCS Management Pack User Guide, Release 3.x

Chapter 8 Monitoring Cisco UCS Domains with Operations ManagerAbout the Cisco UCS Folder

Caution The KVM console being a console task cannot be launched on a Blade/Rack Unit/Service Profile, when there is no direct connectivity between Operations Console machine and the Service Machine where the Cisco UCS Management Service is running. This could occur when the Operations Console machine belongs to a different Active Directory Domain than the Service Machine.

Alert Operations

Acknowledge UCS Faults

This operation could be performed on an Operation Manager alert created by the Management Pack due to a fault on UCS Domain. Using this operation, user can acknowledge an UCS Domain fault from the Operations Manager Console itself.

Prerequisites: Required configuration as explained under the Configuring Faults Acknowledgments section must be completed before performing this operation.

Complete the following steps to acknowledge a UCS fault from Operations Manager Console:

Step 1 Select an alert in Operations Manager which belongs to a UCS Domain.

Step 2 Right click on the alert and choose Set Resolution State.

Step 3 Click UCS Acknowledged (configured resolution state).

View Knowledge Article of Alerts

Knowledge Articles provide more information about an alert generated in Operations Manager. This Management Pack supports knowledge articles for every UCS fault generated as alert in Operations Manager. Knowledge articles will help the user to get additional information about the alert like Fault Cause, Explanations and Resolution steps. Resolution Steps should be followed to resolve the alerts.

Complete the following steps to view the knowledge articles of generated alerts:

Step 1 Select an alert in Operations Manager which belongs to a UCS Domain.

Step 2 Right click on the alert and choose Properties.

Step 3 On the properties window, click the Product Knowledge tab.

Clearing of Alerts

When a fault or condition is cleared in Cisco UCS Manager, the corresponding alert in operations manager is set to closed state. There is no manual activity required to close an alert in the Operations Manager console.

8-9Cisco UCS Management Pack User Guide, Release 3.x

Chapter 8 Monitoring Cisco UCS Domains with Operations ManagerAbout the Cisco UCS Folder

8-10Cisco UCS Management Pack User Guide, Release 3.x

Cis

C H A P T E R 9

PowerShell Cmdlets for Cisco UCS Management Pack

Cisco UCS Management Pack supports the use of cmdlets that can be imported from a PowerShell Module. These cmdlets internally take care of functions such as discovery of chassis along with enabling or disabling monitors on components. Previously, these discovery actions had to be performed manually. The cmdlets also allow you to add a new UCS domain or update an existing UCS domain without logging on to the GUI.

This chapter includes the following sections:

• Importing Cmdlets from the PowerShell Module

• Adding or Updating UCS Instance or Instances

• Retrieving, enabling, or disabling UCS Object Discoveries

• Retrieving, enabling or disabling UCS Fault Monitors

Importing Cmdlets from the PowerShell ModuleComplete the following steps to import cmdlets to the PowerShell session.

Step 1 On the management server where UCS Operations Manager PowerShell Module is installed, open the Operations Manager Shell Console.

Note The CiscoUcsScomPs module is installed within the folder structure of the Cisco management pack, not in the default Powershell folder.

Step 2 Import the CiscoUcsScomPs module. All the cmdlets would then be available in the session.

Step 3 To see all cmdlets in CiscoUcsScomPs module, use the Get-Command -Module CiscoUcsScomPs command in the PowerShell window.

Note In case you are using another PowerShell session, import the OperationsManager module before importing the CiscoUcsScomPs module.

9-1co UCS Management Pack User Guide, Release 3.x

Chapter 9 PowerShell Cmdlets for Cisco UCS Management Pack

Adding or Updating UCS Instance or Instances

Add-UcsScomInstance Cmdlet

Adds a new UCS instance to the Management Group. You may specify the proxy details used to connect to UCS.

If the port is not specified, the default port (80/443) will be used. You need not specify the Run-As-Account details if you intend to manually create or assign it later.

You can create multiple UCS instances within a single management pack. When you are adding a UCS instance, provide an existing management pack (can also be input through pipeline), or you can specify a name for the new management pack to be created using ManagementPackName parameter. If none of these management pack parameters are provided, a new management pack is created with a same name as that of the instance.

Syntax:Add-UcsScomInstance -UcsIPAddress <string> -MachineType <string> {Agent Managed Computer (Trusted Boundary) | Agent Managed Computer (Untrusted Boundary) | Management Server | Gateway Server} -MachineName <string> -InstanceName <string> [-Port <int>] [-ManagementPackName <string>] [-Description <string>] [-NoSsl] [-ProxyHost <string>] [-ProxyPort <int>] [-ProxyUsername <string>] [-ProxyPassword <string>] [-ExistingRunAsAccount <string>]

Add-UcsScomInstance -UcsIPAddress <string> -MachineType <string> {Agent Managed Computer (Trusted Boundary) | Agent Managed Computer (Untrusted Boundary) | Management Server | Gateway Server} -MachineName <string> -InstanceName <string> -RunAsAccount <string> -RunAsCredential <pscredential> [-Port <int>] [-ManagementPackName <string>] [-Description <string>] [-NoSsl] [-ProxyHost <string>] [-ProxyPort <int>] [-ProxyUsername <string>] [-ProxyPassword <string>]

Add-UcsScomInstance -UcsIPAddress <string> -MachineType <string> {Agent Managed Computer (Trusted Boundary) | Agent Managed Computer (Untrusted Boundary) | Management Server | Gateway Server} -MachineName <string> -InstanceName <string> -ExistingManagementPack <ManagementPack> -Description <string> -RunAsAccount <string> -RunAsCredential <pscredential> [-Port <int>] [-NoSsl] [-ProxyHost <string>] [-ProxyPort <int>] [-ProxyUsername <string>] [-ProxyPassword <string>]

Add-UcsScomInstance -UcsIPAddress <string> -MachineType <string> {Agent Managed Computer (Trusted Boundary) | Agent Managed Computer (Untrusted Boundary) | Management Server | Gateway Server} -MachineName <string> -InstanceName <string> -ExistingManagementPack <ManagementPack> -Description <string> [-Port <int>] [-NoSsl] [-ProxyHost <string>] [-ProxyPort <int>] [-ProxyUsername <string>] [-ProxyPassword <string>] [-ExistingRunAsAccount <string>]

Parameters

• UcsIPAddress - IP address or host name of the UCS to register

• MachineType - Type of Operations Manager machine to register the UCS

• MachineName - FQDN of the machine on which UCS will be registered (all scripts related to this UCS MP will be run on this machine)

• InstanceName - Name to be given to this UCS instance

• Port - Port number

• ManagementPackName - Name of the new management pack to be created (if not specified, InstacneName will be used for management pack)

9-2Cisco UCS Management Pack User Guide, Release 3.x

Chapter 9 PowerShell Cmdlets for Cisco UCS Management Pack

• Description - Optional description string for the UCS instance

• NoSsl - Switch parameter to specify non-secure (http) connectivity with UCS

• ProxyHost - IP address or hostname of proxy server to be used for communicating with UCS

• ProxyPort - Proxy port number

• ProxyUsername - Username for proxy server

• ProxyPassword - Password for proxy server

• ExistingRunAsAccount - Name of the existing Run-As account to be used for this instance

• RunAsAccount - Name of new Run-As account to be created for this instance

• RunAsCredential - Credentials for the new Run-As account to be created (credentials of UCS)

• ExistingManagementPack - Existing management pack object to which the instance is to be added

Note You can either add a UCS instance on a new Management pack or an existing pack name, but you cannot do both for a single Instance.

Examples:$secureString = ConvertTo-SecureString "PASSWORD" -AsPlainText -Force$credentials = New-Object System.Management.Automation.PSCredential ("USERNAME",$secureString)

Add-UcsScomInstance -UcsIPAddress 10.10.10.10 –InstanceName ‘UCSNAME_10’ –MachineType ‘Management Server’ –MachineName FQDN of ‘SCOM_MS1’ –Secure –ProxyHost ’10.10.10.2’ –ProxyPort 58 –RunAsAccount ‘UCS10’ –RunAsCredential $credentials

Update-UcsScomInstance Cmdlet

Updates the required properties for an existing template (registered UCS). You may specify the new values for any parameter or parameters you intend to modify. For the remaining parameters, existing values are used.

Syntax:Update-UcsScomInstance [-InstanceName] <string> [[-UcsIPAddress] <string>] [[-Port] <string>] [[-MachineType] <string> {Agent Managed Computer (Trusted Boundary) | Agent Managed Computer (Untrusted Boundary) | Management Server | Gateway Server}] [[-MachineName] <string>] [[-Description] <string>] [[-Secure] <bool>] [[-ProxyHost] <string>] [[-ProxyPort] <int>] [[-ProxyUsername] <string>] [[-ProxyPassword] <string>]

Parameters

• InstanceName – Name of the registered UCS instance to be updated

• UcsIPAddress – New IP address or hostname to be assigned

• Port – New port number

• MachineType – New Machine Type

• MachineName – FQDN of new Operations Manager machine name

• Description – New description of MP

• Secure – Boolean value to either set or reset secure connection option

• ProxyHost - New proxy server host name or IP address to be used for communicating with UCS

• ProxyPort – New proxy port number

9-3Cisco UCS Management Pack User Guide, Release 3.x

Chapter 9 PowerShell Cmdlets for Cisco UCS Management Pack

• ProxyUsername – New proxy username

• ProxyPassword – New proxy password

ExamplesUpdate-UcsScomInstance -InstanceName ‘SCOM_MS1’ –MachineType ‘Agent Managed Computer (Trusted Boundary)’ –MachineName FQDN of machine ‘SCOM_AGENT1’ –Description ‘UCS 10’ –Secure $false –Port 80

Update-UcsScomAllInstances Cmdlet

Updates all the existing UCS instances after upgrade from version 3.0(1) or 3.0.(2) to 3.1.2.

Retrieving, enabling, or disabling UCS Object Discoveries

Get-UcsScomDiscovery Cmdlet

Gets all Operations Manager discoveries per the specified criteria. You need to specify the instance name and an optional classes or discovery names.

Syntax:Get-UcsScomDiscovery -InstanceName <string>Get-UcsScomDiscovery -InstanceName <string> -DiscoveryName <string[]>Get-UcsScomDiscovery -InstanceName <string> -ClassName <string[]>

Parameters:

• InstanceName – Displays name of the registered UCS instance

• DiscoveryName – Array of display names of discoveries

• ClassName – Array of display names of classes for which corresponding discoveries are returned

Examples:Get-UcsScomDiscovery –Instancename ‘MyMpName’Get-UcsScomDiscovery –Instancename ‘MyMpName’ -DiscoveryName ‘Chassis Discovery’,’Blade Discovery’,’FEX Discovery’Get-UcsScomDiscovery –Instancename ‘MyMpName’ -DiscoveryName ‘Chassis Discovery’Get-UcsScomDiscovery –Instancename ‘MyMpName’ –ClassName ‘Blade Interface Card’,’Fabric Interconnect PSU’

Enable-UcsScomDiscovery Cmdlet

Enables all Operations Manager discoveries provided as input. You may pipe the output of Get-UcsScomDiscovery cmdlet or provide it as an array of discoveries.

Syntax:Enable-UcsScomDiscovery [-Discovery] <ManagementPackDiscovery[]>

Parameter:

Discovery – Array of Operations Manager discoveries retrieved using the Get-UcsScomDiscovery cmdlet

9-4Cisco UCS Management Pack User Guide, Release 3.x

Chapter 9 PowerShell Cmdlets for Cisco UCS Management Pack

Examples:Get-UcsScomDiscovery –InstanceName ‘MyMpName’ -DiscoveryName ‘Chassis Discovery’,’Blade Discovery’ | Enable-UcsScomDiscovery

Note All parent discoveries (if disabled) are also enabled with complete information on the Operations Manager console.

Disable-UcsScomDiscovery Cmdlet

Disables all Operations Manager discoveries provided as input. You may pipe the output of Get-UcsScomDiscovery cmdlet or provide it as an array of discoveries.

Syntax:Disable-UcsScomDiscovery [-Discovery] <ManagementPackDiscovery[]>

Parameter:

Discovery – Array of Operations Manager discoveries retrieved using the Get-UcsScomDiscovery cmdlet

Examples:Get-UcsScomDiscovery –InstanceName ‘MyMpName’ -DiscoveryName ‘Chassis Discovery’,’Blade Discovery’ | Disable -UcsScomDiscovery

Retrieving, enabling or disabling UCS Fault Monitors

Get-UcsScomMonitor Cmdlet

Gets all Operations Manager monitors per specified criteria. You need to specify the Instance name. Optional search criteria include Classes, Severity, Fault IDs, and Affected Classes.

Syntax:Get-UcsScomMonitor -InstanceName <string> [-Class <string[]>] [-IncludeSubClasses] [-Severity <string[]> {Error | Warning}]Get-UcsScomMonitor -InstanceName <string> -FaultID <string[]> [-AffectedClass <string[]>]

Parameters:

• InstanceName – Displays name of the registered UCS instance

• Class – Array of display names of classes for which corresponding monitors will be returned

• IncludeSubClasses – To include the subclasses (of class parameter) as well

• Severity – Severity of monitors to be considered. This could also be an ‘Error’ or ‘Warning’. Error maps to Critical in Operations Manager

• FaultID – Array of Fault IDs for which corresponding monitors are returned

• AffectedClass – Array of target class IDs to filter monitors further

Examples:Get-UcsScomMonitor –Instancename ‘MyMpName’ – Class ‘Blade’,’Chassis’ –Severity ‘Error’Get-UcsScomMonitor –Instancename ‘MyMpName’ – Class ‘Blade’ - IncludeSubClassesGet-UcsScomMonitor –Instancename ‘MyMpName’ –Severity ‘Warning’

9-5Cisco UCS Management Pack User Guide, Release 3.x

Chapter 9 PowerShell Cmdlets for Cisco UCS Management Pack

Get-UcsScomMonitor –Instancename ‘MyMpName’ – FaultID ‘F0169’,’ F0178’ –AffectedClass ‘Organization’,’ BladeCPU’

Enable-UcsScomMonitor Cmdlet

Enables all Operations Manager monitors provided as input. You may pipe the output of Get-UcsScomMonitor cmdlet or provide it as an array of monitors. Additionally, you have the option to enable related discoveries of these monitors.

Syntax:Enable-UcsScomMonitor [-Monitor] <ManagementPackMonitor[]> [-EnableDiscoveries] [-Force]

Parameters:

• Monitor – Array of Operations Manager monitors retrieved using the Get- UcsScomMonitor cmdlet

• EnableDiscoveries - Switch parameter to selectively enable discoveries related to each monitor. You will receive a list of related disabled discoveries (if any) after processing each monitor, and an option to enable or disable those discoveries.

• Force – Switch parameter to enable all related discoveries without user intervention.

Examples:Get-UcsScomMonitor –InstanceName ‘MyMpName’ – FaultID ‘F0169’,’ F0178’ | Enable- UcsScomMonitorGet-UcsScomMonitor –InstanceName ‘MyMpName’ – Class ‘Blade’| Enable- UcsScomMonitor –EnableDiscoveriesGet-UcsScomMonitor –InstanceName ‘MyMpName’ | Enable- UcsScomMonitor - Force

Disable- UcsScomMonitor Cmdlet

Disables all Operations Manager monitors provided as input. You may pipe the output of Get-UcsScomMonitor cmdlet or provide it as an array of monitors.

Syntax:Disable-UcsScomMonitor [-Monitor] <ManagementPackMonitor[]>

Parameter:

Monitor – Array of Operations Manager monitors retrieved using Get- UcsScomMonitor cmdlet

Examples:

Get-UcsScomMonitor –InstanceName ‘MyMpName’ | Disable – UcsScomMonitor

9-6Cisco UCS Management Pack User Guide, Release 3.x

Cis

C H A P T E R 10

Troubleshooting

This chapter includes the following sections:

• Error when Adding a Cisco UCS Domain to Operations Manager, page 10-1

• Cisco UCS Monitoring Not Started, page 10-1

• Cisco UCS Monitoring Stopped, page 10-2

• Cisco UCS Management Service Log, page 10-2

Tip For troubleshooting issues with Operations Manager, see the knowledge base articles available from Support for Microsoft System Center 2012.

Error when Adding a Cisco UCS Domain to Operations ManagerProblem Operations Manager displays an error message when you attempt to add a Cisco UCS domain. This error message is displayed if the required library, Cisco.UCS.MP.UI.dll, is not present on the current machine.

Solution Adding a UCS Domain using Operations Manager Console is allowed from the computers where the installer was run to import the Management Pack or install the Management Service or both.

Cisco UCS Monitoring Not StartedScenario 1

Problem After successfully adding Cisco UCS Domain and assigning appropriate Run-As-Account to Run-As-Profile, Cisco UCS Domain is not monitored.

Solution Look for event 19900 in the Management Pack Events under Monitoring > Cisco Unified Computing System. Disable LAN proxy or “choose Bypass proxy server for local addresses” from LAN Settings on computer hosting Cisco UCS Management Service. Discovery of UCS instance is scheduled every two hours, hence it will take approximately two hours to discover UCS instance.

To modify the proxy using Internet Explorer:

Step 1 Open Internet Explorer

10-1co UCS Management Pack User Guide, Release 3.x

Chapter 10 TroubleshootingCisco UCS Monitoring Stopped

Step 2 Go to Tools > Internet Options > Connections > LAN Settings > Proxy Server

Step 3 Disable Use a proxy server for your LAN

Scenario 2

Problem After successfully adding Cisco UCS Domain and assigning appropriate Run-As-Account to Run-As-Profile, Cisco UCS Domain is not monitored, and the following error message (example shown below) is displayed in the Event Data section of the Management Pack Events:

Example:DN: Miscellaneous Error: Could not load file or assembly 'file:///C:\Windows\TEMP\dfeyvn4h.dll' or one of its dependencies. The system cannot find the file specified.

Solution Operations Manager Action Account user and its group should have read/write permission to “C:\windows\temp” folder.

Cisco UCS Monitoring StoppedProblem Monitoring stops and an alert message appears which makes the service machine critical.

Solution Go to the Alert Details section and click Start the Service, and then Run the task. This ensures the Management Service is up and running. You can also verify the same from the services.msc dialog box.

Cisco UCS Management Service LogThis version of the Cisco UCS Management Pack supports Cisco UCS Management Service logging.

Logs are present at:

“%PROGRAMDATA%\Cisco\UCSM\Log”

Under the above location there are separate logs for each Cisco UCS Domain being monitored.

Logging Levels• Exception: Logs any exceptions occurred while monitoring the UCS Domain.

• Error: Logs any errors or exceptions occurred while monitoring the UCS Domain.

• Information: Logs Errors, Exceptions and informational messages to the log file.

Note Default logging level is set to: Error.

Changing the Logging LevelsLog on to the computer hosting the Cisco UCS Management Service, and complete the following steps to change the logging level:

Step 1 Open the PowerShell window.

10-2Cisco UCS Management Pack User Guide, Release 3.x

Chapter 10 TroubleshootingCisco UCS Management Service Log

Step 2 Use the $wcf = New-WebServiceProxy http://localhost:8732/SCOMUcsAgent command to connect to the agent.

Step 3 To get the current log, use the $wcf.GetLoggingType(“UCSM”) command.

Step 4 To change logging, enter (Info, Error, Exception) and use the $wcf.UpdateLoggingType(“UCSM”,“Info”) command.

Back Up Log FilesThe Cisco UCS Management Service backs up log files greater than 10 MB. Once a log file size reaches 10 MB the Management Service stops writing to that file and creates a new file. If the Management Service is re-started then it checks the size of the existing active file and if it is less than 10 MB it starts appending to that file.

Purge Log FilesAny file whose last modified date and time is greater than 30 days is purged automatically. However, currently, this duration of 30 days is not configurable.

Generating Cisco UCS Technical Support File

Step 1 Launch a command prompt.

Step 2 Change the directory to Cisco UCS Management Pack installation folder (default location :- C:\Program Files\Cisco\Cisco UCS Management Pack\UcsAgent.

Step 3 Verify that file “Cisco.UCS.TechSupport.exe” is available.

Step 4 Use the following syntax to generate tech support files.

a. Run Cisco.UCS.TechSupport.exe without any parameter.

This generates the tech support file at default location (C:\ProgramData\Cisco\UCSM)

b. Run Cisco.UCS.TechSupport.exe <FolderName> to generate the tech support file at user defined location.

Note The tech support file can be generated per Cisco UCS Management Service guidelines. The tech support Utility is available on all the computers where Cisco UCS Management Service is installed. You should log on to the computer and run the command to generate the Tech Support file for the local Cisco UCS Management Service.

Note It is recommended to change the logging level to ‘Informational’ and wait for one to two days before generating the tech support file, this helps to capture required information for debugging the problem.

10-3Cisco UCS Management Pack User Guide, Release 3.x

Chapter 10 TroubleshootingCisco UCS Management Service Log

Generating Cisco UCS Management Pack Installer Log FileIf you encounter an error during installation, enter the following at the command prompt to generate the installer log file.

msiexec -i "installer_path\installer file name" -l*v "logfilename"

For example, msiexec -i "Cisco.Ucsm.MP.2012.v3.1.1-x64.msi" -l*v install.log

10-4Cisco UCS Management Pack User Guide, Release 3.x

A

P P E N D I X 11 Monitors and Rules for UCS Faults in the Management Pack

This appendix provides information related to the available monitors for UCS faults in the management pack.

It includes UCS faults collected by the monitors which are enabled by default and faults which can be enabled later. It also provides list of UCS faults which are collected by the Generate Critical and Warning Miscellaneous Faults Event Rules.

This appendix contains the following sections:

• Enabled Monitors for UCS Faults, page 11-1

• Disabled Monitors for UCS Faults, page 11-2

• Miscellaneous Faults, page 11-3

Enabled Monitors for UCS FaultsThe following table provides list of UCS faults collected by the monitors which are enabled by default.

F0869 F0868 F0313 F0408

F1005 F0881 F0637 F0326

F0478 F0424 F0317 F0311

F0533 F0730 F0393 F0404

F0731 F0185 F0549 F0778

F0517 F0918 F0376 F0703

F0382 F1056 F0369 F1040

F0389 F0882 F1219 F0411

F0764 F0885 F0531 F1411

F0481 F0456 F0409 F0207

F0373 F0458 F0479 F0187

F0713 F1103 F0331 F0183

11-1Book Title

Appendix 11 Monitors and Rules for UCS Faults in the Management Pack Disabled Monitors for UCS Faults

Disabled Monitors for UCS FaultsThe following table provides list of UCS faults for which the monitors are disabled by default. These faults are visible in the operations manager console when corresponding monitor is enabled in the management pack. For more information on enabling monitors using PowerShell cmdlets, see Retrieving, enabling or disabling UCS Fault Monitors, page 9-5.

F0383 F1408 F0635 F1114

F0384 F0374 F0394 F0332

F1006 F0291 F0702 F1412

F0883 F0209 F1409 F0399

F0277 F0405 F0327 F1415

F0174 F1284 F0999 F0842

F0391 F0310 F0471 F0329

F0470 F0543 F0733 F0319

F0379 F0902 F0736 F0179

F0798 F1080 F0436 F0176

F1236 F0540 F0180 F0324

F0190 F0304 F1008 F0401

F0385 F0884 F0407 F1366

F0200 F1010 F1414 F1004

F0314 F0425 F0278 F0191

F0276 F0640 F0794 F0435

F0406 F0539 F0367 F0919

F0330 F0398 F0181 F0765

F0844 F0484 F1009 F0188

F1007

F0312 F0538 F0920 F0337

F0729 F0177 F1003 F0821

F1237 F0381 F0392 F0463

F0480 F0915 F0400 F0322

F0378 F0380 F0387 F1229

F0184 F0464 F0998 F0320

F0203 F0689 F0403 F0502

F0921 F0410 F0189 F0315

F0402 F0182 F0801 F0626

F0306 F0996 F1410 F0178

11-2Book Title

Appendix 11 Monitors and Rules for UCS Faults in the Management Pack Miscellaneous Faults

Miscellaneous FaultsThe components which are not monitored using the Operations Manager monitors, the miscellaneous alert rules fetch the faults and display on the Operations Console. The following are the two types of rules that can be enabled:

• Generate Critical Miscellaneous Fault Event Rule—This rule captures all the major and critical faults from the UCS Manager.

• Generate Warning Miscellaneous Fault Event Rule—This rule captures all the minor and warning faults from the UCS Manager.

For more information, refer Rules for Miscellaneous Alerts.

Critical Miscellaneous FaultsThe following table provides list of UCS Manager faults which are collected by the Generate Critical Miscellaneous Fault Event Rule.

F0305 F0775 F0334 F0466

F0321 F0318 F0625 F0528

F0434 F0377 F1285 F0916

F0371 F1252 F0476 F0465

F0997 F0708 F1413 F0776

F0282 F0796 F1086 F0329

F0293 F0797 F1087 F0330

F0294 F0831 F1094 F0331

F0428 F0832 F1095 F0332

F0429 F0833 F1103 F0436

F0430 F0835 F1114 F0458

F0451 F0836 F1215 F0459

F0452 F0858 F1216 F0470

F0642 F0866 F1217 F0471

F0643 F0867 F1218 F0479

F0674 F0909 F1222 F0536

F0675 F0910 F1304 F0537

F0676 F0988 F1305 F0834

F0677 F1026 F1321 F0841

F0678 F1027 F1384 F0856

F0727 F1028 F1385 F0900

F0728 F1029 F1386 F0903

11-3Book Title

Appendix 11 Monitors and Rules for UCS Faults in the Management Pack Miscellaneous Faults

Warning Miscellaneous FaultsThe following table provides list of UCS Manager faults collected by the Generate Warning Miscellaneous Fault Event Rule.

F0734 F1030 F1453 F0932

F0735 F1031 F0207 F0934

F0740 F1032 F0209 F1037

F0741 F1035 F0283 F1209

F0742 F1081 F0304 F1251

F0743 F1082 F0324 F1252

F0757 F1084 F0326 F1257

F0777 F1085 F0327 F1258

F1261 F1325 F1366

F1092 F1392 F0840 F1083

F1093 F0169 F0156 F1088

F1211 F0170 F0157 F0901

F1212 F0334 F0621 F0933

F1213 F0337 F0622 F0936

F1214 F0625 F0670 F0937

F1279 F0688 F0671 F1001

F1306 F0689 F0672 F1002

F1358 F0708 F0673 F1033

F1359 F0717 F0747 F1034

F1360 F0766 F0863 F1089

F1361 F0772 F0864 F1097

F1369 F0775 F0865 F1099

F1382 F0776 F0876 F1102

F1383 F0795 F1057 F1221

F1249 F1250 F1260 F1262

F1329 F1362 F1363

11-4Book Title

Appendix 11 Monitors and Rules for UCS Faults in the Management Pack Miscellaneous Faults

11-5Book Title

Appendix 11 Monitors and Rules for UCS Faults in the Management Pack Miscellaneous Faults

11-6Book Title