Presentation is loading. Please wait.

Presentation is loading. Please wait.

© Copyright 2011 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted Module 11.

Similar presentations


Presentation on theme: "© Copyright 2011 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted Module 11."— Presentation transcript:

1 © Copyright 2011 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted Module 11 HK756S A.01 DATABASE AND MIBS

2 HK756S A.012 © 2011 Hewlett-Packard Development Company, L.P. OBJECTIVES –List the HP Systems Insight Manager database management tasks –Define the capabilities of the System Type Manager –Describe the components and use of the Management Information Bases (MIB) importing and compiling tools in HP Systems Insight Manager

3 HK756S A.013 © 2011 Hewlett-Packard Development Company, L.P. MANAGING THE DATABASE –HP Systems Insight Manager database contains all the information about: Systems on the network Queries Tasks Everything you need to know to manage the network –HP Systems Insight Manager uses: One SQL server for the repository HP Systems Insight Manager data stored in repository Database user (mxadmin) created during database configuration Native SQL server tools to backup and restore the database –Supported database solutions

4 HK756S A.014 © 2011 Hewlett-Packard Development Company, L.P. DATABASE CONFIGURATION –CLI: mxconfigrepo OptionFunctionDatabase platform -a [ -F]Configures the database. Used when the database is corrupted. All data is lost. HPSMDB –sSet up the database. All data is lost. Assumes:All HP Systems Insight Manager database is created Database is started and configured User is created with permissions to set up –kKeep the data, update the database. This optionsAll Updates the data in the repository Is used if the database is corrupt Assumes: –HP Systems Insight Manager database is created –Database is started and configured –User is created with permissions to set up –uRemove the databaseAll –rRemove the database and the HP Systems Insight Manager user HPSMDB

5 HK756S A.015 © 2011 Hewlett-Packard Development Company, L.P. DATABASE BACKUP AND RESTORE (1 OF 2) –HPSMDB Only root user can run backup/restore utilities Restore restarts all HP Systems Insight Manager daemons CLI is provided for database backup and restore –pg_dump -f filename dbname Backup all data in the database Only runs when HPSMDB server works properly –pg_restore –f filename Restore all data from the file to the database Cleans all data in the HP Systems Insight Manager database Important: Beware of maximum file size. HPSMDB doesn’t limit table size to match! !

6 HK756S A.016 © 2011 Hewlett-Packard Development Company, L.P. DATABASE BACKUP AND RESTORE (2 OF 2) Windows –SQL Express 2005 and MS SQL cannot be backed up using the CLI tools –Use osql.exe or SQL Manager tools Oracle –Oracle Recovery Manager (RMAN) is the Oracle-preferred method HPSMDB –File size caution

7 HK756S A.017 © 2011 Hewlett-Packard Development Company, L.P. SYSTEM TYPE MANAGER (STM) (1 OF 2) –Enables users to modify the default behavior of discovery and identification –Lets users customize the type and product name of systems using rules based on responses to SNMP and DMI queries –Only users with full rights can use System Type Manager

8 HK756S A.018 © 2011 Hewlett-Packard Development Company, L.P. SYSTEM TYPE MANAGER (2 OF 2) –Rules: Can be filtered by system type by selecting a type from the drop-down list SNMP categories –SNMP rules –Rule definition DMI categories –DMI rules –Identification

9 HK756S A.019 © 2011 Hewlett-Packard Development Company, L.P. SYSTEM TYPE MANAGER CLI The format of the mxstm command is: mxstm -a -n -p snmp | dmi ( ( -x = )* mxstm -r -n mxstm -f mxstm ( -l ( -n ) ) When using this command, some attributes are required and some are optional, depending on whether you are working with SNMP or DMI Type (-p)Required attributesOptional attributes SNMPsysoidurl, urldesc, type, subtype, osname, osvendor, osversion, sysoidrule, oid, oidval, oidrule, priority DMIcomp1, group1, sgroup1, attrib1, val1, rule1 url, type, subtype, comp2, group2, sgroup2, attrib2, val2, rule2, comp3, group3, sgroup3, attrib3, val3, rule3, priority

10 HK756S A.0110 © 2011 Hewlett-Packard Development Company, L.P. MANAGING HOSTS FILES Hosts files are created and imported to: –Automate the process of manually adding multiple systems or restoring system information –Bypass the need for an immediate discovery Adding the systems using the Hosts file utility does not replace or update systems in the database

11 HK756S A.0111 © 2011 Hewlett-Packard Development Company, L.P. MIB IMPORTING AND COMPILING –HP Systems Insight Manager attempts to discover all the systems in the network –After a system is discovered, HP Systems Insight Manager identifies it –HP Systems Insight Manager classifies the system –HP products are easily identified –For third-party systems, MIB importing and compiling can be used to extend the identification capability –HP Systems Insight Manager MIB Importer includes: MIB compiler MIB control layer Database interface Database tables Associated MIB files (*.mib, *.cfg)

12 HK756S A.0112 © 2011 Hewlett-Packard Development Company, L.P. MIB CONFIGURATION –Use ASCII editor to make changes –Use mxmib to import –Rules for configuration files: One MIB per configuration file The configuration file has the same name as the MIB with a cfg extension Before any definitions, the configuration file begins listing the MIB file name or another type such as WBEM indications Following the MIB file name, a module name is listed Following MIB and module name, OBJECT-TYPE data and TRAP- TYPE data

13 HK756S A.0113 © 2011 Hewlett-Packard Development Company, L.P. MIB COMPILER (MCOMPILE) –V1 and V2c compliant –Outputs a configuration file, which describes pertinent event information Can be edited to customize event information –Example: mcompile hpqrack.mib — Compile a MIB and output the cfg file into the MIBs directory

14 HK756S A.0114 © 2011 Hewlett-Packard Development Company, L.P. MIB IMPORTER CLI (MXMIB) –A few examples with the command line switches which are available with mxmib: –mxmib –a — Imports the configuration file for the MIB and replaces data for a registered MIB –mxmib -f — Imports all configuration files listed in a text file –mxmib -d — Deletes all MIB related data with respect to a specific MIB –mxmib -l — Lists all the MIBs installed in the system –mxmib -t — Shows all the traps of a particular MIB installed in the system

15 HK756S A.0115 © 2011 Hewlett-Packard Development Company, L.P. MIB SNMP TRAP SETTINGS Modify how information about the traps being received is displayed Can modify—Enable trap setting, Description, Type, Severity

16 HK756S A.0116 © 2011 Hewlett-Packard Development Company, L.P. MIB UPDATE –To add support for updated and new systems and components to HP Systems Insight Manager through updating the MIBs used to define SNMP traps, you can: Download the latest MIB Update Kit from the HP website at: http://h18013.www1.hp.com/products/servers/management/hpsim/mibkit.html http://h18013.www1.hp.com/products/servers/management/hpsim/mibkit.html Use the scripting files from the Management CD. For example, if you get a new Management CD, you can navigate to the \mibs folder on the CD and run the JavaScript cscript updatemibs.js Important: Any customization of trap handling using System Type Manager will be lost after updating the MIBs !

17 LEARNING CHECK

18 LAB ACTIVITY LAB 11 – MANAGING THE DATABASE

19


Download ppt "© Copyright 2011 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted Module 11."

Similar presentations


Ads by Google