Front cover


Deployment Guide Series:
IBM Tivoli Usage and
Accounting Manager V7.1
Financial management solution for
IT-related services

Extensive deployment and
demonstration examples

Planning and services
information




                                                   Budi Darmawan
                                                       Jörn Siglen
                                                  Lennart Lundgren
                                                      Roy Catterall



ibm.com/redbooks
Deployment guide series ibm tivoli usage and accounting manager v7.1 sg247569
International Technical Support Organization

Deployment Guide Series: IBM Tivoli Usage and
Accounting Manager V7.1

February 2008




                                               SG24-7569-00
Note: Before using this information and the product it supports, read the information in
 “Notices” on page vii.




First Edition (February 2008)

This edition applies to Version 7, Release 1, Modification 0 of IBM Tivoli Usage and Accounting
Manager (product number 5724-O33).



© Copyright International Business Machines Corporation 2008. All rights reserved.
Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP
Schedule Contract with IBM Corp.
Contents

                       Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
                       Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii

                       Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
                       The team that wrote this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
                       Become a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
                       Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

Part 1. Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

                       Chapter 1. Solution introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
                       1.1 ITIL financial management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
                       1.2 Tivoli Usage and Accounting Manager features . . . . . . . . . . . . . . . . . . . . . 7
                       1.3 Tivoli Usage and Accounting Manager value proposition . . . . . . . . . . . . . 10
                       1.4 Product architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
                          1.4.1 Generic processing flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
                          1.4.2 The Common Source Resource format . . . . . . . . . . . . . . . . . . . . . . 14

                       Chapter 2. Solution environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
                       2.1 Hardware prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
                       2.2 Software prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
                          2.2.1 Supported operating systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
                          2.2.2 Supported databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
                       2.3 Sizing considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
                          2.3.1 Data elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
                          2.3.2 Growth factors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
                          2.3.3 Sample growth estimation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
                       2.4 Typical deployment environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
                          2.4.1 Small, proof of concept, or demonstration environment . . . . . . . . . . 27
                          2.4.2 Medium scale production environment . . . . . . . . . . . . . . . . . . . . . . . 27
                          2.4.3 Large scale production environment . . . . . . . . . . . . . . . . . . . . . . . . . 28

                       Chapter 3. Project planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
                       3.1 Required skills . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
                       3.2 Solution description and assumptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
                       3.3 Task breakdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
                          3.3.1 Project kick-off. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
                          3.3.2 Environment preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
                          3.3.3 Database setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34



© Copyright IBM Corp. 2008. All rights reserved.                                                                                            iii
3.3.4    Tivoli Usage and Accounting Manager server installation . . . . . . . . 34
                           3.3.5    Data collection pack setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
                           3.3.6    Customizing the product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
                           3.3.7    Demonstrating the solution and skill transfer . . . . . . . . . . . . . . . . . . 35

Part 2. Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

                      Chapter 4. Installation and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 39
                      4.1 Installation overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
                      4.2 Installing DB2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
                      4.3 Installing server prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
                         4.3.1 Configuring Microsoft Internet Information Server . . . . . . . . . . . . . . 55
                         4.3.2 Install the Microsoft Installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
                         4.3.3 Install Microsoft .NET Framework 2.0 . . . . . . . . . . . . . . . . . . . . . . . . 61
                         4.3.4 Install Microsoft SQL Server Report Viewer . . . . . . . . . . . . . . . . . . . 63
                      4.4 Installing server components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
                      4.5 Installing Enterprise Collector Pack. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
                      4.6 Initial configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
                         4.6.1 Defining the JDBC driver. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
                         4.6.2 Defining data sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
                         4.6.3 Initializing the database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
                         4.6.4 Other configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
                      4.7 Installing Windows Process Collector . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
                         4.7.1 Manual installation process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
                         4.7.2 Deploying with a job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88

                      Chapter 5. Usage demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
                      5.1 Demonstration overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
                      5.2 Defining accounting resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
                         5.2.1 Working with the account code structure . . . . . . . . . . . . . . . . . . . . . 95
                         5.2.2 Setting up clients. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
                         5.2.3 Rate table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
                      5.3 Running Windows collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
                         5.3.1 Verifying the Windows process data collector installation. . . . . . . . 103
                         5.3.2 Windows process data files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
                      5.4 Loading Windows process data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
                         5.4.1 The data collection process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
                         5.4.2 Account code mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
                         5.4.3 Running the collection job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111




iv      Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
5.5 Generating Windows reports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
                      5.6 Additional demonstration scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
                      5.7 Financial Modeler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118

                      Chapter 6. Troubleshooting hints and tips . . . . . . . . . . . . . . . . . . . . . . . . 125
                      6.1 General logging and tracing options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
                      6.2 Installation and configuration details . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
                      6.3 Integrated Solution Console debugging . . . . . . . . . . . . . . . . . . . . . . . . . 128
                      6.4 Job Runner debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
                      6.5 Quick finder for trace and log information . . . . . . . . . . . . . . . . . . . . . . . . 132

Part 3. Appendixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133

                      Appendix A. Sample listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
                      Sample Windows load job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
                      Sample Windows process collector job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140

                      Appendix B. Additional material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
                      Locating the Web material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
                      Using the Web material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
                         System requirements for downloading the Web material . . . . . . . . . . . . . 146
                         How to use the Web material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146

                      Abbreviations and acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147

                      Related publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
                      IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
                      Other publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
                      Online resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
                      How to get Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
                      Help from IBM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150

                      Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151




                                                                                                                          Contents         v
vi   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Notices

This information was developed for products and services offered in the U.S.A.

IBM may not offer the products, services, or features discussed in this document in other countries. Consult
your local IBM representative for information on the products and services currently available in your area.
Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product, program, or service that
does not infringe any IBM intellectual property right may be used instead. However, it is the user's
responsibility to evaluate and verify the operation of any non-IBM product, program, or service.

IBM may have patents or pending patent applications covering subject matter described in this document.
The furnishing of this document does not give you any license to these patents. You can send license
inquiries, in writing, to:
IBM Director of Licensing, IBM Corporation, North Castle Drive, Armonk, NY 10504-1785 U.S.A.

The following paragraph does not apply to the United Kingdom or any other country where such
provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION
PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer
of express or implied warranties in certain transactions, therefore, this statement may not apply to you.

This information could include technical inaccuracies or typographical errors. Changes are periodically made
to the information herein; these changes will be incorporated in new editions of the publication. IBM may
make improvements and/or changes in the product(s) and/or the program(s) described in this publication at
any time without notice.

Any references in this information to non-IBM Web sites are provided for convenience only and do not in any
manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the
materials for this IBM product and use of those Web sites is at your own risk.

IBM may use or distribute any of the information you supply in any way it believes appropriate without
incurring any obligation to you.

Information concerning non-IBM products was obtained from the suppliers of those products, their published
announcements or other publicly available sources. IBM has not tested those products and cannot confirm
the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on
the capabilities of non-IBM products should be addressed to the suppliers of those products.

This information contains examples of data and reports used in daily business operations. To illustrate them
as completely as possible, the examples include the names of individuals, companies, brands, and products.
All of these names are fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.

COPYRIGHT LICENSE:

This information contains sample application programs in source language, which illustrate programming
techniques on various operating platforms. You may copy, modify, and distribute these sample programs in
any form without payment to IBM, for the purposes of developing, using, marketing or distributing application
programs conforming to the application programming interface for the operating platform for which the
sample programs are written. These examples have not been thoroughly tested under all conditions. IBM,
therefore, cannot guarantee or imply reliability, serviceability, or function of these programs.




© Copyright IBM Corp. 2008. All rights reserved.                                                          vii
Trademarks
The following terms are trademarks of the International Business Machines Corporation in the United States,
other countries, or both:

   AIX®                                 Notes®                               System z™
   DB2 Universal Database™              PowerPC®                             Tivoli®
   DB2®                                 pSeries®                             TotalStorage®
   IBM®                                 Redbooks®                            WebSphere®
   i5/OS®                               Redbooks (logo)       ®              z/OS®
   Lotus Notes®                         System i™                            z/VM®
   Lotus®                               System p™

The following terms are trademarks of other companies:

SAP, and SAP logos are trademarks or registered trademarks of SAP AG in Germany and in several other
countries.

Oracle, JD Edwards, PeopleSoft, Siebel, and TopLink are registered trademarks of Oracle Corporation
and/or its affiliates.

IT Infrastructure Library, IT Infrastructure Library is a registered trademark of the Central Computer and
Telecommunications Agency which is now part of the Office of Government Commerce.

ITIL is a registered trademark, and a registered community trademark of the Office of Government
Commerce, and is registered in the U.S. Patent and Trademark Office.

Java, JDBC, JVM, Solaris, Sun, and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in
the United States, other countries, or both.

Microsoft, SQL Server, Visual C++, Windows Server, Windows Vista, Windows, and the Windows logo are
trademarks of Microsoft Corporation in the United States, other countries, or both.

Itanium, Intel logo, Intel Inside logo, and Intel Centrino logo are trademarks or registered trademarks of Intel
Corporation or its subsidiaries in the United States, other countries, or both.

UNIX is a registered trademark of The Open Group in the United States and other countries.

Linux is a trademark of Linus Torvalds in the United States, other countries, or both.

Other company, product, or service names may be trademarks or service marks of others.




viii    Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Preface

                 This book is part of the Deployment Guide series. It provides a step-by-step
                 guide for deploying Tivoli Usage and Accounting Manager V7.1. It is intended to
                 help an IBM® or business partner service person to plan and perform the
                 deployment of the product.

                 The discussion of Tivoli Usage and Accounting Manager includes an explanation
                 of its architecture and components. Some planning and sizing consideration
                 before you implement the product is given, and some guidelines on setting up
                 service engagement for the product are also included.

                 The deployment discussed in the book would be appropriate for a demonstration
                 or a small deployment system, although the information is highly relevant for
                 larger deployments also. This book also offers some usage scenarios that can be
                 used for demonstrating the product.



The team that wrote this book
                 This book was produced by a team of specialists from around the world working
                 at the International Technical Support Organization, Austin Center.




© Copyright IBM Corp. 2008. All rights reserved.                                              ix
Budi Darmawan is a Project Leader at the International Technical Support
               Organization, Austin Center. He writes extensively and teaches IBM classes
               worldwide on all areas of Tivoli® and systems management. Before joining the
               ITSO eight years ago, Budi worked in IBM Indonesia as solution architect and
               lead implementer. His current interests are Java™ programming, application
               management and general systems management.

               Jörn Siglen is System Management Architect at IBM Global Services Germany.
               He has 16 years of experience in the Information Technology field. He holds a
               degree in Information Technology Engineering from Berufsakademie Stuttgart,
               Germany. His areas of expertise include AIX® on pSeries® and Tivoli software
               for monitoring, availability and storage products.

               Lennart Lundgren is an IT Specialist in IBM Software Group, Sweden. He has
               30 years of experience in the Systems Management area on mainframe
               computers. He holds a degree in Computer Sciences from the University of
               Lund, Sweden. He has worked at IBM for more than 20 years. His areas of
               expertise include performance and capacity management, z/OS® systems
               programming, and tools development.

               Roy Catterall is a Team Leader for Tivoli Decision Support for z/OS in Australia.
               He has 20 years of experience in the Information Technology field. He holds a
               degree in Business Studies and Computing Science from the University of
               Zimbabwe. His main area of expertise is z/OS; he also has some programming
               experience with most other operating systems. He has contributed extensively to
               the Tivoli Decision Support for z/OS documentation.

               Thanks to the following people for their contributions to this project:

               Terry Copeland, Rodolfo Ambrosetti, Page L. Hite, Greg Howard
               IBM Software Group, Tivoli Systems

               Alfred Schwab, Editor
               International Technical Support Organization, Poughkeepsie Center



Become a published author
               Join us for a two- to six-week residency program! Help write a book dealing with
               specific products or solutions, while getting hands-on experience with
               leading-edge technologies. You will have the opportunity to team with IBM
               technical professionals, Business Partners, and Clients.




x   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Your efforts will help increase product acceptance and customer satisfaction. As
       a bonus, you will develop a network of contacts in IBM development labs, and
       increase your productivity and marketability.

       Find out more about the residency program, browse the residency index, and
       apply online at:
       ibm.com/redbooks/residencies.html



Comments welcome
       Your comments are important to us!

       We want our books to be as helpful as possible. Send us your comments about
       this book or other IBM Redbooks® in one of the following ways:
          Use the online Contact us review Redbooks form found at:
          ibm.com/redbooks
          Send your comments in an e-mail to:
          redbooks@us.ibm.com
          Mail your comments to:
          IBM Corporation, International Technical Support Organization
          Dept. HYTD Mail Station P099
          2455 South Road
          Poughkeepsie, NY 12601-5400




                                                                           Preface   xi
xii   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Part 1


Part       1     Planning




© Copyright IBM Corp. 2008. All rights reserved.            1
2   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
1


    Chapter 1.   Solution introduction
                 IBM Tivoli Usage and Accounting Manager V7.1 is a new version of a financial
                 management tool for IT resources from Tivoli. It allows dynamic chargeback
                 accounting, reporting, and analysis to be performed for enterprises. This chapter
                 consists of the following:
                     1.1, “ITIL financial management” on page 4
                     1.2, “Tivoli Usage and Accounting Manager features” on page 7
                     1.3, “Tivoli Usage and Accounting Manager value proposition” on page 10
                     1.4, “Product architecture” on page 10




© Copyright IBM Corp. 2008. All rights reserved.                                                 3
1.1 ITIL financial management
               In today’s environment, businesses are very dependent on IT. Requirements
               from customers for standard compliance are apparent and IT services are
               required to better align with business objectives. The IT Infrastructure Library®
               (ITIL®) is a set of best practices that can help address these issues.

               ITIL is a collection of IT best practices designed to help organizations overcome
               current and future technology challenges. Originally created by the UK Office of
               Government Commerce (OGC) in 1988, ITIL currently has evolved as a result of
               years of experience contributed by major IT organizations and companies,
               including IBM.

               ITIL is a library of books that document industry-accepted best practices for IT
               service, infrastructure, and application management. ITIL is an excellent starting
               point from which to adopt and adapt best practices for implementation in any IT
               environment.

               ITIL’s models show the goals, general activities, inputs, and outputs of the
               various processes. They help to address the most common questions asked by
               IT managers worldwide:
                  How do I align IT services with business objectives?
                  How do I lower the long term costs of IT services?
                  How do I improve the quality of IT services?

               ITIL is currently on its Version 3 release. However, the discussion of ITIL in this
               book is mainly based on ITIL Version 2. In the Version 2 publication, the contents
               of ITIL are shown in Figure 1-1 on page 5.




4   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Planning to implement service management




                                          Service management




                                                                                            The technology
  The business      The                                                         ICT
                                                  Service support
                  business                                                 Infrastructure
                 perspective                                                management


                                       Service delivery


                                                                     Security
                               Software Asset                       management
                                management


                                         Application management


Figure 1-1 The contents of ITIL

The most popular books of the ITIL are Service Support and Service Delivery.
These two books together form the Service Management discipline. The financial
management process is part of Service Delivery. This is apparent because
financial management is strategic for aligning IT to perform as a business entity
and providing the ability to manage IT as a business.

The Service Delivery aspect uses the configuration data for building IT services.
       Service Level Management manages service level agreements with IT
       consumers. Service level agreement is the base measurement of IT services
       that are provided to consumers.
       Financial management manages the day-to-day IT finances and quantifies IT
       investment into IT Service improvement. It also generates a balance report of
       IT budget and accounting.
       Availability management ensures that IT services are available to the
       business users. It identifies and mitigates risks involved with unavailability due
       to an IT resource failure.
       Capacity management ensures that IT can provide its services with
       reasonable performance as dictated by the service level agreement. This
       requires an adequate capacity of IT resources.



                                                             Chapter 1. Solution introduction                5
IT continuity management ensures that IT would continue to function even
                  when a major disruption happens to the business (such as a natural disaster).

               The financial management of ITIL, as a typical financial discipline, does the
               budgeting and accounting of IT services cash flow. With proper financial
               management, the IT budget can be related directly to each IT service. Thus, it
               supports the transformation of IT from a cost center into a business unit that can
               charge for its services to the customers.

               The primary goal of financial management is for IT to fully account for the money
               spent and attribute these costs to the IT services delivered. In order to achieve
               this goal, financial management must monitor usage and record cost of IT
               resources, as well as provide an investment business case.

               The financial management of IT is more effective if IT charges for usage based
               on a business entity instead of an IT entity. This is more meaningful for
               calculating the business cost of an IT service. The total CPU time for running a
               financial application would not be apparent to the CFO. However, the number of
               ledger entries processed would be a more meaningful measurement of the
               financial application usage.

               Initially, formulating and calculating these business aspects of the IT services
               necessitates a steep learning curve. However, as more information is collected
               and analyzed, the task will become easier.

               The primary activities of financial management are:
                  Budgeting
                  It must obtain a budget from the enterprise. It administers and controls the
                  costs related to the budget.
                  Accounting
                  It performs financial accounting of IT. It must develop a cost model with its
                  associated cost types. It apportions service cost, calculates cost, and
                  performs Return of Investment (ROI) analysis.
                  Charging
                  It develops charging policies, identifies charging items, calculates pricing, and
                  performs billing.

               Tivoli Usage and Accounting Manager allows the collection of usage data,
               provides a mechanism to input pricing, and performs billing. It generates various
               reports for IT usages and provides financial tools for IT financial modelling.




6   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
1.2 Tivoli Usage and Accounting Manager features
        Tivoli Usage and Accounting Manager is a general purpose tool for:
           Collecting resource usage data
           Assigning account codes for each resource
           Providing a billing (charging) rate for each unit

        Additionally, it provides reports for analysis of the charging environment to
        ensure that charges are correct and fair. It also offers a financial modeler feature
        that allows rate analysis based on IT expenditure.

        IBM Tivoli Usage and Accounting Manager Enterprise Edition V7.1 is a resource
        accounting product that enables you to track, manage, allocate, and optionally
        bill end users for IT resources. Tivoli Usage and Accounting Manager Enterprise
        Edition assists with:
           Usage-based accounting and chargeback
           IT cost allocation and analysis
           Application allocation and availability
           Resource utilization reporting
           Easy reporting through a Web interface

        Tivoli Usage and Accounting Manager Enterprise Edition consolidates different
        types of usage metering data into an integrated reporting structure. It can then
        generate reports, invoices, and summary files that show resource consumption
        and cost for the various functional units of an organization. This information is
        presented in Web, print, or file formats for easy availability. IBM Tivoli Usage and
        Accounting Manager Enterprise Edition contains the following:
           Administration Server, the central component, consisting of the following:
           – Tivoli Usage and Accounting Manager Enterprise Edition Console
              This is the Abstract User Interface Markup Language rendering in ISC
              over the Web Administrator tool.
           – Tivoli Usage and Accounting Manager Engine
              This consists of many components, including a batch processing facility
              called Job Runner that launches and controls the underlying processes
              that convert raw usage data into usable Tivoli Usage and Accounting
              Manager Enterprise Edition information. It also contains the main rules
              engine processing components and other data transformation tools.
           – Generic collection functionality
              This consists of the Integrator and the Universal Collection tools that allow
              clients to build their own collectors.



                                                         Chapter 1. Solution introduction   7
– Tivoli Usage and Accounting Manager Windows® Web Reporting - from
                    Internet Information Services (IIS) under Windows only
                     This reports directly from the Microsoft® SQL Server™, Oracle®, or DB2®
                     database using Microsoft Reporting Services runtime viewer as the
                     underlying reporting engine and Microsoft IIS as the Web server. This
                     Microsoft Reporting Services viewer must be separately downloaded from
                     Microsoft and installed. It is not supplied with Tivoli Usage and Accounting
                     Manager Enterprise Edition.
                  Limited Business Intelligence and Reporting Tools (BIRT) reporting directly
                  from the database
                  If non-Windows reporting is desired, there is a prerequisite that the client will
                  download and install BIRT/IES prior to installation. This reporting can be run
                  from UNIX® or Linux®. While it can also be run from Windows, the more
                  powerful Tivoli Usage and Accounting Manager Windows Web Reporting is
                  the preferred Windows reporting method.

               The Tivoli Usage and Accounting Manager Enterprise Edition - Core Data
               Collection Entitlements product, delivered in the same installation as Tivoli
               Usage and Accounting Manager Enterprise Edition, contains:
                  Windows disk usage
                  Windows CPU processor usage
                  VMware usage collector support
                  z/VM®
                  AIX Advanced Accounting, including support for Workload Partition, Virtual
                  I/O Server, and any other Advanced Accounting features
                  UNIX, Linux, Linux on System z™ operating system
                  UNIX, Linux, Linux on System z file system
                  System i™ (collects all usage from System i, but the actual collector must be
                  run from Windows)
                  Tivoli Decision Support on z/OS extract (similar to the Accounting Workstation
                  Option or IBM Tivoli Usage and Accounting Manager Enterprise Edition for
                  z/OS)
                  Generic Collection (also known as Universal Collection)
                  Miscellaneous and Recurring Adjustment Transaction Maintenance

               The Tivoli Usage and Accounting Manager Enterprise Collector Pack (a separate
               purchasable option) contains the following collectors. A designation of sample
               only means that the collector is not fully documented, is not globalized or tested,
               and may not run on all platforms. It is provided as a starting point only, but the
               sample collectors will be supported, via the Level 2/Level 3 support process. A
               notation of Windows only means that the collector or sample runs only under
               Windows, not under Linux or UNIX.
                  TotalStorage® Productivity Center


8   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Tivoli Storage Manager (Windows only)
   SAP®
   WebSphere® XD
   WebSphere XD HTTP
   Squid (Windows only, sample only)
   Veritas (Windows only, sample only)
   Windows System Resource Monitor (Windows only, sample only)
   Microsoft Reporting Services (Windows only, sample only)
   Evolve (Windows only, sample only)
   Citrix (Windows only, sample only)
   NetWare (Windows only, sample only)
   Oracle
   Oracle Space
   DB2 Usage
   DB2 Space
   Apache Web Server Usage
   FTP transfer usage (Windows only, sample only)
   Lotus® Notes®
   SQL Server (Windows only)
   DBSpace
   Sybase (Windows only, sample only)
   Apache
   Microsoft IIS
   Microsoft Internet Security and Acceleration (ISA) (Windows only, sample
   only)
   Microsoft Proxy (Windows only, sample only)
   Netscape Proxy (Windows only, sample only)
   Exchange (Windows only)
   SendMail (Windows only, sample only)
   Windows Print (Windows only)
   NetBackup (Windows only, sample only)
   NetFlow (Windows only, sample only)

New in IBM Tivoli Usage and Accounting Manager Enterprise Edition V7.1 are
the following:
   A fully globalized product
   A platform-independent reporting option
   New data collectors
   Improved integration with Tivoli Decision Support for z/OS for mainframe
   resource accounting
   A Web-based administration tool




                                              Chapter 1. Solution introduction   9
1.3 Tivoli Usage and Accounting Manager value
    proposition
               Tivoli Usage and Accounting Manager helps IT to control and manage operation
               and resource costs by collecting, analyzing, reporting, and billing based on
               usage and costs of shared Windows, UNIX (AIX, HP/UX, Sun™ Solaris™), Linux
               (Red Hat and Novell SUSE), i5/OS®, and VMware computing resources. Tivoli
               Usage and Accounting Manager helps you improve IT cost management. With it
               you can understand your costs and track, allocate, and invoice based on actual
               resource use by department, user, and many additional criteria.

               Tivoli Usage and Accounting Manager consolidates a wide variety of usage data
               with data collectors associated with Operating Systems, Databases, Internet
               Infrastructure, E-mail Systems, Network & Printing, and customized usage Data
               Import collection from any application or system. This broad set of
               customer-proven data collectors across multiple platforms, combined with a
               powerful business rules-driven capability to transform raw IT data into business
               information, enables cost allocation across business units, cost centers,
               applications, and users.

               Tivoli Usage and Accounting Manager allows you to do the following:
                  Support virtualization and server consolidation to help manage costs
                  Align IT with business goals by revealing who consumes which resources
                  Easily administer cost allocation initiatives with little human intervention
                  Improve flexibility and cost management by charging for IT resource use in
                  accordance with popular methods



1.4 Product architecture
               The main components used by IBM Tivoli Usage and Accounting Manager are
               shown in Figure 1-2.




10   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Collection
       Tivoli Decision




                                                                    Administration
                         Vmware         Data
       Support for z/




                                                                                                               Reporting
                                      collector
              OS
                          Web
                         Services       File
         Database
                          SDK



                                                                                     Application      Reporting Server
                                      Processing                                         Server
              File


                                                               Integrated                             Reporting with BIRT
                                                            Solution Console
                            Process
                            engine
                                                       Embedded WebSphere
                                                         Application Server                             Web Reporting



                                                                                                           Financial
                                                                                                           Modeler


                                                                                                        Microsoft Internet
                                                     JDBC                                              Information Server
                 ITUAMDB
                                                            ODBC (.NET)


Figure 1-2 Tivoli Usage and Accounting Manager components in use and their dependencies

                     The major components of are:
                         Collection
                         The collection of metering data is mostly handled by the operating systems
                         and other applications. Tivoli Usage and Accounting Manager data collectors
                         read this data or provide access to the databases where the data is stored.
                         The data collection can be performed from a database table, a file to be
                         converted into Tivoli Usage and Accounting Manager format, or by calling
                         Web Services to collect metrics.
                         Application server
                         The Tivoli Usage and Accounting Manager application server consists of two
                         primary functions: the administration server and processing server.
                         – Administration
                            This is performed using the Integrated Solutions Console (ISC). ISC is an
                            application running on top of an embedded WebSphere Application




                                                                                           Chapter 1. Solution introduction   11
Server. It provides the front end for all administration of the Tivoli Usage
                     and Accounting Manager server.
                  – Gathering and processing of usage and accounting
                     The collection of Tivoli Usage and Accounting Manager collector files can
                     be done with a file transfer method or accessed directly from a database
                     or Web Services.
                     Processing of this data is performed using the ProcessEngine and the
                     Tivoli Usage and Accounting Manager integrator function. It handles all
                     data processing and data loading into the Tivoli Usage and Accounting
                     Manager database. The Java-based Job Runner controls the processing
                     steps. All job descriptions are stored in Extensible Markup Language
                     (XML) files.
                  Database server
                  A relational database system is required for storing the administration,
                  metering, and accounting data. The database is accessed using the JDBC™
                  driver, except for reporting, which uses the DB2 .NET interface. This driver
                  must be provided for each component that needs access to the database.
                  Reporting server
                  All reports are generated from the Tivoli Usage and Accounting Manager
                  database and can be stored on a file system for publishing or distribution.
                  Tivoli Usage and Accounting Manager provides reporting using Microsoft
                  Report Viewer under Microsoft Internet Information Server or using Business
                  Intelligence and Reporting Tools (BIRT).


1.4.1 Generic processing flow
               The data processing in Tivoli Usage and Accounting Manager is similar for all
               data sources. Figure 1-3 on page 13 shows the general processing steps for data
               handling with IBM Tivoli Usage and Accounting Manager. The order or mix of the
               steps may be different, depending on the collectors used.




12   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Collected                                  Common Source
          data files                                   Resource                 Aggregation
                                                       (CSR) file

                                   Data
                                  Collector
                                                                              Summarized data
                                                                                  (CSR)
       Web or data base
         dataSource                                         reprocess



                                                      Exception file             Account
                                                                                                     Account Table
                                                         (CSR)                  Conversion


                                                                                Output file
                                                                                  Output file
                                                                                 (CSR+) files
                                                                                   Output
                                                                                   (CSR+)
                                                                                     (CSR+)
          ITUAMDB
                                          Database
                                            Load
                                                                                   Scan
                                                                                 (Merging)



        Billing Summary                               Billing Output            Merged output
                                   Ident file
                file                                         file                 (CSR+)




                                                                          Normalization &            Normalization
                                                                       Billing (applying rate)       & Rate Table



Figure 1-3 Generic process overview, including common steps

                   The process steps in Figure 1-3 are:
                   1. Many systems already have a resource usage collection function. Tivoli
                      Usage and Accounting Manager uses this data for further processing. The
                      main processing in Tivoli Usage and Accounting Manager is based on the
                      Common Source Resource (CSR) format. The initial processing step
                      converts the existing data (SQL table, delimited file, or others) into CSR
                      format prior to Tivoli Usage and Accounting Manager processing.
                          a. If the metering data is collected in files, these will be transferred to the
                             application server and converted to CSR format if needed. Some
                             converters may also include pre-aggregation.



                                                                                  Chapter 1. Solution introduction   13
b. If the metering data can be accessed in a database or on a Web page, the
                     data extract made by Tivoli Usage and Accounting Manager will be direct
                     CSR format.
                  The Tivoli Usage and Accounting Manager Integrator can include CSR
                  conversion, aggregation, account code conversion, and sort in one step,
                  producing only one output file.
               2. CSR data is aggregated mostly on a daily basis. Aggregation means
                  summarizing the data based on given identifiers. It calculates the sum of data
                  of resource fields based on the identifier values.
               3. Account conversion matches the metering data to the account code structure
                  (see 5.2, “Defining accounting resources” on page 95) and all records that do
                  not fit are put into an exception file, which may be reprocessed later after
                  some intervention.
               4. CSR or CSR+ files of the same type can be scanned into one file at any time
                  during the processing.
               5. Normalization of CPU values and multiplying by the rate code is the next step.
                  The selected Rate Table is used for calculating the money value. If the rate is
                  of type CPU, the recalculation based on the Normalization Table is done in
                  addition.
                  Summarize data on a financial and organizational level, which provides the
                  billing files: billing detail, billing summary, and identifier list.
               6. Loading all output data into the Tivoli Usage and Accounting Manager DB
                  completes the processing. There is an automatic duplicate detection that
                  prevents duplicate data loading.

                Note: We recommend to create CSR+ records as input for the billing step, or
                alternatively to use the Integrator Sort on the account code. The number of
                billing summary rows in the database can be reduced on a CSR file sorted by
                the account code. CSR+ data is automatically sorted by the bill process.


1.4.2 The Common Source Resource format
               Tivoli Usage and Accounting Manager uses two file formats, Common Source
               Resource (CSR) and Common Source Resource plus (CSR+). CSR+ is
               enhanced by a static header, including the account code for sorting purposes.
               CSR+ and CSR files are comma-separated files, in which each record has these
               three sections:
                  Header
                  The header of the record contains the following:



14   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
CSR Plus Header   CSR+ records only start with “CSR+ constant
  headerstartdate    Usage start date
  headerenddate      Usage end date
  headeraccountcodelength
                     Length of the Account code (three digits)
  headeraccountcode Account Code “constant
headerrectype     Record type or source
headerstartdate   Usage start date
headerenddate     Usage end date
headerstarttime   Usage start time
headerendtime     Usage end time
headershiftcode   Shift code
The header information is used to identify the applicability of the record to a
certain billing period and type.

 Tip: All header% variables can be used with the Integrator identifier
 functions.

A sample header segment for CSR is:
UNIXSPCK,20071016,20071016,00:00:00,23:59:59,1
A sample header for CSR+ starts with:
“CSR+2007101620071016009AIX 0Test“,UNIXSPCK,20071016,..
Identifiers segment
The identifiers segment lists the resource identifiers. These identifiers are
used to distinguish one resource from another before mapping them to an
account code. The account code itself is considered an identifier. The
structure of this segment is:
number of identifiers, identifier name, identifier value...
A sample identifier segment with three identifiers is:
3,SYSTEM_ID,"lpar04",Account_Code,"AIX 1TEST lpar04", USERNAME,"root"
Resources segment
The resources segment lists the resource metrics. These metrics are used to
meter the usage information for the resource. The resource metric is
structured as follows:
# of resources, resource metric name, resource metric value...
A sample resources segment with three metrics is:
3,LLG102,17.471,LLG107,6.914,LLG108,3




                                              Chapter 1. Solution introduction   15
