hp discovery and dependency mapping inventory: a deep dive into software application recognition...
DESCRIPTION
In this technical session we’ll introduce the software application recognition functionality of HP Discovery and Dependency Mapping Inventory. We’ll discusss various methods of software application teaching, including traditional file-based recognition and recently introduced techniques and approaches such as express teaching and installed package rule-based recognition. You’ll leave this presentation with a wealth of tips, tricks and best practices for a successful implementation of your own software application recognition project for asset management purposes.TRANSCRIPT
![Page 1: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/1.jpg)
1 ©2010 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
HP Discovery and Dependency Mapping Inventory: A deep dive into Software Application Recognition and TeachingVitaly Miryanov Brindusa KevorkianFunctional Architect R&D Section Manager
![Page 2: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/2.jpg)
2
Agenda
– Introduction
– Recognition Engine Details
– Teaching Techniques
– Best practices, tips and tricks
– Q & A
![Page 3: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/3.jpg)
3
Introduction
– Subtitle goes here
![Page 4: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/4.jpg)
4
Software Inventory
Part of the inventory
information that
provides details about
installed software
applications
Software Application Recognition
Software Application Recognition
– Process of application identification
with the following normalised details:
• Application Name
• Publisher Name
• Release Name
• Version Name
![Page 5: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/5.jpg)
5
Sources of Raw Application Data
– Windows:• Control Panel > Add/Remove programs (prior to Vista)
• Control Panel > Programs and Features (Vista, Server 2008, 7)
• WMI (Win32_SoftwareElement)
• Version Data found in executable files
– Windows/UNIX/Mac OS X: • Native package managers (MSI, RPM, Depot, BFF, PKG, etc.)
– List of Running Processes
![Page 6: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/6.jpg)
6
Drawbacks of These Sources
– Software Application Data in these sources is:
• Inconsistent
• Incomplete
• Inaccurate
• Not normalised
– For these reasons it is not possible to use it for accurate analysis of
software applications for Asset Management purposes
![Page 7: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/7.jpg)
7
Recognition Engine Details
– Subtitle goes here
![Page 8: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/8.jpg)
8
Normalised Data
– Software Application Library records details of
• Software Publishers
• Application Names
• Release and Version names
– Library is stored in Software Application Index (SAI) files
• Contains executable file details for each application version
• Set of rules for applications that can be recognised using rules
![Page 9: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/9.jpg)
9
Raw Data Recognition Engine Application Data
Recognition Engine
– File Details (File Name,
File Size, File Signature,
File Type, Version Data)
– OS Package Manager
(Publisher, Application
Name, Version, other
properties), Relationship
between packages and
installed files
– OS Details from
Hardware Data (UNIX OS
recognition)
Software
Application Library
– Publisher
– Application
– Release
– Version
![Page 10: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/10.jpg)
10
Recognition Stages
1. Initialisation
2. File-level Recognition
3. Directory-level Recognition
4. Machine-level Recognition
![Page 11: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/11.jpg)
11
Initialisation
– Hardware Data is read from the scan file
– Evaluation of Installed Package Rules
– Installed Packages matching rules are identified
– UNIX OS recognition is done
– The Recognition Engine is prepared to iterate over all file
and directory data collected in the scan file
![Page 12: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/12.jpg)
12
File-level Recognition
– Files belonging to matched packages are identified
– Remaining files participate in the file-based recognition
– If a file has a version data rule associated with it, the
rule is evaluated based on file’s version data
![Page 13: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/13.jpg)
13
Ratings for File Matches
– Zero rating (not recognised):
File name did not match
– Minimum rating:
File name matched
– Minimum good rating:
File name, Executable type and size matched
– Good rating:
• File name, Executable type, size, signature matched
• File name, Executable type, version data
![Page 14: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/14.jpg)
14
Directory-level Recognition
– Triggered when all files in the directory have been
processed
– Attempts to select version(s) to represent files
located in this directory
– If the version can be identified at this stage,
all files belonging to this version are recognised
– Otherwise if a best match cannot be made for a
group of files, the files are deferred to Machine-level
Recognition
![Page 15: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/15.jpg)
15
Best Match Version
– The overall rating for each possible version is calculated
– If a version has an install string match, its overall rating is slightly
increased
– The version with the highest overall rating is selected
![Page 16: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/16.jpg)
16
Machine Level Recognition
– Triggered when all directories have been processed
– The files left from the directory level recognition are
analysed
– A Best Match Version is calculated from the list of
remaining files
![Page 17: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/17.jpg)
17
Release Relations
– Relationships are done on the Release level to reduce the number of
relations to be entered
– User for
• "Suite" licence purposes – Example: Microsoft Word / Microsoft Office
• Save space in the library – Example: embedded Java JRE
![Page 18: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/18.jpg)
18
File Relation to Application
– Main
• Key application file, a file which is ”always
there”
– Associated
• The file that is part of the application, but not
Main file
– Third Party
• A file from a different publisher
(usually common runtime DLLs, etc)
![Page 19: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/19.jpg)
19
Software Application Library
– Supplied as a set of Master SAI files:
• Master
• French
• German
• UNIX
• BaseUnixOS
– Updated monthly: available at Software Support Online:
• http://support.openview.hp.com/selfsolve/patches
– Currently contains
• 26,000 application versions
• 3,000,000 files
• 8,000 installed package rules
– Users can create their own user SAI files
![Page 20: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/20.jpg)
20
Teaching Techniques
– Subtitle goes here
![Page 21: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/21.jpg)
21
Teaching Methods
1. From a scan file of the application installed on a “clean” OS
installation
2. From a Microsoft Installer file
3. From an output of the MSI scanner
4. From a targeted scan of a particular directory / directories
5. From a UNIX standard package type
6. From a difference between two scan files
7. Express teaching using web UI
8. Teaching in Analysis Workbench when analysing multiple scan
files
![Page 22: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/22.jpg)
22
Teaching from “Clean” OS Installation
– The OS is installed with no patches
– Scan the entire image (classic scan) with the scanner after the
application installation
– “Tools > Import Data from Recognition Result…” menu item in the
SAI Editor is used for teaching from the obtained scan file
– It is easy to spot the files belonging to the installed application –
they are selected and added to the library
![Page 23: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/23.jpg)
23
Teaching from “Clean” OS Installation
![Page 24: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/24.jpg)
24
Pros
– Recognition results are shown
– File relation to application is
automatically assigned
– Easy to indentify and add
files from different directories
Cons
Teaching from “Clean” OS Installation
– Clean OS install has to be
maintained / reverted to
– Application needs to be installed
– The scan of the entire disk is
required
– Only the files actually installed
can be added
![Page 25: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/25.jpg)
25
Teaching from MSI
– Can work even with MSI files embedded into an .exe
installer
– If the application’s installation is always supplied as
MSI, simply create an MSI installed package rule
– Otherwise teach the files – the process for either MSI
file or output file of the MSI scanner (.xml) is the same:
in the SAI Editor use “Tools> Import Data from MSI…”
![Page 26: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/26.jpg)
26
Creating an MSI Package Rule
![Page 27: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/27.jpg)
27
Teaching from MSI
![Page 28: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/28.jpg)
28
– No installation required
– In many cases it is possible
to teach all files
Teaching from MSI
– File Relation to application is not
assigned
– May miss some files
Pros Cons
![Page 29: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/29.jpg)
29
Teaching from a Targeted Scan of a Directory
– Useful when it is known that all application’s files are installed in a
separate application directory tree
– Scan this directory by specifying its name in the –paths:<dirname>
scanner command line switch
– “Tools > Import Data from Recognition Result…” menu item in the SAI
Editor is used for teaching
– All files are selected and added to the library
![Page 30: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/30.jpg)
30
Teaching from a UNIX Standard Package
– If an application is always supplied as the standard UNIX package type,
create an installed package rule
– If an application is supplied in multiple media formats, the files
belonging to the package need to be added to the library. There are
two options:
• Extract the files from the standard package to a directory
• Install the package
![Page 31: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/31.jpg)
31
Teaching from a UNIX Standard Package
![Page 32: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/32.jpg)
32
Teaching from Scan File Comparison
– Two classic local hard drive scan files are required:
• Before the application installation
• After the application installation is finished
– The SAI Editor is used: “Tools>Import Data from Scanfile Comparison…”
![Page 33: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/33.jpg)
33
Teaching from Scan File Comparison
![Page 34: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/34.jpg)
34
Teaching from Scan File Comparison
![Page 35: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/35.jpg)
35
– Easy to use
– All installed files are added
Teaching from Scan File Comparison
– File Relation to application is not
assigned
– Need to scan twice
– Need to be careful not to include
unrelated files
Pros Cons
![Page 36: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/36.jpg)
36
Express Teaching
– Easy to use “entry” level teaching capability
– Works with Windows applications that have consistent version data
– From the web UI: in the tree on the left choose “Express Teaching”
![Page 37: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/37.jpg)
37
Express Teaching
![Page 38: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/38.jpg)
38
Express Teaching
![Page 39: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/39.jpg)
39
Express Teaching
![Page 40: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/40.jpg)
40
– Very easy to use
– No scan files are required –
works from the database
Express Teaching
– Only works on Windows
– Misses 3rd party files, files with no
version data in them or files that
do not have consistent version
data naming
– Cannot see its effect immediately
Pros Cons
![Page 41: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/41.jpg)
41
Teaching in Analysis Workbench
– Offers most advanced teaching capabilities
– Can be used to deeply analyse application recognition of multiple scan
files:
• Identifies CheckVer and Unrecognised files
• Identifies CheckVer applications
• Can slice and dice data using advanced tagging, filtering and sorting
– Once the files to teach have been identified and tagged in the File
Window, select “Tag> Add to SAI…” menu of the File Window
![Page 42: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/42.jpg)
42
Teaching in Analysis Workbench
![Page 43: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/43.jpg)
43
– Can analyse multiple scan
files
– Very flexible
– Can be used to teach from
any scan file
Teaching in Analysis Workbench
– Loading of scan files is required
– Need to figure out manually
which files to teach
– Takes time to learn how to use
Pros Cons
![Page 44: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/44.jpg)
44
Best Practices and Tips and Tricks
– Subtitle goes here
![Page 45: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/45.jpg)
45
Top-down Approach
Establish the list of required applications
Compare to what is available in the Master Application Library
Work on the delta to either teach missing applications to the user SAI or submit a
request for the Master SAI addition
![Page 46: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/46.jpg)
46
Top-down Approach
– Usually driven by:
• Immediate need to address licence audit from a single or a few software publishers
• Need to identify most popular/expensive software titles
• Licence reconciliation project
– The list of applications can usually be obtained from:
• An asset tracking programme, such as Asset Manager
• Company’s software purchasing team
• Company’s software catalogue
• Software Publisher’s list
– When comparing the application list to the data in the Master library:
• Make sure to use the correct publisher name
• The application name from the list may not exactly match to the name used in the Master
library
![Page 47: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/47.jpg)
47
Bottom-up Approach
Establish the list of most critical unrecognised files
Identify applications to which the unrecognised files belong to
Create recognition rules or teach unrecognised files to the user SAI or submit a
request for the Master SAI addition
![Page 48: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/48.jpg)
48
Identify Most Critical Unrecognised Files
– Using reports:
• Reports > Unrecognized File Reports (can sort on Number of devices/Usage)
• Reports > Unrecognized Files > Devices with High Risk Files Based on Frequency
• Reports > Unrecognized Files > Devices with High Risk Files Based on Usage
• Status > Unrecognized Files Distribution
– Using Analysis Workbench (File Window)
– Using Analysis Workbench (Application Window)
![Page 49: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/49.jpg)
49
Identify an Application the Unrecognised File Belongs To
– Use Version Data found in Windows applications
– Use directory names
– Use hardware data under Operating System Data:
• OS Installed Applications
• Program Shortcuts
• Services
– If access to the computer is available:
• For known programmes run them to find out the version
• Use UNIX “strings” command to extracts text messages
– Work with a system administrator / owner of the computer
– Research information about a file on the Internet
![Page 50: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/50.jpg)
50
Keep Recognition Up-to-date
– Update Master library monthly
– Make use of the Definitive Media Library
– Include the requirements for the Application Library
update into company’s IT processes
– Keep track of the recognition statistics
• Status > Percent recognized files
• Status > Unrecognized Files Distribution
• Analysis Workbench: View> Charts> Recognition
– Allocate resources for continued user SAI maintenance
– If required submit a Master SAI addition request to the
DDM Inventory Support
![Page 51: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/51.jpg)
51
Tips and Tricks
– For teaching, change the scanner configuration to run at full speed
– Before adding a new publisher/application/release name to the user
SAI check whether it already exists in the Master library
– Select “Complete” or “Full” installation options to ensure that all files are
installed and taught
– Split complex applications and suites into separate applications and use
release relationships to link them
– Teach pre-requisite applications separately from the core application
![Page 52: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/52.jpg)
52
Troubleshooting Recognition
– Do not forget to assign a main file
– Make a sensible choice for a main file
– Do not forget to assign the Install String
– The Installed Package rule recognises the application only when at least
one file belonging to this package is available
– Make sure the scanner is configured properly to scan the needed
files/directories and include information on them into the scan file
![Page 53: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/53.jpg)
53
Q & A
– Subtitle goes here
![Page 54: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/54.jpg)
54 ©2010 Hewlett-Packard Development Company, L.P.
To learn more on this topic, and to connect with your peers after
the conference, visit the HP Software Solutions Community:
www.hp.com/go/swcommunity
![Page 55: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/55.jpg)
55
![Page 56: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/56.jpg)
56
Backup
– Subtitle goes here
![Page 57: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/57.jpg)
57
User SAI ID Management
– Each user SAI is identified by an integer ID
– The SAI ID is stored in the SAI file when it is created
– User SAI IDs must be unique
– When user SAI are loaded by the Recognition Engine items in it are
given IDS from the following range:
• From: 1,500,000,000 + 50,000*SAI ID
• To: 1,500,000,000 + 50,000* SAI ID + 49,999
– Master ID range is used by the master library and is reserved:
• From 1 to 1,499,999,999
![Page 58: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/58.jpg)
58
SAI File Management
– Use one computer to create new SAI files
– Do not open the same SAI files in multiple tools
– Refer to the Scan Data Analysis Guide, Chapter 7, Application Teaching,
which has more guidance, including how to use SAI files in the
aggregated environment
![Page 59: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/59.jpg)
59
Extracting Files from UNIX Packages
– RPM:
• rpm2cpio <rpm_file> | cpio -idv (extracts to the current directory)
– DEB:
• dpkg-deb -x <deb_file> <directory>
– PKG (Solaris):
• pkgadd -s <extract_dir> -d <pkg_file> all
– DEPOT:
• swcopy -s <depot_file_absolute_path> * @ <output_dir_absolute_path>
• tar xvf <depot_file> (extracts to the current directory)
– BFF:
• restore -x -f <bff_file> (extracts to the current directory)
![Page 60: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/60.jpg)
60
Extracting Files from UNIX Archives
– TAR:
• tar xvf <tar_file> (extracts to the current directory)
– CPIO: (extracts to the current directory)
• Linux: cpio -idF <cpio_file>
• Solaris: cpio -idI <cpio_file>
– BZIP:
• bunzip2 -f <bz2_file>
– GZIP:
• gunzip <gz_file>
– ZIP:
• unzip -q <zip_file> -d <unzip_dir>
– ISO (mount as a file system to an empty directory):
• Linux: mount -t iso9660 -o loop <iso_file> <empty_dir>
• Solaris: mount -F hsfs -o ro `lofiadm -a <iso_file_absolute_path>` <empty_dir_absolute_path>
![Page 61: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/61.jpg)
61
Tips and Tricks
– For quick generic identification of in-house applications make use of “Do not care about size” option for the main file (make sure the file name is unique)
– Group scan files by operating system:
• XML Enricher: configure grouping using hwHostOS hardware field in Administration > System Configuration > Scan File Management > Group processed scan files by
• Analysis Workbench: Do a query in “File> Load Scan Files” on hwHostOS
– Use “Limit to items also available in other SAIs” search option in the SAI Editor to find which user SAI applications are also available in the master library
– For performance reasons unrecognised file table by default is limited to 10,000,000 rows, so not all unrecognised files may appear in the reports
![Page 62: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/62.jpg)
62
Tips and Tricks
– Publisher information found in version data is normalised for Express Teaching. However, not all possible values are available in the Discovery Knowledge (DK) Package – if you find new values not covered – report them to DDM Inventory support to be added to the next DK package
– Multi-task during teaching process – scanning can take some time, use this time to do something else (work with SAI Editor/Analysis Workbench, do multiple scans in parallel on different computers, etc.)
– Loading a scan file in the Viewer with full SAI recognition takes time:• The initial delay is caused by loading SAI files – keep the Viewer open and drop files
onto it
• If only hardware and file/directory data is needed, select “No Recognition” or “Installed Applications” in its options
– When using Analysis Workbench, use a dedicated computer (Client Install) for application teaching. Copy scan files from the DDMI server to this computer
![Page 63: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/63.jpg)
63
Tips and Tricks
– Use recognition objectives in Analysis Workbench to track
how well recognition objectives are met
– When using “Clean” OS teaching:
• Critical security patches may not be installed, so limit network access to
prevent virus infection. When used in a virtualised environment, select
“Host Only” networking
• Disable OS update features (such as Windows Update)
– Pure Java applications:
• The scanner needs to be configured to collect *.jar, *.ear, *.war files.
• Because these files are not identified as executables, change the default
for Administration > System Configuration > Scan Processing >Filtering>
Use only executable files to No (similar option is available in recognition
configuration of other Analysis Tools)
![Page 64: HP Discovery and Dependency Mapping Inventory: a deep dive into software application recognition teaching](https://reader034.vdocuments.us/reader034/viewer/2022051610/5481d62f5806b51a058b45d1/html5/thumbnails/64.jpg)
64
Troubleshooting: Recognition Report
– Use as the last resort (“nuclear button”)
– Enable only for short periods
– Enabled in configuration files located in the <DataDir>\Conf directory
– For every scan file processed creates an XML file showing internal details
of the recognition engine processing