© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Lesson # 8 HP UCMDB 8.0 Essentials.

Slides:



Advertisements
Similar presentations
Database Processing: Fundamentals, Design, and Implementation, 9/e by David M. KroenkeChapter 5/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Advertisements

Management Information Systems, Sixth Edition
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Enterprise Information Integration.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Visual Web Information Extraction With Lixto Robert Baumgartner Sergio Flesca Georg Gottlob.
Introduction to Structured Query Language (SQL)
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Introduction to Structured Query Language (SQL)
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Networking with Windows Vista.. Vista’s New Tools and Features The Network and Sharing Center Network Discovery Network Map Network Diagnostics.
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Verify the quality and.
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Ensure geographical redundancy.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
MS Access: Database Concepts Instructor: Vicki Weidler.
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Automatically control.
Computer System Analysis Chapter 10 Structuring System Requirements: Conceptual Data Modeling Dr. Sana’a Wafa Al-Sayegh 1 st quadmaster University of Palestine.
CPS120: Introduction to Computer Science Information Systems: Database Management Nell Dale John Lewis.
ASP.NET Programming with C# and SQL Server First Edition
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor Ms. Arwa.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
1 Chapter Overview Installing the TCP/IP Protocols Configuring TCP/IP.
Physical Database Design Chapter 6. Physical Design and implementation 1.Translate global logical data model for target DBMS  1.1Design base relations.
Chapter 7 Working with Databases and MySQL PHP Programming with MySQL 2 nd Edition.
Introduction to ArcGIS for Environmental Scientists Module 2 – Fundamentals Chapter 7 – Queries.
Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.
Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)
7 1 Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
CFR 250/590 Introduction to GIS, Autumn 1999 Creating and Modifying Tables © Phil Hurvitz, intro.ppt 1 Overview Using ArcView tables Querying.
UML Class Diagram Trisha Cummings. What we will be covering What is a Class Diagram? Essential Elements of a UML Class Diagram UML Packages Logical Distribution.
Agilent Technologies Copyright 1999 H7211A+221 v Capture Filters, Logging, and Subnets: Module Objectives Create capture filters that control whether.
Oracle 11g: SQL Chapter 4 Constraints.
Chapter 4 Constraints Oracle 10g: SQL. Oracle 10g: SQL 2 Objectives Explain the purpose of constraints in a table Distinguish among PRIMARY KEY, FOREIGN.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 (Part II) INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
By Rashid Khan Lesson 6-Building a Directory Service.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Lesson # 9 HP UCMDB 8.0 Essentials.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 22 - SQL, MySQL, DBI and ADO Outline 22.1 Introduction 22.2 Relational Database Model 22.3 Relational.
SQL/Lesson 7/Slide 1 of 32 Implementing Indexes Objectives In this lesson, you will learn to: * Create a clustered index * Create a nonclustered index.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. BSM(OMI) 9.2X ENRICHMENT MANAGER.
© Copyright 2011 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted Module 11.
© Copyright 2011 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted Module 8.
Session 1 Module 1: Introduction to Data Integrity
Introduction to Active Directory
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. OMi CiGenerator tool this.
21 Copyright © 2009, Oracle. All rights reserved. Working with Oracle Business Intelligence Answers.
22 Copyright © 2009, Oracle. All rights reserved. Filtering Requests in Oracle Business Intelligence Answers.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
CSC314 DAY 8 Introduction to SQL 1. Chapter 6 © 2013 Pearson Education, Inc. Publishing as Prentice Hall SQL OVERVIEW  Structured Query Language  The.
LM 5 Introduction to SQL MISM 4135 Instructor: Dr. Lei Li.
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
Database Design, Application Development, and Administration, 6 th Edition Copyright © 2015 by Michael V. Mannino. All rights reserved. Chapter 5 Understanding.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
More SQL: Complex Queries, Triggers, Views, and Schema Modification
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
Doron Orbach UCMDB Product Manager
Logical Database Design and the Rational Model
More SQL: Complex Queries,
Lesson # 9 HP UCMDB 8.0 Essentials
Creating Oracle Business Intelligence Interactive Dashboards
Business Objects Overview
CIS16 Application Programming with Visual Basic
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
More SQL: Complex Queries, Triggers, Views, and Schema Modification
Class Diagrams Class diagram is basically a graphical representation of the static view of the system and represents different aspects of the application.
Overview Multimedia: The Role of WINS in the Network Infrastructure
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
ESRM 250/CFR 520 Autumn 2009 Phil Hurvitz
Presentation transcript:

© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Lesson # 8 HP UCMDB 8.0 Essentials Introduction to TQL

2 Lesson Objectives In this lesson, you will learn how to: Describe the purpose and use of Topology Query Language (TQL) Describe the applications and systems that use TQL Create a basic TQL query Use Attribute conditions on a TQL to filter the results Use Cardinality conditions on a TQL to filter the results Use Element ID conditions on a TQL to filter the results Use the Include Subtypes property Create a query to extract information from the CMDB to solve business problems About this Chapter

3 Introduction to TQL TQL stands for Topology Query Language TQL is a graphical language composed of nodes and links TQL is the method for finding data in the CMDB TQL is a constraint language, like Prolog or SQL TQL queries are composed of assertions. TQL queries return objects which match the criteria Topology Query Language Overview

4 TQL Dependant Subsystems Topology Query Language Overview

5 TQL Query Process Topology Query Language Overview

6 TQL Query Example TQL Query CMDB data TQL result Topology Query Language Overview

7 Building a TQL Query Add nodes and relationships Graphical expression of nodes and links Defines the data to be returned from the CMDB Filter the resulting TQL Constraints to limit the CIs returned from the CMDB TQL node condition TQL relationship condition Topology Query Language Overview