Example 1-1 shows the data from two AIX LPARs on two different systems.

               Example 1-1 CSR file for AIX Advanced Accounting data
               AATRID10,20071030,20071030,01:10:03,01:10:03,1,2,SYSTEM_ID,"02101F170",
               Account_Code,"AIX 1TEST lpar04",1,AAID1002,0.016
               AATRID10,20071030,20071030,01:15:03,01:15:03,1,2,SYSTEM_ID,"02101F170",
               Account_Code,"AIX 1TEST lpar04",1,AAID1002,0.004
               AATRID4,20071030,20071030,02:30:07,02:30:07,1,2,SYSTEM_ID,"02101F25F",A
               ccount_Code,"AIX 0SAP   ohm01",2,AAID0402,120,AAID0407,2048

               In Example 1-2 we find the data from two VMware ESX servers (SYSTEM_ID)
               and three VMware guests (Instance) collected via one VirtualCenter Server
               (Feed).

               Example 1-2 CSR file for VMWare processing
               VMWARE,20071017,20071017,00:00:00,23:59:59,1,5,HostName,"host-19",Insta
               nce,"vm-33",Feed,"ITSC_VC",Account_Code,"WIN 1ESX",SYSTEM_ID,"srv079.it
               sc.austin.ibm.com",1,VMCPUUSE,10756036
               VMWARE,20071017,20071017,00:00:00,23:59:59,1,5,HostName,"host-19",Insta
               nce,"vm-41",Feed,"ITSC_VC",Account_Code,"WIN 4ESX",SYSTEM_ID,"srv079.it
               sc.austin.ibm.com",1,VMCPUUSE,10688008
               VMWARE,20071017,20071017,00:00:00,23:59:59,1,5,HostName,"host-8",Instan
               ce,"vm-31",Feed,"ITSC_VC",Account_Code,"WIN 0ESX",SYSTEM_ID,"srv106.its
               c.austin.ibm.com",1,VMCPUUSE,637429

               The Tivoli Usage and Accounting Manager defines some reserved identifiers that
               are used for special processing. These are:
               Account_Code           Will be matched with the Account Code Structure and
                                      used for Rate Table selection and Reporting Aggregation
               SYSTEM_ID              Used for reading the factor from the Normalization Table
                                      during CPU normalization
               WORK_ID                Optionally used for CPU normalization on the z/OS data
                                      collector specifying a subsystem such as TSO, JES2, or
                                      any other application (also not z/OS), if needed
               Feed                   Identifies and defines a subfolder in the process folder for
                                      data transfer




16   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
2


    Chapter 2.   Solution environment
                 This chapter explains the Tivoli Usage and Accounting Manager solution
                 environment. The discussion covers the following:
                     2.1, “Hardware prerequisites” on page 18
                     2.2, “Software prerequisites” on page 18
                     2.3, “Sizing considerations” on page 21
                     2.4, “Typical deployment environment” on page 27




© Copyright IBM Corp. 2008. All rights reserved.                                          17
2.1 Hardware prerequisites
               The most up-to-date prerequisites (hardware and software) for Tivoli Usage and
               Accounting Manager can be retrieved from the following Web page:
               http://www-306.ibm.com/software/tivoli/products/usage-accounting/platfo
               rms.html

               The following hardware is recommended for running Tivoli Usage and
               Accounting Manager V7.1:
                  Processor with speed of 3 GHz or more for application server or Web
                  reporting server.
                  An additional 2 GB of free memory for application server or Web reporting
                  server.
                  The database server uses 80 GB of hard drive space.
                  Web reporting server uses 40 GB of hard drive space.

                Note: The space requirement may vary; see 2.3, “Sizing considerations” on
                page 21 for more information.



2.2 Software prerequisites
               The software prerequisites are divided into:
                  2.2.1, “Supported operating systems” on page 19
                  2.2.2, “Supported databases” on page 21

               All other required software components, such as WebSphere Application Server
               and Integrated Solution Console, are packaged with the software itself. See also:
               http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/index.jsp?topic=
               /com.ibm.ituam.doc_7.1/install/r_app_server_specs_win.html
               http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/index.jsp?topic=
               /com.ibm.ituam.doc_7.1/install/r_app_server_specs_unix.html




18   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
2.2.1 Supported operating systems
                    Table 2-1 lists the supported operating systems.

Table 2-1 Supported operating systems
 Platform                                    Server        Collector     Reporting      Web client

 AIX 5.2                                     Yes           Yes           No             Yes

 AIX 5.3                                     Yes           Yes           BIRT only

 AIX 6.1 a                                   Yes           Yes           BIRT only      Yes

 Solaris 9 – SPARC                           Yes           Yes           No             Yes

 Solaris 10 – SPARC                          Yes           Yes           No             Yes

 Solaris 10 – x64                            No            Yes           No             Yes

 HP-UX 10.20                                 No            Yes           No             Yes

 HP-UX 11i                                   Yes           Yes           No             Yes

 HP-UX 11.23 Itanium®                        No            Yes           No             No

 Windows 2000 Pro                            No            Yes           No             No

 Windows 2000 Server                         No            Yes           No             No

 Windows 2000 Advanced Server                No            Yes           No             No

 Windows 2000 Data Center Server             No            Yes           No             No

 Windows XP Professional – x86               No            No            No             Yes

 Windows XP Professional – x64               No            No            No             Yes

 Windows Server® 2003 Standard – x86         Yes           Yes           Yes            Yes

 Windows Server 2003 Enterprise – x86        Yes           Yes           Yes            Yes

 Windows Server 2003 Datacenter – x86        Yes           Yes           Yes            Yes

 Windows Server 2003 Web Edition – x86       Yes           Yes           Yes            Yes

 Windows Server 2003 Standard – x64          Yes           Yes           Yes            Yes

 Windows Server 2003 Enterprise – x64        Yes           Yes           Yes            Yes

 Windows Server 2003 Datacenter – x64        Yes           Yes           Yes            Yes

 Windows Server 2003 Web Edition – x64       Yes           Yes           Yes            Yes

 Windows Vista®                              No            Yes           No             Yes



                                                                 Chapter 2. Solution environment   19
Platform                                       Server        Collector       Reporting   Web client

 RHEL 4.0 for x86                               Yes           Yes             No          Yes

 RHEL 5.0 for x86                               Yes           Yes             No          Yes

 RHEL 4.0 for AMD64 ¤ EM64T                     Yes           Yes             No          Yes

 RHEL 5.0 for AMD64 ¤ EM64T                     Yes           Yes             No          Yes

 RHEL 4.0 for System i                          No            No              No          Yes

 RHEL 5.0 for System i                          No            No              No          Yes

 RHEL 4.0 for System z (64 bit)                 Yes           Yes             No          Yes

 RHEL 5.0 for System z (64 bit)                 Yes           Yes             No          Yes

 RHEL 4.0 for PowerPC®                          Yes           Yes             No          Yes

 RHEL 5.0 for PowerPC                           Yes           Yes             No          Yes

 SLES 9 for x86                                 Yes           Yes             No          Yes

 SLES 10 for x86                                Yes           Yes             No          Yes

 SLES 9 for AMD64 ¤ EM64T                       Yes           Yes             No          Yes

 SLES 10 for AMD64 ¤ EM64T                      Yes           Yes             No          Yes

 SLES 9 for System z (64 bit)                   Yes           Yes             No          Yes

 SLES 10 for System z (64 bit)                  Yes           Yes             No          Yes

 SLES 9.0 for PowerPC                           Yes           Yes             No          Yes

 SLES 10 for PowerPC                            Yes           Yes             No          Yes

 VMware ESX                                     No            Yes             No          No

 i5/OS v5                                       No            Yes             No          No

 zVM                                            No            Yes             No          No

 z/OS v 1.1                                     No            Yes             No          No

 z/OS v1.2                                      No            Yes             No          No

 z/OS v1.3                                      No            Yes             No          No

 z/OS v1.4                                      No            Yes             No          No

 z/OS v1.3, v1.4, v1.5, v1.6, v1.7, and v1.8b   No            Yes             No          No
     a. With support for advanced accounting collection for AIX V5.3 and AIX V6.




20      Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
b. Available only with the Tivoli Usage and Accounting Manager for z/OS Option of Tivoli Decision
     Support for z/OS.


2.2.2 Supported databases
                Table 2-2 lists the supported databases.

                Table 2-2 Supported databases
                 Database                      Server           Collector

                 DB2 UDB 7.1                   No               Yes

                 DB2 UDB 7.2                   No               Yes

                 DB2 UDB 8.1                   Yes              Yes

                 DB2 UDB 8.2                   Yes              Yes

                 DB2 UDB 9.1                   Yes              Yes

                 DB2 8.1 System z              Yes              No

                 MS SQL Server 2000            Yes              Yes

                 MS SQL Server 2005            Yes              Yes

                 Oracle 8i                     No               Yes

                 Oracle 9i                     Yes              Yes

                 Oracle 9i v2                  Yes              Yes

                 Oracle 10                     Yes              Yes




2.3 Sizing considerations
                The sizing considerations for Tivoli Usage and Accounting Manager deployment
                are mainly related to the data size. The initial Tivoli Usage and Accounting
                Manager server database using DB2 Universal Database™ in Windows uses
                approximately 350 MB.

                This section provides an overview for estimating the Tivoli Usage and
                Accounting Manager database growth. The estimation has not been tested with
                actual customer environments—it is only used for estimating our database size
                in our sample environment.




                                                                  Chapter 2. Solution environment     21
We start by checking our database size in our Windows directory or Linux file
               system just after it is initialized. The data size is roughly 350 MB, including the
               database catalog and database log files.

               However, as Tivoli Usage and Accounting Manager is a data collection and
               processing tool, it collects and loads data into the database and keeps it for
               some period of time. Estimating its growth is critical for ensuring that the space is
               properly allocated and the resulting performance impact can be addressed (such
               as the time to back up the data, query response time, replication need, and so
               on).


2.3.1 Data elements
               The primary growth of data is for usage and accounting data. These are:
               Resource utilization The collection of the resource metric usage from the
                                    AcctCSR file; collection is provided by identifier for each
                                    resource (rate code). This is an optional collection. You
                                    do not need to collect the resource usage.
               Billing summary         This provides a summary usage for each resource (rate
                                       code) by account code. It is important that the input to the
                                       billing cycle is sorted by account code to minimize
                                       duplicate summary records. The data is a one-to-one
                                       mapping from the BillSummary.txt file.
               Billing detail          This provides individual entries from the AcctCSR file. It
                                       gives individual occurrences of source usage by resource
                                       name (rate code). This links to the identifier table for
                                       getting the identifier key for each of the entries. The data
                                       is a one-to-one mapping from the BillDetail.txt file.
               Identifier table        This lists the identifiers that are used by each Billing detail
                                       entry. The data is a one-to-one mapping from the Ident.txt
                                       file.

               Figure 2-1 on page 23 provides an overview of the relationship between these
               tables.




22   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Detail Ident                               Billing Detail                     Billing Summary

    LOADTRACKINGUID                          LOADTRACKINGUID                        LOADTRACKINGUID
    DETAILUID                      Get       DETAILUID                              YEAR
    DETAILLINE                  identifier   DETAILLINE                             PERIOD
    IDENTNUMBER                              ACCOUNTCODE                            SHIFT
    IDENTVALUE                               AGGREGATE                              ACCOUNTCODE
                                             STARTDATE                Summarize,    LENLEVEL%
                                             ENDDATE                 aggregate on   RATETABLE
                                             SHIFTCODE               Account_Code   RATECODE
                                             AUDITCODE                              STARTDATE
                                             SOURCESYSTEM                           ENDDATE
                                             RATECODE                               RATEVALUE
                                             RESOURCEUNITS                          RESOURCEUNITS
                                             ACCOUNTINGSTARTDATE                    BREAKID
                                             ACCOUNTINGENDDATE                      MONEYVALUE
                                                                                    USAGESTARTDATE
                                                                                    USAGEENDDATE
                                                                                    RUNDATE
                                             Resource Utilization                   BILLFLAG%

             Get                             LOADTRACKINGUID
          identifier                         DETAILUID
                                             DETAILLINE
                                             ACCOUNTCODE
                                             AGGREGATE
                                             STARTDATE
                                             ENDDATE
                                             SHIFTCODE
                                             AUDITCODE
                                             SOURCESYSTEM
                                             RATECODE
                                             RESOURCEUNITS

Figure 2-1 Table relationships

                       Some important tips for database size are:
                          You should run the DBpurge program using Job runner to remove old data.
                          Because Tivoli Usage and Accounting Manager data is an accounting
                          financial tool, you may want to archive the data first. The data details can be
                          huge and less useful than the summary data. You may want to purge detail
                          data more often.
                          Use the CSR+ format, and perform a sort before you run the Bill processing.
                          The sorting with the CSR+ format is based on the account code and
                          optimizes the billing process.
                          Only collect the identifiers and resources that you are interested in. Modify the
                          sample collection jobs, change the mapping, and remove any unwanted
                          identifiers and resource fields. The number of identifiers and resources is a
                          size multiplier for the tables.



                                                                      Chapter 2. Solution environment    23
2.3.2 Growth factors
               Now let’s look at each of the tables and analyze what the parameters are that
               affect their sizes. The following are the size multipliers:
               Number of days           The retention period of your data before you run the
                                        purge step to remove them.
               Number of shift          The number of shifts in a day that need different rate
                                        codes.
               Collection source        Each collection source is processed with a different job.
                                        Each will generate a different set of data.
               Account code             All billing and resource tables are indexed by the
                                        account code entry. This is the primary retrieval
                                        mechanism for Tivoli Usage and Accounting Manager
                                        data. You must estimate the number of distinct account
                                        codes.
               Number of resources The resources are mapped directly as rate code. These
                                   rate codes are the secondary search mechanism for
                                   Tivoli Usage and Accounting Manager.
               Number of identifiers Each identifier is put in a different row in the
                                     CIMSDETAILIDENT table.
               Identifier mix           This is the number of unique identifiers in each
                                        collection. You should be able to estimate this number
                                        by your understanding of the collection process. As an
                                        example, for Windows, you can count the number of
                                        running processes in the day as the identifier mix.

               Now regarding the tables themselves, which of the above items maps? Table 2-3
               lists the affecting factors and estimates the row size of the tables.

               Table 2-3 Table estimation
                Name                  Row         Affecting source
                                      sizea

                CIMSRESOURCE          300         Source, Account_Code, Identifier mix,
                UTILIZATION                       RateCode, Shift, #day
                CIMSSUMMARY           300         Source, Account_Code, RateCode, Shift,
                                                  #day
                CIMSDETAIL            350         Source, Account_Code, Identifier mix, Rate
                                                  per id, Shift, #day
                CIMSDETAILIDENT       75          Identifier mix x Ident count



24   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
a. The row size is an estimate based on the table structure and using the
                assumption that a VARCHAR or VARGRAPHIC column uses half its capacity.


2.3.3 Sample growth estimation
          For the purpose of this sample, the following are the collected facts:
             Data is kept for two years, except that the detail data is for one year.
             Two shifts are collected.
             The account structure is in the form client - department - application - host.
             Collected usage information is for UNIX processes and Windows processes
             only.
             Average identifier length is 20 characters.
             Audit code is not used.
             Percentage of complete records, since some of the accounting data only has
             partial data. Some of the metrics may not appear in all records. We just use
             75%.

          For the UNIX processes, collection is performed on 15 machines. There are 12
          resource metrics that are collected. The identifier fields are Feed,
          Account_Code, hostname, userName, and process. The estimated number of
          processes per day is 250.

          For Windows processes, collection is performed on 20 machines. There are 8
          resource metrics that are collected. The identifier fields are Feed,
          Account_Code, Server, User, processName (we assume that BasePriority,
          PriorityClass and ProgramPath fields are dropped). The estimated number of
          processes per day is 100.

          The number of unique identifiers in both UNIX and Windows processes will be
          the estimated number of processes.

          The number of account codes would then be derived from the account code
          structure. As mentioned above, the account code structure is client - department
          - application - host. It is important to plan this structure and how these items can
          be identified. This example assumes that the account code elements are
          retrieved as follows:
             Host is retrieved from hostname or Server identifiers.
             Application is derived using a lookup table based on the server, user, and
             program name.
             Department is derived from the application.
             Client is derived from the department.



                                                           Chapter 2. Solution environment   25
Based on the specification, we conclude that the number of unique account
               codes would be the same as the number of applications (or applications by host).
               We just assume here that the number of applications represents the number of
               unique account codes.

               Now we can start performing the calculation. First, we collected the multipliers as
               shown in Figure 2-2.




               Figure 2-2 Estimating the multipliers

               In Figure 2-2, the account structure is estimated by listing the component
               occurrences. We used the number of applications as the number of unique
               account codes. All the other numbers are collected from the discussion.

               The resulting table sizes are shown in Figure 2-3.




               Figure 2-3 Table size result

               As shown in Figure 2-3, the total data size is around 309 GB. We assume that we
               do not collect the resource utilization table.




26   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
2.4 Typical deployment environment
           Based on the architecture of Tivoli Usage and Accounting Manager discussed in
           1.4, “Product architecture” on page 10, we can identify the following deployment
           environment structures:
              2.4.1, “Small, proof of concept, or demonstration environment” on page 27
              2.4.2, “Medium scale production environment” on page 27
              2.4.3, “Large scale production environment” on page 28


2.4.1 Small, proof of concept, or demonstration environment
           This small scale environment installs all components in a single Windows-based
           server that allows hosting of the database, application server, and Web reporting
           server on a single machine. This is not recommended in a larger environment
           because the load for the processing may interfere with the reporting activities.

           The configuration of this environment is shown in Figure 2-4.


             Embedded WebSphere Application Server 6.1
             Integrated Solution Console
             Microsoft Report Viewer
             Microsoft Internet Information Services
             ITUAM reporting application
             ITUAM processing engine
             ITUAM data collectors
             Database
                                                     ITUAMDB


                                          ITUAM
                                           server

           Figure 2-4 Small scale environment


2.4.2 Medium scale production environment
           The medium scale production environment still employs a single database.
           However, the processing and Web reporting functionality have been moved into
           different servers to allow better load distribution. There may also be the need to
           have a processing server on a different platform. The configuration of this
           environment is shown in Figure 2-5 on page 28.



                                                         Chapter 2. Solution environment   27
Embedded WebSphere Application Server 6.1
                                                   Microsoft Report Viewer
      Integrated Solution Console
                                                   Microsoft Internet Information Services
      ITUAM processing engine
                                                   ITUAM reporting application
      ITUAM data collectors




                                  Application                         Reporting
                Application
                                    server                             server
                  server



                                                     ITUAMDB
Figure 2-5 Medium scale deployment


2.4.3 Large scale production environment
                In a large scale environment, data size may become quite large. Isolation
                between different reporting applications and processing applications may be
                necessary. An external data replication mechanism (such as DB2 replication)
                may be employed to synchronize database copies. Data load processing would
                not impact report generation, and, conversely, report generation is not hindered
                by data loading. This environment is depicted in Figure 2-6 on page 29.




28    Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Embedded WebSphere Application Server 6.1
                                                      Microsoft Report Viewer
      Integrated Solution Console
                                                      Microsoft Internet Information Services
      ITUAM processing engine
                                                      ITUAM reporting application
      ITUAM data collectors




                                  Application                            Reporting
                Application
                                    server                                server
                  server
                                             replication


                              ITUAMDB                          ITUAMDB
Figure 2-6 Large scale environment




                                                                  Chapter 2. Solution environment   29
30   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
3


    Chapter 3.   Project planning
                 This chapter discusses the necessary preparation for running a deployment
                 project for Tivoli Usage and Accounting Manager. The discussion is divided into:
                     3.1, “Required skills” on page 32
                     3.2, “Solution description and assumptions” on page 32
                     3.3, “Task breakdown” on page 33




© Copyright IBM Corp. 2008. All rights reserved.                                              31
3.1 Required skills
               For the implementation of Tivoli Usage and Accounting Manager V7.1, you
               would want to have the following prerequisite skills:
                  Database skill for the database that you are using
                  Operating system skill for the platform that you are using
                  Usage data collection from the source platform
                  Microsoft Reporting Server skill for developing new reports
                  Understanding of the accounting and charge back system

               Apart from the above requirements, you would have to know the Tivoli Usage
               and Accounting Manager itself. This includes:
                  Working with Integrated Solution Console (ISC)
                  Working with Tivoli Usage and Accounting Manager job runner
                  Performing file transformation into Common Source Format (CSR)

               IBM Tivoli Usage and Accounting Manager V7.1, SG24-7404 can also be used to
               get more information about these items.



3.2 Solution description and assumptions
               The Tivoli Usage and Accounting Manager solution performs the following:
                  Collects usage information from a customer’s system
                  Stores usage and accounting data in its database
                  Generates reports or invoices for usage data

               The data collection methodology must be established using a series of planning
               sessions with the customer. In these sessions, the following items should be
               addressed:
                  List of the data sources and their access methods to get the usage data, or if
                  a supported method is available, this has to be understood. Some collection
                  requires a certain feature to be enabled and certain authority may be needed
                  to get access to this usage information.
                  Understand the departmental structure of the customer to correctly define the
                  account code structure that would allow a breakdown of accounting
                  information to the appropriate department entity.




32   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Identify the granularity of data collection from the customer to correctly
               calculate the data space requirements
               Identify the required charging items from the customer and how to get the
               data unit from the raw usage data
               Identify the reporting and maybe invoice requirements from the customer

            Based on the above requirements from the customer, you can start developing
            the solution configuration and implementation methods. The configuration
            involves defining where to put critical components, such as application server
            and Web reporting server; the implementation method, including deployment of
            the server and data collectors.

            Sometimes you can perform only a sub-set of the identified final configuration.
            The complete configuration would be up to the customer to implement. You must
            predetermine the initial sub-set to implement that is representative of the final
            configuration.



3.3 Task breakdown
            The detailed tasks for Tivoli Usage and Accounting Manager implementation are
            divided into:
               3.3.1, “Project kick-off” on page 33
               3.3.2, “Environment preparation” on page 34
               3.3.3, “Database setup” on page 34
               3.3.4, “Tivoli Usage and Accounting Manager server installation” on page 34
               3.3.5, “Data collection pack setup” on page 34
               3.3.6, “Customizing the product” on page 35
               3.3.7, “Demonstrating the solution and skill transfer” on page 35


3.3.1 Project kick-off
            The kick-off of the project is a critical task during which the participants are
            identified, the roles and responsibilities are presented, and a generic project plan
            is laid out.

            The kick-off is also an important milestone to promote the project to the
            customer’s user base and generate interest for the project.




                                                                Chapter 3. Project planning   33
3.3.2 Environment preparation
               The initial environment preparation has these objectives:
                  Installing and preparing the new server machines with the appropriate
                  operating system and network connectivity. This applies to the machines that
                  will run the database, the application server, and the Web reporting server.
                  Identifying client or agent machines on which data collectors will be installed.
                  This includes tabulating their IP addresses, hostnames, owners, access to the
                  machine, and other relevant information.
                  Collecting installation media and required software for the installation.

               Depending on the size of the implementation and the readiness of the
               environment, this can take several hours or several days.


3.3.3 Database setup
               Once the environment preparation is done, you can install the supported
               database product. The database will be used as the center of processing for
               Tivoli Usage and Accounting Manager. Depending on the database
               configuration, you may set up additional features such as replication to improve
               the data availability. We will demonstrate DB2 Enterprise Server Edition V9.1 in
               4.2, “Installing DB2” on page 41.


3.3.4 Tivoli Usage and Accounting Manager server installation
               Depending on how many servers you want to configure, you may need to run the
               Tivoli Usage and Accounting Manager installation program several times. The
               installation program installs all the necessary components including an
               embedded WebSphere Application Server and, in Windows, it also installs the
               Web reporting application. The detailed procedure of this installation is provided
               in 4.4, “Installing server components” on page 65.


3.3.5 Data collection pack setup
               Data collection pack installation is platform dependent. We demonstrate the
               Windows collector pack installation in 4.7, “Installing Windows Process Collector”
               on page 85. Some of the collector pack can be deployed using the Tivoli Usage
               and Accounting Manager job interface.




34   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
3.3.6 Customizing the product
           Product customization includes:
              Defining Tivoli Usage and Accounting Manager configuration objects
              Defining Tivoli Usage and Accounting Manager rates, rate groups, calendar,
              clients, and schedules
              Collecting usage data
              Creating data loading jobs
              Customizing reports

           This is where the design of the solution is implemented. The identified
           requirement from 3.2, “Solution description and assumptions” on page 32 should
           be realized in this task. This task is discussed in 4.6, “Initial configuration” on
           page 71.


3.3.7 Demonstrating the solution and skill transfer
           After the customization has been completed and the solution is in place, you can
           demonstrate the result to the customer. This demonstration can serve as your
           completion milestone. You must also perform skill transfer so the customer’s
           personnel can operate and maintain the solution on a day-to-day basis. This is
           an important task that ensures smooth handover of the project.

           The demonstration tasks are provided in Chapter 5, “Usage demonstration” on
           page 93.




                                                              Chapter 3. Project planning   35
36   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Part 2


Part       2     Deployment




© Copyright IBM Corp. 2008. All rights reserved.            37
38   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
4


    Chapter 4.   Installation and
                 configuration
                 This chapter discusses the installation and configuration of Tivoli Usage and
                 Accounting Manager. The discussion is divided into the following topics:
                     4.1, “Installation overview” on page 40
                     4.2, “Installing DB2” on page 41
                     4.3, “Installing server prerequisites” on page 54
                     4.4, “Installing server components” on page 65
                     4.5, “Installing Enterprise Collector Pack” on page 69
                     4.6, “Initial configuration” on page 71
                     4.7, “Installing Windows Process Collector” on page 85




© Copyright IBM Corp. 2008. All rights reserved.                                                 39
4.1 Installation overview
               The installation in this chapter is done in a single-server environment. The
               deployment is done on a Windows 2003 Standard Edition with Service Pack 1
               machine as shown in Figure 4-1.


                                           tuamsrv
                                         DB2 UDB 9.1
                               Usage Accounting Manager 7.1 EE
                           Embedded WebSphere Application Server 6.1
                                  Integrated Solution Console
                              Usage Accounting Manager 7.1 ECP
                              Usage Accounting Manager 7.1 WPC
                                               z




                           twin01                           twin02
                   Windows Process Collector       Windows Process Collector



               Figure 4-1 Installation environment

               The steps are:
               1. Installation of the server:
                  a. DB2 Universal Database installation and database creation as discussed
                     in 4.2, “Installing DB2” on page 41.
                  b. Microsoft Internet Information Server, Microsoft .NET framework and
                     Microsoft Report Viewer are needed for the Web reporting application; see
                     4.3, “Installing server prerequisites” on page 54.
                  c. Tivoli Usage and Accounting Manager Enterprise Edition server, which
                     includes an embedded WebSphere Application Server and Integrated
                     Solution Console application, is installed in 4.4, “Installing server
                     components” on page 65.
                  d. The supported collectors are installed in a bundle called the Enterprise
                     Collector Pack as discussed in 4.5, “Installing Enterprise Collector Pack”
                     on page 69.
                  e. Some setup of the Tivoli Usage and Accounting Manager application
                     using the Integrated Solution Console is needed; see 4.6, “Initial
                     configuration” on page 71.




40   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
2. Deploying collectors to all participating machines is discussed in 4.7,
                  “Installing Windows Process Collector” on page 85; we present both the
                  manual and the Job runner deployment.



4.2 Installing DB2
               We used the DB2 database in our server. The DB2 Universal Database
               Enterprise Server Edition V9.1 is installed as follows:

                Attention: To use the DB2 database in the same Windows machine with
                Tivoli Usage and Accounting Manager, you have to ensure that the DB2 .NET
                driver that is used by Microsoft Internet Information Server is the supplied DB2
                Run Time Client. The current distribution uses DB2 V9.1 with Fix Pack 2.
                Typically, this is set at the DB2 installation time.

               1. The initial DB2 installation panel when you invoke the setup.exe or from the
                  autorun is the Launchpad shown in Figure 4-2.




Figure 4-2 Launchpad



                                                      Chapter 4. Installation and configuration   41
2. Selecting the Install a Product link gives you the product installation choices
                    shown in Figure 4-3.




Figure 4-3 Installation choices

                 3. Click Install Now. The DB2 installation wizard is started. Figure 4-4 on
                    page 43 shows the initial DB2 installation window.




42     Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-4 DB2 installation - welcome dialog

4. After you click Next, Figure 4-5 on page 44 shows the DB2 license
   agreement. Select to accept the license agreement and click Next.




                                         Chapter 4. Installation and configuration   43
Figure 4-5 License agreement

               5. For the setup type, we chose a typical setup as shown in Figure 4-6 on
                  page 45.




44   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-6 Setup type

6. Figure 4-7 on page 46 indicates that we are just installing DB2 and not
   creating any response files.




                                      Chapter 4. Installation and configuration   45
Figure 4-7 Response file option

               7. Select the destination directory. Figure 4-8 on page 47 indicates that we use
                  C:IBMSQLLIB.




46   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-8 Destination directory

8. Figure 4-9 on page 48 sets the user ID that we use, DB2ADMIN, and its
   password.




                                    Chapter 4. Installation and configuration   47
Figure 4-9 DB2 user ID and its password

               9. Figure 4-10 on page 49 shows the instance name to be created, which is
                  DB2.




48   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-10 Instance name

10.Figure 4-11 on page 50 shows that we do not prepare the tools catalog.




                                     Chapter 4. Installation and configuration   49
Figure 4-11 Tools catalog creation option

               11.Figure 4-12 on page 51 ignores the notification option that DB2 may set up.




50   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-12 Setup notification

12.Operating system authentication is chosen in Figure 4-13 on page 52.




                                     Chapter 4. Installation and configuration   51
Figure 4-13 Operating system authentication

               13.Figure 4-14 on page 53 shows a summary of the installation options.




52   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-14 Installation options summary

14.Figure 4-15 on page 54 indicates that setup is complete.




                                           Chapter 4. Installation and configuration   53
Figure 4-15 Setup completion

               15.Creating the database is shown in Figure 4-16. The database (in Windows)
                  must be defined as UTF-8. The definition of the default page size of 16 K
                  allows us to have an overall 16 K page size. For a production environment,
                  we recommend the default 4 K page size and to create an additional definition
                  of buffer and tablespaces for larger page sizes such as 16 K.


                C:>DB2 CREATE DB ITUAMDB CODESET UTF-8 PAGESIZE 16 K
                DB20000I The CREATE DATABASE command completed successfully.
               Figure 4-16 Creating the database and buffer pools



4.3 Installing server prerequisites
               We installed the server on a Windows 2003 Server system (System SRV177 in
               our example). Prior to installing Tivoli Usage and Accounting Manager on the
               Report, several prerequisites are required:




54   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Microsoft Internet Information Services (IIS) is required for the execution of
              the reporting application of Tivoli Usage and Accounting Manager. See 4.3.1,
              “Configuring Microsoft Internet Information Server” on page 55.
              A current version of the Microsoft Installer package is required. We installed
              MSI30-KB884016. If you are already running Microsoft Windows 2003
              Service Pack 1, you do not need this. See 4.3.2, “Install the Microsoft
              Installer” on page 59.
              Microsoft .NET Framework Redistributable 2.0 is required for installing the
              Microsoft Report Viewer. See 4.3.3, “Install Microsoft .NET Framework 2.0”
              on page 61.
              Microsoft Report Viewer Redistributable 2005 is required for the standard
              Usage and Accounting Manager reports. See 4.3.4, “Install Microsoft SQL
              Server Report Viewer” on page 63.


4.3.1 Configuring Microsoft Internet Information Server
           This section discusses the setting up of Microsoft Internet Information Server
           using the Manage Your Server application.
           1. The program can be started from: All Programs → Administrative Tools →
              Manage Your Server. See Figure 4-17 on page 56.




                                                  Chapter 4. Installation and configuration   55
Figure 4-17 Manage your server dialog

                2. Click the Add a role link and it will start the configure your server wizard as
                   shown in Figure 4-18 on page 57.




56    Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-18 Configure server wizard

3. In the configuration options dialog shown in Figure 4-19, select Custom
   configuration.




Figure 4-19 Configuration selection




                                      Chapter 4. Installation and configuration   57
4. In Figure 4-20 on page 58, select the application server and click Next.




               Figure 4-20 Server role selection

               5. In Figure 4-21, select ASP.NET and click Next.




               Figure 4-21 Feature selection




58   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
6. The installation commenced with a progress bar. Figure 4-22 shows that the
               installation is then finished.




            Figure 4-22 Installation completed


4.3.2 Install the Microsoft Installer

             Note: In our environment with Windows 2003 SP1 (as required by DB2 V9.1)
             we do not need the installation of Microsoft Installer. However, we also noticed
             that the .NET Framework 2.0 requires this installation.

            An up-to-date version of the Windows Installer software needs to be available on
            the Report server system.
            1. Download the Windows Installer from:
               http://www.microsoft.com/downloads/details.aspx?FamilyID=5fbc5470-b2
               59-4733-a914-a956122e08e8&DisplayLang=en
            2. We executed the program WindowsInstaller-KB884016-v2-x86.exe to run the
               installation of the Windows Installer. The Welcome screen is displayed
               (Figure 4-23). Select Next.




                                                   Chapter 4. Installation and configuration   59
Figure 4-23 Welcome screen for the Windows Installer installation

               3. Agree to the license shown in Figure 4-24 and select Next.




               Figure 4-24 License agreement for the Windows Installer

               4. Selected files on your system are backed up. The Windows Installer is
                  installed; the completion window is shown in Figure 4-25. Select Finish to
                  end the installation.




60   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-25 Completion of the installation for the Windows Installer software


4.3.3 Install Microsoft .NET Framework 2.0
           The .NET Framework is required if you install Microsoft Report Viewer to view
           the standard Tivoli Usage and Accounting Manager reports in RDL format.
           1. Download the installation package for the Report Viewer from:
              http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-43
              62-4b0d-8edd-aab15c5e04f5&DisplayLang=en
           2. Run the downloaded program to start the installation and select Next at the
              Welcome screen. Accept the license agreement and select Install as in
              Figure 4-26. The installation progress window is displayed.




                                                     Chapter 4. Installation and configuration   61
Figure 4-26 Accept the .NET license agreement and start the installation

               3. The Setup Complete message is displayed when the installation completes
                  (Figure 4-27). Select Finish to end the installation.




               Figure 4-27 Setup complete for the .NET framework software




62   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
4.3.4 Install Microsoft SQL Server Report Viewer
           The Microsoft Report Viewer is required for the standard Tivoli Usage and
           Accounting Manager reports (RDL format.)
           1. Download the installation package for the Report Viewer from:
              http://www.microsoft.com/downloads/details.aspx?displaylang=en&Famil
              yID=8a166cac-758d-45c8-b637-dd7726e61367
           2. Save the downloaded file as ReportViewer.exe.
           3. We ran the program ReportViewer.exe to install the Report Viewer. The
              Welcome screen is displayed (Figure 4-28). Select Next.




           Figure 4-28 Welcome screen for the Report Viewer installation

           4. Accept the license agreement and select Install as in Figure 4-29.




                                                    Chapter 4. Installation and configuration   63
Figure 4-29 License agreement for the Report Viewer and install the software

               5. Once successfully installed, the Setup Complete window is displayed as in
                  Figure 4-30. Select Finish to end the installation.




               Figure 4-30 Successful installation of the Report Viewer


64   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
4.4 Installing server components
         Install the Report server using the Tivoli Usage and Accounting Manager
         enterprise edition Windows installation package. This package contains the
         Report server as well as the Tivoli Usage and Accounting Manager Application
         server software, the ISC, embedded WebSphere Application Server, and the
         DB2 Universal Database V9.1 runtime client.

         Make sure that you have the Microsoft Internet Information Server installed and
         active.

         All the following files must exist in the same directory:
            EmbeddedExpress_wintel_ia32.zip
            ISCAE71_4_EWASv61.zip
            setup-tuam-ee-7-1-0-wintel_ia32.exe
            setup-tuam-wpc-7-1-0-windows_32_64.exe
            v9fp2_ALL_LANG_setup_32.exe

         The installation steps are:
         1. Run the program setup-tuam-ee-7-1-0-wintel_ia32.exe to install the Report
            server. Select Next on the Welcome screen. Accept the license agreement
            and select Next as in Figure 4-31.




         Figure 4-31 License agreement for Tivoli Usage and Accounting Manager




                                                  Chapter 4. Installation and configuration   65
2. We installed the application server into the C:IBMtuam directory; see
                  Figure 4-32. The default directory is C:Program Filesibmtuam. Select Next.




               Figure 4-32 Define the installation directory for the Report server software

               3. Check the Windows Web Reporting option as shown in Figure 4-33. Select
                  Next.




               Figure 4-33 Select the Windows Web Reporting option




66   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
4. We chose the virtual directory option as shown in figure Figure 4-34. Select
   Next.




Figure 4-34 Select a new virtual directory for Web reports

5. Select Install on the summary information screen. The installation progress
   indicator is displayed.
6. A task is automatically initiated to unpack the installed files, shown in
   Figure 4-35.




                                          Chapter 4. Installation and configuration   67
Figure 4-35 Unpacking of the Application server software on the Report server

               7. Successful completion of the installation is indicated with the summary
                  information shown in Figure 4-36. Select Finish to end the installation.




               Figure 4-36 Successful installation of the Report server software




68   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
4.5 Installing Enterprise Collector Pack
         The Enterprise Collector Pack is a separate installable component that provides
         all available collections for usage data that are supported for the platform. The
         Enterprise Collector Pack must be installed on the machine with the Tivoli Usage
         and Accounting Manager Enterprise Edition. The installation is performed from
         the file setup-tuam-ecp-7-1-0-wintel_ia32.exe. The installation dialog is as
         follows:
         1. The Welcome window is shown in Figure 4-37. Click Next.




         Figure 4-37 Welcome dialog

         2. The license agreement is shown in Figure 4-38 on page 70. Accept the
            agreement and click Next.




                                                Chapter 4. Installation and configuration   69
Figure 4-38 License agreement

               3. The Enterprise Collector Pack is always installed in the directory that the
                  Enterprise Edition is installed in. Figure 4-39 shows the summary window for
                  the installation; click Install.




               Figure 4-39 Summary window

               4. When the installation completes, Figure 4-40 shows the completion dialog.



70   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-40 Completion dialog



4.6 Initial configuration
          There are several initial configurations that you need to do before you can use
          Tivoli Usage and Accounting Manager. These can be done from the Integrated
          Solution Console. Figure 4-41 on page 72 shows the console Welcome page.




                                                Chapter 4. Installation and configuration   71
Figure 4-41 Welcome page



                 Note: Tivoli Usage and Accounting Manager does not install the database We
                 created the database when we installed DB2 in 4.2, “Installing DB2” on
                 page 41.

                This section explains the following:
                   4.6.1, “Defining the JDBC driver” on page 72
                   4.6.2, “Defining data sources” on page 76
                   4.6.3, “Initializing the database” on page 78


4.6.1 Defining the JDBC driver
                The configuration of the JDBC driver for Tivoli Usage and Accounting Manager
                depends on the database software that has been installed. The DB2 Universal
                Database that we used comes with the JDBC drivers. We used the db2jcc.jar
                and db2jcc_license_cu.jar files. The following configures Tivoli Usage and
                Accounting Manager to use the JDBC driver:
                1. From the ISC menu, select Usage and Accounting Manager → System
                   Maintenance → Configuration. See Figure 4-42 on page 73.




72    Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-42 Configuring the JDBC driver

                2. In the Driver tab, click New to define the driver. Find the driver file in the tree
                   in Figure 4-43 on page 74. Click OK when done.




                                                         Chapter 4. Installation and configuration   73
Figure 4-43 Finding the JDBC driver

                3. The JDBC jar files are shown in Figure 4-44 on page 75. Click OK when
                   done.




74    Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-44 JDBC driver

                4. Figure 4-45 on page 76 shows the final JDBC driver configuration in our
                   system.




                                                     Chapter 4. Installation and configuration   75
Figure 4-45 Final JDBC driver configuration

                 5. After updating the JDBC driver, you should restart the Integrated Solution
                    Console. Use the commands:
                    C:IBMtuamewasbinstopServer.bat server1
                    C:IBMtuamewasbinstartServer.bat server1


4.6.2 Defining data sources
                 Once you have the definition of the JDBC drivers, you can define the data
                 sources. Using the ISC, add the data source. We added the Tivoli Usage and
                 Accounting Manager database as a Server data source as follows:
                 1. From the ISC menu, select Usage and Accounting Manager → System
                    Maintenance → Data Sources.
                 2. In the Data Source window, right-click the default data source and select Edit
                    DataSource. See Figure 4-46 on page 77.




76    Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-46 Editing the default data source

                 3. Figure 4-47 on page 78 shows the changes we made for the default data
                    source.




                                                     Chapter 4. Installation and configuration   77
Figure 4-47 Default data source

                 4. Figure 4-48 on page 78 shows that the changes completed.




                 Figure 4-48 Default data source changes


4.6.3 Initializing the database
                 Once the data source is defined, you must initialize the database. Initializing the
                 Tivoli Usage and Accounting Manager database creates and populates database
                 tables and other database objects. Initializing the database is invoked from the




78    Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
ISC and is performed against the databases that are identified as the default
administration data source.
1. To initialize the Tivoli Usage and Accounting Manager database using the
   ISC menu, we select Usage and Accounting Manager → System
   Maintenance → Database → Initialize Database; see Figure 4-49.




Figure 4-49 Initialize the database

2. Click Initialize Database. Confirm the dialog in Figure 4-50 and click Yes.




Figure 4-50 Confirmation dialog

3. Figure 4-51 shows that the initialization of the database is complete.




                                       Chapter 4. Installation and configuration   79
Figure 4-51 Initializing the database


4.6.4 Other configurations
               Once the database is initialized, the configuration dialog shows more options
               than just JDBC drivers, as shown in Figure 4-52 on page 81.




80   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-52 Configuration options

The Logging option is shown in Figure 4-53 on page 82.




                                     Chapter 4. Installation and configuration   81
Figure 4-53 Logging options

               Figure 4-54 on page 83 sets up the organization property in the CIMSCONFIG
               table.




82   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-54 Organization properties

                 Figure 4-55 on page 84 shows the job runner processing properties. These
                 properties are recorded in the CIMSCONFIGOPTION table. These directories
                 have to exist. We change the process definition path from the samples
                 sub-directory, so we have to create that directory.




                                                    Chapter 4. Installation and configuration   83
Figure 4-55 Processing properties

               Figure 4-56 on page 85 shows the reporting properties. We did not change any
               of the defaults.




84   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-56 Reporting properties



4.7 Installing Windows Process Collector
           The Windows Process Collector must be installed on the machines on which we
           are performing usage accounting. We now demonstrate the Windows Process
           Collector installation.


4.7.1 Manual installation process
           The Windows Process Collector is installed as follows:
           1. Manually install the Windows Process Collector by executing the
              setup-tuam-wpc-7-1-0-windows_32_64.exe file. Make sure that the setup.jar
              and wpc.rsp files are located in the directory from which you are running the
              installer, as shown in Figure 4-57.




                                                 Chapter 4. Installation and configuration   85
Figure 4-57 Manually execute the Windows Process data collector installer

               2. If a security warning is displayed, select Run.
               3. The Install wizard starts. Select Next in the Welcome window.
               4. Accept the license agreement and select Next.
               5. If required, modify the directory name of the installation path and select Next
                  (Figure 4-58.)




               Figure 4-58 Set the directory path for the Windows Process data collector

               6. If required, update the data collector configuration according to your
                  requirements, as shown in Figure 4-59. We accepted the defaults and
                  selected Next. The option to Start application after installation and during
                  reboot allows the job to run automatically.




86   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-59 Customize the Windows Process Collector

7. Review the summary information and select Install.
8. The installation progress window is displayed. Review the information in the
   summary information window and select Finish to complete the installation.
   Figure 4-60 shows the successful completion window.




Figure 4-60 Successful installation of the Windows Process Collector




                                         Chapter 4. Installation and configuration   87
4.7.2 Deploying with a job
                The Windows Process Collector can also be deployed with a job. The job is
                copied from the SampleDeployProcessCollector.xml file.
                1. Go to Usage and Accounting Manager → ChargeBack Maintenance →
                   JobRunner → Sample jobs and select the
                   SampleDeployProcessCollector.xml file as shown in Figure 4-61. Select the
                   XML file and press Ctrl-C to copy the content.




Figure 4-61 The SampleDeployProcessCollector.xml file

                2. Go to Usage and Accounting Manager → ChargeBack Maintenance →
                   JobRunner → Job files as shown in Figure 4-62 on page 89. Click New.




88    Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-62 New job file

                 3. Create a new job; we called it DeployProcessCollector.xml as shown in
                    Figure 4-63. Click OK.




                 Figure 4-63 Define a new job

                 4. When the job file is created, replace its content with the paste key Ctrl-V and
                    validate the job using Validate Job as shown in Figure 4-64 on page 90.




                                                        Chapter 4. Installation and configuration   89
Figure 4-64 Validated new job

                5. Modify the job by specifying the correct hostname, user ID, and password for
                   accessing the target machine. For deploying this, you must run the job on
                   another Windows machine. Click Run Job and answer the prompt in
                   Figure 4-65 on page 91.




90    Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 4-65 Job run options

6. After the job has completed successfully, you can check the result from
   Usage and Accounting Manager → ChargeBack Maintenance →
   JobRunner → Log files, as shown in Figure 4-66 on page 92.




                                      Chapter 4. Installation and configuration   91
Figure 4-66 Verifying the job result



                   Note: If you notice that the deployment took a long time, check whether there
                   is a process called vcredist_x86.exe running in the target machine. This may
                   be an incompatibility of the Tivoli Usage and Accounting Manager distributed
                   Visual C++® library and the Windows version that you are using. Stop the
                   process and install Visual C++ library SP1 from the Microsoft Web site.




92     Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
5


    Chapter 5.   Usage demonstration
                 This chapter explores the use of Tivoli Usage and Accounting Manager. We
                 demonstrate collecting Windows process accounting. The description is provided
                 in the following sections:
                     5.1, “Demonstration overview” on page 94
                     5.2, “Defining accounting resources” on page 95
                     5.3, “Running Windows collection” on page 102
                     5.4, “Loading Windows process data” on page 105
                     5.5, “Generating Windows reports” on page 112
                     5.6, “Additional demonstration scenarios” on page 117




© Copyright IBM Corp. 2008. All rights reserved.                                            93
5.1 Demonstration overview
               In the usage demonstration, we show the process of collecting usage data for the
               running Windows processes. These running processes are collected using the
               Windows process collection package of Tivoli Usage and Accounting Manager.
               The configuration is shown in Figure 5-1.



                                            tuamsrv
                                          DB2 UDB 9.1
                                Usage Accounting Manager 7.1 EE
                            Embedded WebSphere Application Server 6.1
                                   Integrated Solution Console
                               Usage Accounting Manager 7.1 ECP
                               Usage Accounting Manager 7.1 WPC
                                                z




                            twin01                           twin02
                    Windows Process Collector       Windows Process Collector



               Figure 5-1 Demonstration environment

               The demonstration should be performed after the collectors run for a day, so we
               recommend to run the demonstration the day after the installation completed.
               Some of the data collection files are written with the date changes. The steps are
               as follows:
               1. Configuring Tivoli Usage and Accounting Manager accounting resources is
                  discussed in 5.2, “Defining accounting resources” on page 95.
               2. Verifying that the Windows collection is running as shown in 5.3, “Running
                  Windows collection” on page 102.
               3. Configuring and running the data collection job as discussed in 5.4, “Loading
                  Windows process data” on page 105.
               4. Generating usage reports and sample invoices for the data is demonstrated
                  in 5.5, “Generating Windows reports” on page 112.

               Finally, in 5.6, “Additional demonstration scenarios” on page 117 we present
               some other possible demonstration scenarios that you may use, depending on
               client requirements.




94   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
5.2 Defining accounting resources
           In Tivoli Usage and Accounting Manager, you must prepare the environment for
           account processing. The following demonstrate some of the functions:
              5.2.1, “Working with the account code structure” on page 95
              5.2.2, “Setting up clients” on page 97
              5.2.3, “Rate table” on page 101


5.2.1 Working with the account code structure
           Account code is the primary identifier that signifies who should be billed for the
           specified system usage. The account code structure has to be defined early on
           before you perform any data collection and processing. All the data items are
           labelled by the account code, hence it would be very hard to change the
           structure. This section explains the usage of the account code in Tivoli Usage
           and Accounting Manager, which should help you to define the account code
           structure according to your needs.

           Account code is a string with a fixed width field that defines the hierarchy of the
           accounting breakdown. The fields are used to split the account string for
           charging different organizational entities. Figure 5-2 shows a sample account
           code and its relation to charging rate.


              Account code
                Client         Financial information      Application                               Host
                8 char               12 char                8 char                                 32 char
                  CSR record
                                                   VMWARE,20071025,20071025,00:00:00,23:59:59,1,

                         3,Feed,VM1,Account_Code,”ABCDEFG000012340000FINUSAGEsrv106.itsc.austin.ibm.com“,SYSTEM_ID,srv106,

                                                             2,VMCPUSY,200,VMDSKRD,345




                                                             Rate                                  Rate Group
                     Rate Table
                                                          VMCPUSY                                   VMware
                                                             Rate
                                                         VMDSKRD

                                                             Rate                                  Rate Group
                                                         WINCPUUS                                   Windows
                                                             Rate
                                                         WINDSKWR
                                                             Rate
                                                         WINMEMHI



           Figure 5-2 Sample account code with four parts and the rate code relationship


                                                                               Chapter 5. Usage demonstration                95
The first part of the account code is the Client, representing the top level of your
               organization. The other parts are hierarchical information for aggregating the
               data during reporting. All parts of the account code are used to search the clients
               table to get a rate table. The lookup is performed based on each level of the
               account code hierarchy level. If no match is found, it will use the STANDARD
               rate table. We can set up a specific rate table for any account, as needed. The
               rate in the specific rate table is matched to the resource name in the resources
               segment of the CSR file to get the appropriate rate information.

               Rates are also organized in rate groups. The rate group allows you to report
               summary usage based on rate groups. Each rate has the definitions about the
               format, type, conversion factor, and money value for all shifts.

                Restriction: Defining a new rate group using the ISC Rate menu is limited to
                eight characters. Using the ISC Rate Group menu, you can rename a group
                later or create longer names, such as the examples shipped with Tivoli Usage
                and Accounting Manager are using.

               If a rate has the type CPU, the normalization will be done for this value during
               billing based on the identifiers SYSTEM_ID and/or WORK_ID.

               The default account code structure is shown in Figure 5-3. This can be
               maintained using the Integrated Solutions Console (ISC) menu and selecting
               Usage and Accounting Manager → System Maintenance → Account Code
               Structure.




96   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 5-3 Default Tivoli Usage and Accounting Manager Account Code Structure

           The structure is adequate for our demonstration environment. However, for most
           production implementations, you may need a longer client name (the sample in
           Figure 5-2 on page 95 shows an 8-character client name).


5.2.2 Setting up clients
           Client information is used to map the existing account code into a selection of
           rate tables. Initially there is only one rate table, called STANDARD. You can see
           the client list under Usage and Accounting Manager → ChargeBack
           Maintenance → Clients. The default clients are shown in Figure 5-4.




                                                         Chapter 5. Usage demonstration    97
Figure 5-4 Default clients list

               In our demonstration, we do not need these clients, which are based on
               application names. It may be useful to change the client list into departmental
               names to generate a better illustration. We define a new client called WIN for our
               Windows process information. Click New and fill in the form in Figure 5-5.

                Note: The client is typically a department or a division within an enterprise. It
                can also be a real customer for a service provider environment. We use a
                department called WIN to represent Windows users.




98   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 5-5 New client name

We removed all other clients using Delete. The resulting client list is shown in
Figure 5-6.




Figure 5-6 The modified client list

Selecting WIN from the drop-down menu, we select Add Contact. Click New.
Figure 5-7 on page 100 shows the contact information entry.




                                              Chapter 5. Usage demonstration       99
Figure 5-7 Contact information

                 Figure 5-8 shows the updated contact list.




Figure 5-8 Contact list




100     Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
5.2.3 Rate table
           The rates are defined under Usage and Accounting Manage → ChargeBack
           Maintenance → Rates. We filter the rate table to show only the rates that start
           with WIN* as shown in Figure 5-9.




           Figure 5-9 Windows rate table

           In Figure 5-9, all the rates are defined in the STANDARD rate table.

           For reporting purposes, rates are grouped into rate groups. The menu Usage
           and Accounting Manage → ChargeBack Maintenance → Rate groups for
           Windows processing is shown in Figure 5-10 on page 102.




                                                       Chapter 5. Usage demonstration   101
Figure 5-10 Windows process rate group

              Now all the basic entities in Tivoli Usage and Accounting Manager have been
              explored and defined.



5.3 Running Windows collection
              We now describe the Windows collection processing.




102   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
5.3.1 Verifying the Windows process data collector installation
           Three techniques are used to verify the deployment, namely a directory listing, a
           listing of the services installed, and a display of an executing task. You perform
           these from the system where the Windows process data collector was installed.
              List the contents of the directory that contains the data collector software. Use
              the directory path specified during the install. The files located in the directory
              are listed in Figure 5-11.




           Figure 5-11 Directory listing of the Windows process data collector install path

              Using the Windows menus, select Control Panel → Administrative
              Tools → Services. Confirm that the Usage and Accounting Manager
              Process Collector has been added as a service, as shown in Figure 5-12.




                                                            Chapter 5. Usage demonstration    103
Figure 5-12 Tivoli Usage and Accounting Manager Windows collector service

                    Start the Windows Task Manager and select the Processes tab. Verify that
                    the WINPService.exe task is running, as indicated in Figure 5-13.




                Figure 5-13 Tivoli Usage and Accounting Manager executable



104     Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
5.3.2 Windows process data files
           The result of the collection are data files. These data files are located depending
           on the log file path parameter that is specified at installation time. A sample of a
           file list created by the Windows data collector is displayed in Figure 5-14.




           Figure 5-14 List of files created by the Windows data collector

           The file produced by the Windows data collector must be transferred to the
           processing server. These daily files should be transferred after midnight on the
           day they are produced, because the file is switched at midnight. Use the
           technique most suited to your environment to perform the transfer.

           If the processing server is a Windows-based machine, you can simply use a
           network share to connect and transfer, or run a FileTransfer step for Job Runner.
           If the processing server is not a Windows-based machine, you may need to use
           SSH to collect data from the Windows server. A non-Windows processing server
           requires that you use an Integrator program instead of WSF to process the data.
           The default processing out-of-the-box is using WSF. For an alternative use of an
           Integrator program for Windows processing data, see IBM Tivoli Usage and
           Accounting Manager V7.1 Handbook, SG24-7404. Once the data is in the
           processing server, you can start loading the data.



5.4 Loading Windows process data
           The loading process uses the Job Runner, which provides an XML-based batch
           job definition that allows multiple job steps. You can run the job using the



                                                           Chapter 5. Usage demonstration   105
startJobRunner command or from the Integrated Solution Console. You may
              also employ a job scheduling system to schedule the Job Runner execution.

              The discussion consists of the following:
                  5.4.1, “The data collection process” on page 106
                  5.4.2, “Account code mapping” on page 108
                  5.4.3, “Running the collection job” on page 111


5.4.1 The data collection process
              The SampleWinProcess.xml job supplied with Tivoli Usage and Accounting
              Manager uses the WinProcess.wsf. The WinProcess.wsf is a Windows script file
              that converts the input data to CSR format. This script will not work in a
              non-Windows processing server.

              The WinProcess.wsf script performs the following actions:
                  Extracts type “S” (start) and type “I” (interval) records.
                  Removes header and entries for System Idle Processes that are not used for
                  accounting purposes.
                  Formats the data into CSR format for output; input field mapping depends on
                  the record type.

              The overall processing flow is demonstrated in Figure 5-15. The complete listing
              of the job file is provided in Appendix A, “Sample listing” on page 135.




106   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Windows
                                      Process data

                                     Step 1 : WSF
                                    WinProcess.wsf


                                      20071008.txt


                                      Step 2 : Scan


                                     CurrentCSR.txt


                                    Step 3: Integrator
                              CreateIdentifierFromIdentifier
                                       DropFields
                                      CSR Output


                                      AcctCSR.txt


                                       Step 4 : Bill


                                      BillDetail.txt
                                    BillSummary.txt
                                         Ident.txt


                                    Step 5: DBLoad


Figure 5-15 Overview of Windows processing

The steps are:
1. Using WinProcess.wsf, map the process file into CSR format.
2. The scan process merges output files into a single file called CurrentCSR.txt.
3. The Integrator computes the account code and removes unused fields. In this
   case we drop the page fault (WINPGFLT) measurement, which generates the
   AcctCSR.txt file.
4. Billing processing allocates the resources, applies rates, and performs CPU
   normalization. It generates the summary, detail, and identifier files.
5. The billing files are loaded into the Tivoli Usage and Accounting Manager
   database.

In 5.4.2, “Account code mapping” on page 108, we present a bit more of the
account code processing since we wanted to demonstrate the account code
usage. This also requires a modification in the SampleWinProcess.xml job file.



                                                   Chapter 5. Usage demonstration   107
5.4.2 Account code mapping
              The default account code mapping for Windows process data is a concatenation
              from the fields Server and User. This may not be sufficient for most processing.
              The account code structure is shown in Figure 5-16.




              Figure 5-16 Account code structure

              We planned to use the mapping shown in Figure 5-17.


                                                                            “WIN “
                            Application (4)

                         Resource group (16)                         Mapping from the user
                                                                     name, to be either of:
                             Platform (16)                                SYSTEM
                                                                          DRIVER
                              Server (20)                                  USER


                                                                            Server



                                                                    Parsing of the User field



              Figure 5-17 Account code mapping




108   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
To generate this mapping, we performed the following integrator processing:
1. Defined static fields called appl and platform with the values of WIN and
   Windows using the stage CreateIdentifierFromValue.
2. Mapped the user name to the resource group using
   CreateIdentifierFromTable, which maps the executing user into the resource
   group. The conversion table that we used is shown in Example 5-1.

    Note: The conversion table format is three-part, comma-separated values.
    The first two values identify the source range (low to high) and the third
    value is the conversion output.

   Example 5-1 Conversion table
   NT A,NT z,SYSTEM
   Administrator,Administrator,ADMIN
   A,z,USER

3. Created the account code identifier using CreateIdentifierFromIdentifiers and
   mapped the identifier fields appl, resourcegroup, platform, and Feed.
4. Dropped unused fields using the DropFields stage, including dropping appl,
   platform, and resourcegroup fields as they have been recorded in the
   Account_Code field.

The overall integration stages are shown in Example 5-2.

Example 5-2 Integrator stage
<Integrator>
   <Input name=”CSRInput”>
      <Files><File name=”CurrentCSR.txt”></Files>
   </Input>
   <Stage name=”CreateIdentifierFromValue” active=”true”>
      <Identifiers>
         <Identifier name="appl" value="WIN"/>
         <Identifier name="platform" value="Windows”/>
      </Identifiers>
   </Stage>
   <Stage name=”CreateIdentifierFromTable” activ=”true”>
      <Identifiers>
         <Identifier name="resgroup">
            <FromIdentifiers>
               <FromIdentifier name="User" offset="1" length="16"/>
            </FromIdentifiers>
         </Identifier>



                                            Chapter 5. Usage demonstration     109
</Identifiers>
                    <Files>
                       <File name="Table.txt" type="table"/>
                       <File name="Excp.txt" type="exception" format="CSROutput"/>
                    </Files>
                    <Parameters>
                       <Parameter exceptionProcess="true"/>
                       <Parameter sort="true"/>
                       <Parameter upperCase="false"/>
                       <Parameter writeNoMatch="false"/>
                       <Parameter modifyIfExists="true"/>
                    </Parameters>
                 </Stage>
                 <Stage name="CreateIdentifierFromIdentifiers" active="true">
                    <Identifiers>
                       <Identifier name="Account_Code">
                          <FromIdentifiers>
                             <FromIdentifier name="appl" offset="1" length="4"/>
                             <FromIdentifier name="resgroup" offset="1" length="16"/>
                             <FromIdentifier name="Server" offset="1" length="16"/>
                             <FromIdentifier name="User" offset="1" length="20"/>
                          </FromIdentifiers>
                       </Identifier>
                    </Identifiers>
                    <Parameters>
                       <Parameter keepLength="true"/>
                       <Parameter modifyIfExists="true"/>
                    </Parameters>
                 </Stage>
                 <Stage name="DropFields" active="true">
                    <Fields>
                       <Field name="appl"/>
                       <Field name="platform"/>
                       <Field name="resgroup"/>
                       <Field name="WINPGFLT"/>
                    </Fields>
                 </Stage>
                 <Stage name="CSROutput" active="true">
                    <Files><File name="%ProcessFolder%/AcctCSR.txt"/></Files>
                 </Stage>
              </Integrator>




110   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
5.4.3 Running the collection job
           The collection job is created from the SampleWinProcess.xml sample. Use the
           copy process discussed in 4.7.2, “Deploying with a job” on page 88. Copy the
           content of SampleWinProcess.xml into a new job file called WinProcess.xml.

           Modify Step 3, the integrator step with the account code mapping logic from
           Example 5-2. Validate the job using the Validate Job button, and correct any
           syntax error in the job.

           Click Run Job to run the job. It should finish successfully. Again, correct any
           errors that you may encounter before proceeding. Figure 5-18 shows the output
           of the job.




           Figure 5-18 Job log result

           You can also see that the load is performed from the Load tracking detail, as
           shown in Figure 5-19 on page 112.




                                                       Chapter 5. Usage demonstration      111
Figure 5-19 Load tracking result



5.5 Generating Windows reports
                 Once the data is collected, we can start demonstrating the usage report. The
                 reporting application is based on user authentication from the Users setting. The
                 ISC definition of the default users is shown in Figure 5-20.




                 Figure 5-20 User list

                 The user group’s default definition is shown in Figure 5-21 on page 113.




112     Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 5-21 User group

The setting of a group determines access to the Financial Modeler feature. From
on the drop-down of the group and select Edit. See the setting in Figure 5-22.
We enable financial modeler and administrative access.




Figure 5-22 Group setting




                                           Chapter 5. Usage demonstration   113
The report is accessed using the URL:
                 http://tuamsrv/tuam

                 Log in using the userid admin and the default password password. See the login
                 steps in Figure 5-23.




Figure 5-23 Login to the Web reporting

                 We demonstrate some of the reports.
                    Figure 5-24 on page 115 shows the summary usage report in a cross table.




114     Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 5-24 Summary crosstab for usage

                   Figure 5-25 on page 116 shows the daily charges.




                                                         Chapter 5. Usage demonstration   115
Figure 5-25 Daily charges

                    Figure 5-26 on page 117 shows a generated invoice report.




116    Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 5-26 Invoice