8 Constraint Types CIT Instance Attributes Specific value or a range of values of an attribute –Host IP must begin with “ *” –Host OS must equal Linux Relationships among CIT instances Cardinality of linked nodes –A host should have exactly two network interfaces Topology Query Language Overview

9 Attribute Constraints Constraints based on an intrinsic characteristic of an object May be chained using Boolean logic (A and B or C) Available constraints are based on the SQL “where clause” query syntax Constraints include =, !=,, NULL, NOT NULL, LIKE, NOT LIKE & LIKE ignore case Example: Host object with a DNS Name of “foo.bar.com” Host with operating system like %Windows 2003% Topology Query Language Overview

10 Relationship Constraints Cardinality Constraint based on relationships between instances Can be applied to one or both ends of a link between two nodes May be used in combination with other constraints Examples 1..* -- At least one to one, possibly to many 0..* -- Optional Must not be there Must be in the range 7 to 14 Topology Query Language Overview

11 Common Cardinality Constraints 0..* Indicates none or more The CI may or may not exist The CI is optional 0..0 Indicates that the CI has no CIs linked to it None may exist 1..* Indicates that the CI has at least one CI linked to it 1 to many Topology Query Language Overview

12 Single Object Discovery TQL DISCOVERY: ACTIVITY Assume the CMDB is populated with the following basic geometric shapes. Each shape represents a component of the environment. What does this TQL select from the CMDB? TQL

13 Multiple Object Discovery TQL DISCOVERY: ACTIVITY What does this TQL select from the CMDB? TQL

14 Complex Discovery TQL DISCOVERY: ACTIVITY What does this TQL select from the CMDB? TQL

15 Discovery Filter TQL DISCOVERY: ACTIVITY How would we modify this TQL to return all squares, and also any circles attached to squares? TQL

16 TQL Usage Across the Modeling Managers Topology Query Language Overview

17 New TQL Overview Defines the name, type and properties of the TQL TQL Types View Report Correlation Enrichment Integration Discovery Structure to hold the links and nodes Topology Query Language Overview Identity

18 Creating a New TQL Topology Query Language Overview

19 Nodes and Relationships Overview Defines the query in a graphical expression of nodes and links Defines the CITs and relationships whose instances will be returned from the CMDB Topology Query Language Overview Identity

20 Adding Nodes to a TQL Topology Query Language Overview

21 Defining Relationships Between Nodes Topology Query Language Overview

22 Basic Query: all Unix hosts TQL Query for all Unix hosts with CPU? Topology Query Language Examples

23 Basic Query: Unix hosts with Apache TQL for all networks with Unix hosts with their IP Addresses? Topology Query Language Examples

24 Basic Query: Unix host resources Where can you verify the relationship type between two CIT’s? Topology Query Language Examples

25 Attribute Conditions Review Places conditions on the query to constrain the results Filters the CIs returned to the view Constrains by the value of an attribute Topology Query Language Overview Identity

26 TQL Node Properties Dialog Topology Query Language Overview

27 TQL Node Attribute Conditions Host Operating System Equal ignore case "windows 2003" AND Host Operating System Release Equal "5" Topology Query Language Overview

28 Adding Attribute Conditions Topology Query Language Overview

29 Fixed Value Parameterized Conditions Topology Query Language Overview

30 Example - Windows 2003 Servers TQL Definition Result Set Topology Query Language Examples

31 Example - Unix Host with OS other than Linux Result Set Topology Query Language Examples TQL Definition

32 Identity Conditions Overview Places conditions on the query to constrain the results Filters the CIs returned to the view Constrains by a CIT instance Topology Query Language Overview Identity

33 Defining an Identity (Select Identities) Topology Query Language Overview

34 All Hosts on the Subnet TQL Topology Query Language Overview

35 Cardinality Conditions Review Places conditions on the query to constrain the results Filters the CIs returned to the view Constrains by the number of relationships from one CI to another Topology Query Language Overview Identity

36 Defining Relationship Cardinality Topology Query Language Overview

37 Adding Relationship Cardinality Topology Query Language Overview

38 Unix Hosts and their CPUs What would be displayed for 0..* cardinality from CPU to Unix? Topology Query Language Example

39 Unix Hosts with CPUs Topology Query Language Example

40 Unix Hosts with 2 or more CPUs Topology Query Language Examples

41 Include Subtypes Property Overview A node or relationship condition selected by default When selected the TQL results include the CI Type instances and instances of all subtypes Host CIT returns Hosts, Unix, Windows, etc. When deselected the TQL results include the CI Type instances but none of the instances of any of the subtypes Host CIT returns Hosts only Topology Query Language Overview

42 Editing Include Subtypes Properties Topology Query Language Overview

43 Using Include Subtype Properties Topology Query Language Overview

44 Review Questions INTRODUCTION TO TQL 1. What are the different types of TQLs? Why do we need different types of TQLs? 2. List one major difference between SQL and TQL. 3. How is SQL syntax used by TQL? 4. What is the purpose of an Attribute condition? 5. When might an Identity condition be used in a View TQL? 6. What property specifies relationships between instances retrieved by the TQL? 7. When defining cardinality, what does * indicate?

45 Summary Key points in this lesson: A TQL query provides a graphical or tabular representation of nodes and relationships between the nodes A TQL may be built in any of the Modeling managers except IT Universe Manager and CI Type Manager A TQL query consists of nodes and relationships along with their conditions A TQL can be edited by adding/subtracting nodes and setting attribute, element id and cardinality conditions All TQL types can be created in Query Manager but only integration and discovery TQLs can be edited in Query Manager Chapter Summary

46 Exercises INTRODUCTION TO TQL Please complete the lesson review questions and exercises in your book. After everyone is finished, the instructor will review the answers.

47