5.6 Additional demonstration scenarios
                Tivoli Usage and Accounting Manager provides a wide range of data collection
                and processing routines. You may want to demonstrate some other data
                collection capabilities. Some important collections that you may want to consider
                are:




                                                            Chapter 5. Usage demonstration   117
Other platforms that you may want to collect usage accounting from, such as
                  a Linux or UNIX platform.
                  Virtualization environment accounting, such as System p™ partitioning or
                  VMware ESX server.
                  Application-specific collection, such as Lotus Notes application usage and
                  size, SAP data or others.
                  User-defined data collection, which may be the toughest option, but with the
                  appropriate experience, this can demonstrate the best flexible solution that
                  Tivoli Usage and Accounting Manager can offer.

              One important aspect of running these demonstrations is the mapping of the
              Account Code, which must be carefully considered because this provides the
              best way of illustrating charge breakdown of the usage data.



5.7 Financial Modeler
              The Financial Modeler is a spreadsheet model that allows manipulation of
              financial cost and budget calculations. It performs analysis that can lead to
              correction of the rate table.

              This section walks you through the steps of using the Financial Modeler. In this
              sample, we are working with the following:
                  A budget system that has 2 pools— 200,000 for mainframe maintenance and
                  250,000 for distributed systems.
                  We analyze z/OS, Windows and UNIX server rates; we assume CPU usage
                  is the chargeback criteria.
              1. Logging into the Financial Modeler
                  – The URL for our Financial Modeler is:
                    http://tuamsrv/FinancialModeler
                  – Log in with the user ID and password that has access to the Financial
                    Modeler; we use the admin user.
                  – Click Cancel when prompted for opening a model, because we will create
                    a new model. See the steps in Figure 5-27 on page 119.




118   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 5-27 Starting Financial Modeler

2. Creating a new model wizard by clicking New; see Figure 5-28 on page 120.
   The wizard collects information about:
   – Budget pools
   – Budget subpools
   – Rate codes




                                         Chapter 5. Usage demonstration   119
Figure 5-28 Model creation wizard

              3. Working with the allocation view. Once the model is created, we get the
                 spreadsheet view. The view has 4 tabs, which are:
                  – Budget values - this allows the budget to be entered; see Figure 5-29 on
                    page 121.




120   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 5-29 Budget values

                    – Percent allocation - assign percentage values for the rate group from the
                      budget subpools; see Figure 5-30.




Figure 5-30 Rate allocation




                                                            Chapter 5. Usage demonstration   121
Note: A subpool relates to one or more Rate Codes. You can choose
                         any percentage you want; but make sure it adds up to 100%.

                    – Cost calculations - from the allocation, the modeler calculates the amount
                      for the period for each resource; see Figure 5-31.




Figure 5-31 Cost calculation

                    – Rate calculation - the usage data is then retrieved from the database to
                      match the budget allocation; see Figure 5-32 on page 123. The value can
                      be refreshed after changing the date selection using Calculate Rates.
                      The computed values are shown in the yellow-shaded background.




122     Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Figure 5-32 Rate calculation



                         Note: The default rate calculation calculates for a zero profit. Adjust the
                         time period that you retrieved the data from. You can change the uplift
                         Factor to adjust the rate. Click on Update Rates to save the calculated
                         rates.

                 4. Saving the model - click Save.




                                                               Chapter 5. Usage demonstration    123
124   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
6


    Chapter 6.   Troubleshooting hints and
                 tips
                 This chapter provides some tips on problem solving when using Tivoli Usage and
                 Accounting Manager. The discussion is divided into:
                     6.1, “General logging and tracing options” on page 126
                     6.2, “Installation and configuration details” on page 128
                     6.3, “Integrated Solution Console debugging” on page 128
                     6.4, “Job Runner debugging” on page 130
                     6.5, “Quick finder for trace and log information” on page 132




© Copyright IBM Corp. 2008. All rights reserved.                                           125
6.1 General logging and tracing options
                The logging and tracing settings for Tivoli Usage and Accounting Manager are
                stored in the logging.properties configuration file, which is located in
                /opt/ibm/tuam/config.

                The logging.properties file can be accessed from the Integrated Solution
                Console (ISC) Web interface in the Configuration page, as shown in Figure 6-1,
                by selecting Usage and Accounting Manager → System Maintenance →
                Configuration → Logging.




Figure 6-1 Logging options

                You can set the file size for tracing and logging files, number of generations, and
                logging levels. These trace files are written to the /opt/ibm/tuam/logs/server
                directory.

                Our sample logging.properties file is shown in Example 6-1.

                Example 6-1 Sample logging.properties
                #Oct 31, 2007 12:16:08 PM



126    Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
handlers=com.ibm.tivoli.ituam.logger.MessageFileHandler,com.ibm.tivoli.
ituam.logger.TraceFileHandler
.level=FINEST
com.ibm.tivoli.tuam.logger.MessageFileHandler.append=true
com.ibm.tivoli.tuam.logger.MessageFileHandler.count=11
com.ibm.tivoli.tuam.logger.MessageFileHandler.formatter=java.util.loggi
ng.SimpleFormatter
com.ibm.tivoli.tuam.logger.MessageFileHandler.level=INFO
com.ibm.tivoli.tuam.logger.MessageFileHandler.limit=10000000
com.ibm.tivoli.tuam.logger.MessageFileHandler.pattern=C:/ibm/tuam/logs/
server/message%g.log
com.ibm.tivoli.tuam.logger.TraceFileHandler.append=true
com.ibm.tivoli.tuam.logger.TraceFileHandler.count=11
com.ibm.tivoli.tuam.logger.TraceFileHandler.formatter=java.util.logging
.SimpleFormatter
com.ibm.tivoli.tuam.logger.TraceFileHandler.level=FINEST
com.ibm.tivoli.tuam.logger.TraceFileHandler.limit=10000000
com.ibm.tivoli.tuam.logger.TraceFileHandler.pattern=C:/ibm/tuam/logs/se
rver/trace%g.log

As indicated in Example 6-1, the settings are for the message file and trace file.
The settings include:
append             Whether to append to the log files after a restart
count              Number of generations of the log file
formatter          Log file formatter class
level              Level of logging to be recorded in this type of log
limit              File size limit, before a new generation is created
pattern            File name of the log file, the default is using Trace%g.log or
                   Message%g.log (%g indicates the generation number)

The trace and log files are written from the Integrated Solution Console and job
processes. Every time a process is accessing the trace or message file, a lock
file (.lck) is created. If another process wants to write to a log file, it creates an
additional trace file with a numbered suffix.

The trace and message log files name is in the format <type><n>.log.<m>;
where:
type           Message or trace
n              Archived log file serial number; the current log has the serial
               number of 0
m              Number entries for different processes that write log files



                                       Chapter 6. Troubleshooting hints and tips   127
The reporting application uses a different log file called trace_net0.log. This is
              generated from the application under the Microsoft Internet Information Server.



6.2 Installation and configuration details
              The installation process has a different logging default than the program itself. It
              is typically the Tivoli common logging directory, which in Windows is
              Program FilesibmtivolicommonAUClogsinstall. However, in UNIX it is
              /opt/ibm/tivoli/common/AUC/logs/install.

              The log file for the Enterprise Edition and Enterprise Collector Pack is called
              TUAMInstall.log. In Windows, there is an additional DB2RTCInstall.log file for the
              DB2 UDB V9.1 run time client. The Windows Process Collector creates an
              additional log file called WPCInstall.log.

              The installation stages for the Enterprise Edition are performed mostly from the
              setupconsole directory:
              1. The files are transferred into the installation directory.
              2. The wizard installs an embedded WebSphere Application Server and the
                 Integrated Solution Console, which is performed by simply unzipping the
                 EmbeddedExpress and ISCAE71 zip files.
              3. The wizard deploys the Tivoli Usage and Accounting Manager application
                 using the deployTUAM.bat command to run deployTUAMConsole.py, which
                 installs the aucConsole.war file.
              4. In Windows only, the wizard invokes db2rtc.bat to install the DB2 runtime
                 client.
              5. Post installation is performed using the tuamPostInstall.bat. In Windows, it
                 installs the report application using iisconfig.vbs, and installation of the
                 FinancialModeler using financialModelerConfig.bat.



6.3 Integrated Solution Console debugging
              The Integrated Solution Console is based on a WebSphere Application Server.
              Apart from the standard Tivoli Usage and Accounting Manager logging files,
              some information can also be retrieved from the WebSphere logs.

              WebSphere logs are the standard output and standard error of the WebSphere’s
              JVM™. These are in $TUAM_home/ewas/profiles/AppSrv01/logs/server1 with
              the file name of SystemOut.log and SystemErr.log, respectively.



128   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Doing configuration tasks, you might get a message as in Figure 6-2. You should
check for the Tivoli Usage and Accounting Manager server logs first. Then you
might need to check your database logs. In certain cases it might help to watch
for the WebSphere logs, to get some information on connectivity.




Figure 6-2 Error message about a database task

For some messages (see Figure 6-3) you may not need to watch for details in the
log.




                                     Chapter 6. Troubleshooting hints and tips   129
Figure 6-3 Error message about a configuration task



6.4 Job Runner debugging
                 For the Tivoli Usage and Accounting Manager processing engine, the trace
                 option can be set, in addition, in the XML job files at the step and stage level.
                    Acct step parameter trace=”true”
                    Bill step parameter trace=”true”
                    Integrator step will set it on the stage level: <Stage name="function"
                    trace="true">
                    For the Integrator collector section, use <parameter name=”trace” value=”on”
                    />

                  Note: The trace options are not consistent yet, so you may try using upper or
                  lowercase and ON instead of true in some cases.




130     Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Two types of output are produced when a job is running:
   A Job Runner log file, which is located in the /opt/ibm/tuam/logs/jobrunner
   directory in a directory named according to the Job ID parameter value in the
   job file. The XML version is for the ISC to display the log file, and a text
   version can be used for searching on the command line level or viewing with
   an editor.
   The Trace and message files, located in the /opt/ibm/tuam/logs/server
   directory, are active for the entire life of the application server running under
   the embedded WebSphere Application Server.

Running a job from the ISC, failures will cause an error message as shown in
Figure 6-4.




Figure 6-4 Error message due to a job failure

Fore more details, we can search the log files shown in Figure 6-5.


 [root@srv105 /]# cd /opt/ibm/tuam/logs/jobrunner/AIXAA_aggregated
 [root@srv105 AIXAA_aggregated]# ls -tr *txt | tail -3 | while read file ; do grep -E
 .*AUCJR003[1-2].* $file; done
 11/5/07 13:32:11.197: INFORMATION    AUCJR0032I The job AIXAA_aggregated completed at
 Nov 5, 2007 1:32:11 PM with 1 warning, 0 errors.
 11/5/07 13:52:47.560: INFORMATION      AUCJR0031I The AIXAA_aggregated process
 completed successfully at the following time: Nov 5, 2007 1:52:47 PM.
 11/5/07 13:53:44.934: INFORMATION    AUCJR0032I The job AIXAA_aggregated completed at
 Nov 5, 2007 1:53:44 PM with 0 warnings, 1 error.
 [root@srv105 AIXAA_aggregated]# ls -tr *txt | tail -1 | while read file ; do echo
 $file ; grep -i warn $file | wc -l; grep -i error $file | wc -l ; done
 20071105_135342.txt
 4 # shows the # of warnings
 8 # shows the # of errors

Figure 6-5 Searching the logs on the command line level

For detailed analysis of the last log, you might issue the command:
ls -tr | tail -1 | while read file; do more $file; done




                                       Chapter 6. Troubleshooting hints and tips    131
6.5 Quick finder for trace and log information
              Table 6-1 is a summary of where to change settings and search for files.

              Table 6-1 Overview for trace and log files
                Path or file name                           Function

                /opt/ibm/tuam/logs/jobrunner/<JobId>
                Job runner log files separated per JobID

                <timestamp>.txt                             Job log output

                <timestamp>.xml                             Job log for use with the ISC

                /opt/ibm/tuam/logs/server/
                Tivoli Usage and Accounting Manager trace and log files

                message0.log                                Messages from tuam processing, where
                message<g>.log<#>                           <g> = generation and <#> = instance.

                trace0.log                                  Trace details for tuam processing, where
                trace<g>.log<#>                             <g> = generation and <#> = instance.

                *.lck                                       lock files for trace and log coordination

                trace_net0.log                              Trace for the reporting server on Windows
                                                            only.

                /opt/ibm/tuam/ewas/profiles/AppSrv01SystemOut.log/logs/server1
                WebSphere and Integrated Solutions Console (ISC) files

                SystemOut.log                               WebSphere messages

                SystemErr.log                               WebSphere error log

                /opt/ibm/tuam/config
                Tivoli Usage and Accounting Manager config files

                logging.properties                          settings for trace and message files

                jdk_logging.properties                      not used with version 7.1

                /opt/ibm/tivoli/common/AUC/logs/install
                Installation and uninstallation log files




132   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Part 3


Part       3     Appendixes




© Copyright IBM Corp. 2008. All rights reserved.        133
134   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
A


  Appendix A.    Sample listing
                 The listings are:
                     “Sample Windows load job” on page 136
                     “Sample Windows process collector job” on page 140




© Copyright IBM Corp. 2008. All rights reserved.                              135
Sample Windows load job
              <?xml version=”1.0” encoding=”utf-8”?>
              <!--
               ***************************************************************
              {COPYRIGHT-TOP}
               * Licensed Materials - Property of IBM
               * IBM Tivoli Usage and Accounting Manager
               * 5724-O33, 5765-UAV, 5765-UA7, 44E7863
               * (c) Copyright IBM Corp. 2004, 2007
               *
               * The source code for this program is not published or otherwise
               * divested of its trade secrets, irrespective of what has been
               * deposited with the U.S. Copyright Office.
               ****************************************************************
              {COPYRIGHT-END}
               -->
              <Jobs xmlns=”http://www.ibm.com/TUAMJobs.xsd”>
                   <Job    id=”SampleWinProcess”
                           description=”Daily collection”
                           active=”true”
                           joblogShowStepParameters=”true”
                           joblogShowStepOutput=”true”
                           processPriorityClass=”Low”
                           joblogWriteToTextFile=”true”
                           joblogWriteToXMLFile=”true”
                           smtpSendJobLog=”true”
                           smtpServer=”mail.ITUAMCustomerCompany.com”
                           smtpFrom=”ITUAM@ITUAMCustomerCompany.com”
                           smtpTo=”John.ITUAMUser@ITUAMCustomerCompany.com”
                           stopOnProcessFailure=”false”>
                        <Process    id=”WinProcess”
                                    description=”Process for Windows Process
              Collection”
                                    active=”true”>
                           <Steps stopOnStepFailure=”true”>
                              <Step    id=”Server1 Collection”
                                       description=”Server1 WinProcess”
                                       type=”ConvertToCSR”
                                       programName=”WinProcess/WinProcess.wsf”
                                       programType=”wsf”
                                       active=”true”>
                                    <Parameters>
                                        <Parameter Feed=”Server1”/>



136   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
<Parameter
LogFolder=”%CollectorLogs%/WinProcess”/>
                      </Parameters>
                </Step>
                <Step    id=”Scan”
                         description=”Scan WinProcess”
                         type=”Process”
                         programName=”Scan”
                         programType=”java”
                         active=”true”>
                      <Parameters>
                          <Parameter retainFileDate=”false”/>
                          <Parameter allowMissingFiles=”false”/>
                          <Parameter allowEmptyFiles=”false”/>
                          <Parameter useStepFiles=”false”/>
                    </Parameters>
                </Step>
                <Step    id=”Integrator”
                          description=”Standard Processing for
WinProcess”
                          type=”Process”
                          programName=”integrator”
                          programType=”java”
                          active=”true”>
<Integrator>
   <Input name=”CSRInput”>
      <Files><File name=”%ProcessFolder%/CurrentCSR.txt”/></Files>
   </Input>
   <Stage name=”CreateIdentifierFromValue” active=”true”>
      <Identifiers>
         <Identifier name=”appl” value=”WIN”/>
         <Identifier name=”platform” value=”Windows”/>
      </Identifiers>
   </Stage>
   <Stage name=”CreateIdentifierFromRegEx” active=”true”>
      <Identifiers>
         <Identifier name=”ntuser”>
             <FromIdentifiers>
                <FromIdentifier name=”User” regEx=”(w+)(w+)”
value=”$2”/>
             </FromIdentifiers>
         </Identifier>
      </Identifiers>
      <Parameters>
         <Parameter keepLength=”true”/>


                                           Appendix A. Sample listing   137
<Parameter modifyIfExists=”true”/>
                    </Parameters>
                 </Stage>
                 <Stage name=”CreateIdentifierFromTable” active=”true”>
                    <Identifiers>
                       <Identifier name=”resgroup”>
                          <FromIdentifiers>
                             <FromIdentifier name=”ntuser” offset=”1” length=”16”/>
                          </FromIdentifiers>
                       </Identifier>
                    </Identifiers>
                    <Files>
                       <File name=”%ProcessFolder%/Table.txt” type=”table”/>
                       <File name=”%ProcessFolder%/Excp.txt” type=”exception”
              format=”CSROutput”/>
                    </Files>
                    <Parameters>
                       <Parameter exceptionProcess=”true”/>
                       <Parameter sort=”true”/>
                       <Parameter upperCase=”false”/>
                       <Parameter writeNoMatch=”false”/>
                       <Parameter modifyIfExists=”true”/>
                    </Parameters>
                 </Stage>
                 <Stage name=”CreateIdentifierFromIdentifiers” active=”true”>
                    <Identifiers>
                       <Identifier name=”Feed”>
                          <FromIdentifiers>
                             <FromIdentifier name=”Server” offset=”1”/>
                          </FromIdentifiers>
                       </Identifier>
                    </Identifiers>
                    <Parameters>
                       <Parameter keepLength=”true”/>
                       <Parameter modifyIfExists=”true”/>
                    </Parameters>
                 </Stage>
                 <Stage name=”CreateIdentifierFromIdentifiers” active=”true”>
                    <Identifiers>
                       <Identifier name=”Account_Code”>
                          <FromIdentifiers>
                             <FromIdentifier name=”appl” offset=”1” length=”4”/>
                             <FromIdentifier name=”resgroup” offset=”1” length=”16”/>
                             <FromIdentifier name=”Server” offset=”1” length=”16”/>
                             <FromIdentifier name=”ntuser” offset=”1” length=”20”/>


138   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
</FromIdentifiers>
         </Identifier>
      </Identifiers>
      <Parameters>
         <Parameter keepLength=”true”/>
         <Parameter modifyIfExists=”true”/>
      </Parameters>
   </Stage>
   <Stage name=”DropFields” active=”true”>
      <Fields>
         <Field name=”appl”/>
         <Field name=”platform”/>
         <Field name=”resgroup”/>
         <Field name=”ntuser”/>
         <Field name=”WINPGFLT”/>
      </Fields>
   </Stage>
   <Stage name=”CSROutput” active=”true”>
      <Files><File name=”%ProcessFolder%/AcctCSR.txt”/></Files>
   </Stage>
</Integrator>
                </Step>
                <Step    id=”Process”
                         description=”Standard Processing for
WinProcess”
                         type=”Process”
                         programName=”Bill”
                         programType=”java”
                         active=”true”>
            <Bill>
                <Parameters>
                         </Parameters>
                     </Bill>
                </Step>
                <Step    id=”DatabaseLoad”
                         description=”Database Load for WinProcess”
                         type=”Process”
                         programName=”DBLoad”
                         programType=”java”
                         active=”true”>
            <DBLoad>
                <Parameters>
                         </Parameters>
                     </DBLoad>
                </Step>


                                           Appendix A. Sample listing   139
<Step   id=”Cleanup”
                                        description=”Cleanup WinProcess”
                                        type=”Process”
                                        programName=”Cleanup”
                                        programType=”java”
                                        active=”false”>
                                     <Parameters>
                                         <Parameter DaysToRetainFiles=”45”/>
                                     </Parameters>
                               </Step>
                            </Steps>
                         </Process>

                   </Job>
              </Jobs>



Sample Windows process collector job
              <?xml version=”1.0” encoding=”utf-8”?>
              <!--
               ***************************************************************
              {COPYRIGHT-TOP}
               * Licensed Materials - Property of IBM
               * IBM Tivoli Usage and Accounting Manager
               * 5724-O33, 5765-UAV, 5765-UA7, 44E7863
               * (c) Copyright IBM Corp. 2004, 2007
               *
               * The source code for this program is not published or otherwise
               * divested of its trade secrets, irrespective of what has been
               * deposited with the U.S. Copyright Office.
               ****************************************************************
              {COPYRIGHT-END}
              -->
              <Jobs xmlns=”http://www.ibm.com/TUAMJobs.xsd”>
                   <Job   id=”DeployProcessCollector”
                          description=”Deploy the Process Collector Agent”
                          active=”true”
                          joblogShowStepParameters=”true”
                          joblogShowStepOutput=”true”
                          processPriorityClass=”Low”
                          joblogWriteToTextFile=”true”
                          joblogWriteToXMLFile=”true”
                          smtpSendJobLog=”false”


140   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
smtpServer=”mail.ITUAMCustomerCompany.com”
             smtpFrom=”ITUAM@ITUAMCustomerCompany.com”
             smtpTo=”John.ITUAMUser@ITUAMCustomerCompany.com”
             stopOnProcessFailure=”false”>

         <Process    id=”DeployProcessCollector”
                     description=”Deployment of the Process Collector
Agent”
                     joblogShowStepOutput=”true”
                     joblogShowStepParameters=”true”
                     active=”true”>

            <Steps stopOnStepFailure=”true”>
                <Step   id=”Server1 Deployment”
                        description=”Server1 Deployment”
                        type=”ConvertToCSR”
                        programName=”rpd”
                        programType=”java”
                        active=”true”>
                    <Parameters>
                        <Parameter Action            = “install”/>
                        <Parameter Host              = “twin01”/>
                        <Parameter UserId            = “Administrator”/>
                        <Parameter Password          = “its0g00d”/>
                        <!--Parameter KeyFilename      =
“yourkeyfilename”/-->
                        <Parameter Protocol         = “win”/>
                        <!--Parameter RPDParameters      =
“AccountingInterval=86400;AccountingIntervalCommand=
;AccountingIntervalTime=00:00;LogFileExtension=.txt;LogFilePath=%ITUAMI
nstallPathRemote%CIMSWinProcessLogs;LogFilePrefix=CIMSProcessLog-;Sampl
ingInterval=1;UseAccountingIntervalTime=No;UseLocalTime=Yes;WriteInterv
alEndRecords=No;”/-->
                        <Parameter Verbose           = “true”/>
                        <Parameter SourcePath        =
“%HomePath%/collectors/winprocess”/>

                        <!-- Note: For 32-bit systems, use the
following Manifest tag. -->
                        <Parameter Manifest         =
“32bit/DeploymentManifest.xml”/>

                        <!-- Note: For X64 64-bit systems, comment out
the 32 bit Manifest tag (above), and uncomment the following line. -->



                                            Appendix A. Sample listing   141
<!--Parameter Manifest                 =
              “64bit/DeploymentManifestX64.xml”/-->
                                   </Parameters>
                             </Step>
                          </Steps>
                      </Process>

                        <Process     id=”RemoveProcessCollector”
                                     description=”Removal of the Process Collector
              Agent”
                                     joblogShowStepOutput=”true”
                                     joblogShowStepParameters=”true”
                                     active=”false”>

                          <Steps stopOnStepFailure=”true”>
                              <Step   id=”Server1 Removal”
                                      description=”Server1 Removal”
                                      type=”ConvertToCSR”
                                      programName=”rpd”
                                      programType=”java”
                                      active=”true”>
                                  <Parameters>
                                      <Parameter Action         = “remove”/>
                                      <Parameter Host           = “test-remove”/>
                                      <Parameter UserId         = “someid”/>
                                      <Parameter Password       = “somepassword”/>
                                      <!--Parameter KeyFilename =
              “yourkeyfilename”/-->
                                      <!--Parameter Protocol    = “win | ssh”/-->
                                      <Parameter Verbose        = “true”/>
                                      <Parameter SourcePath     =
              “%HomePath%/collectors/winprocess”/>

                                      <!-- Note: For 32-bit systems, use the
              following Manifest tag. -->
                                      <Parameter Manifest       =
              “32bit/DeploymentManifest.xml”/>

                                       <!-- Note: For X64 64-bit systems, comment out
              the 32 bit Manifest tag (above), and uncomment the following line. -->
                                       <!--Parameter Manifest =
              “64bit/DeploymentManifestX64.xml”/-->
                                   </Parameters>
                              </Step>
                          </Steps>


142   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
</Process>
    </Job>
</Jobs>




                     Appendix A. Sample listing   143
144   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
B


  Appendix B.    Additional material
                 This book refers to additional material that can be downloaded from the Internet
                 as described below.



Locating the Web material
                 The Web material associated with this book is available in softcopy on the
                 Internet from the IBM Redbooks Web server. Point your Web browser at:
                 ftp://www.redbooks.ibm.com/redbooks/SG247569

                 Alternatively, you can go to the IBM Redbooks Web site at:
                 ibm.com/redbooks

                 Select the Additional materials and open the directory that corresponds with
                 the IBM Redbooks form number, SG247569.




© Copyright IBM Corp. 2008. All rights reserved.                                              145
Using the Web material
              The additional Web material that accompanies this book includes the following
              files:
              File name               Description
              SG247569.zip            Zipped code samples


System requirements for downloading the Web material
              The Web material is used in conjunction with the IBM Tivoli Usage and
              Accounting Manager. You should follow the hardware requirement for the
              product. The Web material itself used:
              Hard disk space:        20 KB


How to use the Web material
              Create a subdirectory (folder) on your workstation, and unzip the contents of the
              Web material zip file into this folder.




146   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Abbreviations and acronyms
AIX                  Advanced Interactive
                     eXecutive
BIRT                 Business Intelligence and
                     Reporting Tool
CPU                  Central Processing Unit
CSR                  Common Source Format
FTP                  File Transfer Protocol
GB                   Giga bytes
HTTP                 Hyper Text Transfer Protocol
I/O                  Input Output
IBM                  International Business
                     Machine Corp.
IIS                  Internet Information Server
IP                   Internet Protocol
ISC                  Integrated Solution Console
IT                   Information Technology
ITIL                 IT Infrastructure Library
ITSO                 International Technical
                     Support Organization
JDBC                 Java Data Base Connectivity
JVM                  Java Virtual Machine
LPAR                 Logical Partition
MB                   Mega Byte
OGC                  Office of Goverment
                     Commerce
OS                   Operating System
ROI                  Return on Investment
SQL                  Structured Query Language
SSH                  Secure Shell
UDB                  Universal Database
URL                  Universal Resource Locator
WSF                  Windows Script File
XML                  eXtended Markup Language




© Copyright IBM Corp. 2008. All rights reserved.    147
148   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Related publications

                 The publications listed in this section are considered particularly suitable for a
                 more detailed discussion of the topics covered in this book.



IBM Redbooks
                 For information about ordering these publications, see “How to get Redbooks” on
                 page 150. Note that some of the documents referenced here may be available in
                 softcopy only.
                     IBM Tivoli Usage and Accounting Manager V7.1 Handbook, SG24-7404
                     Accounting and Chargeback with Tivoli Decision Support for OS/390,
                     SG24-6044



Other publications
                 These publications are also relevant as further information sources:
                     Tivoli Usage and Accounting Manager Quick Start Guide, GC23-6188



Online resources
                 These Web sites are also relevant as further information sources:
                     Tivoli Usage and Accounting Manager publication center
                     http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/index.jsp?top
                     ic=/com.ibm.ituam.doc_7.1/welcome.htm
                     Tivoli Usage and Accounting Manager Web site
                     http://www-306.ibm.com/software/tivoli/products/usage-accounting/




© Copyright IBM Corp. 2008. All rights reserved.                                                  149
How to get Redbooks
              You can search for, view, or download Redbooks, Redpapers, Technotes, draft
              publications and Additional materials, as well as order hardcopy Redbooks, at
              this Web site:
              ibm.com/redbooks



Help from IBM
              IBM Support and downloads
              ibm.com/support

              IBM Global Services
              ibm.com/services




150   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Index

Symbols                                            D
                                                   daily charges 115
/opt/ibm/tivoli/common/AUC/logs/install. 128
                                                   data sizing 21
/opt/ibm/tuam/config 126
                                                   database size 21
/opt/ibm/tuam/logs/jobrunner 131
                                                   db2rtc.bat command 128
/opt/ibm/tuam/logs/server 126, 131
                                                   demonstration 35
                                                   demonstration scenarios 117
A                                                  DeployProcessCollector.xml 89
Account code 95                                    deployTUAM.bat 128
account code mapping 108                           deployTUAMConsole.py 128
Account_Code 16                                    description 32
AcctCSR 22
application server 11
assumptions 32                                     E
                                                   EmbeddedExpress 128
                                                   environment preparation 34
B                                                  Extensible Markup Language, see XML
Billing detail 22                                  eXtensible Markup Language, see XML
Billing summary 22
BIRT 8, 12
budget calculation 118                             F
                                                   Feed 16
Business Intelligence and Reporting Tools, see
                                                   files
BIRT
                                                        C
                                                            IBMuamewasbinstartServer.bat 76
C                                                           IBMuamewasbinstopServer.bat 76
Client 96                                               DeployProcessCollector.xml 89
commands                                                deployTUAM.bat 128
    db2rtc.bat 128                                      deployTUAMConsole.py 128
    ls 131                                              trace_net0.log 128
    setup.exe 41                                        WinPServices.exe 104
    startJobRunner 106                                  WPCInstall.log 128
    startServer.bat 76                             Financial Modeler
    stopServer.bat 76                                   feature 113
Common Source Format, see CSR                      financial modeler 118
Common Source Resource, see CSR
configuration 94
cost calculation 118                               G
                                                   group access 113
crosstab 115
CSR 13–14, 32
CSR format 106                                     H
CSR Plus Header 15                                 hardware prerequisites 18
CSR+ records 14                                    headeraccountcode 15
CSRInput 109                                       headeraccountcodelength 15
                                                   headerenddate 15



© Copyright IBM Corp. 2008. All rights reserved.                                              151
headerendtime 15                                   O
headerrectype 15                                   Office of Government Commerce, see OGC
headershiftcode 15                                 OGC 4
headerstartdate 15                                 operating system 34
headerstarttime 15                                 organizational entity 95

I                                                  P
Identifier table 22                                paths
Identifiers 15                                         /opt/ibm/tivoli/common/AUC/logs/install. 128
IIS 8, 55                                              /opt/ibm/tuam/config 126
implementation skills 32                               /opt/ibm/tuam/logs/jobrunner 131
implementation tasks 33                                /opt/ibm/tuam/logs/server 126, 131
installation                                       prerequisites 18
    configuration 94                               Process Engine 12
Integrated Solution Console, see ISC               project initiation 33
Integrated Solutions Console, see ISC
Integrator 109
Internet Information Services, see IIS             R
                                                   rate groups 96
Internet Security and Acceleration, see ISA
                                                   Rate Table 96
ISA 9
                                                   Redbooks Web site 150
ISC 11, 32, 96, 126
                                                       Contact us xi
ISCAE71 128
                                                   Resource utilization 22
IT Infrastructure Library®, see ITIL
                                                   Resources 15
ITCAM for Response Time
                                                   Return of Investment, see ROI
    implementation tasks 33
                                                   ROI 6
ITIL 4


J                                                  S
                                                   SampleWinProcess.xml 106
Job
                                                   setup.exe command 41
    validate 111
                                                   sizing consideration 21
job files 130
                                                   skill transfer 35
job result 92
                                                   skills 32
                                                   software prerequisites 18
K                                                  solution assumptions 32
kick off 33                                        solution demonstration 35
                                                   solution descriptions 32
                                                   spreadsheet 118
L
ls command 131                                     startJobRunner command 106
                                                   startServer.bat 76
                                                   stopServer.bat 76
M                                                  SYSTEM_ID 16
message log files 127
Model creation wizard 120
                                                   T
                                                   Tivoli Usage and Accounting Manager skills 32
N                                                  trace log files 127
network connectivity 34                            trace_net0.log 128




152     Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
W
Windows process data
   data files 105
   loading 105
Windows reports 112
WINPGFLT 107
WinProcess.wsf 107
WINPService.exe 104
WORK_ID 16
WPCInstall.log 128


X
XML 12




                       Index   153
154   Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
Deployment Guide Series: IBM Tivoli Usage and Accounting Manager
                                                                      (0.2”spine)
                                                                    0.17”<->0.473”
                                                                   90<->249 pages
Deployment guide series ibm tivoli usage and accounting manager v7.1 sg247569
Deployment guide series ibm tivoli usage and accounting manager v7.1 sg247569
Back cover                                           ®



Deployment Guide Series:
IBM Tivoli Usage and
Accounting Manager V7.1                                                                                             ®




Financial              This book is part of the Deployment Guide series. It provides
management             a step-by-step guide for deploying Tivoli Usage and               INTERNATIONAL
solution for           Accounting Manager V7.1. It is intended to help an IBM or         TECHNICAL
IT-related services    business partner service person to plan and perform the           SUPPORT
                       deployment of the product.                                        ORGANIZATION
Extensive
                       The discussion of Tivoli Usage and Accounting Manager
deployment and
                       includes an explanation of its architecture and components.
demonstration          Some planning and sizing consideration before you                 BUILDING TECHNICAL
examples               implement the product is given, and some guidelines on            INFORMATION BASED ON
                                                                                         PRACTICAL EXPERIENCE
                       setting up service engagement for the product are also
Planning and           included.
services information                                                                     IBM Redbooks are developed by
                       The deployment discussed in the book would be appropriate         the IBM International Technical
                       for a demonstration or a small deployment system, although        Support Organization. Experts
                       the information is highly relevant for larger deployments also.   from IBM, Customers and
                                                                                         Partners from around the world
                       This book also offers some usage scenarios that can be used       create timely technical
                       for demonstrating the product.                                    information based on realistic
                                                                                         scenarios. Specific
                                                                                         recommendations are provided
                                                                                         to help you implement IT
                                                                                         solutions more effectively in
                                                                                         your environment.



                                                                                         For more information:
                                                                                         ibm.com/redbooks

                         SG24-7569-00                    ISBN 0738485659

More Related Content

PDF
Solution deployment guide for ibm tivoli composite application manager for we...
PDF
Deployment guide series ibm tivoli compliance insight manager sg247531
PDF
Tivoli business systems manager v2.1 end to-end business impact management sg...
PDF
Deployment guide series ibm tivoli access manager for e business v6.0 sg247207
PDF
Tivoli data warehouse 1.2 and business objects redp9116
PDF
Deployment guide series ibm tivoli composite application manager for web reso...
PDF
Tape automation with ibm e server xseries servers redp0415
PDF
Tivoli management services warehouse and reporting sg247290
Solution deployment guide for ibm tivoli composite application manager for we...
Deployment guide series ibm tivoli compliance insight manager sg247531
Tivoli business systems manager v2.1 end to-end business impact management sg...
Deployment guide series ibm tivoli access manager for e business v6.0 sg247207
Tivoli data warehouse 1.2 and business objects redp9116
Deployment guide series ibm tivoli composite application manager for web reso...
Tape automation with ibm e server xseries servers redp0415
Tivoli management services warehouse and reporting sg247290

What's hot (14)

PDF
Ibm tivoli usage accounting manager v7.1 handbook sg247404
PDF
Integrating tivoli products sg247757
PDF
End to-end planning for availability and performance monitoring redp4371
PDF
Tec implementation examples sg245216
PDF
Tivoli data warehouse version 1.3 planning and implementation sg246343
PDF
Robust data synchronization with ibm tivoli directory integrator sg246164
PDF
Sg247692 Websphere Accounting Chargeback For Tuam Guide
PDF
Ibm total storage productivity center v2.3 getting started sg246490
PDF
Performance tuning for content manager sg246949
PDF
Certification study guide ibm tivoli access manager for e business 6.0 sg247202
PDF
Managing storage management tivoli enterprise integration with tivoli storage...
PDF
Ibm tivoli intelligent think dynamic orchestrator pre proof of-concept cookbo...
PDF
Ibm total storage tape selection and differentiation guide sg246946
PDF
It asset management processes using tivoli asset manager for it sg247601
Ibm tivoli usage accounting manager v7.1 handbook sg247404
Integrating tivoli products sg247757
End to-end planning for availability and performance monitoring redp4371
Tec implementation examples sg245216
Tivoli data warehouse version 1.3 planning and implementation sg246343
Robust data synchronization with ibm tivoli directory integrator sg246164
Sg247692 Websphere Accounting Chargeback For Tuam Guide
Ibm total storage productivity center v2.3 getting started sg246490
Performance tuning for content manager sg246949
Certification study guide ibm tivoli access manager for e business 6.0 sg247202
Managing storage management tivoli enterprise integration with tivoli storage...
Ibm tivoli intelligent think dynamic orchestrator pre proof of-concept cookbo...
Ibm total storage tape selection and differentiation guide sg246946
It asset management processes using tivoli asset manager for it sg247601
Ad

Viewers also liked (20)

PPT
Antiterror
PDF
Pinggers - App mobile Strategy
PDF
Women Empowerment- Overview ( Hindia)
PPTX
Treść, która porwała tłumy, czyli przypadek General Electric
PDF
One platform for 1:1 cross-media marketing — print, e-mail and web
PPTX
Easy travel 2.1
PDF
Email Marketing Optimization by Ralph Paglia
PDF
Mobiliuz Project presentation 0314
PDF
“கோல்ட் ஃப்யூஷன்” : இலவச ஆற்றல் = போலி அறிவியல் ? / Cold fusion : "Free ...
PDF
I like pr
PPTX
Techniques for "Safe" Life Long Learning and Higher Level Thinking via Techno...
PPSX
Алексей Довжиков - "Портфель или не портфель? Вот в чем вопрос"
PDF
ESOTERICA info final
PPT
"Научная периодика Украины" на технологической платформе Open Journal Systems
PDF
Rockfon Celings steel-finish-pics
PDF
Delivery it brand guide
PDF
EduHub
PPTX
CHABOT & Associates Methodology
PDF
Abtech Hazardous Area Enclosures Product Catalogue 2014
PDF
HTML5: features with examples
Antiterror
Pinggers - App mobile Strategy
Women Empowerment- Overview ( Hindia)
Treść, która porwała tłumy, czyli przypadek General Electric
One platform for 1:1 cross-media marketing — print, e-mail and web
Easy travel 2.1
Email Marketing Optimization by Ralph Paglia
Mobiliuz Project presentation 0314
“கோல்ட் ஃப்யூஷன்” : இலவச ஆற்றல் = போலி அறிவியல் ? / Cold fusion : "Free ...
I like pr
Techniques for "Safe" Life Long Learning and Higher Level Thinking via Techno...
Алексей Довжиков - "Портфель или не портфель? Вот в чем вопрос"
ESOTERICA info final
"Научная периодика Украины" на технологической платформе Open Journal Systems
Rockfon Celings steel-finish-pics
Delivery it brand guide
EduHub
CHABOT & Associates Methodology
Abtech Hazardous Area Enclosures Product Catalogue 2014
HTML5: features with examples
Ad

Similar to Deployment guide series ibm tivoli usage and accounting manager v7.1 sg247569 (20)

PDF
Deployment guide series ibm tivoli composite application manager for web reso...
PDF
Deployment guide series ibm tivoli access manager for e business v6.0 sg247207
PDF
Deployment guide series ibm tivoli compliance insight manager sg247531
PDF
Certification guide series ibm tivoli usage and accounting manager v7.1 imple...
PDF
Certification guide series ibm tivoli provisioning manager express for softwa...
PDF
It asset management processes using tivoli asset manager for it sg247601
PDF
It asset management processes using tivoli asset manager for it sg247601
PDF
Ibm tivoli monitoring v5.1.1 implementation certification study guide redp3935
PDF
Deployment guide series ibm total storage productivity center for data sg247140
PDF
Ibm total storage productivity center v2.3 getting started sg246490
PDF
Certification guide series ibm tivoli business service manager v4.1.1 impleme...
PDF
Ibm tivoli monitoring v5.1.1 implementation certification study guide sg246780
PDF
Managing disk subsystems using ibm total storage productivity center sg247097
PDF
Tivoli data warehouse version 1.3 planning and implementation sg246343
PDF
Deployment guide series ibm tivoli configuration manager sg246454
PDF
Deployment guide series ibm tivoli configuration manager sg246454
PDF
Certification guide series ibm tivoli provisioning manager v5.1 sg247262
PDF
Certification guide series ibm tivoli netcool omn ibus v7.2 implementation sg...
PDF
Deployment guide series ibm tivoli application dependency discovery manager v...
PDF
Deployment guide series ibm tivoli application dependency discovery manager v...
Deployment guide series ibm tivoli composite application manager for web reso...
Deployment guide series ibm tivoli access manager for e business v6.0 sg247207
Deployment guide series ibm tivoli compliance insight manager sg247531
Certification guide series ibm tivoli usage and accounting manager v7.1 imple...
Certification guide series ibm tivoli provisioning manager express for softwa...
It asset management processes using tivoli asset manager for it sg247601
It asset management processes using tivoli asset manager for it sg247601
Ibm tivoli monitoring v5.1.1 implementation certification study guide redp3935
Deployment guide series ibm total storage productivity center for data sg247140
Ibm total storage productivity center v2.3 getting started sg246490
Certification guide series ibm tivoli business service manager v4.1.1 impleme...
Ibm tivoli monitoring v5.1.1 implementation certification study guide sg246780
Managing disk subsystems using ibm total storage productivity center sg247097
Tivoli data warehouse version 1.3 planning and implementation sg246343
Deployment guide series ibm tivoli configuration manager sg246454
Deployment guide series ibm tivoli configuration manager sg246454
Certification guide series ibm tivoli provisioning manager v5.1 sg247262
Certification guide series ibm tivoli netcool omn ibus v7.2 implementation sg...
Deployment guide series ibm tivoli application dependency discovery manager v...
Deployment guide series ibm tivoli application dependency discovery manager v...

More from Banking at Ho Chi Minh city (20)

PDF
Postgresql v15.1
PDF
Postgresql v14.6 Document Guide
PDF
IBM MobileFirst Platform v7.0 Pot Intro v0.1
PDF
IBM MobileFirst Platform v7 Tech Overview
PDF
IBM MobileFirst Foundation Version Flyer v1.0
PDF
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
PDF
IBM MobileFirst Platform v7.0 pot intro v0.1
PDF
IBM MobileFirst Platform v7.0 POT App Mgmt Lab v1.1
PDF
IBM MobileFirst Platform v7.0 POT Analytics v1.1
PDF
IBM MobileFirst Platform Pot Sentiment Analysis v3
PDF
IBM MobileFirst Platform 7.0 POT InApp Feedback V0.1
PDF
Tme 10 cookbook for aix systems management and networking sg244867
PDF
Tivoli firewall magic redp0227
PDF
Tivoli storage productivity center v4.2 release guide sg247894
PDF
Synchronizing data with ibm tivoli directory integrator 6.1 redp4317
PDF
Storage migration and consolidation with ibm total storage products redp3888
PDF
Slr to tivoli performance reporter for os 390 migration cookbook sg245128
PDF
Setup and configuration for ibm tivoli access manager for enterprise single s...
PDF
Windows nt backup and recovery with adsm sg242231
PDF
Service level management using ibm tivoli service level advisor and tivoli bu...
Postgresql v15.1
Postgresql v14.6 Document Guide
IBM MobileFirst Platform v7.0 Pot Intro v0.1
IBM MobileFirst Platform v7 Tech Overview
IBM MobileFirst Foundation Version Flyer v1.0
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
IBM MobileFirst Platform v7.0 pot intro v0.1
IBM MobileFirst Platform v7.0 POT App Mgmt Lab v1.1
IBM MobileFirst Platform v7.0 POT Analytics v1.1
IBM MobileFirst Platform Pot Sentiment Analysis v3
IBM MobileFirst Platform 7.0 POT InApp Feedback V0.1
Tme 10 cookbook for aix systems management and networking sg244867
Tivoli firewall magic redp0227
Tivoli storage productivity center v4.2 release guide sg247894
Synchronizing data with ibm tivoli directory integrator 6.1 redp4317
Storage migration and consolidation with ibm total storage products redp3888
Slr to tivoli performance reporter for os 390 migration cookbook sg245128
Setup and configuration for ibm tivoli access manager for enterprise single s...
Windows nt backup and recovery with adsm sg242231
Service level management using ibm tivoli service level advisor and tivoli bu...

Recently uploaded (20)

PDF
Credit Without Borders: AI and Financial Inclusion in Bangladesh
PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
PPTX
Build Your First AI Agent with UiPath.pptx
PPTX
Chapter 5: Probability Theory and Statistics
PPTX
TEXTILE technology diploma scope and career opportunities
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
Flame analysis and combustion estimation using large language and vision assi...
PDF
STKI Israel Market Study 2025 version august
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
UiPath Agentic Automation session 1: RPA to Agents
Credit Without Borders: AI and Financial Inclusion in Bangladesh
A proposed approach for plagiarism detection in Myanmar Unicode text
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Taming the Chaos: How to Turn Unstructured Data into Decisions
Module 1.ppt Iot fundamentals and Architecture
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
Build Your First AI Agent with UiPath.pptx
Chapter 5: Probability Theory and Statistics
TEXTILE technology diploma scope and career opportunities
OpenACC and Open Hackathons Monthly Highlights July 2025
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
The influence of sentiment analysis in enhancing early warning system model f...
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Flame analysis and combustion estimation using large language and vision assi...
STKI Israel Market Study 2025 version august
Developing a website for English-speaking practice to English as a foreign la...
Convolutional neural network based encoder-decoder for efficient real-time ob...
Getting started with AI Agents and Multi-Agent Systems
UiPath Agentic Automation session 1: RPA to Agents

Deployment guide series ibm tivoli usage and accounting manager v7.1 sg247569

  • 1. Front cover Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1 Financial management solution for IT-related services Extensive deployment and demonstration examples Planning and services information Budi Darmawan Jörn Siglen Lennart Lundgren Roy Catterall ibm.com/redbooks
  • 3. International Technical Support Organization Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1 February 2008 SG24-7569-00
  • 4. Note: Before using this information and the product it supports, read the information in “Notices” on page vii. First Edition (February 2008) This edition applies to Version 7, Release 1, Modification 0 of IBM Tivoli Usage and Accounting Manager (product number 5724-O33). © Copyright International Business Machines Corporation 2008. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  • 5. Contents Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix The team that wrote this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Become a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Part 1. Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Chapter 1. Solution introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1 ITIL financial management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2 Tivoli Usage and Accounting Manager features . . . . . . . . . . . . . . . . . . . . . 7 1.3 Tivoli Usage and Accounting Manager value proposition . . . . . . . . . . . . . 10 1.4 Product architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.4.1 Generic processing flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.4.2 The Common Source Resource format . . . . . . . . . . . . . . . . . . . . . . 14 Chapter 2. Solution environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.1 Hardware prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.2 Software prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.2.1 Supported operating systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.2.2 Supported databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.3 Sizing considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.3.1 Data elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.3.2 Growth factors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2.3.3 Sample growth estimation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.4 Typical deployment environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.4.1 Small, proof of concept, or demonstration environment . . . . . . . . . . 27 2.4.2 Medium scale production environment . . . . . . . . . . . . . . . . . . . . . . . 27 2.4.3 Large scale production environment . . . . . . . . . . . . . . . . . . . . . . . . . 28 Chapter 3. Project planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.1 Required skills . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.2 Solution description and assumptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.3 Task breakdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.3.1 Project kick-off. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.3.2 Environment preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.3.3 Database setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 © Copyright IBM Corp. 2008. All rights reserved. iii
  • 6. 3.3.4 Tivoli Usage and Accounting Manager server installation . . . . . . . . 34 3.3.5 Data collection pack setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.3.6 Customizing the product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 3.3.7 Demonstrating the solution and skill transfer . . . . . . . . . . . . . . . . . . 35 Part 2. Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Chapter 4. Installation and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 39 4.1 Installation overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 4.2 Installing DB2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 4.3 Installing server prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 4.3.1 Configuring Microsoft Internet Information Server . . . . . . . . . . . . . . 55 4.3.2 Install the Microsoft Installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 4.3.3 Install Microsoft .NET Framework 2.0 . . . . . . . . . . . . . . . . . . . . . . . . 61 4.3.4 Install Microsoft SQL Server Report Viewer . . . . . . . . . . . . . . . . . . . 63 4.4 Installing server components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 4.5 Installing Enterprise Collector Pack. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 4.6 Initial configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 4.6.1 Defining the JDBC driver. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 4.6.2 Defining data sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 4.6.3 Initializing the database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 4.6.4 Other configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 4.7 Installing Windows Process Collector . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 4.7.1 Manual installation process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 4.7.2 Deploying with a job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Chapter 5. Usage demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 5.1 Demonstration overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 5.2 Defining accounting resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 5.2.1 Working with the account code structure . . . . . . . . . . . . . . . . . . . . . 95 5.2.2 Setting up clients. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 5.2.3 Rate table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 5.3 Running Windows collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 5.3.1 Verifying the Windows process data collector installation. . . . . . . . 103 5.3.2 Windows process data files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 5.4 Loading Windows process data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 5.4.1 The data collection process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 5.4.2 Account code mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 5.4.3 Running the collection job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 iv Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 7. 5.5 Generating Windows reports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 5.6 Additional demonstration scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 5.7 Financial Modeler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 Chapter 6. Troubleshooting hints and tips . . . . . . . . . . . . . . . . . . . . . . . . 125 6.1 General logging and tracing options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 6.2 Installation and configuration details . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 6.3 Integrated Solution Console debugging . . . . . . . . . . . . . . . . . . . . . . . . . 128 6.4 Job Runner debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 6.5 Quick finder for trace and log information . . . . . . . . . . . . . . . . . . . . . . . . 132 Part 3. Appendixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 Appendix A. Sample listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 Sample Windows load job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Sample Windows process collector job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Appendix B. Additional material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 Locating the Web material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 Using the Web material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 System requirements for downloading the Web material . . . . . . . . . . . . . 146 How to use the Web material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 Abbreviations and acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 Related publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 Other publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 Online resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 How to get Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 Help from IBM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151 Contents v
  • 8. vi Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 9. Notices This information was developed for products and services offered in the U.S.A. IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to evaluate and verify the operation of any non-IBM product, program, or service. IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to: IBM Director of Licensing, IBM Corporation, North Castle Drive, Armonk, NY 10504-1785 U.S.A. The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you. This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice. Any references in this information to non-IBM Web sites are provided for convenience only and do not in any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the materials for this IBM product and use of those Web sites is at your own risk. IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you. Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. This information contains examples of data and reports used in daily business operations. To illustrate them as completely as possible, the examples include the names of individuals, companies, brands, and products. All of these names are fictitious and any similarity to the names and addresses used by an actual business enterprise is entirely coincidental. COPYRIGHT LICENSE: This information contains sample application programs in source language, which illustrate programming techniques on various operating platforms. You may copy, modify, and distribute these sample programs in any form without payment to IBM, for the purposes of developing, using, marketing or distributing application programs conforming to the application programming interface for the operating platform for which the sample programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs. © Copyright IBM Corp. 2008. All rights reserved. vii
  • 10. Trademarks The following terms are trademarks of the International Business Machines Corporation in the United States, other countries, or both: AIX® Notes® System z™ DB2 Universal Database™ PowerPC® Tivoli® DB2® pSeries® TotalStorage® IBM® Redbooks® WebSphere® i5/OS® Redbooks (logo) ® z/OS® Lotus Notes® System i™ z/VM® Lotus® System p™ The following terms are trademarks of other companies: SAP, and SAP logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries. Oracle, JD Edwards, PeopleSoft, Siebel, and TopLink are registered trademarks of Oracle Corporation and/or its affiliates. IT Infrastructure Library, IT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government Commerce. ITIL is a registered trademark, and a registered community trademark of the Office of Government Commerce, and is registered in the U.S. Patent and Trademark Office. Java, JDBC, JVM, Solaris, Sun, and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Microsoft, SQL Server, Visual C++, Windows Server, Windows Vista, Windows, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. Itanium, Intel logo, Intel Inside logo, and Intel Centrino logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries. Linux is a trademark of Linus Torvalds in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of others. viii Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 11. Preface This book is part of the Deployment Guide series. It provides a step-by-step guide for deploying Tivoli Usage and Accounting Manager V7.1. It is intended to help an IBM® or business partner service person to plan and perform the deployment of the product. The discussion of Tivoli Usage and Accounting Manager includes an explanation of its architecture and components. Some planning and sizing consideration before you implement the product is given, and some guidelines on setting up service engagement for the product are also included. The deployment discussed in the book would be appropriate for a demonstration or a small deployment system, although the information is highly relevant for larger deployments also. This book also offers some usage scenarios that can be used for demonstrating the product. The team that wrote this book This book was produced by a team of specialists from around the world working at the International Technical Support Organization, Austin Center. © Copyright IBM Corp. 2008. All rights reserved. ix
  • 12. Budi Darmawan is a Project Leader at the International Technical Support Organization, Austin Center. He writes extensively and teaches IBM classes worldwide on all areas of Tivoli® and systems management. Before joining the ITSO eight years ago, Budi worked in IBM Indonesia as solution architect and lead implementer. His current interests are Java™ programming, application management and general systems management. Jörn Siglen is System Management Architect at IBM Global Services Germany. He has 16 years of experience in the Information Technology field. He holds a degree in Information Technology Engineering from Berufsakademie Stuttgart, Germany. His areas of expertise include AIX® on pSeries® and Tivoli software for monitoring, availability and storage products. Lennart Lundgren is an IT Specialist in IBM Software Group, Sweden. He has 30 years of experience in the Systems Management area on mainframe computers. He holds a degree in Computer Sciences from the University of Lund, Sweden. He has worked at IBM for more than 20 years. His areas of expertise include performance and capacity management, z/OS® systems programming, and tools development. Roy Catterall is a Team Leader for Tivoli Decision Support for z/OS in Australia. He has 20 years of experience in the Information Technology field. He holds a degree in Business Studies and Computing Science from the University of Zimbabwe. His main area of expertise is z/OS; he also has some programming experience with most other operating systems. He has contributed extensively to the Tivoli Decision Support for z/OS documentation. Thanks to the following people for their contributions to this project: Terry Copeland, Rodolfo Ambrosetti, Page L. Hite, Greg Howard IBM Software Group, Tivoli Systems Alfred Schwab, Editor International Technical Support Organization, Poughkeepsie Center Become a published author Join us for a two- to six-week residency program! Help write a book dealing with specific products or solutions, while getting hands-on experience with leading-edge technologies. You will have the opportunity to team with IBM technical professionals, Business Partners, and Clients. x Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 13. Your efforts will help increase product acceptance and customer satisfaction. As a bonus, you will develop a network of contacts in IBM development labs, and increase your productivity and marketability. Find out more about the residency program, browse the residency index, and apply online at: ibm.com/redbooks/residencies.html Comments welcome Your comments are important to us! We want our books to be as helpful as possible. Send us your comments about this book or other IBM Redbooks® in one of the following ways: Use the online Contact us review Redbooks form found at: ibm.com/redbooks Send your comments in an e-mail to: [email protected] Mail your comments to: IBM Corporation, International Technical Support Organization Dept. HYTD Mail Station P099 2455 South Road Poughkeepsie, NY 12601-5400 Preface xi
  • 14. xii Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 15. Part 1 Part 1 Planning © Copyright IBM Corp. 2008. All rights reserved. 1
  • 16. 2 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 17. 1 Chapter 1. Solution introduction IBM Tivoli Usage and Accounting Manager V7.1 is a new version of a financial management tool for IT resources from Tivoli. It allows dynamic chargeback accounting, reporting, and analysis to be performed for enterprises. This chapter consists of the following: 1.1, “ITIL financial management” on page 4 1.2, “Tivoli Usage and Accounting Manager features” on page 7 1.3, “Tivoli Usage and Accounting Manager value proposition” on page 10 1.4, “Product architecture” on page 10 © Copyright IBM Corp. 2008. All rights reserved. 3
  • 18. 1.1 ITIL financial management In today’s environment, businesses are very dependent on IT. Requirements from customers for standard compliance are apparent and IT services are required to better align with business objectives. The IT Infrastructure Library® (ITIL®) is a set of best practices that can help address these issues. ITIL is a collection of IT best practices designed to help organizations overcome current and future technology challenges. Originally created by the UK Office of Government Commerce (OGC) in 1988, ITIL currently has evolved as a result of years of experience contributed by major IT organizations and companies, including IBM. ITIL is a library of books that document industry-accepted best practices for IT service, infrastructure, and application management. ITIL is an excellent starting point from which to adopt and adapt best practices for implementation in any IT environment. ITIL’s models show the goals, general activities, inputs, and outputs of the various processes. They help to address the most common questions asked by IT managers worldwide: How do I align IT services with business objectives? How do I lower the long term costs of IT services? How do I improve the quality of IT services? ITIL is currently on its Version 3 release. However, the discussion of ITIL in this book is mainly based on ITIL Version 2. In the Version 2 publication, the contents of ITIL are shown in Figure 1-1 on page 5. 4 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 19. Planning to implement service management Service management The technology The business The ICT Service support business Infrastructure perspective management Service delivery Security Software Asset management management Application management Figure 1-1 The contents of ITIL The most popular books of the ITIL are Service Support and Service Delivery. These two books together form the Service Management discipline. The financial management process is part of Service Delivery. This is apparent because financial management is strategic for aligning IT to perform as a business entity and providing the ability to manage IT as a business. The Service Delivery aspect uses the configuration data for building IT services. Service Level Management manages service level agreements with IT consumers. Service level agreement is the base measurement of IT services that are provided to consumers. Financial management manages the day-to-day IT finances and quantifies IT investment into IT Service improvement. It also generates a balance report of IT budget and accounting. Availability management ensures that IT services are available to the business users. It identifies and mitigates risks involved with unavailability due to an IT resource failure. Capacity management ensures that IT can provide its services with reasonable performance as dictated by the service level agreement. This requires an adequate capacity of IT resources. Chapter 1. Solution introduction 5
  • 20. IT continuity management ensures that IT would continue to function even when a major disruption happens to the business (such as a natural disaster). The financial management of ITIL, as a typical financial discipline, does the budgeting and accounting of IT services cash flow. With proper financial management, the IT budget can be related directly to each IT service. Thus, it supports the transformation of IT from a cost center into a business unit that can charge for its services to the customers. The primary goal of financial management is for IT to fully account for the money spent and attribute these costs to the IT services delivered. In order to achieve this goal, financial management must monitor usage and record cost of IT resources, as well as provide an investment business case. The financial management of IT is more effective if IT charges for usage based on a business entity instead of an IT entity. This is more meaningful for calculating the business cost of an IT service. The total CPU time for running a financial application would not be apparent to the CFO. However, the number of ledger entries processed would be a more meaningful measurement of the financial application usage. Initially, formulating and calculating these business aspects of the IT services necessitates a steep learning curve. However, as more information is collected and analyzed, the task will become easier. The primary activities of financial management are: Budgeting It must obtain a budget from the enterprise. It administers and controls the costs related to the budget. Accounting It performs financial accounting of IT. It must develop a cost model with its associated cost types. It apportions service cost, calculates cost, and performs Return of Investment (ROI) analysis. Charging It develops charging policies, identifies charging items, calculates pricing, and performs billing. Tivoli Usage and Accounting Manager allows the collection of usage data, provides a mechanism to input pricing, and performs billing. It generates various reports for IT usages and provides financial tools for IT financial modelling. 6 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 21. 1.2 Tivoli Usage and Accounting Manager features Tivoli Usage and Accounting Manager is a general purpose tool for: Collecting resource usage data Assigning account codes for each resource Providing a billing (charging) rate for each unit Additionally, it provides reports for analysis of the charging environment to ensure that charges are correct and fair. It also offers a financial modeler feature that allows rate analysis based on IT expenditure. IBM Tivoli Usage and Accounting Manager Enterprise Edition V7.1 is a resource accounting product that enables you to track, manage, allocate, and optionally bill end users for IT resources. Tivoli Usage and Accounting Manager Enterprise Edition assists with: Usage-based accounting and chargeback IT cost allocation and analysis Application allocation and availability Resource utilization reporting Easy reporting through a Web interface Tivoli Usage and Accounting Manager Enterprise Edition consolidates different types of usage metering data into an integrated reporting structure. It can then generate reports, invoices, and summary files that show resource consumption and cost for the various functional units of an organization. This information is presented in Web, print, or file formats for easy availability. IBM Tivoli Usage and Accounting Manager Enterprise Edition contains the following: Administration Server, the central component, consisting of the following: – Tivoli Usage and Accounting Manager Enterprise Edition Console This is the Abstract User Interface Markup Language rendering in ISC over the Web Administrator tool. – Tivoli Usage and Accounting Manager Engine This consists of many components, including a batch processing facility called Job Runner that launches and controls the underlying processes that convert raw usage data into usable Tivoli Usage and Accounting Manager Enterprise Edition information. It also contains the main rules engine processing components and other data transformation tools. – Generic collection functionality This consists of the Integrator and the Universal Collection tools that allow clients to build their own collectors. Chapter 1. Solution introduction 7
  • 22. – Tivoli Usage and Accounting Manager Windows® Web Reporting - from Internet Information Services (IIS) under Windows only This reports directly from the Microsoft® SQL Server™, Oracle®, or DB2® database using Microsoft Reporting Services runtime viewer as the underlying reporting engine and Microsoft IIS as the Web server. This Microsoft Reporting Services viewer must be separately downloaded from Microsoft and installed. It is not supplied with Tivoli Usage and Accounting Manager Enterprise Edition. Limited Business Intelligence and Reporting Tools (BIRT) reporting directly from the database If non-Windows reporting is desired, there is a prerequisite that the client will download and install BIRT/IES prior to installation. This reporting can be run from UNIX® or Linux®. While it can also be run from Windows, the more powerful Tivoli Usage and Accounting Manager Windows Web Reporting is the preferred Windows reporting method. The Tivoli Usage and Accounting Manager Enterprise Edition - Core Data Collection Entitlements product, delivered in the same installation as Tivoli Usage and Accounting Manager Enterprise Edition, contains: Windows disk usage Windows CPU processor usage VMware usage collector support z/VM® AIX Advanced Accounting, including support for Workload Partition, Virtual I/O Server, and any other Advanced Accounting features UNIX, Linux, Linux on System z™ operating system UNIX, Linux, Linux on System z file system System i™ (collects all usage from System i, but the actual collector must be run from Windows) Tivoli Decision Support on z/OS extract (similar to the Accounting Workstation Option or IBM Tivoli Usage and Accounting Manager Enterprise Edition for z/OS) Generic Collection (also known as Universal Collection) Miscellaneous and Recurring Adjustment Transaction Maintenance The Tivoli Usage and Accounting Manager Enterprise Collector Pack (a separate purchasable option) contains the following collectors. A designation of sample only means that the collector is not fully documented, is not globalized or tested, and may not run on all platforms. It is provided as a starting point only, but the sample collectors will be supported, via the Level 2/Level 3 support process. A notation of Windows only means that the collector or sample runs only under Windows, not under Linux or UNIX. TotalStorage® Productivity Center 8 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 23. Tivoli Storage Manager (Windows only) SAP® WebSphere® XD WebSphere XD HTTP Squid (Windows only, sample only) Veritas (Windows only, sample only) Windows System Resource Monitor (Windows only, sample only) Microsoft Reporting Services (Windows only, sample only) Evolve (Windows only, sample only) Citrix (Windows only, sample only) NetWare (Windows only, sample only) Oracle Oracle Space DB2 Usage DB2 Space Apache Web Server Usage FTP transfer usage (Windows only, sample only) Lotus® Notes® SQL Server (Windows only) DBSpace Sybase (Windows only, sample only) Apache Microsoft IIS Microsoft Internet Security and Acceleration (ISA) (Windows only, sample only) Microsoft Proxy (Windows only, sample only) Netscape Proxy (Windows only, sample only) Exchange (Windows only) SendMail (Windows only, sample only) Windows Print (Windows only) NetBackup (Windows only, sample only) NetFlow (Windows only, sample only) New in IBM Tivoli Usage and Accounting Manager Enterprise Edition V7.1 are the following: A fully globalized product A platform-independent reporting option New data collectors Improved integration with Tivoli Decision Support for z/OS for mainframe resource accounting A Web-based administration tool Chapter 1. Solution introduction 9
  • 24. 1.3 Tivoli Usage and Accounting Manager value proposition Tivoli Usage and Accounting Manager helps IT to control and manage operation and resource costs by collecting, analyzing, reporting, and billing based on usage and costs of shared Windows, UNIX (AIX, HP/UX, Sun™ Solaris™), Linux (Red Hat and Novell SUSE), i5/OS®, and VMware computing resources. Tivoli Usage and Accounting Manager helps you improve IT cost management. With it you can understand your costs and track, allocate, and invoice based on actual resource use by department, user, and many additional criteria. Tivoli Usage and Accounting Manager consolidates a wide variety of usage data with data collectors associated with Operating Systems, Databases, Internet Infrastructure, E-mail Systems, Network & Printing, and customized usage Data Import collection from any application or system. This broad set of customer-proven data collectors across multiple platforms, combined with a powerful business rules-driven capability to transform raw IT data into business information, enables cost allocation across business units, cost centers, applications, and users. Tivoli Usage and Accounting Manager allows you to do the following: Support virtualization and server consolidation to help manage costs Align IT with business goals by revealing who consumes which resources Easily administer cost allocation initiatives with little human intervention Improve flexibility and cost management by charging for IT resource use in accordance with popular methods 1.4 Product architecture The main components used by IBM Tivoli Usage and Accounting Manager are shown in Figure 1-2. 10 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 25. Collection Tivoli Decision Administration Vmware Data Support for z/ Reporting collector OS Web Services File Database SDK Application Reporting Server Processing Server File Integrated Reporting with BIRT Solution Console Process engine Embedded WebSphere Application Server Web Reporting Financial Modeler Microsoft Internet JDBC Information Server ITUAMDB ODBC (.NET) Figure 1-2 Tivoli Usage and Accounting Manager components in use and their dependencies The major components of are: Collection The collection of metering data is mostly handled by the operating systems and other applications. Tivoli Usage and Accounting Manager data collectors read this data or provide access to the databases where the data is stored. The data collection can be performed from a database table, a file to be converted into Tivoli Usage and Accounting Manager format, or by calling Web Services to collect metrics. Application server The Tivoli Usage and Accounting Manager application server consists of two primary functions: the administration server and processing server. – Administration This is performed using the Integrated Solutions Console (ISC). ISC is an application running on top of an embedded WebSphere Application Chapter 1. Solution introduction 11
  • 26. Server. It provides the front end for all administration of the Tivoli Usage and Accounting Manager server. – Gathering and processing of usage and accounting The collection of Tivoli Usage and Accounting Manager collector files can be done with a file transfer method or accessed directly from a database or Web Services. Processing of this data is performed using the ProcessEngine and the Tivoli Usage and Accounting Manager integrator function. It handles all data processing and data loading into the Tivoli Usage and Accounting Manager database. The Java-based Job Runner controls the processing steps. All job descriptions are stored in Extensible Markup Language (XML) files. Database server A relational database system is required for storing the administration, metering, and accounting data. The database is accessed using the JDBC™ driver, except for reporting, which uses the DB2 .NET interface. This driver must be provided for each component that needs access to the database. Reporting server All reports are generated from the Tivoli Usage and Accounting Manager database and can be stored on a file system for publishing or distribution. Tivoli Usage and Accounting Manager provides reporting using Microsoft Report Viewer under Microsoft Internet Information Server or using Business Intelligence and Reporting Tools (BIRT). 1.4.1 Generic processing flow The data processing in Tivoli Usage and Accounting Manager is similar for all data sources. Figure 1-3 on page 13 shows the general processing steps for data handling with IBM Tivoli Usage and Accounting Manager. The order or mix of the steps may be different, depending on the collectors used. 12 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 27. Collected Common Source data files Resource Aggregation (CSR) file Data Collector Summarized data (CSR) Web or data base dataSource reprocess Exception file Account Account Table (CSR) Conversion Output file Output file (CSR+) files Output (CSR+) (CSR+) ITUAMDB Database Load Scan (Merging) Billing Summary Billing Output Merged output Ident file file file (CSR+) Normalization & Normalization Billing (applying rate) & Rate Table Figure 1-3 Generic process overview, including common steps The process steps in Figure 1-3 are: 1. Many systems already have a resource usage collection function. Tivoli Usage and Accounting Manager uses this data for further processing. The main processing in Tivoli Usage and Accounting Manager is based on the Common Source Resource (CSR) format. The initial processing step converts the existing data (SQL table, delimited file, or others) into CSR format prior to Tivoli Usage and Accounting Manager processing. a. If the metering data is collected in files, these will be transferred to the application server and converted to CSR format if needed. Some converters may also include pre-aggregation. Chapter 1. Solution introduction 13
  • 28. b. If the metering data can be accessed in a database or on a Web page, the data extract made by Tivoli Usage and Accounting Manager will be direct CSR format. The Tivoli Usage and Accounting Manager Integrator can include CSR conversion, aggregation, account code conversion, and sort in one step, producing only one output file. 2. CSR data is aggregated mostly on a daily basis. Aggregation means summarizing the data based on given identifiers. It calculates the sum of data of resource fields based on the identifier values. 3. Account conversion matches the metering data to the account code structure (see 5.2, “Defining accounting resources” on page 95) and all records that do not fit are put into an exception file, which may be reprocessed later after some intervention. 4. CSR or CSR+ files of the same type can be scanned into one file at any time during the processing. 5. Normalization of CPU values and multiplying by the rate code is the next step. The selected Rate Table is used for calculating the money value. If the rate is of type CPU, the recalculation based on the Normalization Table is done in addition. Summarize data on a financial and organizational level, which provides the billing files: billing detail, billing summary, and identifier list. 6. Loading all output data into the Tivoli Usage and Accounting Manager DB completes the processing. There is an automatic duplicate detection that prevents duplicate data loading. Note: We recommend to create CSR+ records as input for the billing step, or alternatively to use the Integrator Sort on the account code. The number of billing summary rows in the database can be reduced on a CSR file sorted by the account code. CSR+ data is automatically sorted by the bill process. 1.4.2 The Common Source Resource format Tivoli Usage and Accounting Manager uses two file formats, Common Source Resource (CSR) and Common Source Resource plus (CSR+). CSR+ is enhanced by a static header, including the account code for sorting purposes. CSR+ and CSR files are comma-separated files, in which each record has these three sections: Header The header of the record contains the following: 14 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 29. CSR Plus Header CSR+ records only start with “CSR+ constant headerstartdate Usage start date headerenddate Usage end date headeraccountcodelength Length of the Account code (three digits) headeraccountcode Account Code “constant headerrectype Record type or source headerstartdate Usage start date headerenddate Usage end date headerstarttime Usage start time headerendtime Usage end time headershiftcode Shift code The header information is used to identify the applicability of the record to a certain billing period and type. Tip: All header% variables can be used with the Integrator identifier functions. A sample header segment for CSR is: UNIXSPCK,20071016,20071016,00:00:00,23:59:59,1 A sample header for CSR+ starts with: “CSR+2007101620071016009AIX 0Test“,UNIXSPCK,20071016,.. Identifiers segment The identifiers segment lists the resource identifiers. These identifiers are used to distinguish one resource from another before mapping them to an account code. The account code itself is considered an identifier. The structure of this segment is: number of identifiers, identifier name, identifier value... A sample identifier segment with three identifiers is: 3,SYSTEM_ID,"lpar04",Account_Code,"AIX 1TEST lpar04", USERNAME,"root" Resources segment The resources segment lists the resource metrics. These metrics are used to meter the usage information for the resource. The resource metric is structured as follows: # of resources, resource metric name, resource metric value... A sample resources segment with three metrics is: 3,LLG102,17.471,LLG107,6.914,LLG108,3 Chapter 1. Solution introduction 15
  • 30. Example 1-1 shows the data from two AIX LPARs on two different systems. Example 1-1 CSR file for AIX Advanced Accounting data AATRID10,20071030,20071030,01:10:03,01:10:03,1,2,SYSTEM_ID,"02101F170", Account_Code,"AIX 1TEST lpar04",1,AAID1002,0.016 AATRID10,20071030,20071030,01:15:03,01:15:03,1,2,SYSTEM_ID,"02101F170", Account_Code,"AIX 1TEST lpar04",1,AAID1002,0.004 AATRID4,20071030,20071030,02:30:07,02:30:07,1,2,SYSTEM_ID,"02101F25F",A ccount_Code,"AIX 0SAP ohm01",2,AAID0402,120,AAID0407,2048 In Example 1-2 we find the data from two VMware ESX servers (SYSTEM_ID) and three VMware guests (Instance) collected via one VirtualCenter Server (Feed). Example 1-2 CSR file for VMWare processing VMWARE,20071017,20071017,00:00:00,23:59:59,1,5,HostName,"host-19",Insta nce,"vm-33",Feed,"ITSC_VC",Account_Code,"WIN 1ESX",SYSTEM_ID,"srv079.it sc.austin.ibm.com",1,VMCPUUSE,10756036 VMWARE,20071017,20071017,00:00:00,23:59:59,1,5,HostName,"host-19",Insta nce,"vm-41",Feed,"ITSC_VC",Account_Code,"WIN 4ESX",SYSTEM_ID,"srv079.it sc.austin.ibm.com",1,VMCPUUSE,10688008 VMWARE,20071017,20071017,00:00:00,23:59:59,1,5,HostName,"host-8",Instan ce,"vm-31",Feed,"ITSC_VC",Account_Code,"WIN 0ESX",SYSTEM_ID,"srv106.its c.austin.ibm.com",1,VMCPUUSE,637429 The Tivoli Usage and Accounting Manager defines some reserved identifiers that are used for special processing. These are: Account_Code Will be matched with the Account Code Structure and used for Rate Table selection and Reporting Aggregation SYSTEM_ID Used for reading the factor from the Normalization Table during CPU normalization WORK_ID Optionally used for CPU normalization on the z/OS data collector specifying a subsystem such as TSO, JES2, or any other application (also not z/OS), if needed Feed Identifies and defines a subfolder in the process folder for data transfer 16 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 31. 2 Chapter 2. Solution environment This chapter explains the Tivoli Usage and Accounting Manager solution environment. The discussion covers the following: 2.1, “Hardware prerequisites” on page 18 2.2, “Software prerequisites” on page 18 2.3, “Sizing considerations” on page 21 2.4, “Typical deployment environment” on page 27 © Copyright IBM Corp. 2008. All rights reserved. 17
  • 32. 2.1 Hardware prerequisites The most up-to-date prerequisites (hardware and software) for Tivoli Usage and Accounting Manager can be retrieved from the following Web page: http://www-306.ibm.com/software/tivoli/products/usage-accounting/platfo rms.html The following hardware is recommended for running Tivoli Usage and Accounting Manager V7.1: Processor with speed of 3 GHz or more for application server or Web reporting server. An additional 2 GB of free memory for application server or Web reporting server. The database server uses 80 GB of hard drive space. Web reporting server uses 40 GB of hard drive space. Note: The space requirement may vary; see 2.3, “Sizing considerations” on page 21 for more information. 2.2 Software prerequisites The software prerequisites are divided into: 2.2.1, “Supported operating systems” on page 19 2.2.2, “Supported databases” on page 21 All other required software components, such as WebSphere Application Server and Integrated Solution Console, are packaged with the software itself. See also: http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/index.jsp?topic= /com.ibm.ituam.doc_7.1/install/r_app_server_specs_win.html http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/index.jsp?topic= /com.ibm.ituam.doc_7.1/install/r_app_server_specs_unix.html 18 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 33. 2.2.1 Supported operating systems Table 2-1 lists the supported operating systems. Table 2-1 Supported operating systems Platform Server Collector Reporting Web client AIX 5.2 Yes Yes No Yes AIX 5.3 Yes Yes BIRT only AIX 6.1 a Yes Yes BIRT only Yes Solaris 9 – SPARC Yes Yes No Yes Solaris 10 – SPARC Yes Yes No Yes Solaris 10 – x64 No Yes No Yes HP-UX 10.20 No Yes No Yes HP-UX 11i Yes Yes No Yes HP-UX 11.23 Itanium® No Yes No No Windows 2000 Pro No Yes No No Windows 2000 Server No Yes No No Windows 2000 Advanced Server No Yes No No Windows 2000 Data Center Server No Yes No No Windows XP Professional – x86 No No No Yes Windows XP Professional – x64 No No No Yes Windows Server® 2003 Standard – x86 Yes Yes Yes Yes Windows Server 2003 Enterprise – x86 Yes Yes Yes Yes Windows Server 2003 Datacenter – x86 Yes Yes Yes Yes Windows Server 2003 Web Edition – x86 Yes Yes Yes Yes Windows Server 2003 Standard – x64 Yes Yes Yes Yes Windows Server 2003 Enterprise – x64 Yes Yes Yes Yes Windows Server 2003 Datacenter – x64 Yes Yes Yes Yes Windows Server 2003 Web Edition – x64 Yes Yes Yes Yes Windows Vista® No Yes No Yes Chapter 2. Solution environment 19
  • 34. Platform Server Collector Reporting Web client RHEL 4.0 for x86 Yes Yes No Yes RHEL 5.0 for x86 Yes Yes No Yes RHEL 4.0 for AMD64 ¤ EM64T Yes Yes No Yes RHEL 5.0 for AMD64 ¤ EM64T Yes Yes No Yes RHEL 4.0 for System i No No No Yes RHEL 5.0 for System i No No No Yes RHEL 4.0 for System z (64 bit) Yes Yes No Yes RHEL 5.0 for System z (64 bit) Yes Yes No Yes RHEL 4.0 for PowerPC® Yes Yes No Yes RHEL 5.0 for PowerPC Yes Yes No Yes SLES 9 for x86 Yes Yes No Yes SLES 10 for x86 Yes Yes No Yes SLES 9 for AMD64 ¤ EM64T Yes Yes No Yes SLES 10 for AMD64 ¤ EM64T Yes Yes No Yes SLES 9 for System z (64 bit) Yes Yes No Yes SLES 10 for System z (64 bit) Yes Yes No Yes SLES 9.0 for PowerPC Yes Yes No Yes SLES 10 for PowerPC Yes Yes No Yes VMware ESX No Yes No No i5/OS v5 No Yes No No zVM No Yes No No z/OS v 1.1 No Yes No No z/OS v1.2 No Yes No No z/OS v1.3 No Yes No No z/OS v1.4 No Yes No No z/OS v1.3, v1.4, v1.5, v1.6, v1.7, and v1.8b No Yes No No a. With support for advanced accounting collection for AIX V5.3 and AIX V6. 20 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 35. b. Available only with the Tivoli Usage and Accounting Manager for z/OS Option of Tivoli Decision Support for z/OS. 2.2.2 Supported databases Table 2-2 lists the supported databases. Table 2-2 Supported databases Database Server Collector DB2 UDB 7.1 No Yes DB2 UDB 7.2 No Yes DB2 UDB 8.1 Yes Yes DB2 UDB 8.2 Yes Yes DB2 UDB 9.1 Yes Yes DB2 8.1 System z Yes No MS SQL Server 2000 Yes Yes MS SQL Server 2005 Yes Yes Oracle 8i No Yes Oracle 9i Yes Yes Oracle 9i v2 Yes Yes Oracle 10 Yes Yes 2.3 Sizing considerations The sizing considerations for Tivoli Usage and Accounting Manager deployment are mainly related to the data size. The initial Tivoli Usage and Accounting Manager server database using DB2 Universal Database™ in Windows uses approximately 350 MB. This section provides an overview for estimating the Tivoli Usage and Accounting Manager database growth. The estimation has not been tested with actual customer environments—it is only used for estimating our database size in our sample environment. Chapter 2. Solution environment 21
  • 36. We start by checking our database size in our Windows directory or Linux file system just after it is initialized. The data size is roughly 350 MB, including the database catalog and database log files. However, as Tivoli Usage and Accounting Manager is a data collection and processing tool, it collects and loads data into the database and keeps it for some period of time. Estimating its growth is critical for ensuring that the space is properly allocated and the resulting performance impact can be addressed (such as the time to back up the data, query response time, replication need, and so on). 2.3.1 Data elements The primary growth of data is for usage and accounting data. These are: Resource utilization The collection of the resource metric usage from the AcctCSR file; collection is provided by identifier for each resource (rate code). This is an optional collection. You do not need to collect the resource usage. Billing summary This provides a summary usage for each resource (rate code) by account code. It is important that the input to the billing cycle is sorted by account code to minimize duplicate summary records. The data is a one-to-one mapping from the BillSummary.txt file. Billing detail This provides individual entries from the AcctCSR file. It gives individual occurrences of source usage by resource name (rate code). This links to the identifier table for getting the identifier key for each of the entries. The data is a one-to-one mapping from the BillDetail.txt file. Identifier table This lists the identifiers that are used by each Billing detail entry. The data is a one-to-one mapping from the Ident.txt file. Figure 2-1 on page 23 provides an overview of the relationship between these tables. 22 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 37. Detail Ident Billing Detail Billing Summary LOADTRACKINGUID LOADTRACKINGUID LOADTRACKINGUID DETAILUID Get DETAILUID YEAR DETAILLINE identifier DETAILLINE PERIOD IDENTNUMBER ACCOUNTCODE SHIFT IDENTVALUE AGGREGATE ACCOUNTCODE STARTDATE Summarize, LENLEVEL% ENDDATE aggregate on RATETABLE SHIFTCODE Account_Code RATECODE AUDITCODE STARTDATE SOURCESYSTEM ENDDATE RATECODE RATEVALUE RESOURCEUNITS RESOURCEUNITS ACCOUNTINGSTARTDATE BREAKID ACCOUNTINGENDDATE MONEYVALUE USAGESTARTDATE USAGEENDDATE RUNDATE Resource Utilization BILLFLAG% Get LOADTRACKINGUID identifier DETAILUID DETAILLINE ACCOUNTCODE AGGREGATE STARTDATE ENDDATE SHIFTCODE AUDITCODE SOURCESYSTEM RATECODE RESOURCEUNITS Figure 2-1 Table relationships Some important tips for database size are: You should run the DBpurge program using Job runner to remove old data. Because Tivoli Usage and Accounting Manager data is an accounting financial tool, you may want to archive the data first. The data details can be huge and less useful than the summary data. You may want to purge detail data more often. Use the CSR+ format, and perform a sort before you run the Bill processing. The sorting with the CSR+ format is based on the account code and optimizes the billing process. Only collect the identifiers and resources that you are interested in. Modify the sample collection jobs, change the mapping, and remove any unwanted identifiers and resource fields. The number of identifiers and resources is a size multiplier for the tables. Chapter 2. Solution environment 23
  • 38. 2.3.2 Growth factors Now let’s look at each of the tables and analyze what the parameters are that affect their sizes. The following are the size multipliers: Number of days The retention period of your data before you run the purge step to remove them. Number of shift The number of shifts in a day that need different rate codes. Collection source Each collection source is processed with a different job. Each will generate a different set of data. Account code All billing and resource tables are indexed by the account code entry. This is the primary retrieval mechanism for Tivoli Usage and Accounting Manager data. You must estimate the number of distinct account codes. Number of resources The resources are mapped directly as rate code. These rate codes are the secondary search mechanism for Tivoli Usage and Accounting Manager. Number of identifiers Each identifier is put in a different row in the CIMSDETAILIDENT table. Identifier mix This is the number of unique identifiers in each collection. You should be able to estimate this number by your understanding of the collection process. As an example, for Windows, you can count the number of running processes in the day as the identifier mix. Now regarding the tables themselves, which of the above items maps? Table 2-3 lists the affecting factors and estimates the row size of the tables. Table 2-3 Table estimation Name Row Affecting source sizea CIMSRESOURCE 300 Source, Account_Code, Identifier mix, UTILIZATION RateCode, Shift, #day CIMSSUMMARY 300 Source, Account_Code, RateCode, Shift, #day CIMSDETAIL 350 Source, Account_Code, Identifier mix, Rate per id, Shift, #day CIMSDETAILIDENT 75 Identifier mix x Ident count 24 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 39. a. The row size is an estimate based on the table structure and using the assumption that a VARCHAR or VARGRAPHIC column uses half its capacity. 2.3.3 Sample growth estimation For the purpose of this sample, the following are the collected facts: Data is kept for two years, except that the detail data is for one year. Two shifts are collected. The account structure is in the form client - department - application - host. Collected usage information is for UNIX processes and Windows processes only. Average identifier length is 20 characters. Audit code is not used. Percentage of complete records, since some of the accounting data only has partial data. Some of the metrics may not appear in all records. We just use 75%. For the UNIX processes, collection is performed on 15 machines. There are 12 resource metrics that are collected. The identifier fields are Feed, Account_Code, hostname, userName, and process. The estimated number of processes per day is 250. For Windows processes, collection is performed on 20 machines. There are 8 resource metrics that are collected. The identifier fields are Feed, Account_Code, Server, User, processName (we assume that BasePriority, PriorityClass and ProgramPath fields are dropped). The estimated number of processes per day is 100. The number of unique identifiers in both UNIX and Windows processes will be the estimated number of processes. The number of account codes would then be derived from the account code structure. As mentioned above, the account code structure is client - department - application - host. It is important to plan this structure and how these items can be identified. This example assumes that the account code elements are retrieved as follows: Host is retrieved from hostname or Server identifiers. Application is derived using a lookup table based on the server, user, and program name. Department is derived from the application. Client is derived from the department. Chapter 2. Solution environment 25
  • 40. Based on the specification, we conclude that the number of unique account codes would be the same as the number of applications (or applications by host). We just assume here that the number of applications represents the number of unique account codes. Now we can start performing the calculation. First, we collected the multipliers as shown in Figure 2-2. Figure 2-2 Estimating the multipliers In Figure 2-2, the account structure is estimated by listing the component occurrences. We used the number of applications as the number of unique account codes. All the other numbers are collected from the discussion. The resulting table sizes are shown in Figure 2-3. Figure 2-3 Table size result As shown in Figure 2-3, the total data size is around 309 GB. We assume that we do not collect the resource utilization table. 26 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 41. 2.4 Typical deployment environment Based on the architecture of Tivoli Usage and Accounting Manager discussed in 1.4, “Product architecture” on page 10, we can identify the following deployment environment structures: 2.4.1, “Small, proof of concept, or demonstration environment” on page 27 2.4.2, “Medium scale production environment” on page 27 2.4.3, “Large scale production environment” on page 28 2.4.1 Small, proof of concept, or demonstration environment This small scale environment installs all components in a single Windows-based server that allows hosting of the database, application server, and Web reporting server on a single machine. This is not recommended in a larger environment because the load for the processing may interfere with the reporting activities. The configuration of this environment is shown in Figure 2-4. Embedded WebSphere Application Server 6.1 Integrated Solution Console Microsoft Report Viewer Microsoft Internet Information Services ITUAM reporting application ITUAM processing engine ITUAM data collectors Database ITUAMDB ITUAM server Figure 2-4 Small scale environment 2.4.2 Medium scale production environment The medium scale production environment still employs a single database. However, the processing and Web reporting functionality have been moved into different servers to allow better load distribution. There may also be the need to have a processing server on a different platform. The configuration of this environment is shown in Figure 2-5 on page 28. Chapter 2. Solution environment 27
  • 42. Embedded WebSphere Application Server 6.1 Microsoft Report Viewer Integrated Solution Console Microsoft Internet Information Services ITUAM processing engine ITUAM reporting application ITUAM data collectors Application Reporting Application server server server ITUAMDB Figure 2-5 Medium scale deployment 2.4.3 Large scale production environment In a large scale environment, data size may become quite large. Isolation between different reporting applications and processing applications may be necessary. An external data replication mechanism (such as DB2 replication) may be employed to synchronize database copies. Data load processing would not impact report generation, and, conversely, report generation is not hindered by data loading. This environment is depicted in Figure 2-6 on page 29. 28 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 43. Embedded WebSphere Application Server 6.1 Microsoft Report Viewer Integrated Solution Console Microsoft Internet Information Services ITUAM processing engine ITUAM reporting application ITUAM data collectors Application Reporting Application server server server replication ITUAMDB ITUAMDB Figure 2-6 Large scale environment Chapter 2. Solution environment 29
  • 44. 30 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 45. 3 Chapter 3. Project planning This chapter discusses the necessary preparation for running a deployment project for Tivoli Usage and Accounting Manager. The discussion is divided into: 3.1, “Required skills” on page 32 3.2, “Solution description and assumptions” on page 32 3.3, “Task breakdown” on page 33 © Copyright IBM Corp. 2008. All rights reserved. 31
  • 46. 3.1 Required skills For the implementation of Tivoli Usage and Accounting Manager V7.1, you would want to have the following prerequisite skills: Database skill for the database that you are using Operating system skill for the platform that you are using Usage data collection from the source platform Microsoft Reporting Server skill for developing new reports Understanding of the accounting and charge back system Apart from the above requirements, you would have to know the Tivoli Usage and Accounting Manager itself. This includes: Working with Integrated Solution Console (ISC) Working with Tivoli Usage and Accounting Manager job runner Performing file transformation into Common Source Format (CSR) IBM Tivoli Usage and Accounting Manager V7.1, SG24-7404 can also be used to get more information about these items. 3.2 Solution description and assumptions The Tivoli Usage and Accounting Manager solution performs the following: Collects usage information from a customer’s system Stores usage and accounting data in its database Generates reports or invoices for usage data The data collection methodology must be established using a series of planning sessions with the customer. In these sessions, the following items should be addressed: List of the data sources and their access methods to get the usage data, or if a supported method is available, this has to be understood. Some collection requires a certain feature to be enabled and certain authority may be needed to get access to this usage information. Understand the departmental structure of the customer to correctly define the account code structure that would allow a breakdown of accounting information to the appropriate department entity. 32 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 47. Identify the granularity of data collection from the customer to correctly calculate the data space requirements Identify the required charging items from the customer and how to get the data unit from the raw usage data Identify the reporting and maybe invoice requirements from the customer Based on the above requirements from the customer, you can start developing the solution configuration and implementation methods. The configuration involves defining where to put critical components, such as application server and Web reporting server; the implementation method, including deployment of the server and data collectors. Sometimes you can perform only a sub-set of the identified final configuration. The complete configuration would be up to the customer to implement. You must predetermine the initial sub-set to implement that is representative of the final configuration. 3.3 Task breakdown The detailed tasks for Tivoli Usage and Accounting Manager implementation are divided into: 3.3.1, “Project kick-off” on page 33 3.3.2, “Environment preparation” on page 34 3.3.3, “Database setup” on page 34 3.3.4, “Tivoli Usage and Accounting Manager server installation” on page 34 3.3.5, “Data collection pack setup” on page 34 3.3.6, “Customizing the product” on page 35 3.3.7, “Demonstrating the solution and skill transfer” on page 35 3.3.1 Project kick-off The kick-off of the project is a critical task during which the participants are identified, the roles and responsibilities are presented, and a generic project plan is laid out. The kick-off is also an important milestone to promote the project to the customer’s user base and generate interest for the project. Chapter 3. Project planning 33
  • 48. 3.3.2 Environment preparation The initial environment preparation has these objectives: Installing and preparing the new server machines with the appropriate operating system and network connectivity. This applies to the machines that will run the database, the application server, and the Web reporting server. Identifying client or agent machines on which data collectors will be installed. This includes tabulating their IP addresses, hostnames, owners, access to the machine, and other relevant information. Collecting installation media and required software for the installation. Depending on the size of the implementation and the readiness of the environment, this can take several hours or several days. 3.3.3 Database setup Once the environment preparation is done, you can install the supported database product. The database will be used as the center of processing for Tivoli Usage and Accounting Manager. Depending on the database configuration, you may set up additional features such as replication to improve the data availability. We will demonstrate DB2 Enterprise Server Edition V9.1 in 4.2, “Installing DB2” on page 41. 3.3.4 Tivoli Usage and Accounting Manager server installation Depending on how many servers you want to configure, you may need to run the Tivoli Usage and Accounting Manager installation program several times. The installation program installs all the necessary components including an embedded WebSphere Application Server and, in Windows, it also installs the Web reporting application. The detailed procedure of this installation is provided in 4.4, “Installing server components” on page 65. 3.3.5 Data collection pack setup Data collection pack installation is platform dependent. We demonstrate the Windows collector pack installation in 4.7, “Installing Windows Process Collector” on page 85. Some of the collector pack can be deployed using the Tivoli Usage and Accounting Manager job interface. 34 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 49. 3.3.6 Customizing the product Product customization includes: Defining Tivoli Usage and Accounting Manager configuration objects Defining Tivoli Usage and Accounting Manager rates, rate groups, calendar, clients, and schedules Collecting usage data Creating data loading jobs Customizing reports This is where the design of the solution is implemented. The identified requirement from 3.2, “Solution description and assumptions” on page 32 should be realized in this task. This task is discussed in 4.6, “Initial configuration” on page 71. 3.3.7 Demonstrating the solution and skill transfer After the customization has been completed and the solution is in place, you can demonstrate the result to the customer. This demonstration can serve as your completion milestone. You must also perform skill transfer so the customer’s personnel can operate and maintain the solution on a day-to-day basis. This is an important task that ensures smooth handover of the project. The demonstration tasks are provided in Chapter 5, “Usage demonstration” on page 93. Chapter 3. Project planning 35
  • 50. 36 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 51. Part 2 Part 2 Deployment © Copyright IBM Corp. 2008. All rights reserved. 37
  • 52. 38 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 53. 4 Chapter 4. Installation and configuration This chapter discusses the installation and configuration of Tivoli Usage and Accounting Manager. The discussion is divided into the following topics: 4.1, “Installation overview” on page 40 4.2, “Installing DB2” on page 41 4.3, “Installing server prerequisites” on page 54 4.4, “Installing server components” on page 65 4.5, “Installing Enterprise Collector Pack” on page 69 4.6, “Initial configuration” on page 71 4.7, “Installing Windows Process Collector” on page 85 © Copyright IBM Corp. 2008. All rights reserved. 39
  • 54. 4.1 Installation overview The installation in this chapter is done in a single-server environment. The deployment is done on a Windows 2003 Standard Edition with Service Pack 1 machine as shown in Figure 4-1. tuamsrv DB2 UDB 9.1 Usage Accounting Manager 7.1 EE Embedded WebSphere Application Server 6.1 Integrated Solution Console Usage Accounting Manager 7.1 ECP Usage Accounting Manager 7.1 WPC z twin01 twin02 Windows Process Collector Windows Process Collector Figure 4-1 Installation environment The steps are: 1. Installation of the server: a. DB2 Universal Database installation and database creation as discussed in 4.2, “Installing DB2” on page 41. b. Microsoft Internet Information Server, Microsoft .NET framework and Microsoft Report Viewer are needed for the Web reporting application; see 4.3, “Installing server prerequisites” on page 54. c. Tivoli Usage and Accounting Manager Enterprise Edition server, which includes an embedded WebSphere Application Server and Integrated Solution Console application, is installed in 4.4, “Installing server components” on page 65. d. The supported collectors are installed in a bundle called the Enterprise Collector Pack as discussed in 4.5, “Installing Enterprise Collector Pack” on page 69. e. Some setup of the Tivoli Usage and Accounting Manager application using the Integrated Solution Console is needed; see 4.6, “Initial configuration” on page 71. 40 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 55. 2. Deploying collectors to all participating machines is discussed in 4.7, “Installing Windows Process Collector” on page 85; we present both the manual and the Job runner deployment. 4.2 Installing DB2 We used the DB2 database in our server. The DB2 Universal Database Enterprise Server Edition V9.1 is installed as follows: Attention: To use the DB2 database in the same Windows machine with Tivoli Usage and Accounting Manager, you have to ensure that the DB2 .NET driver that is used by Microsoft Internet Information Server is the supplied DB2 Run Time Client. The current distribution uses DB2 V9.1 with Fix Pack 2. Typically, this is set at the DB2 installation time. 1. The initial DB2 installation panel when you invoke the setup.exe or from the autorun is the Launchpad shown in Figure 4-2. Figure 4-2 Launchpad Chapter 4. Installation and configuration 41
  • 56. 2. Selecting the Install a Product link gives you the product installation choices shown in Figure 4-3. Figure 4-3 Installation choices 3. Click Install Now. The DB2 installation wizard is started. Figure 4-4 on page 43 shows the initial DB2 installation window. 42 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 57. Figure 4-4 DB2 installation - welcome dialog 4. After you click Next, Figure 4-5 on page 44 shows the DB2 license agreement. Select to accept the license agreement and click Next. Chapter 4. Installation and configuration 43
  • 58. Figure 4-5 License agreement 5. For the setup type, we chose a typical setup as shown in Figure 4-6 on page 45. 44 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 59. Figure 4-6 Setup type 6. Figure 4-7 on page 46 indicates that we are just installing DB2 and not creating any response files. Chapter 4. Installation and configuration 45
  • 60. Figure 4-7 Response file option 7. Select the destination directory. Figure 4-8 on page 47 indicates that we use C:IBMSQLLIB. 46 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 61. Figure 4-8 Destination directory 8. Figure 4-9 on page 48 sets the user ID that we use, DB2ADMIN, and its password. Chapter 4. Installation and configuration 47
  • 62. Figure 4-9 DB2 user ID and its password 9. Figure 4-10 on page 49 shows the instance name to be created, which is DB2. 48 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 63. Figure 4-10 Instance name 10.Figure 4-11 on page 50 shows that we do not prepare the tools catalog. Chapter 4. Installation and configuration 49
  • 64. Figure 4-11 Tools catalog creation option 11.Figure 4-12 on page 51 ignores the notification option that DB2 may set up. 50 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 65. Figure 4-12 Setup notification 12.Operating system authentication is chosen in Figure 4-13 on page 52. Chapter 4. Installation and configuration 51
  • 66. Figure 4-13 Operating system authentication 13.Figure 4-14 on page 53 shows a summary of the installation options. 52 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 67. Figure 4-14 Installation options summary 14.Figure 4-15 on page 54 indicates that setup is complete. Chapter 4. Installation and configuration 53
  • 68. Figure 4-15 Setup completion 15.Creating the database is shown in Figure 4-16. The database (in Windows) must be defined as UTF-8. The definition of the default page size of 16 K allows us to have an overall 16 K page size. For a production environment, we recommend the default 4 K page size and to create an additional definition of buffer and tablespaces for larger page sizes such as 16 K. C:>DB2 CREATE DB ITUAMDB CODESET UTF-8 PAGESIZE 16 K DB20000I The CREATE DATABASE command completed successfully. Figure 4-16 Creating the database and buffer pools 4.3 Installing server prerequisites We installed the server on a Windows 2003 Server system (System SRV177 in our example). Prior to installing Tivoli Usage and Accounting Manager on the Report, several prerequisites are required: 54 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 69. Microsoft Internet Information Services (IIS) is required for the execution of the reporting application of Tivoli Usage and Accounting Manager. See 4.3.1, “Configuring Microsoft Internet Information Server” on page 55. A current version of the Microsoft Installer package is required. We installed MSI30-KB884016. If you are already running Microsoft Windows 2003 Service Pack 1, you do not need this. See 4.3.2, “Install the Microsoft Installer” on page 59. Microsoft .NET Framework Redistributable 2.0 is required for installing the Microsoft Report Viewer. See 4.3.3, “Install Microsoft .NET Framework 2.0” on page 61. Microsoft Report Viewer Redistributable 2005 is required for the standard Usage and Accounting Manager reports. See 4.3.4, “Install Microsoft SQL Server Report Viewer” on page 63. 4.3.1 Configuring Microsoft Internet Information Server This section discusses the setting up of Microsoft Internet Information Server using the Manage Your Server application. 1. The program can be started from: All Programs → Administrative Tools → Manage Your Server. See Figure 4-17 on page 56. Chapter 4. Installation and configuration 55
  • 70. Figure 4-17 Manage your server dialog 2. Click the Add a role link and it will start the configure your server wizard as shown in Figure 4-18 on page 57. 56 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 71. Figure 4-18 Configure server wizard 3. In the configuration options dialog shown in Figure 4-19, select Custom configuration. Figure 4-19 Configuration selection Chapter 4. Installation and configuration 57
  • 72. 4. In Figure 4-20 on page 58, select the application server and click Next. Figure 4-20 Server role selection 5. In Figure 4-21, select ASP.NET and click Next. Figure 4-21 Feature selection 58 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 73. 6. The installation commenced with a progress bar. Figure 4-22 shows that the installation is then finished. Figure 4-22 Installation completed 4.3.2 Install the Microsoft Installer Note: In our environment with Windows 2003 SP1 (as required by DB2 V9.1) we do not need the installation of Microsoft Installer. However, we also noticed that the .NET Framework 2.0 requires this installation. An up-to-date version of the Windows Installer software needs to be available on the Report server system. 1. Download the Windows Installer from: http://www.microsoft.com/downloads/details.aspx?FamilyID=5fbc5470-b2 59-4733-a914-a956122e08e8&DisplayLang=en 2. We executed the program WindowsInstaller-KB884016-v2-x86.exe to run the installation of the Windows Installer. The Welcome screen is displayed (Figure 4-23). Select Next. Chapter 4. Installation and configuration 59
  • 74. Figure 4-23 Welcome screen for the Windows Installer installation 3. Agree to the license shown in Figure 4-24 and select Next. Figure 4-24 License agreement for the Windows Installer 4. Selected files on your system are backed up. The Windows Installer is installed; the completion window is shown in Figure 4-25. Select Finish to end the installation. 60 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 75. Figure 4-25 Completion of the installation for the Windows Installer software 4.3.3 Install Microsoft .NET Framework 2.0 The .NET Framework is required if you install Microsoft Report Viewer to view the standard Tivoli Usage and Accounting Manager reports in RDL format. 1. Download the installation package for the Report Viewer from: http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-43 62-4b0d-8edd-aab15c5e04f5&DisplayLang=en 2. Run the downloaded program to start the installation and select Next at the Welcome screen. Accept the license agreement and select Install as in Figure 4-26. The installation progress window is displayed. Chapter 4. Installation and configuration 61
  • 76. Figure 4-26 Accept the .NET license agreement and start the installation 3. The Setup Complete message is displayed when the installation completes (Figure 4-27). Select Finish to end the installation. Figure 4-27 Setup complete for the .NET framework software 62 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 77. 4.3.4 Install Microsoft SQL Server Report Viewer The Microsoft Report Viewer is required for the standard Tivoli Usage and Accounting Manager reports (RDL format.) 1. Download the installation package for the Report Viewer from: http://www.microsoft.com/downloads/details.aspx?displaylang=en&Famil yID=8a166cac-758d-45c8-b637-dd7726e61367 2. Save the downloaded file as ReportViewer.exe. 3. We ran the program ReportViewer.exe to install the Report Viewer. The Welcome screen is displayed (Figure 4-28). Select Next. Figure 4-28 Welcome screen for the Report Viewer installation 4. Accept the license agreement and select Install as in Figure 4-29. Chapter 4. Installation and configuration 63
  • 78. Figure 4-29 License agreement for the Report Viewer and install the software 5. Once successfully installed, the Setup Complete window is displayed as in Figure 4-30. Select Finish to end the installation. Figure 4-30 Successful installation of the Report Viewer 64 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 79. 4.4 Installing server components Install the Report server using the Tivoli Usage and Accounting Manager enterprise edition Windows installation package. This package contains the Report server as well as the Tivoli Usage and Accounting Manager Application server software, the ISC, embedded WebSphere Application Server, and the DB2 Universal Database V9.1 runtime client. Make sure that you have the Microsoft Internet Information Server installed and active. All the following files must exist in the same directory: EmbeddedExpress_wintel_ia32.zip ISCAE71_4_EWASv61.zip setup-tuam-ee-7-1-0-wintel_ia32.exe setup-tuam-wpc-7-1-0-windows_32_64.exe v9fp2_ALL_LANG_setup_32.exe The installation steps are: 1. Run the program setup-tuam-ee-7-1-0-wintel_ia32.exe to install the Report server. Select Next on the Welcome screen. Accept the license agreement and select Next as in Figure 4-31. Figure 4-31 License agreement for Tivoli Usage and Accounting Manager Chapter 4. Installation and configuration 65
  • 80. 2. We installed the application server into the C:IBMtuam directory; see Figure 4-32. The default directory is C:Program Filesibmtuam. Select Next. Figure 4-32 Define the installation directory for the Report server software 3. Check the Windows Web Reporting option as shown in Figure 4-33. Select Next. Figure 4-33 Select the Windows Web Reporting option 66 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 81. 4. We chose the virtual directory option as shown in figure Figure 4-34. Select Next. Figure 4-34 Select a new virtual directory for Web reports 5. Select Install on the summary information screen. The installation progress indicator is displayed. 6. A task is automatically initiated to unpack the installed files, shown in Figure 4-35. Chapter 4. Installation and configuration 67
  • 82. Figure 4-35 Unpacking of the Application server software on the Report server 7. Successful completion of the installation is indicated with the summary information shown in Figure 4-36. Select Finish to end the installation. Figure 4-36 Successful installation of the Report server software 68 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 83. 4.5 Installing Enterprise Collector Pack The Enterprise Collector Pack is a separate installable component that provides all available collections for usage data that are supported for the platform. The Enterprise Collector Pack must be installed on the machine with the Tivoli Usage and Accounting Manager Enterprise Edition. The installation is performed from the file setup-tuam-ecp-7-1-0-wintel_ia32.exe. The installation dialog is as follows: 1. The Welcome window is shown in Figure 4-37. Click Next. Figure 4-37 Welcome dialog 2. The license agreement is shown in Figure 4-38 on page 70. Accept the agreement and click Next. Chapter 4. Installation and configuration 69
  • 84. Figure 4-38 License agreement 3. The Enterprise Collector Pack is always installed in the directory that the Enterprise Edition is installed in. Figure 4-39 shows the summary window for the installation; click Install. Figure 4-39 Summary window 4. When the installation completes, Figure 4-40 shows the completion dialog. 70 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 85. Figure 4-40 Completion dialog 4.6 Initial configuration There are several initial configurations that you need to do before you can use Tivoli Usage and Accounting Manager. These can be done from the Integrated Solution Console. Figure 4-41 on page 72 shows the console Welcome page. Chapter 4. Installation and configuration 71
  • 86. Figure 4-41 Welcome page Note: Tivoli Usage and Accounting Manager does not install the database We created the database when we installed DB2 in 4.2, “Installing DB2” on page 41. This section explains the following: 4.6.1, “Defining the JDBC driver” on page 72 4.6.2, “Defining data sources” on page 76 4.6.3, “Initializing the database” on page 78 4.6.1 Defining the JDBC driver The configuration of the JDBC driver for Tivoli Usage and Accounting Manager depends on the database software that has been installed. The DB2 Universal Database that we used comes with the JDBC drivers. We used the db2jcc.jar and db2jcc_license_cu.jar files. The following configures Tivoli Usage and Accounting Manager to use the JDBC driver: 1. From the ISC menu, select Usage and Accounting Manager → System Maintenance → Configuration. See Figure 4-42 on page 73. 72 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 87. Figure 4-42 Configuring the JDBC driver 2. In the Driver tab, click New to define the driver. Find the driver file in the tree in Figure 4-43 on page 74. Click OK when done. Chapter 4. Installation and configuration 73
  • 88. Figure 4-43 Finding the JDBC driver 3. The JDBC jar files are shown in Figure 4-44 on page 75. Click OK when done. 74 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 89. Figure 4-44 JDBC driver 4. Figure 4-45 on page 76 shows the final JDBC driver configuration in our system. Chapter 4. Installation and configuration 75
  • 90. Figure 4-45 Final JDBC driver configuration 5. After updating the JDBC driver, you should restart the Integrated Solution Console. Use the commands: C:IBMtuamewasbinstopServer.bat server1 C:IBMtuamewasbinstartServer.bat server1 4.6.2 Defining data sources Once you have the definition of the JDBC drivers, you can define the data sources. Using the ISC, add the data source. We added the Tivoli Usage and Accounting Manager database as a Server data source as follows: 1. From the ISC menu, select Usage and Accounting Manager → System Maintenance → Data Sources. 2. In the Data Source window, right-click the default data source and select Edit DataSource. See Figure 4-46 on page 77. 76 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 91. Figure 4-46 Editing the default data source 3. Figure 4-47 on page 78 shows the changes we made for the default data source. Chapter 4. Installation and configuration 77
  • 92. Figure 4-47 Default data source 4. Figure 4-48 on page 78 shows that the changes completed. Figure 4-48 Default data source changes 4.6.3 Initializing the database Once the data source is defined, you must initialize the database. Initializing the Tivoli Usage and Accounting Manager database creates and populates database tables and other database objects. Initializing the database is invoked from the 78 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 93. ISC and is performed against the databases that are identified as the default administration data source. 1. To initialize the Tivoli Usage and Accounting Manager database using the ISC menu, we select Usage and Accounting Manager → System Maintenance → Database → Initialize Database; see Figure 4-49. Figure 4-49 Initialize the database 2. Click Initialize Database. Confirm the dialog in Figure 4-50 and click Yes. Figure 4-50 Confirmation dialog 3. Figure 4-51 shows that the initialization of the database is complete. Chapter 4. Installation and configuration 79
  • 94. Figure 4-51 Initializing the database 4.6.4 Other configurations Once the database is initialized, the configuration dialog shows more options than just JDBC drivers, as shown in Figure 4-52 on page 81. 80 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 95. Figure 4-52 Configuration options The Logging option is shown in Figure 4-53 on page 82. Chapter 4. Installation and configuration 81
  • 96. Figure 4-53 Logging options Figure 4-54 on page 83 sets up the organization property in the CIMSCONFIG table. 82 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 97. Figure 4-54 Organization properties Figure 4-55 on page 84 shows the job runner processing properties. These properties are recorded in the CIMSCONFIGOPTION table. These directories have to exist. We change the process definition path from the samples sub-directory, so we have to create that directory. Chapter 4. Installation and configuration 83
  • 98. Figure 4-55 Processing properties Figure 4-56 on page 85 shows the reporting properties. We did not change any of the defaults. 84 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 99. Figure 4-56 Reporting properties 4.7 Installing Windows Process Collector The Windows Process Collector must be installed on the machines on which we are performing usage accounting. We now demonstrate the Windows Process Collector installation. 4.7.1 Manual installation process The Windows Process Collector is installed as follows: 1. Manually install the Windows Process Collector by executing the setup-tuam-wpc-7-1-0-windows_32_64.exe file. Make sure that the setup.jar and wpc.rsp files are located in the directory from which you are running the installer, as shown in Figure 4-57. Chapter 4. Installation and configuration 85
  • 100. Figure 4-57 Manually execute the Windows Process data collector installer 2. If a security warning is displayed, select Run. 3. The Install wizard starts. Select Next in the Welcome window. 4. Accept the license agreement and select Next. 5. If required, modify the directory name of the installation path and select Next (Figure 4-58.) Figure 4-58 Set the directory path for the Windows Process data collector 6. If required, update the data collector configuration according to your requirements, as shown in Figure 4-59. We accepted the defaults and selected Next. The option to Start application after installation and during reboot allows the job to run automatically. 86 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 101. Figure 4-59 Customize the Windows Process Collector 7. Review the summary information and select Install. 8. The installation progress window is displayed. Review the information in the summary information window and select Finish to complete the installation. Figure 4-60 shows the successful completion window. Figure 4-60 Successful installation of the Windows Process Collector Chapter 4. Installation and configuration 87
  • 102. 4.7.2 Deploying with a job The Windows Process Collector can also be deployed with a job. The job is copied from the SampleDeployProcessCollector.xml file. 1. Go to Usage and Accounting Manager → ChargeBack Maintenance → JobRunner → Sample jobs and select the SampleDeployProcessCollector.xml file as shown in Figure 4-61. Select the XML file and press Ctrl-C to copy the content. Figure 4-61 The SampleDeployProcessCollector.xml file 2. Go to Usage and Accounting Manager → ChargeBack Maintenance → JobRunner → Job files as shown in Figure 4-62 on page 89. Click New. 88 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 103. Figure 4-62 New job file 3. Create a new job; we called it DeployProcessCollector.xml as shown in Figure 4-63. Click OK. Figure 4-63 Define a new job 4. When the job file is created, replace its content with the paste key Ctrl-V and validate the job using Validate Job as shown in Figure 4-64 on page 90. Chapter 4. Installation and configuration 89
  • 104. Figure 4-64 Validated new job 5. Modify the job by specifying the correct hostname, user ID, and password for accessing the target machine. For deploying this, you must run the job on another Windows machine. Click Run Job and answer the prompt in Figure 4-65 on page 91. 90 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 105. Figure 4-65 Job run options 6. After the job has completed successfully, you can check the result from Usage and Accounting Manager → ChargeBack Maintenance → JobRunner → Log files, as shown in Figure 4-66 on page 92. Chapter 4. Installation and configuration 91
  • 106. Figure 4-66 Verifying the job result Note: If you notice that the deployment took a long time, check whether there is a process called vcredist_x86.exe running in the target machine. This may be an incompatibility of the Tivoli Usage and Accounting Manager distributed Visual C++® library and the Windows version that you are using. Stop the process and install Visual C++ library SP1 from the Microsoft Web site. 92 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 107. 5 Chapter 5. Usage demonstration This chapter explores the use of Tivoli Usage and Accounting Manager. We demonstrate collecting Windows process accounting. The description is provided in the following sections: 5.1, “Demonstration overview” on page 94 5.2, “Defining accounting resources” on page 95 5.3, “Running Windows collection” on page 102 5.4, “Loading Windows process data” on page 105 5.5, “Generating Windows reports” on page 112 5.6, “Additional demonstration scenarios” on page 117 © Copyright IBM Corp. 2008. All rights reserved. 93
  • 108. 5.1 Demonstration overview In the usage demonstration, we show the process of collecting usage data for the running Windows processes. These running processes are collected using the Windows process collection package of Tivoli Usage and Accounting Manager. The configuration is shown in Figure 5-1. tuamsrv DB2 UDB 9.1 Usage Accounting Manager 7.1 EE Embedded WebSphere Application Server 6.1 Integrated Solution Console Usage Accounting Manager 7.1 ECP Usage Accounting Manager 7.1 WPC z twin01 twin02 Windows Process Collector Windows Process Collector Figure 5-1 Demonstration environment The demonstration should be performed after the collectors run for a day, so we recommend to run the demonstration the day after the installation completed. Some of the data collection files are written with the date changes. The steps are as follows: 1. Configuring Tivoli Usage and Accounting Manager accounting resources is discussed in 5.2, “Defining accounting resources” on page 95. 2. Verifying that the Windows collection is running as shown in 5.3, “Running Windows collection” on page 102. 3. Configuring and running the data collection job as discussed in 5.4, “Loading Windows process data” on page 105. 4. Generating usage reports and sample invoices for the data is demonstrated in 5.5, “Generating Windows reports” on page 112. Finally, in 5.6, “Additional demonstration scenarios” on page 117 we present some other possible demonstration scenarios that you may use, depending on client requirements. 94 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 109. 5.2 Defining accounting resources In Tivoli Usage and Accounting Manager, you must prepare the environment for account processing. The following demonstrate some of the functions: 5.2.1, “Working with the account code structure” on page 95 5.2.2, “Setting up clients” on page 97 5.2.3, “Rate table” on page 101 5.2.1 Working with the account code structure Account code is the primary identifier that signifies who should be billed for the specified system usage. The account code structure has to be defined early on before you perform any data collection and processing. All the data items are labelled by the account code, hence it would be very hard to change the structure. This section explains the usage of the account code in Tivoli Usage and Accounting Manager, which should help you to define the account code structure according to your needs. Account code is a string with a fixed width field that defines the hierarchy of the accounting breakdown. The fields are used to split the account string for charging different organizational entities. Figure 5-2 shows a sample account code and its relation to charging rate. Account code Client Financial information Application Host 8 char 12 char 8 char 32 char CSR record VMWARE,20071025,20071025,00:00:00,23:59:59,1, 3,Feed,VM1,Account_Code,”ABCDEFG000012340000FINUSAGEsrv106.itsc.austin.ibm.com“,SYSTEM_ID,srv106, 2,VMCPUSY,200,VMDSKRD,345 Rate Rate Group Rate Table VMCPUSY VMware Rate VMDSKRD Rate Rate Group WINCPUUS Windows Rate WINDSKWR Rate WINMEMHI Figure 5-2 Sample account code with four parts and the rate code relationship Chapter 5. Usage demonstration 95
  • 110. The first part of the account code is the Client, representing the top level of your organization. The other parts are hierarchical information for aggregating the data during reporting. All parts of the account code are used to search the clients table to get a rate table. The lookup is performed based on each level of the account code hierarchy level. If no match is found, it will use the STANDARD rate table. We can set up a specific rate table for any account, as needed. The rate in the specific rate table is matched to the resource name in the resources segment of the CSR file to get the appropriate rate information. Rates are also organized in rate groups. The rate group allows you to report summary usage based on rate groups. Each rate has the definitions about the format, type, conversion factor, and money value for all shifts. Restriction: Defining a new rate group using the ISC Rate menu is limited to eight characters. Using the ISC Rate Group menu, you can rename a group later or create longer names, such as the examples shipped with Tivoli Usage and Accounting Manager are using. If a rate has the type CPU, the normalization will be done for this value during billing based on the identifiers SYSTEM_ID and/or WORK_ID. The default account code structure is shown in Figure 5-3. This can be maintained using the Integrated Solutions Console (ISC) menu and selecting Usage and Accounting Manager → System Maintenance → Account Code Structure. 96 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 111. Figure 5-3 Default Tivoli Usage and Accounting Manager Account Code Structure The structure is adequate for our demonstration environment. However, for most production implementations, you may need a longer client name (the sample in Figure 5-2 on page 95 shows an 8-character client name). 5.2.2 Setting up clients Client information is used to map the existing account code into a selection of rate tables. Initially there is only one rate table, called STANDARD. You can see the client list under Usage and Accounting Manager → ChargeBack Maintenance → Clients. The default clients are shown in Figure 5-4. Chapter 5. Usage demonstration 97
  • 112. Figure 5-4 Default clients list In our demonstration, we do not need these clients, which are based on application names. It may be useful to change the client list into departmental names to generate a better illustration. We define a new client called WIN for our Windows process information. Click New and fill in the form in Figure 5-5. Note: The client is typically a department or a division within an enterprise. It can also be a real customer for a service provider environment. We use a department called WIN to represent Windows users. 98 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 113. Figure 5-5 New client name We removed all other clients using Delete. The resulting client list is shown in Figure 5-6. Figure 5-6 The modified client list Selecting WIN from the drop-down menu, we select Add Contact. Click New. Figure 5-7 on page 100 shows the contact information entry. Chapter 5. Usage demonstration 99
  • 114. Figure 5-7 Contact information Figure 5-8 shows the updated contact list. Figure 5-8 Contact list 100 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 115. 5.2.3 Rate table The rates are defined under Usage and Accounting Manage → ChargeBack Maintenance → Rates. We filter the rate table to show only the rates that start with WIN* as shown in Figure 5-9. Figure 5-9 Windows rate table In Figure 5-9, all the rates are defined in the STANDARD rate table. For reporting purposes, rates are grouped into rate groups. The menu Usage and Accounting Manage → ChargeBack Maintenance → Rate groups for Windows processing is shown in Figure 5-10 on page 102. Chapter 5. Usage demonstration 101
  • 116. Figure 5-10 Windows process rate group Now all the basic entities in Tivoli Usage and Accounting Manager have been explored and defined. 5.3 Running Windows collection We now describe the Windows collection processing. 102 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 117. 5.3.1 Verifying the Windows process data collector installation Three techniques are used to verify the deployment, namely a directory listing, a listing of the services installed, and a display of an executing task. You perform these from the system where the Windows process data collector was installed. List the contents of the directory that contains the data collector software. Use the directory path specified during the install. The files located in the directory are listed in Figure 5-11. Figure 5-11 Directory listing of the Windows process data collector install path Using the Windows menus, select Control Panel → Administrative Tools → Services. Confirm that the Usage and Accounting Manager Process Collector has been added as a service, as shown in Figure 5-12. Chapter 5. Usage demonstration 103
  • 118. Figure 5-12 Tivoli Usage and Accounting Manager Windows collector service Start the Windows Task Manager and select the Processes tab. Verify that the WINPService.exe task is running, as indicated in Figure 5-13. Figure 5-13 Tivoli Usage and Accounting Manager executable 104 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 119. 5.3.2 Windows process data files The result of the collection are data files. These data files are located depending on the log file path parameter that is specified at installation time. A sample of a file list created by the Windows data collector is displayed in Figure 5-14. Figure 5-14 List of files created by the Windows data collector The file produced by the Windows data collector must be transferred to the processing server. These daily files should be transferred after midnight on the day they are produced, because the file is switched at midnight. Use the technique most suited to your environment to perform the transfer. If the processing server is a Windows-based machine, you can simply use a network share to connect and transfer, or run a FileTransfer step for Job Runner. If the processing server is not a Windows-based machine, you may need to use SSH to collect data from the Windows server. A non-Windows processing server requires that you use an Integrator program instead of WSF to process the data. The default processing out-of-the-box is using WSF. For an alternative use of an Integrator program for Windows processing data, see IBM Tivoli Usage and Accounting Manager V7.1 Handbook, SG24-7404. Once the data is in the processing server, you can start loading the data. 5.4 Loading Windows process data The loading process uses the Job Runner, which provides an XML-based batch job definition that allows multiple job steps. You can run the job using the Chapter 5. Usage demonstration 105
  • 120. startJobRunner command or from the Integrated Solution Console. You may also employ a job scheduling system to schedule the Job Runner execution. The discussion consists of the following: 5.4.1, “The data collection process” on page 106 5.4.2, “Account code mapping” on page 108 5.4.3, “Running the collection job” on page 111 5.4.1 The data collection process The SampleWinProcess.xml job supplied with Tivoli Usage and Accounting Manager uses the WinProcess.wsf. The WinProcess.wsf is a Windows script file that converts the input data to CSR format. This script will not work in a non-Windows processing server. The WinProcess.wsf script performs the following actions: Extracts type “S” (start) and type “I” (interval) records. Removes header and entries for System Idle Processes that are not used for accounting purposes. Formats the data into CSR format for output; input field mapping depends on the record type. The overall processing flow is demonstrated in Figure 5-15. The complete listing of the job file is provided in Appendix A, “Sample listing” on page 135. 106 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 121. Windows Process data Step 1 : WSF WinProcess.wsf 20071008.txt Step 2 : Scan CurrentCSR.txt Step 3: Integrator CreateIdentifierFromIdentifier DropFields CSR Output AcctCSR.txt Step 4 : Bill BillDetail.txt BillSummary.txt Ident.txt Step 5: DBLoad Figure 5-15 Overview of Windows processing The steps are: 1. Using WinProcess.wsf, map the process file into CSR format. 2. The scan process merges output files into a single file called CurrentCSR.txt. 3. The Integrator computes the account code and removes unused fields. In this case we drop the page fault (WINPGFLT) measurement, which generates the AcctCSR.txt file. 4. Billing processing allocates the resources, applies rates, and performs CPU normalization. It generates the summary, detail, and identifier files. 5. The billing files are loaded into the Tivoli Usage and Accounting Manager database. In 5.4.2, “Account code mapping” on page 108, we present a bit more of the account code processing since we wanted to demonstrate the account code usage. This also requires a modification in the SampleWinProcess.xml job file. Chapter 5. Usage demonstration 107
  • 122. 5.4.2 Account code mapping The default account code mapping for Windows process data is a concatenation from the fields Server and User. This may not be sufficient for most processing. The account code structure is shown in Figure 5-16. Figure 5-16 Account code structure We planned to use the mapping shown in Figure 5-17. “WIN “ Application (4) Resource group (16) Mapping from the user name, to be either of: Platform (16) SYSTEM DRIVER Server (20) USER Server Parsing of the User field Figure 5-17 Account code mapping 108 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 123. To generate this mapping, we performed the following integrator processing: 1. Defined static fields called appl and platform with the values of WIN and Windows using the stage CreateIdentifierFromValue. 2. Mapped the user name to the resource group using CreateIdentifierFromTable, which maps the executing user into the resource group. The conversion table that we used is shown in Example 5-1. Note: The conversion table format is three-part, comma-separated values. The first two values identify the source range (low to high) and the third value is the conversion output. Example 5-1 Conversion table NT A,NT z,SYSTEM Administrator,Administrator,ADMIN A,z,USER 3. Created the account code identifier using CreateIdentifierFromIdentifiers and mapped the identifier fields appl, resourcegroup, platform, and Feed. 4. Dropped unused fields using the DropFields stage, including dropping appl, platform, and resourcegroup fields as they have been recorded in the Account_Code field. The overall integration stages are shown in Example 5-2. Example 5-2 Integrator stage <Integrator> <Input name=”CSRInput”> <Files><File name=”CurrentCSR.txt”></Files> </Input> <Stage name=”CreateIdentifierFromValue” active=”true”> <Identifiers> <Identifier name="appl" value="WIN"/> <Identifier name="platform" value="Windows”/> </Identifiers> </Stage> <Stage name=”CreateIdentifierFromTable” activ=”true”> <Identifiers> <Identifier name="resgroup"> <FromIdentifiers> <FromIdentifier name="User" offset="1" length="16"/> </FromIdentifiers> </Identifier> Chapter 5. Usage demonstration 109
  • 124. </Identifiers> <Files> <File name="Table.txt" type="table"/> <File name="Excp.txt" type="exception" format="CSROutput"/> </Files> <Parameters> <Parameter exceptionProcess="true"/> <Parameter sort="true"/> <Parameter upperCase="false"/> <Parameter writeNoMatch="false"/> <Parameter modifyIfExists="true"/> </Parameters> </Stage> <Stage name="CreateIdentifierFromIdentifiers" active="true"> <Identifiers> <Identifier name="Account_Code"> <FromIdentifiers> <FromIdentifier name="appl" offset="1" length="4"/> <FromIdentifier name="resgroup" offset="1" length="16"/> <FromIdentifier name="Server" offset="1" length="16"/> <FromIdentifier name="User" offset="1" length="20"/> </FromIdentifiers> </Identifier> </Identifiers> <Parameters> <Parameter keepLength="true"/> <Parameter modifyIfExists="true"/> </Parameters> </Stage> <Stage name="DropFields" active="true"> <Fields> <Field name="appl"/> <Field name="platform"/> <Field name="resgroup"/> <Field name="WINPGFLT"/> </Fields> </Stage> <Stage name="CSROutput" active="true"> <Files><File name="%ProcessFolder%/AcctCSR.txt"/></Files> </Stage> </Integrator> 110 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 125. 5.4.3 Running the collection job The collection job is created from the SampleWinProcess.xml sample. Use the copy process discussed in 4.7.2, “Deploying with a job” on page 88. Copy the content of SampleWinProcess.xml into a new job file called WinProcess.xml. Modify Step 3, the integrator step with the account code mapping logic from Example 5-2. Validate the job using the Validate Job button, and correct any syntax error in the job. Click Run Job to run the job. It should finish successfully. Again, correct any errors that you may encounter before proceeding. Figure 5-18 shows the output of the job. Figure 5-18 Job log result You can also see that the load is performed from the Load tracking detail, as shown in Figure 5-19 on page 112. Chapter 5. Usage demonstration 111
  • 126. Figure 5-19 Load tracking result 5.5 Generating Windows reports Once the data is collected, we can start demonstrating the usage report. The reporting application is based on user authentication from the Users setting. The ISC definition of the default users is shown in Figure 5-20. Figure 5-20 User list The user group’s default definition is shown in Figure 5-21 on page 113. 112 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 127. Figure 5-21 User group The setting of a group determines access to the Financial Modeler feature. From on the drop-down of the group and select Edit. See the setting in Figure 5-22. We enable financial modeler and administrative access. Figure 5-22 Group setting Chapter 5. Usage demonstration 113
  • 128. The report is accessed using the URL: http://tuamsrv/tuam Log in using the userid admin and the default password password. See the login steps in Figure 5-23. Figure 5-23 Login to the Web reporting We demonstrate some of the reports. Figure 5-24 on page 115 shows the summary usage report in a cross table. 114 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 129. Figure 5-24 Summary crosstab for usage Figure 5-25 on page 116 shows the daily charges. Chapter 5. Usage demonstration 115
  • 130. Figure 5-25 Daily charges Figure 5-26 on page 117 shows a generated invoice report. 116 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 131. Figure 5-26 Invoice 5.6 Additional demonstration scenarios Tivoli Usage and Accounting Manager provides a wide range of data collection and processing routines. You may want to demonstrate some other data collection capabilities. Some important collections that you may want to consider are: Chapter 5. Usage demonstration 117
  • 132. Other platforms that you may want to collect usage accounting from, such as a Linux or UNIX platform. Virtualization environment accounting, such as System p™ partitioning or VMware ESX server. Application-specific collection, such as Lotus Notes application usage and size, SAP data or others. User-defined data collection, which may be the toughest option, but with the appropriate experience, this can demonstrate the best flexible solution that Tivoli Usage and Accounting Manager can offer. One important aspect of running these demonstrations is the mapping of the Account Code, which must be carefully considered because this provides the best way of illustrating charge breakdown of the usage data. 5.7 Financial Modeler The Financial Modeler is a spreadsheet model that allows manipulation of financial cost and budget calculations. It performs analysis that can lead to correction of the rate table. This section walks you through the steps of using the Financial Modeler. In this sample, we are working with the following: A budget system that has 2 pools— 200,000 for mainframe maintenance and 250,000 for distributed systems. We analyze z/OS, Windows and UNIX server rates; we assume CPU usage is the chargeback criteria. 1. Logging into the Financial Modeler – The URL for our Financial Modeler is: http://tuamsrv/FinancialModeler – Log in with the user ID and password that has access to the Financial Modeler; we use the admin user. – Click Cancel when prompted for opening a model, because we will create a new model. See the steps in Figure 5-27 on page 119. 118 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 133. Figure 5-27 Starting Financial Modeler 2. Creating a new model wizard by clicking New; see Figure 5-28 on page 120. The wizard collects information about: – Budget pools – Budget subpools – Rate codes Chapter 5. Usage demonstration 119
  • 134. Figure 5-28 Model creation wizard 3. Working with the allocation view. Once the model is created, we get the spreadsheet view. The view has 4 tabs, which are: – Budget values - this allows the budget to be entered; see Figure 5-29 on page 121. 120 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 135. Figure 5-29 Budget values – Percent allocation - assign percentage values for the rate group from the budget subpools; see Figure 5-30. Figure 5-30 Rate allocation Chapter 5. Usage demonstration 121
  • 136. Note: A subpool relates to one or more Rate Codes. You can choose any percentage you want; but make sure it adds up to 100%. – Cost calculations - from the allocation, the modeler calculates the amount for the period for each resource; see Figure 5-31. Figure 5-31 Cost calculation – Rate calculation - the usage data is then retrieved from the database to match the budget allocation; see Figure 5-32 on page 123. The value can be refreshed after changing the date selection using Calculate Rates. The computed values are shown in the yellow-shaded background. 122 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 137. Figure 5-32 Rate calculation Note: The default rate calculation calculates for a zero profit. Adjust the time period that you retrieved the data from. You can change the uplift Factor to adjust the rate. Click on Update Rates to save the calculated rates. 4. Saving the model - click Save. Chapter 5. Usage demonstration 123
  • 138. 124 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 139. 6 Chapter 6. Troubleshooting hints and tips This chapter provides some tips on problem solving when using Tivoli Usage and Accounting Manager. The discussion is divided into: 6.1, “General logging and tracing options” on page 126 6.2, “Installation and configuration details” on page 128 6.3, “Integrated Solution Console debugging” on page 128 6.4, “Job Runner debugging” on page 130 6.5, “Quick finder for trace and log information” on page 132 © Copyright IBM Corp. 2008. All rights reserved. 125
  • 140. 6.1 General logging and tracing options The logging and tracing settings for Tivoli Usage and Accounting Manager are stored in the logging.properties configuration file, which is located in /opt/ibm/tuam/config. The logging.properties file can be accessed from the Integrated Solution Console (ISC) Web interface in the Configuration page, as shown in Figure 6-1, by selecting Usage and Accounting Manager → System Maintenance → Configuration → Logging. Figure 6-1 Logging options You can set the file size for tracing and logging files, number of generations, and logging levels. These trace files are written to the /opt/ibm/tuam/logs/server directory. Our sample logging.properties file is shown in Example 6-1. Example 6-1 Sample logging.properties #Oct 31, 2007 12:16:08 PM 126 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 141. handlers=com.ibm.tivoli.ituam.logger.MessageFileHandler,com.ibm.tivoli. ituam.logger.TraceFileHandler .level=FINEST com.ibm.tivoli.tuam.logger.MessageFileHandler.append=true com.ibm.tivoli.tuam.logger.MessageFileHandler.count=11 com.ibm.tivoli.tuam.logger.MessageFileHandler.formatter=java.util.loggi ng.SimpleFormatter com.ibm.tivoli.tuam.logger.MessageFileHandler.level=INFO com.ibm.tivoli.tuam.logger.MessageFileHandler.limit=10000000 com.ibm.tivoli.tuam.logger.MessageFileHandler.pattern=C:/ibm/tuam/logs/ server/message%g.log com.ibm.tivoli.tuam.logger.TraceFileHandler.append=true com.ibm.tivoli.tuam.logger.TraceFileHandler.count=11 com.ibm.tivoli.tuam.logger.TraceFileHandler.formatter=java.util.logging .SimpleFormatter com.ibm.tivoli.tuam.logger.TraceFileHandler.level=FINEST com.ibm.tivoli.tuam.logger.TraceFileHandler.limit=10000000 com.ibm.tivoli.tuam.logger.TraceFileHandler.pattern=C:/ibm/tuam/logs/se rver/trace%g.log As indicated in Example 6-1, the settings are for the message file and trace file. The settings include: append Whether to append to the log files after a restart count Number of generations of the log file formatter Log file formatter class level Level of logging to be recorded in this type of log limit File size limit, before a new generation is created pattern File name of the log file, the default is using Trace%g.log or Message%g.log (%g indicates the generation number) The trace and log files are written from the Integrated Solution Console and job processes. Every time a process is accessing the trace or message file, a lock file (.lck) is created. If another process wants to write to a log file, it creates an additional trace file with a numbered suffix. The trace and message log files name is in the format <type><n>.log.<m>; where: type Message or trace n Archived log file serial number; the current log has the serial number of 0 m Number entries for different processes that write log files Chapter 6. Troubleshooting hints and tips 127
  • 142. The reporting application uses a different log file called trace_net0.log. This is generated from the application under the Microsoft Internet Information Server. 6.2 Installation and configuration details The installation process has a different logging default than the program itself. It is typically the Tivoli common logging directory, which in Windows is Program FilesibmtivolicommonAUClogsinstall. However, in UNIX it is /opt/ibm/tivoli/common/AUC/logs/install. The log file for the Enterprise Edition and Enterprise Collector Pack is called TUAMInstall.log. In Windows, there is an additional DB2RTCInstall.log file for the DB2 UDB V9.1 run time client. The Windows Process Collector creates an additional log file called WPCInstall.log. The installation stages for the Enterprise Edition are performed mostly from the setupconsole directory: 1. The files are transferred into the installation directory. 2. The wizard installs an embedded WebSphere Application Server and the Integrated Solution Console, which is performed by simply unzipping the EmbeddedExpress and ISCAE71 zip files. 3. The wizard deploys the Tivoli Usage and Accounting Manager application using the deployTUAM.bat command to run deployTUAMConsole.py, which installs the aucConsole.war file. 4. In Windows only, the wizard invokes db2rtc.bat to install the DB2 runtime client. 5. Post installation is performed using the tuamPostInstall.bat. In Windows, it installs the report application using iisconfig.vbs, and installation of the FinancialModeler using financialModelerConfig.bat. 6.3 Integrated Solution Console debugging The Integrated Solution Console is based on a WebSphere Application Server. Apart from the standard Tivoli Usage and Accounting Manager logging files, some information can also be retrieved from the WebSphere logs. WebSphere logs are the standard output and standard error of the WebSphere’s JVM™. These are in $TUAM_home/ewas/profiles/AppSrv01/logs/server1 with the file name of SystemOut.log and SystemErr.log, respectively. 128 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 143. Doing configuration tasks, you might get a message as in Figure 6-2. You should check for the Tivoli Usage and Accounting Manager server logs first. Then you might need to check your database logs. In certain cases it might help to watch for the WebSphere logs, to get some information on connectivity. Figure 6-2 Error message about a database task For some messages (see Figure 6-3) you may not need to watch for details in the log. Chapter 6. Troubleshooting hints and tips 129
  • 144. Figure 6-3 Error message about a configuration task 6.4 Job Runner debugging For the Tivoli Usage and Accounting Manager processing engine, the trace option can be set, in addition, in the XML job files at the step and stage level. Acct step parameter trace=”true” Bill step parameter trace=”true” Integrator step will set it on the stage level: <Stage name="function" trace="true"> For the Integrator collector section, use <parameter name=”trace” value=”on” /> Note: The trace options are not consistent yet, so you may try using upper or lowercase and ON instead of true in some cases. 130 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 145. Two types of output are produced when a job is running: A Job Runner log file, which is located in the /opt/ibm/tuam/logs/jobrunner directory in a directory named according to the Job ID parameter value in the job file. The XML version is for the ISC to display the log file, and a text version can be used for searching on the command line level or viewing with an editor. The Trace and message files, located in the /opt/ibm/tuam/logs/server directory, are active for the entire life of the application server running under the embedded WebSphere Application Server. Running a job from the ISC, failures will cause an error message as shown in Figure 6-4. Figure 6-4 Error message due to a job failure Fore more details, we can search the log files shown in Figure 6-5. [root@srv105 /]# cd /opt/ibm/tuam/logs/jobrunner/AIXAA_aggregated [root@srv105 AIXAA_aggregated]# ls -tr *txt | tail -3 | while read file ; do grep -E .*AUCJR003[1-2].* $file; done 11/5/07 13:32:11.197: INFORMATION AUCJR0032I The job AIXAA_aggregated completed at Nov 5, 2007 1:32:11 PM with 1 warning, 0 errors. 11/5/07 13:52:47.560: INFORMATION AUCJR0031I The AIXAA_aggregated process completed successfully at the following time: Nov 5, 2007 1:52:47 PM. 11/5/07 13:53:44.934: INFORMATION AUCJR0032I The job AIXAA_aggregated completed at Nov 5, 2007 1:53:44 PM with 0 warnings, 1 error. [root@srv105 AIXAA_aggregated]# ls -tr *txt | tail -1 | while read file ; do echo $file ; grep -i warn $file | wc -l; grep -i error $file | wc -l ; done 20071105_135342.txt 4 # shows the # of warnings 8 # shows the # of errors Figure 6-5 Searching the logs on the command line level For detailed analysis of the last log, you might issue the command: ls -tr | tail -1 | while read file; do more $file; done Chapter 6. Troubleshooting hints and tips 131
  • 146. 6.5 Quick finder for trace and log information Table 6-1 is a summary of where to change settings and search for files. Table 6-1 Overview for trace and log files Path or file name Function /opt/ibm/tuam/logs/jobrunner/<JobId> Job runner log files separated per JobID <timestamp>.txt Job log output <timestamp>.xml Job log for use with the ISC /opt/ibm/tuam/logs/server/ Tivoli Usage and Accounting Manager trace and log files message0.log Messages from tuam processing, where message<g>.log<#> <g> = generation and <#> = instance. trace0.log Trace details for tuam processing, where trace<g>.log<#> <g> = generation and <#> = instance. *.lck lock files for trace and log coordination trace_net0.log Trace for the reporting server on Windows only. /opt/ibm/tuam/ewas/profiles/AppSrv01SystemOut.log/logs/server1 WebSphere and Integrated Solutions Console (ISC) files SystemOut.log WebSphere messages SystemErr.log WebSphere error log /opt/ibm/tuam/config Tivoli Usage and Accounting Manager config files logging.properties settings for trace and message files jdk_logging.properties not used with version 7.1 /opt/ibm/tivoli/common/AUC/logs/install Installation and uninstallation log files 132 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 147. Part 3 Part 3 Appendixes © Copyright IBM Corp. 2008. All rights reserved. 133
  • 148. 134 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 149. A Appendix A. Sample listing The listings are: “Sample Windows load job” on page 136 “Sample Windows process collector job” on page 140 © Copyright IBM Corp. 2008. All rights reserved. 135
  • 150. Sample Windows load job <?xml version=”1.0” encoding=”utf-8”?> <!-- *************************************************************** {COPYRIGHT-TOP} * Licensed Materials - Property of IBM * IBM Tivoli Usage and Accounting Manager * 5724-O33, 5765-UAV, 5765-UA7, 44E7863 * (c) Copyright IBM Corp. 2004, 2007 * * The source code for this program is not published or otherwise * divested of its trade secrets, irrespective of what has been * deposited with the U.S. Copyright Office. **************************************************************** {COPYRIGHT-END} --> <Jobs xmlns=”http://www.ibm.com/TUAMJobs.xsd”> <Job id=”SampleWinProcess” description=”Daily collection” active=”true” joblogShowStepParameters=”true” joblogShowStepOutput=”true” processPriorityClass=”Low” joblogWriteToTextFile=”true” joblogWriteToXMLFile=”true” smtpSendJobLog=”true” smtpServer=”mail.ITUAMCustomerCompany.com” smtpFrom=”[email protected]” smtpTo=”[email protected]” stopOnProcessFailure=”false”> <Process id=”WinProcess” description=”Process for Windows Process Collection” active=”true”> <Steps stopOnStepFailure=”true”> <Step id=”Server1 Collection” description=”Server1 WinProcess” type=”ConvertToCSR” programName=”WinProcess/WinProcess.wsf” programType=”wsf” active=”true”> <Parameters> <Parameter Feed=”Server1”/> 136 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 151. <Parameter LogFolder=”%CollectorLogs%/WinProcess”/> </Parameters> </Step> <Step id=”Scan” description=”Scan WinProcess” type=”Process” programName=”Scan” programType=”java” active=”true”> <Parameters> <Parameter retainFileDate=”false”/> <Parameter allowMissingFiles=”false”/> <Parameter allowEmptyFiles=”false”/> <Parameter useStepFiles=”false”/> </Parameters> </Step> <Step id=”Integrator” description=”Standard Processing for WinProcess” type=”Process” programName=”integrator” programType=”java” active=”true”> <Integrator> <Input name=”CSRInput”> <Files><File name=”%ProcessFolder%/CurrentCSR.txt”/></Files> </Input> <Stage name=”CreateIdentifierFromValue” active=”true”> <Identifiers> <Identifier name=”appl” value=”WIN”/> <Identifier name=”platform” value=”Windows”/> </Identifiers> </Stage> <Stage name=”CreateIdentifierFromRegEx” active=”true”> <Identifiers> <Identifier name=”ntuser”> <FromIdentifiers> <FromIdentifier name=”User” regEx=”(w+)(w+)” value=”$2”/> </FromIdentifiers> </Identifier> </Identifiers> <Parameters> <Parameter keepLength=”true”/> Appendix A. Sample listing 137
  • 152. <Parameter modifyIfExists=”true”/> </Parameters> </Stage> <Stage name=”CreateIdentifierFromTable” active=”true”> <Identifiers> <Identifier name=”resgroup”> <FromIdentifiers> <FromIdentifier name=”ntuser” offset=”1” length=”16”/> </FromIdentifiers> </Identifier> </Identifiers> <Files> <File name=”%ProcessFolder%/Table.txt” type=”table”/> <File name=”%ProcessFolder%/Excp.txt” type=”exception” format=”CSROutput”/> </Files> <Parameters> <Parameter exceptionProcess=”true”/> <Parameter sort=”true”/> <Parameter upperCase=”false”/> <Parameter writeNoMatch=”false”/> <Parameter modifyIfExists=”true”/> </Parameters> </Stage> <Stage name=”CreateIdentifierFromIdentifiers” active=”true”> <Identifiers> <Identifier name=”Feed”> <FromIdentifiers> <FromIdentifier name=”Server” offset=”1”/> </FromIdentifiers> </Identifier> </Identifiers> <Parameters> <Parameter keepLength=”true”/> <Parameter modifyIfExists=”true”/> </Parameters> </Stage> <Stage name=”CreateIdentifierFromIdentifiers” active=”true”> <Identifiers> <Identifier name=”Account_Code”> <FromIdentifiers> <FromIdentifier name=”appl” offset=”1” length=”4”/> <FromIdentifier name=”resgroup” offset=”1” length=”16”/> <FromIdentifier name=”Server” offset=”1” length=”16”/> <FromIdentifier name=”ntuser” offset=”1” length=”20”/> 138 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 153. </FromIdentifiers> </Identifier> </Identifiers> <Parameters> <Parameter keepLength=”true”/> <Parameter modifyIfExists=”true”/> </Parameters> </Stage> <Stage name=”DropFields” active=”true”> <Fields> <Field name=”appl”/> <Field name=”platform”/> <Field name=”resgroup”/> <Field name=”ntuser”/> <Field name=”WINPGFLT”/> </Fields> </Stage> <Stage name=”CSROutput” active=”true”> <Files><File name=”%ProcessFolder%/AcctCSR.txt”/></Files> </Stage> </Integrator> </Step> <Step id=”Process” description=”Standard Processing for WinProcess” type=”Process” programName=”Bill” programType=”java” active=”true”> <Bill> <Parameters> </Parameters> </Bill> </Step> <Step id=”DatabaseLoad” description=”Database Load for WinProcess” type=”Process” programName=”DBLoad” programType=”java” active=”true”> <DBLoad> <Parameters> </Parameters> </DBLoad> </Step> Appendix A. Sample listing 139
  • 154. <Step id=”Cleanup” description=”Cleanup WinProcess” type=”Process” programName=”Cleanup” programType=”java” active=”false”> <Parameters> <Parameter DaysToRetainFiles=”45”/> </Parameters> </Step> </Steps> </Process> </Job> </Jobs> Sample Windows process collector job <?xml version=”1.0” encoding=”utf-8”?> <!-- *************************************************************** {COPYRIGHT-TOP} * Licensed Materials - Property of IBM * IBM Tivoli Usage and Accounting Manager * 5724-O33, 5765-UAV, 5765-UA7, 44E7863 * (c) Copyright IBM Corp. 2004, 2007 * * The source code for this program is not published or otherwise * divested of its trade secrets, irrespective of what has been * deposited with the U.S. Copyright Office. **************************************************************** {COPYRIGHT-END} --> <Jobs xmlns=”http://www.ibm.com/TUAMJobs.xsd”> <Job id=”DeployProcessCollector” description=”Deploy the Process Collector Agent” active=”true” joblogShowStepParameters=”true” joblogShowStepOutput=”true” processPriorityClass=”Low” joblogWriteToTextFile=”true” joblogWriteToXMLFile=”true” smtpSendJobLog=”false” 140 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 155. smtpServer=”mail.ITUAMCustomerCompany.com” smtpFrom=”[email protected]” smtpTo=”[email protected]” stopOnProcessFailure=”false”> <Process id=”DeployProcessCollector” description=”Deployment of the Process Collector Agent” joblogShowStepOutput=”true” joblogShowStepParameters=”true” active=”true”> <Steps stopOnStepFailure=”true”> <Step id=”Server1 Deployment” description=”Server1 Deployment” type=”ConvertToCSR” programName=”rpd” programType=”java” active=”true”> <Parameters> <Parameter Action = “install”/> <Parameter Host = “twin01”/> <Parameter UserId = “Administrator”/> <Parameter Password = “its0g00d”/> <!--Parameter KeyFilename = “yourkeyfilename”/--> <Parameter Protocol = “win”/> <!--Parameter RPDParameters = “AccountingInterval=86400;AccountingIntervalCommand= ;AccountingIntervalTime=00:00;LogFileExtension=.txt;LogFilePath=%ITUAMI nstallPathRemote%CIMSWinProcessLogs;LogFilePrefix=CIMSProcessLog-;Sampl ingInterval=1;UseAccountingIntervalTime=No;UseLocalTime=Yes;WriteInterv alEndRecords=No;”/--> <Parameter Verbose = “true”/> <Parameter SourcePath = “%HomePath%/collectors/winprocess”/> <!-- Note: For 32-bit systems, use the following Manifest tag. --> <Parameter Manifest = “32bit/DeploymentManifest.xml”/> <!-- Note: For X64 64-bit systems, comment out the 32 bit Manifest tag (above), and uncomment the following line. --> Appendix A. Sample listing 141
  • 156. <!--Parameter Manifest = “64bit/DeploymentManifestX64.xml”/--> </Parameters> </Step> </Steps> </Process> <Process id=”RemoveProcessCollector” description=”Removal of the Process Collector Agent” joblogShowStepOutput=”true” joblogShowStepParameters=”true” active=”false”> <Steps stopOnStepFailure=”true”> <Step id=”Server1 Removal” description=”Server1 Removal” type=”ConvertToCSR” programName=”rpd” programType=”java” active=”true”> <Parameters> <Parameter Action = “remove”/> <Parameter Host = “test-remove”/> <Parameter UserId = “someid”/> <Parameter Password = “somepassword”/> <!--Parameter KeyFilename = “yourkeyfilename”/--> <!--Parameter Protocol = “win | ssh”/--> <Parameter Verbose = “true”/> <Parameter SourcePath = “%HomePath%/collectors/winprocess”/> <!-- Note: For 32-bit systems, use the following Manifest tag. --> <Parameter Manifest = “32bit/DeploymentManifest.xml”/> <!-- Note: For X64 64-bit systems, comment out the 32 bit Manifest tag (above), and uncomment the following line. --> <!--Parameter Manifest = “64bit/DeploymentManifestX64.xml”/--> </Parameters> </Step> </Steps> 142 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 157. </Process> </Job> </Jobs> Appendix A. Sample listing 143
  • 158. 144 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 159. B Appendix B. Additional material This book refers to additional material that can be downloaded from the Internet as described below. Locating the Web material The Web material associated with this book is available in softcopy on the Internet from the IBM Redbooks Web server. Point your Web browser at: ftp://www.redbooks.ibm.com/redbooks/SG247569 Alternatively, you can go to the IBM Redbooks Web site at: ibm.com/redbooks Select the Additional materials and open the directory that corresponds with the IBM Redbooks form number, SG247569. © Copyright IBM Corp. 2008. All rights reserved. 145
  • 160. Using the Web material The additional Web material that accompanies this book includes the following files: File name Description SG247569.zip Zipped code samples System requirements for downloading the Web material The Web material is used in conjunction with the IBM Tivoli Usage and Accounting Manager. You should follow the hardware requirement for the product. The Web material itself used: Hard disk space: 20 KB How to use the Web material Create a subdirectory (folder) on your workstation, and unzip the contents of the Web material zip file into this folder. 146 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 161. Abbreviations and acronyms AIX Advanced Interactive eXecutive BIRT Business Intelligence and Reporting Tool CPU Central Processing Unit CSR Common Source Format FTP File Transfer Protocol GB Giga bytes HTTP Hyper Text Transfer Protocol I/O Input Output IBM International Business Machine Corp. IIS Internet Information Server IP Internet Protocol ISC Integrated Solution Console IT Information Technology ITIL IT Infrastructure Library ITSO International Technical Support Organization JDBC Java Data Base Connectivity JVM Java Virtual Machine LPAR Logical Partition MB Mega Byte OGC Office of Goverment Commerce OS Operating System ROI Return on Investment SQL Structured Query Language SSH Secure Shell UDB Universal Database URL Universal Resource Locator WSF Windows Script File XML eXtended Markup Language © Copyright IBM Corp. 2008. All rights reserved. 147
  • 162. 148 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 163. Related publications The publications listed in this section are considered particularly suitable for a more detailed discussion of the topics covered in this book. IBM Redbooks For information about ordering these publications, see “How to get Redbooks” on page 150. Note that some of the documents referenced here may be available in softcopy only. IBM Tivoli Usage and Accounting Manager V7.1 Handbook, SG24-7404 Accounting and Chargeback with Tivoli Decision Support for OS/390, SG24-6044 Other publications These publications are also relevant as further information sources: Tivoli Usage and Accounting Manager Quick Start Guide, GC23-6188 Online resources These Web sites are also relevant as further information sources: Tivoli Usage and Accounting Manager publication center http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/index.jsp?top ic=/com.ibm.ituam.doc_7.1/welcome.htm Tivoli Usage and Accounting Manager Web site http://www-306.ibm.com/software/tivoli/products/usage-accounting/ © Copyright IBM Corp. 2008. All rights reserved. 149
  • 164. How to get Redbooks You can search for, view, or download Redbooks, Redpapers, Technotes, draft publications and Additional materials, as well as order hardcopy Redbooks, at this Web site: ibm.com/redbooks Help from IBM IBM Support and downloads ibm.com/support IBM Global Services ibm.com/services 150 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 165. Index Symbols D daily charges 115 /opt/ibm/tivoli/common/AUC/logs/install. 128 data sizing 21 /opt/ibm/tuam/config 126 database size 21 /opt/ibm/tuam/logs/jobrunner 131 db2rtc.bat command 128 /opt/ibm/tuam/logs/server 126, 131 demonstration 35 demonstration scenarios 117 A DeployProcessCollector.xml 89 Account code 95 deployTUAM.bat 128 account code mapping 108 deployTUAMConsole.py 128 Account_Code 16 description 32 AcctCSR 22 application server 11 assumptions 32 E EmbeddedExpress 128 environment preparation 34 B Extensible Markup Language, see XML Billing detail 22 eXtensible Markup Language, see XML Billing summary 22 BIRT 8, 12 budget calculation 118 F Feed 16 Business Intelligence and Reporting Tools, see files BIRT C IBMuamewasbinstartServer.bat 76 C IBMuamewasbinstopServer.bat 76 Client 96 DeployProcessCollector.xml 89 commands deployTUAM.bat 128 db2rtc.bat 128 deployTUAMConsole.py 128 ls 131 trace_net0.log 128 setup.exe 41 WinPServices.exe 104 startJobRunner 106 WPCInstall.log 128 startServer.bat 76 Financial Modeler stopServer.bat 76 feature 113 Common Source Format, see CSR financial modeler 118 Common Source Resource, see CSR configuration 94 cost calculation 118 G group access 113 crosstab 115 CSR 13–14, 32 CSR format 106 H CSR Plus Header 15 hardware prerequisites 18 CSR+ records 14 headeraccountcode 15 CSRInput 109 headeraccountcodelength 15 headerenddate 15 © Copyright IBM Corp. 2008. All rights reserved. 151
  • 166. headerendtime 15 O headerrectype 15 Office of Government Commerce, see OGC headershiftcode 15 OGC 4 headerstartdate 15 operating system 34 headerstarttime 15 organizational entity 95 I P Identifier table 22 paths Identifiers 15 /opt/ibm/tivoli/common/AUC/logs/install. 128 IIS 8, 55 /opt/ibm/tuam/config 126 implementation skills 32 /opt/ibm/tuam/logs/jobrunner 131 implementation tasks 33 /opt/ibm/tuam/logs/server 126, 131 installation prerequisites 18 configuration 94 Process Engine 12 Integrated Solution Console, see ISC project initiation 33 Integrated Solutions Console, see ISC Integrator 109 Internet Information Services, see IIS R rate groups 96 Internet Security and Acceleration, see ISA Rate Table 96 ISA 9 Redbooks Web site 150 ISC 11, 32, 96, 126 Contact us xi ISCAE71 128 Resource utilization 22 IT Infrastructure Library®, see ITIL Resources 15 ITCAM for Response Time Return of Investment, see ROI implementation tasks 33 ROI 6 ITIL 4 J S SampleWinProcess.xml 106 Job setup.exe command 41 validate 111 sizing consideration 21 job files 130 skill transfer 35 job result 92 skills 32 software prerequisites 18 K solution assumptions 32 kick off 33 solution demonstration 35 solution descriptions 32 spreadsheet 118 L ls command 131 startJobRunner command 106 startServer.bat 76 stopServer.bat 76 M SYSTEM_ID 16 message log files 127 Model creation wizard 120 T Tivoli Usage and Accounting Manager skills 32 N trace log files 127 network connectivity 34 trace_net0.log 128 152 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 167. W Windows process data data files 105 loading 105 Windows reports 112 WINPGFLT 107 WinProcess.wsf 107 WINPService.exe 104 WORK_ID 16 WPCInstall.log 128 X XML 12 Index 153
  • 168. 154 Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1
  • 169. Deployment Guide Series: IBM Tivoli Usage and Accounting Manager (0.2”spine) 0.17”<->0.473” 90<->249 pages
  • 172. Back cover ® Deployment Guide Series: IBM Tivoli Usage and Accounting Manager V7.1 ® Financial This book is part of the Deployment Guide series. It provides management a step-by-step guide for deploying Tivoli Usage and INTERNATIONAL solution for Accounting Manager V7.1. It is intended to help an IBM or TECHNICAL IT-related services business partner service person to plan and perform the SUPPORT deployment of the product. ORGANIZATION Extensive The discussion of Tivoli Usage and Accounting Manager deployment and includes an explanation of its architecture and components. demonstration Some planning and sizing consideration before you BUILDING TECHNICAL examples implement the product is given, and some guidelines on INFORMATION BASED ON PRACTICAL EXPERIENCE setting up service engagement for the product are also Planning and included. services information IBM Redbooks are developed by The deployment discussed in the book would be appropriate the IBM International Technical for a demonstration or a small deployment system, although Support Organization. Experts the information is highly relevant for larger deployments also. from IBM, Customers and Partners from around the world This book also offers some usage scenarios that can be used create timely technical for demonstrating the product. information based on realistic scenarios. Specific recommendations are provided to help you implement IT solutions more effectively in your environment. For more information: ibm.com/redbooks SG24-7569-00 ISBN 0738485659