December 2011
Table of Contents
1 NOTICES.................................................................................................................................................................................9
1.1 LEGAL NOTICE ......................................................................................................................................................................9
1.2 TRADEMARKS......................................................................................................................................................................10
1.3 ACKNOWLEDGEMENT............................................................................................................................................................11
1.3.1 Comments welcome..................................................................................................................................................11
1.4 UPDATES TO TPC HINTS & TIPS..........................................................................................................................................11
1.5 OTHER TPC PUBLICATIONS.................................................................................................................................................. 11
2 INSTALLATION OF TPC...................................................................................................................................................13
2.1 TPC COMPONENT AND PACKAGE OVERVIEW...........................................................................................................................13
2.2 TIVOLI COMMON REPORTING ................................................................................................................................................14
2.3 TPC INSTALLATION PACKAGES AND FIXPACKS........................................................................................................................ 14
2.3.1 Downloading TPC Software.....................................................................................................................................15
2.4 TPC INSTALLER OVERVIEW..................................................................................................................................................17
2.4.1 Install Log Locations................................................................................................................................................17
2.4.2 TPC Installer............................................................................................................................................................17
2.4.2.1 Supported Options.............................................................................................................................................................. 18
2.4.2.2 Log Locations..................................................................................................................................................................... 18
2.4.2.3 Log file descriptions........................................................................................................................................................... 18
2.4.2.4 Debugging Techniques....................................................................................................................................................... 19
2.4.2.5 Known Issues..................................................................................................................................................................... 19
2.4.2.5.1 Disk Spanning (multiple disks).................................................................................................................................. 19
2.4.2.5.2 Log file cleanup on uninstalls..................................................................................................................................... 20
2.4.2.5.3 Local System user created.......................................................................................................................................... 20
2.4.2.5.4 During upgrade versions of failed components are updated in InstallShield ............................................................... 21
2.4.2.5.5 On Linux the installer will not start............................................................................................................................ 22
December 2011
December 2011
4.11.3 Configure TPC for the HiCommand Device Manager CIM Agent........................................................................81
4.11.4 Adding a HiCommand User Admin for TPC..........................................................................................................82
4.11.5 Problems with HiCommand in TPC.......................................................................................................................88
4.11.6 HDS TagmaStore Universal Storage Platform (USP) Virtualization in TPC........................................................89
4.12 BROCADE SMI-S AGENT...................................................................................................................................................90
4.12.1 Installing Brocade SMI-S Agent.............................................................................................................................90
4.12.2 Configure the Brocade SMI-S Agent......................................................................................................................91
4.12.3 Configure TPC for the Brocade SMI-S Agent........................................................................................................91
4.12.4 Memory and Scalability Considerations for Brocade SMI-S Agent.......................................................................92
4.13 MCDATA OPENCONNECTORS SMI-S INTERFACE..........................................................................................................94
4.13.1 Installing McDATA SMI-S Interface CIM Agent...................................................................................................94
4.13.2 Configuration for Direct Connection method....................................................................................................... 95
4.13.3 Configure TPC for the McDATA SMI-S Provider..................................................................................................96
4.14 CISCO SAN-OS CIM SERVER............................................................................................................................................97
4.14.1 Enable and Configure the Cisco SAN-OS CIM Server.......................................................................................... 97
4.14.2 Configure TPC for the Cisco SAN-OS CIM server................................................................................................97
5 TPC HINTS AND TIPS........................................................................................................................................................98
5.1 TPC GOODIES....................................................................................................................................................................98
5.1.1 Topology Viewer Tip................................................................................................................................................ 98
5.1.1.1 Alt key/mouse button 1 navigation..................................................................................................................................... 98
5.1.1.2 Mouse Wheel navigation.................................................................................................................................................... 98
5.1.1.3 Mouse click on a device entry............................................................................................................................................ 98
5.1.1.4 San Planner: Planning a path for a DS6000........................................................................................................................ 98
December 2011
December 2011
8 APPENDIX A.......................................................................................................................................................................156
8.1 AGENTRESTART.BAT LISTING...............................................................................................................................................156
9 APPENDIX B - TPC AGENT INSTALLATION TIPS...................................................................................................158
10 APPENDIX C - TPC COMMAND REFERENCE........................................................................................................160
10.1 STARTING TPC .............................................................................................................................................................160
10.2 START/STOP TPC SERVICES............................................................................................................................................160
10.3 AGENT MANAGER AND COMMON AGENT COMMANDS..........................................................................................................161
10.4 DEVICE SERVER - TPCTOOL COMMANDS.......................................................................................................................162
10.5 DEVICE SERVER SRMCP COMMANDS...........................................................................................................................162
10.6 DB2 COMMANDS...........................................................................................................................................................162
10.7 CIMOM COMMANDS.....................................................................................................................................................163
10.8 REPLICATION MANAGER COMMANDS.................................................................................................................................164
10.9 SUPPORT/SERVICE DATA COLLECTION COMMANDS..............................................................................................................165
10.10 MISCELLANEOUS COMMANDS..........................................................................................................................................165
11 APPENDIX D DOWN LEVEL ITEMS STILL SUPPORTED IN TPC...................................................................167
11.1 IBM TOTALSTORAGE DS OPEN API V5.1......................................................................................................................167
11.1.1 IBM TotalStorage Enterprise Storage Server (ESS) command-line interface (CLI) .................................167
11.1.2 Installing the IBM DS Open API CIM Agent V5.1...............................................................................................168
11.1.3 Configuring the IBM DS Open API CIM Agent V5.1...........................................................................................168
11.1.3.1 Add a unique userid and password................................................................................................................................. 169
11.1.3.2 Add storage devices to be managed................................................................................................................................ 169
11.1.3.3 Restart the CIM Agent V5.1........................................................................................................................................... 170
11.1.3.4 Verify that the CIM Agent can communicate with the storage devices ........................................................................... 170
11.1.3.5 Additional information for IBM ESS devices and the V5.1 CIM agent .......................................................................... 171
12 APPENDIX E LINKS....................................................................................................................................................173
December 2011
December 2011
1 Notices
1.1 Legal Notice
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.
December 2011
1.2 Trademarks
The following terms are trademarks or registered trademarks of the International Business Machines
Corporation in the United States or other countries or both:
AIX
iSeries
Tivoli
DB2
Passport Advantage
TotalStorage
DS4000, DS6000, DS8000
pSeries
WebSphere
Enterprise Storage Server
zSeries
Redbooks (logo)
server
Redbooks
The following terms are trademarks or registered trademarks of other companies:
Microsoft, Windows, Windows XP and the Windows logo are trademarks of Microsoft Corporation in
the United States, other countries, or both.
UNIX is a registered trademark of the Open Group in the United States and other countries.
Java, Solaris, and all Java-based trademarks and logos are trademarks of Sun Microsystems, Inc. in the
United States, other countries, or both.
Intel is a registered trademark of the Intel Corporation or its subsidiaries in the United States and other
countries.
Linux is a trademark of Linus Torvalds in the United States, other countries, or both.
CLARiiON and Symmetrix are registered trademarks of the EMC Corporation.
HiCommand is a registered trademark of Hitachi Data Systems Corporation.
Brocade and the Brocade logo are trademarks or registered trademarks of Brocade Communications
Systems, Inc., in the United States and/or in other countries.
McDATA and Intrepid are registered trademarks of McDATA Corporation.
Cisco is a registered trademark of Cisco Systems, Inc. and/or its affiliates in the U.S. and certain other
countries.
Engenio and the Engenio logo are trademarks or registered trademarks of LSI Logic Corporation.
December 2011
10
1.3 Acknowledgement
The materials in this document have been collected from explicit work in the TPC development lab,
other labs within IBM, from problems discovered in the field at customer locations, and contributions
offered by people that have discovered a problem and have documented the solution.
Many people have helped with the materials that are included in this document, too many to properly
acknowledge here. It is a source of information for advanced configuration and problem resolution for
some of the more common problems encountered with TPC V3 (3.1, 3.2, 3.3.0, 3.3.1, 3.3.2) and V4
(4.1, 4.1.1, 4.2, 4.2.1, 4.2.2).
The original TPC Hints & Tips document was created and published by IBM Tivoli SWAT Team
member Doug Dunham.
11
December 2011
12
2.4.3DbSchema component...............................................................................................................................................28
2.4.3.1Log Locations...................................................................................................................................................................... 28
2.4.3.2Log file descriptions............................................................................................................................................................28
2.4.3.3Known Issues...................................................................................................................................................................... 29
2.4.3.3.1Not sourcing db2profile...............................................................................................................................................29
2.4.3.3.2Wrong DB2 Edition.................................................................................................................................................... 29
2.4.6TIP Installer...............................................................................................................................................................33
2.4.6.1Log locations....................................................................................................................................................................... 33
2.4.6.2Log file descriptions............................................................................................................................................................33
2.4.7TPC Replication........................................................................................................................................................33
2.4.7.1Log locations....................................................................................................................................................................... 33
2.4.7.2Log file descriptions............................................................................................................................................................34
2.4.8Data Agent.................................................................................................................................................................34
2.4.8.1Log locations....................................................................................................................................................................... 34
2.4.8.2Log file descriptions............................................................................................................................................................34
2.4.8.3Known Issues...................................................................................................................................................................... 34
2.4.8.3.1Data Agent fails during Common Agent validation.....................................................................................................34
2.4.9Fabric Agent..............................................................................................................................................................35
2.4.9.1Log locations....................................................................................................................................................................... 35
2.4.9.2Log file descriptions............................................................................................................................................................35
2.4.9.3Known Issues...................................................................................................................................................................... 35
2.4.9.3.1Fabric agent not shutting down during upgrade...........................................................................................................35
2.5INSTALLING TPC...................................................................................................................................................................40
2.5.1Server Configuration.................................................................................................................................................40
2.5.2Userids and Passwords.............................................................................................................................................40
2.5.3Installation Tasks.......................................................................................................................................................40
2.5.4Installing the TPC database in a custom location.....................................................................................................43
2.6UPGRADING TPC .................................................................................................................................................................44
2.6.1Backup Your Existing Environment...........................................................................................................................44
2.6.2Temporarily Change DB2 Logging To Circular.......................................................................................................44
December 2011
13
December 2011
14
December 2011
15
December 2011
16
12APPENDIX E LINKS......................................................................................................................................................179
omments are important to us. We want our technical publications to be as helpful as possible. To
provide feedback about this document, you can email your comments to your IBM Technical Support
representative.
17
The official product documentation available at release contains information about new features and
supported devices.
December 2011
18
2 Installation of TPC
IBM Tivoli Storage Productivity Center (TPC) V4.2.2 is the latest version of IBMs storage resource
management software. The new features introduced with this release are described in the 'New for IBM
TPC 4.2.2 section in the >>>TPC Infocenter. In addition to support for new devices, highlights include:
Tivoli Common Reporting TPC 4.2.2 introduces Storage Tiering reports in Tivoli Common
Reporting (TCR) which uses the Cognos reporting engine.
Fully functional Storage Resource Agent (SRA) the SRA is now capable of all functionality of
legacy Data and Fabric agents (see >>>Deployment considerations for Storage Resource agents)
A path is provided to migrate legacy Data/Fabric agents to SRA (see >>>Migrating Data agents
and Fabric agents to Storage Resource agents)
No Agent Manager is needed for a new TPC install with all SRAs, or for an upgraded TPC
installation after all agents have been migrated to SRA
If you have downlevel TPC Data or Fabric agents to support monitoring of agent servers running
old operating systems platforms that are, you will need to keep an Agent Manager to support
those agents
If you are upgrading TPC, and your upgrade includes upgrading DB2 to v9.7, and you are
running the Agent Manager, you must upgrade the Agent Manager to v1.4.
The TPC V3 versions that are still supported are V3.1.3, V3.2.1, V3.3.0, V3.3.1, and V3.3.2.
DB2 Universal Database Enterprise Edition V9.1 Fixpack 2, or V9.5 Fixpack 3A, or V9.7*
IBM Tivoli Agent Manager V1.3.2.15, V1.3.2.26, V1.3.2.30, V1.4**
December 2011
19
TCR has its own installation package. It is available for Windows, AIX, and Linux.
TCR installs another TIP instance (you cannot use the TPC TIP instance for TCR).
TCR is not part of TPC single sign on, however you can choose (and we recommend) the same
userids and passwords for your TCR install as you are using with TIP/TPC for consistency.
TCR can be installed on its own server separate from the TPC server.
The disk and memory requirements for TCR must be considered an addition to the disk and
memory requirements for other applications on the server where it is to be installed. For
example, if TPC requires a minimum of 8gb and TCR requires a minimum of 4gb, you should
have at least 12gb of memory on a server where both TPC and TCR are to be installed.
For large environments, and/or environments with only the minimum physical memory on the
TPC server, we recommend that TCR be installed on its own server.
The remote implementation requires installation of a DB2 client to facilitate connection to the
TPCDB database. The DB2 client can be installed from the DB2 install package that is provided
with TPC.
For more details on TCR installation and TPC 4.2.2 Storage Tiering Reports, please see the >>>TPC 4.2
Release Guide Redbook.
The license for DB2 V9.7 is now provided in a separate package that you must download
and install. It is no longer bundled with the DB2 V9.7 software.
IBM Tivoli Agent Manager V1.3.2.30, V1.4 if using DB2 V9.7 (AIX, Linux Intel, Windows)
This is available on CD and also a downloadable ZIP/TAR package.
December 2011
20
21
A typical platform download for the package distribution will consume about 4GB of disk space.
Uncompressing the images will consume an additional 4-5GB of space. You can store these
uncompressed installation packages on a file server for easy access, and use a CIFS or NFS mount to
access the code from different servers.
Please be aware of the following known issues when downloading TPC software images:
Download from a browser (http) doesn't work right once the images hit the 2 GB limit. Use
command line ftp or another application.
AIX native tar doesn't work when the images hit the 2 GB limit. Install and use GNU tar.
Windows self-extracting exe doesn't work when the images hit the 2 GB limit.
TIP installer reports an error when AIX native tar used to extract images. File names in long
paths are truncated. Install and use GNU tar.
Compare the file size of the downloaded image with the file size on the ftp server to make sure
your download completed successfully.
MD5 checksum data is now provided with TPC fixpack downloads. We recommend that you use
this data to verify your TPC downloads. For Windows, Microsoft provides the File Checksum
Integrity Verifier tool (FCIV) that you can use. On Linux, you can use the md5sum command.
On AIX, you can use csum.
December 2011
22
December 2011
23
24
December 2011
25
December 2011
26
DBSchema
C:\Program Files\IBM\TPC\dbschema
4.2.0.60
2.
Data Server
C:\Program Files\IBM\TPC\data
4.2.0.60
3.
Device Server
C:\Program Files\IBM\TPC\device
4.2.0.60
4.
SRAAgent
C:\Program Files\IBM\TPC\agent
4.2.0.60
5.
GUI
C:\Program Files\IBM\TPC\gui
4.2.0.60
December 2011
27
CLI
C:\Program Files\IBM\TPC\cli
4.2.0.60
7.
TIP
C:\Program Files\IBM\TPC\tip
4.2.0.60
8.
Replication Server
C:\Program Files\IBM\TPC\tpcr
4.2.0.60
Help.
Enter the # of the failed component. By default the tool will set the version back one (i.e., If the
upgraded version was 4.2.0.60 it would become 4.2.0.59), which is enough to rerun the install. If you
would feel better putting in the actual version, you can do that. Once you have set all the failed versions
back you enter 's' to save the file and exit.
Before re-running the upgrade you must resolve the original problem.
28
. ~db2inst1/sqllib/db2profile
This sets variables in the environment that are needed by the installer to contact DB2 and create or
modify the TPCDB database.
December 2011
29
December 2011
30
Resolution:
December 2011
31
Resolution:
If you see this message wait a minute and click on the [next] button again. Even though the command to
shutdown the service is complete there is sometimes a delay between the end of the shutdown and the
actual shutdown. If that doesn't work you will have to manually shutdown the device server. To do this
bring up the services panel and double click on IBM WebSphere Application Server Service. This
will bring up the service panel. Check the Server status is it stopped or not, if not stopped click on stop.
If that doesn't work you will manually have to kill the process. To figure out the process id do the
following.
1.
2.
3.
4.
5.
CD to <install location>\device\apps\was\profiles\deviceServer\logs\server
Type or cat the contents of server1.pid to get the pid #.
Bring up task Manager click on processes tab.
Select the process and click on [End Process] button.
Once the process is killed you can go back to the Installer click [next] and continue.
December 2011
32
December 2011
33
34
2.4.10.1
Log Locations
2.4.10.2
<Install Location>\agent\log
1) agent.trace - Install agent trace file very important for install problems.
2) agent_000001.log Runtime log file for Agent binary.
3) discovery_FULL_4764.trace Initial discover trace file.
<Install Location>\agent\log\<host name>
1) probe.trace Initial probe trace file could be important.
December 2011
35
2.4.10.3
Usage:
Agent -VERSION
Agent -HELP
Installation:
Agent -INSTALL
[-FORCE]
-INSTALLLOC pathname
-SERVERIP address
-SERVERPORT portnumber
[-DEBUG MAX]
Additional mandatory parameters depending on the service type:
Daemon:
-COMMTYPE DAEMON
-AGENTPORT portnumber
non-Daemon:
-USERID username
-PASSWORD password
[-CERTFILE file]
[-PASSPHRASE phrase]
Uninstallation:
Agent -UNINSTALL
[-FORCE]
-SERVERNAME servername
Upgrade:
Daemon:
Agent -UPGRADE
-INSTALLLOC pathname
-COMMTYPE DAEMON
non-Daemon:
Agent -UPGRADE
-INSTALLLOC pathname
December 2011
36
2.4.10.4
Return
Codes
Problem
Possible Cause
45
101
102
103
December 2011
Agent is hung
Possible Resolution
Correct DNS,
create /etc/hosts file
entries,
open ports, resolve
guid discrepancy
Manually shutdown or
kill agent.
Manually shutdown or
kill agent.
37
105
106
107
Agent is hung
Manually shutdown or
kill agent.
108
109
Check Agent.trace to
debug the problem.
110
111
Probe failed.
112
114
115
Port in use
116
Clean up space an
retry the install.
117
118
119
120
December 2011
Manual cleanup or
use the -force option
during install.
Check Agent.trace to
debug the problem.
2.4.10.5
Return Codes
Problem
Possible Cause
Possible Resolution
60
Install cannot
Data server is down
retrieve server name. or not running
correctly. Also could
be firewall or DNS
issue.
61
62
Agent is in the
middle of a job
63
Failed to remove
registry
64
Failed to remove
service.
Windows only
Check Agent.trace to
debug the issue.
65
Agent is hung
Check if agent is in
the middle of a job,
if not manually kill
the agent then retry
the uninstall.
66
December 2011
39
Use the password worksheet to document all userids and passwords created/used with TPC
Avoid unnecessary password complexity where possible. Keep passwords short (8 characters
recommended), and avoid/limit use of special characters.
Where security policies allow it, set passwords to never expire, especially for TPC component
services (for example the DB2 admin password).
Where password expiration is required, change affected passwords before they expire to
avoid interruption of TPC operations. In some cases, attempts to connect to services with expired
passwords can result in the user being locked out of the application or service.
40
41
c) Data or SRA agents must be installed on any servers that are to be managed by TPC.
d)
TPC agents can also be installed on AIX VIO servers. **IMPORTANT: it is critical to
check the /etc/hosts file on the VIO server to make sure there is a valid localhost entry. If this is
missing, the TPC agent install will fail, and the only way to recover is to reimage the server.
e) On some VIO servers, the install fails because the TPC software image is missing from
/opt/IBM/tivoli/tpc. If you have this problem, you can download the AIX TPC local agent install
December 2011
42
TPC
/db2/tpc
200mb
Tablespace
Container Directory
Size
Normal
Key
Big
Temp
Temporary user
/db2/tpc/tpc/TPCDB/
/db2/tpc/tpc/TPCDB/
/db2/tpc/tpc/TPCDB/
/db2/tpc/tpc/TPCDB/
/db2/tpc/tpc/TPCDB/
200mb
200mb
350mb
200mb
200mb
43
b. Unix su to the DB2 instance owner (typically db2inst1), then run these commands:
db2 connect to tpcdb
db2 get db cfg for tpcdb >tpcdb_cfg_saved.log
db2 update db cfg for tpcdb using LOGARCHMETH1 OFF
db2 update db cfg for tpcdb using LOGARCHMETH2 OFF
db2 connect reset
December 2011
44
December 2011
45
December 2011
46
TPC V3.1
Server
To ta lS to ra g e
T o ta lS to r a g e
pSeries
System p5
T o t a lS to ra g e
Vendor
Proprietary
Interface
The CIM agent is an interpreter between TPC and the device. The TPC to CIMOM layer uses a SNIA
SMI-S interface using an XML transport for data and command interchange. The CIMOM to device
layer uses the proprietary interfaces provided by the device vendor to convert those commands and
responses from the SNIA XML language to a language that the device can understand and respond to.
These CIM agents are usually in a form referred to as proxies, meaning that a separate code install is
required with the necessary configuration to identify the devices that the agent will communicate with.
A few more advanced devices have the CIM agent imbedded in the device itself, as is the case with
Cisco fabric switches. In this case, there is no proxy agent to install, and TPC is configured to point to
the managed device itself. More information on CIMOMs, and a list of certified devices and
applications can be found at the >>>SNIA Conforming Providers site. Select the appropriate vendor link
for the list of devices supported.
The CIM agents can be referred to by a variety of names, including CIM agent, SMI-S Provider, CIM
agent, etc. Each vendor has taken the liberty to refer to these SNIA SMI-S interfaces slightly differently.
Once a CIM agent is installed and configured, TPC can be configured to communicate with it. The
devices that are supported by TPC, with links to the supported CIM agents can be found at the TPC
>>>Supported Products List, selecting the TPC component youre interested in, then selecting the
Documentation link, and then selecting the link corresponding to your TPC release.
More detailed information about the more common SMI-S agents supported by TPC can be found in
Chapter 4: SMI-S Providers Installation and Configuration on page 56.
December 2011
47
Inband Fabric agents are discovered during the agent install process, and arent discovered
separately through a TPC GUI Discovery task, nor is it possible to do so.
You can remotely deploy Inband Fabric agents from the TPC server. When you run the agent
installer from the TPC server to remotely deploy Inband Fabric agents, the common agent must
already be installed on the target machine, and registered to the Agent Manager that TPC is
associated with. If you install the Inband Fabric agent locally on the server, the common agent will
be installed for you.
Inband Fabric agents are now supported on the same platforms as Data agents. (This includes HPUX.)
Inband Fabric agents should be installed using a "Well-placed" agent methodology, where you would
place an agent on at least one machine that has an HBA connection to each fabric that will be managed
by TPC, and the best practice is to have two agents connected to each fabric for redundancy. Even
though a single Inband Fabric agent can collect all the topology for an entire SAN, you want to have a
backup agent on a server connected to a different switch in the fabric in case any switch becomes
isolated from the rest of the SAN.
One of the side effects (or feature) of Inband Fabric agents is the HBA detail information they collect for
TPC. This HBA information is also used in TPC for the Data Path Explorer function. This might tempt a
customer to install Inband Fabric agents everywhere, which would be a bad practice. The placement of
Inband Fabric agents should be limited to the minimum necessary to collect topology information
through the SAN, allowing for redundancy. This will minimize the possibility of TPC causing critical
fabric path overloads.
December 2011
48
TPC will only respond to SNMP V1 queries. If you register OOBF agents to switches that use
SNMP V2 or V3, the agent wont work. You will either have to reconfigure the switch to use
SNMPV1 if possible, or rely on Inband Fabric agents to collect switch information for these
switches.
49
Important: Enabling all traps on the switches is not recommended. This can lead to the TPC server
becoming unresponsive as a result of fabric probes being triggered by each alert. Instead, the SAN
administrator should refer to the appropriate Cisco documentation for the switch model for a list of
specific traps for which they want alerts (i.e., anything that may reflect a change in the fabric topology),
with the understanding that any traps they enable will trigger a fabric probe when the alert is received.
Next in TPC, define a new Out-of-band agent for each Cisco switch (where you ran the previous
commands). Specify the hostname or IP in the Host name field, and both the ro and rw community
strings in the SNMP Community field (separated by a colon with a space on each side of the colon).
This is an overload of the field, and is one of the "TPC Secrets". An example is shown below.
Remember that Out-of-Band Fabric (OOBF) agents only have scope of that switch. That means that an
OOBF agent will only return information pertaining to the switch itself, and cannot collect information
on other switches in the fabric. You will need to define OOBF agents for each switch in your managed
fabrics.
December 2011
50
December 2011
51
3. Give your Subsystem Monitor a name, and save it. You will have to specify the name again
when you do this.
You should check the status of your newly created monitor, and make sure that its running, and
continues to run. It will take 60 minutes to return the first samples of data, so dont expect any reports to
be ready to run until you wait for a while.
To see the reports that are generated from this data, navigate to Disk Manager Reporting Storage
Subsystem Performance Storage Subsystem. Click the Generate Report button. This will generate a
summary report for all the storage subsystems that have performance data collected.
You should pay particular attention to the Product Support Matrix PDF at the bottom of the IBM
TPC for Disk >>>Supported Products List. It contains information about what vendors CIM agents
support for performance data collection using the SMI-S Block Server Performance subprofile.
December 2011
52
TPC support for Performance Management is indicated in the PM column, as shown in the figure above.
In order for TPC to collect performance data using the CIM agent, the agent must be at SMI-S V1.1 and
implement the Block Server Performance subprofile. This subprofile is not required for SMI-S V1.1
certification. SNIA has developed a separate certification for the Block Server Performance subprofile
which vendors will use to test their ability to correctly collect performance data.
December 2011
53
Inband Agent
- Topology data
- RSCN
Out-of-Band Agent
- Topology data
- SNMP state change
alert
- Zone Management
- Topology data
- RSCN
- Zone
Management
- Topology data
- SNMP state change
alert
- Topology data
- RSCN
- Zone
Management
- Topology data
- SNMP state change
alert
-VSAN information
- Topology data
- RSCN
- Zone
Management
- Topology data
- SNMP state change
alert
McDATA
>>>McData SMI Agent
Downloads
Cisco
>>>CISCO SMI Agent
Downloads
Qlogic
CIMOM Agent
- Fabric WWN & Switch
info
- Switch FCPorts
- Switch Performance
data
- No state change
notification, topology, or
Zone Mgmt
- Fabric WWN & Switch
info
- Switch FCPorts
- Switch Performance
data
- No state change
notification, topology, or
Zone Mgmt
- Fabric WWN & Switch
info
- Switch FCPorts
- Switch Performance
data
- No state change
notification, topology, or
Zone Mgmt
No CIMOM support
Special Info
Zone Management
requires
authentication
through Brocade API
Out-of-band might
not be an option if
switches are in a
private network
(default config)
CIMOM is imbedded
in each MDS9000
switch
54
December 2011
55
December 2011
56
December 2011
57
7. You can also create performance monitors for storage subsystems and fabric switches.
Follow the instructions in the previous chapter for each type of monitor.
It is always considered best practice to install each SMI-S Provider proxy agent on a separate
dedicated server. It may be technically feasible to install multiple SMI-S Provider proxy agents on a
single server, changing the ports as necessary, and being aware of any other co-existence considerations.
However, in a production environment, there is a strong possibility that you will run into CPU and
memory resource problems trying to collect asset and performance information from multiple devices
through the multiple SMI-S Provider proxy agents on the same server. It is also possible there will be
conflicts between providers that cannot be resolved through configuration. Be sure to consider this best
practice when you are sizing the machine requirements for a new TPC installation.
It is also not recommended to install any SMI-S Provider proxy agents on the TPC server. Doing
so will likely result in TPC server performance and stability problems
There are some solutions for placing SMI-S Providers on existing machines that can save you using a
separate server:
The SVC SMI-S Provider is pre-installed on the SVC Master console.
The LSI/Engenio SMI-S Provider can be installed on the same server that has the DS4000 Storage
Manager installed on it.
Cisco MDS9000 switches have an embedded SMI-S Provider in the switch itself. The switch
firmware must be at V3.03 or later. There is no proxy agent needed for the Cisco switch.
McData Directors (6140, etc) come with a server running EFCM. The McDATA SMI-S Provider
can be installed on this server.
Below you will find specific instructions for the most common vendor supplied CIMOM agents for
devices that TPC supports. In describing the installation steps, we cannot show graphics for the installer
panels because of copyright laws. Instead, each install panel is identified by title, and any special
selections or entries that need to be made are noted.
58
The discovery does not discover all information of the system managed by the CIM agent.
The probe fails.
The function you want to perform on the system might fail (for example, performance data
collection).
December 2011
59
4.4.1.1 Enabling the DS Open API V5.2/V5.3/V5.4.0 CIM Agent on the DS8000
HMC
Beginning with the DS8000 release 2.4 microcode (bundles 6.2.400.x), the CIM Agent for DS Open API
is now embedded in the Hardware Master Console and works with TPC v3.1.3 and above. If you're
December 2011
60
The default port for the HMC CIM agent is 6989, and the protocol is HTTPS.
You might want to install the DSCIMCLI on a different server to make the CIM agent configuration
easier when its enabled on the HMC. See section 4.4.1.3 - Setting up the dscimcli utility for
instructions.
4.4.1.2 Installing the DS Open API V5.2/V5.3/V5.4.0 CIM Agent as a proxy agent
The IBM DS Open API CIM Agent install packages can be downloaded at the >>>DS Open API
Downloads site.
Unpack (zip or tar) the install package contents to a temporary location. Part of the install package is the
IBM System Storage DS Open Application Programming Interface Reference Version 1 Release 2
(GC35-0516-01). The guide can be found in the docs directory as installguide.pdf. Use this guide to
install and configure the DS Open API CIM Agent. During installation, you should accept the defaults
where applicable, and provide values when needed.
1. Launch the appropriate setup program (W2003\setup.exe to install on Windows).
2. A Java Virtual Machine startup window will appear. After some time, InstallShield will launch a
graphical window.
3. Welcome Screen Click Next.
4. License Agreement Screen Select I accept and click Next.
5. Destination Directory specify the path for the code to be installed in. Click Next.
6. Product Space Check Watch and Wait. If space is available, the next panel will appear
without intervention.
7. Server Communication Configuration You can choose to have the CIM Agent communicate
to TPC using either HTTP (non-secure) or HTTPS (secure) communications, or both. It is
generally recommended to use HTTPS, and does not add any complexity when configuring TPC.
You can also change the port(s) to be used for the CIM Agent communication. 5988 is the
default port associated with non-secure CIMOM communications (HTTP), and 5989 is the
default port associated with secure CIMOM communications (HTTPS). Change the port only if
needed, and record the new port number and protocol for future reference. Recommended
selections: Communication Protocol=HTTPS and HTTPS port value=5989.
8. Configuration Parameters This panel lets you specify the userid and password used to
authenticate to the CIM agent from TPC, and also to add the storage devices that will be
managed by the CIM agent. This panel is optional, as the information can be specified and/or
changed after installation using the DSCIMCLI command, as described in the following section.
It is recommended to supply the information now.
a. Username and password You can specify a new username and password that will be
used to authenticate to the CIM agent.
December 2011
61
For Windows, go to StartControl PanelSystem, then select the Advanced tab. Click the
Environment Variables button, and add a new entry for DSAGENT_HOME.
4. Add the bin directory of the DSAGENT_HOME to your path. For Windows, go to
StartControl PanelSystem, then select the Advanced tab. Click the Environment
Variables button, and modify the PATH statement there.
December 2011
62
2. Change the password for the default CIM agent userid superuser. This will protect the CIM
agent from unauthorized access. In the example below the new password is changedpassword
dscimcli -s https:// myserver.mycompany.com:5989 -u superuser:passw0rd
chuser superuser -password passw0rd -newpassword changedpassword
3. List the users defined for the CIM agent. The lsuser command will list the userids that are
defined to the CIM agent.
dscimcli -s https://myserver.mycompany.com:5989 -u
superuser:changedpassword lsuser
Username
=========
superuser
mycimuser
December 2011
63
2. If you need to remove existing devices from this CIM agent, you should use the rmdev
command.
dscimcli -s https://myserver.mycompany.com:5989 -u mycimuser:mycimpw
rmdev 192.168.35.46 type ds
dscimcli
Type
=====
DS
ESS
lsdev
December 2011
64
December 2011
65
2) Create a user account for TPC to use to talk to the XIV CIMOM:
xcli> smis_add_user user=tpcadmin password=mynewpw password_verify=mynewpw
xcli> smis_list_users
Name
tpcadmin
superuser
3) XIV has 3 management modules running SMIS, each of which needs to be configured as a CIMOM
in TPC. The management modules are XIV modules 4,5,6 and each has a corresponding ip address. Go
through the CIMOM login screen to add each ip address using the user account and password created in
step 2. The namespace should be /root/ibm, and the standard port to use is https port 5989.
4) Verify that Test Connection completes successfully.
December 2011
66
December 2011
67
December 2011
68
For older SMI provider versions, you use the providerutil tool to add and remove devices from your
CIM agent. On Windows, it is located in C:\Program Files\EngenioProvider\SMI_SProvider\bin. On
AIX, it is located in /opt/engenio/SMI_SProvider/bin.
For Windows, execute the providerutil.bat command from a command prompt. For Unix, execute the
providerutil command from a terminal window. Enter the values requested, and specify 1 to add a
device node, and 2 to remove a device node.
December 2011
69
Once youve changed these port values, and saved the portInfo.properties file, you must stop and restart
the LSI SMI-S Provider. Wait until the netstat command verifies that the new ports are LISTENING
(netstat an | find LISTENING or netstat an | grep i listening). This can take a few minutes.
Next, make sure that all other lines are commented out with a # in column 1. Save the file, and restart
the CIM agent.
When BasicUserPasswordProvider authentication is enabled, domain and local users are allowed to
authenticate on Windows machines. If operating over VPN, domain authentication does not function.
Only local users are allowed to authenticate on Unix machines.
December 2011
70
December 2011
71
72
4.7.4 Memory considerations for the SVC 3.1 and 4.1 CIM Agents
By default, the SVC CIM Agent is configured with a maximum heap memory size of 512MB. This may
not be enough memory to accommodate some management configurations.
To determine the amount of RAM required for your environment, use the following calculations:
For each SVC cluster being managed, the amount of memory required in megabytes will be the greater
of the following two formulas:
1. number of virtual disks times 0.02 times average striping density
OR
2. number of virtual disks host mappings times 0.17
Notes:
Striping density is the number of managed disks that each virtual disk is striped across. If
you are unsure of the striping density, plan on 8 to 12.
If you are unsure of the number of virtual disks host mappings, then estimate this number
by taking the number of Host SCSI ports attached to an SVC cluster and multiply by the
average number of virtual disks per host you have or plan to have.
These calculations presume one System Resource Manager making requests to the CIM
Agent at a time.
Once the total amount of memory is determined, if this value is greater than 768MB then modify the
/Program Files/IBM/svcconsole/cimom/cimom.bat file, changing the Xmx768mb flag (the numeric
value might be different depending on the version of SVC console installed) to the appropriate "mb" for
this CIMOM. If the calculated value is greater than your configured RAM, the CIMOM may run out of
memory while processing some CIM client commands. It will then be necessary to reconfigure the
CIMOM management topology or cluster configuration to correct this problem. This means that
multiple master consoles may need to be deployed in your data center to handle the management needs
for your clusters. In the case where multiple, very large SVC clusters are being managed, you may need
to deploy one master console per SVC cluster.
December 2011
73
December 2011
74
December 2011
75
If for some reason the JAVA_HOME variable is not picked up you may need to perform a work around.
Ensure the JAVA_HOME variable is properly set and modify the execution scripts in /Program
Files/ws/bin.
Before:
After:
December 2011
76
6. Test to ensure you are querying the subsystem and getting valid data back:
December 2011
77
December 2011
78
4.9.2 Are there any resource issues to be aware of when contemplating a large
environment?
Our rule of thumb is 6,000 cartridges per IBM System Storage Tape Library SMI-S Agent 1.3.0. So that
can be one big library or lots of little libraries.
For TS 3310, there is no CIM Agent group inside IBM, because it is an OEMd Adic i500. The firmware
with the embedded CIM Agent for TS 3310 is developed by ADIC/Quantum.
TPC actually supports only 3584 and 3310. The 3584 is supported by the IBM Tape Library CIM Agent.
The 3310 is written by Adic and included into their firmware.
December 2011
79
The SMI-S Provider V3.1.2 does not require a license key from EMC. It contains the portions of
the EMC Solutions Enabler V6.3.2 code that the CIM agent needs. A separate licensed version of
Solutions Enabler is not required.
Managing a Clariion device using the EMC SMI-S Provider requires the following additional
software and conditions:
The Clariion device requires initial configuration to define the managed host systems.
Managing a Symmetrix device using the EMC SMI-S Provider requires the following additional
software and conditions:
The server that will run the SMI-S Provider software must have a fiber connection to the
same SAN the Symmetrix device resides in and be zoned to that device.
Visibility to the gatekeeper LUNs on the Symmetrix devices being managed from the
server that the SMI-S Provider is installed on.
December 2011
80
December 2011
81
- slp urls
slpv
- slp attributes
cn
rc
ns
ec
Connect
RepeatCount
NameSpace
EnumerateClasses
dc
- Disconnect
ens
ecn
- EnumerateNamespaces
- EnumerateClassNames
ei
- EnumerateInstances
ein
- EnumerateInstanceNames
a
r
- Associators
- References
an
rn
- AssociatorNames
- ReferenceNames
gi
- GetInstance
gc
- GetClass
refsys
remsys
- EMC RefreshSystem
- EMC RemoveSystem
q
- Quit
h
- Help
########################################################################
repeat count: 1
(localhost:5988) ? disco
1.0.3 Provider Method {y|n} [n]:
++++ EMCDiscoverSystem ++++
Output : 0
Legend:0=Success, 1=Not Supported, 2=Unknown, 3=Timeout, 4=Failed
5=Invalid Parameter
4096=Job Queued, 4097=Size Not Supported
In 10.484375 Seconds
Please press enter key to continue...
Cache
Num Phys
Num
Model
Version
Size (MB)
Devices
Devices
DMX2000S
DMX2000S
5670
5670
Symm
SymmID
Attachment
000123456789 Local
000234567890 Local
32768
32768
1
1
1877
1381
You are now ready to configure TPC for the Symmetrix (DMX) devices discovered by the EMC SMI-S
Provider.
December 2011
82
December 2011
83
7/19/07 12:28:48 PM BTADS0001I Discover Process with Device Server RUN ID 2005 and Job ID 6412 is complete
with Status= 1 , Return Code= 0
OSLSProvider/com.emc.cmp.osls.se.array.StorApi.database.discover
true | false
Specifies whether to perform a one-time discover upon starting a CIM Server. This is done before
processing the first request received by the CIM Server. Note that when the CIM Server is started, the
EMC SMI-S Provider is not loaded until requested from the CIM Server.
Post installation steps:
Authentication is required to query the EMC CIM Server. An initial setup is required on the EMC CIM
Server to create a CIM user. This can be done as follows:
December 2011
84
December 2011
85
4.11.2.1
1)
2)
3)
4)
December 2011
86
4.11.2.2
4.11.2.3
4.11.2.4
4.11.3 Configure TPC for the HiCommand Device Manager CIM Agent
Once you have completed the verification step above, you are ready to configure TPC to add the CIM
agent. You will need to have the following information available when you add the CIMOM:
IP Address or FQDN of the CIM Agent server
Username of the CIM Agent (system)
Password of the CIM Agent (manager)
Port number (port number configured for the CIM agent, usually 5988 or 5989)
Protocol (HTTP or HTTPS)
December 2011
87
Click on the Users folder and you will see a list of the currently defined HiCommand Users.
December 2011
88
In the lower right hand corner of this window you will see the Add User button.
December 2011
89
When you are done click on OK. You should again see the list of all defined HiCommand users
including the one you just added.
December 2011
90
For probing the array you only need the View permission. Select the check box under View for all
Applications. By default this will also place a check in the View box for HDvM. When you are finished
click OK.
December 2011
91
Next we need to add the user to a Resource Group. If you do not do this, your user will be able to login,
but not able to the see the storage defined in the HiCommand Server. Under the Administration tab
click on Resources Groups. In the Right hand panel click on Resource Group Allocation.
This will bring up a window showing all users defined to the HiCommand Server and the resource
groups they belong to. Select the user you added and then click Change.
December 2011
92
By default your user belongs to <No Group>. In the drop down for Resource Group, you will see a list
of all resource groups defined on this HiCommand Server. Unless you have customized the environment
you will probably only see All Resources. Unless you are instructed otherwise select this group and
select OK.
The resource group allocation panel should come back and now show your user with the All
Resources listed under the Resource Group column. Select Close.
December 2011
93
You should now be able to login to the HiCommand server, see the resources being managed by this
HiCommand Server, add the HiCommand Server to TPC, run a Discovery and Probe all the Arrays
being managed by this Server.
The most likely cause is exhausting the Java memory on the HiCommand Server during the probe. By
default the HiCommand process is set to 256 MB. The maximum you can set this to is 1536 MB. If
you find the Array you are probing has more than 100 Volumes you will definitely want to change this
value. To increase the Java memory size execute the following command:
Installation-folder-for-HiCommand-Suite-Common-Component\bin\hcmdsweb /add /file installation-folder-theDevice-Manager-server\HiCommandServer\webapps\DeviceManager.war /server HiCommand /javaoption
HvDM.serverpath=installation-folder-for-the-Device-Manager-server /nolog /type DeviceManager /Xms256
/Xmx1408
December 2011
94
You will need to recycle HiCommand Server in order to use the new Java memory setting.
December 2011
95
96
97
The memory required for running the SMI-A depends on the following:
number of switches
number of ports
number of devices in a single fabric
number of fabrics being managed
You should increase the memory as these numbers increase. You should also check the memory usage
of all applications and services running on the host and adjust the memory accordingly. If the agent is
used to manage multiple fabrics, use the total number of switch ports in all fabrics to determine the
memory usage.
You should also increase the memory heap size for the JVM based on the number of switches and
number of switch ports and devices. After you install the SMI Agent, you can increase the memory size
or heap size using the following procedure.
To increase the memory size or heap size
1. If you installed the SMI-A as a service on Windows, open the jserverd.ini file for editing. This
file is in the following location:
C:\Windows\system32\jserverd.ini
If you did not install the SMI-A as a service, open the start_server file for editing:
Linux and Solaris: <SMIAgent>/agent/server/jserver/bin/start_server
Windows: <SMIAgent>\agent\server\jserver\bin\start_server.bat
December 2011
98
December 2011
99
100
5) Save this file to a directory thats included in your machines PATH (such as C:\Windows).
6) Open a command prompt, and perform the following steps:
a. Execute the set_McData_env.bat command. This will set up the execution environment to
run the ManageSwitch command.
December 2011
101
December 2011
102
December 2011
103
December 2011
104
1. Install the TPC Data agent. This will silently install the Tivoli Common Agent.
2. It is recommended that the TPC Fabric agent not be installed as part of a master image. The TPC
Fabric agent requires a SAN connected HBA to be functional in production, and only a few fabric
agents need to be installed in each SAN managed by TPC to provide a robust SAN data collection
process.
3. In the endpoint.properties file, change the following:
agent.ssl.truststore.download=true
4. Verify that the agent is able to register with the agent manager. Check the msgAgent.log file for the
messages:
BTC1025I REG: Agent is now attempting to register and obtain security
credentials from Agent Registration Service amserver.yourcompany.com at port
9511.
BTC1022I REG: Registration succeeded after 1 attempts.
For UNIX:
cd /opt/IBM/TPC/ca
./endpoint.sh stop
6. Set the GUID on the common agent machine to all hexadecimal zeros (x00) or hexadecimal foxes
(xff). This causes the Common Agent to register with the Agent Manager and also to create a new
GUID.
For Windows:
cd C:\Program Files\Tivoli\guid
tivguid Write
-Guid=00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
For UNIX:
cd /opt/tivoli/guid
December 2011
105
7. Create an empty "PROBE_ME" file in the TPC Data agent directory (Case is important. No file
extension!)
For Windows:
C:\Program Files\IBM\TPC\ca\subagents\TPC\Data
For UNIX:
/opt/IBM/TPC/ca/subagents/TPC/Data
8. Delete the contents of the <agent_install_dir>/cert directory. This causes the agent to
download new certificates.
9. Delete the contents of the <agent_install_dir>/logs directory. This clears existing messages so
you will be able to view new messages.
10. If any other software is installed after this point, you will need to verify that the GUID still has all
hexadecimal zeroes (or foxes).
11. Make the master image copies from this TPC agent machine.
12. When a new machine is preloaded with this image and started, it should:
Register with Agent Manager.
Create a unique GUID.
Register the TPC Data agent with TPC.
Check that the Data Agent shows up in Administrative ServicesData SourcesData Agents. You will
need to refresh the view.
You should also have a Data Probe set up to use the Default Computer Group. This will automatically
include any new Data agents that get added.
December 2011
106
December 2011
107
December 2011
108
December 2011
109
When this condition occurs, you might not want to restart the whole Common Agent, since other
subagents might be working. To restart just the fabric subagent on a managed server, use the
TPCFabric command. The command accepts either a start or stop parameter.
On Windows, the TPCFabric.bat command is located in the following directory:
C:\Program Files\IBM\TPC\ca\subagents\TPC\Fabric\bin\w32-ix86
C:\Documents and Settings\Administrator>cd C:\Program Files\IBM\TPC\ca\subagents
\TPC\Fabric\bin\w32-ix86
C:\Program Files\IBM\TPC\ca\subagents\TPC\Fabric\bin\w32-ix86>tpcfabric
Usage: TPCFabric.bat [start] [stop]
Usage: TPCFabric.bat [start] [stop]
C:\Program Files\IBM\TPC\ca\subagents\TPC\Fabric\bin\w32-ix86>tpcfabric stop
Successfully stopped bundle: file:///c:\Program Files\IBM\TPC\ca\subagents\TPC\Fa
bric\TPCFabric_win32_i386.jar
C:\Program Files\IBM\TPC\ca\subagents\TPC\Fabric\bin\w32-ix86>tpcfabric start
BTC3146I Successfully started bundle: file:///c:\Program Files\IBM\TPC\ca\subagen
ts\TPC\Fabric\TPCFabric_win32_i386.jar
December 2011
110
When this condition occurs, you might not want to restart the whole Common Agent, since other
subagents might be working. To restart just the Data subagent on a managed server, use the tpcdagt1
command. The command will accept a start or stop parameter.
On Windows, the tpcdagt1.bat command is found in the following directory:
C:\Program Files\IBM\TPC\ca\subagents\TPC\Data
C:\Documents and Settings\Administrator>cd "C:\Program
Files\IBM\TPC\ca\subagents\TPC\Data"
C:\Program Files\IBM\TPC\ca\subagents\TPC\Data>tpcdagt1
Usage: tpcdagt1.bat [ start | [stop [abort | normal]] ]
C:\Program Files\IBM\TPC\ca\subagents\TPC\Data>tpcdagt1.bat stop
4/19/06 3:12:41 PM AGT0040E: Agent Shutting down
C:\Program Files\IBM\TPC\ca\subagents\TPC\Data>tpcdagt1.bat start
BTC3146I Successfully started bundle: file:///c:\Program Files\IBM\TPC\ca\subagen
ts\TPC\Data\agent\lib\TPCData_win32_i386.jar
C:\Program Files\IBM\TPC\ca\subagents\TPC\Data>
December 2011
111
Click the box labeled YES, Stop the agents. Another warning box will appear:
December 2011
112
This is the old double check to make sure you REALLY want to do this. Click the box labeled
YES, Process the requests.
6. The requests will be issued, and after some time, the report column Agent Status will be
updated with Down for each agent.
7. Produce a CSV file of the data in the report at this point. It will be used next to build a script to
restart all of the agents. Select FileExport Data to create the CSV file.
Create a script to restart the TPC Data agents
In order to restart the TPC Data agents, each of the common agents need to execute a command to
restart the Data subagent. We can do this from the TPC Server, and can create a script to provide some
simplification and avoid the finger checks of doing the process manually. The overall script will do the
following:
1. Temporarily modify the Common Agent configuration on the TPC Server to enable the restart
process.
2. Restart each TPC Data agent using the Common Agents agentcli command. The script will
contain two agentcli commands for each agent to be restarted. Well capture the command output
in a log file to verify the command execution, and have a record of the process.
3. Restore the Common Agent configuration on the TPC Server.
You will need to create a script, AgentRestart.bat on Windows, and store it in the C:\Program
Files\IBM\TPC\ca directory. If you installed TPC into a different directory, use the correct path to save
the AgentRestart.bat script.
The script will need a setup section that gets the path set correctly. If TPC is installed somewhere other
than the default location, you will need to change this section to the correct disk and path:
@echo off
REM **********************************************************************
REM ** AgentRestart.bat
**
REM **
Used to restart TPC Data Agents after a massive stop command **
REM **
issued from the TPC GUI using the Data Manager report
**
REM **
Data Manager->Reporting->Asset->Agents->By Agent.
**
REM **
**
REM ** TPC Hints and Tips for TPC V3.3 -- 07/30/2007
**
REM **
**
REM **********************************************************************
setlocal
REM You need to change the following line if you installed TPC in a
REM
non-default directory. Use 8.3 notation since no spaces or quotes
REM
are allowed in basic Windows scripts.
set TPC_Disk=C:
set TPC_CA_Path=C:\Progra~1\IBM\TPC\ca
REM Change to the CA directory
%TPC_Disk%
cd %TPC_CA_Path%
December 2011
113
Next is the important stuff. This section must be duplicated for each server that is to have its Data agent
restarted. You should use the data from the Agent Report csv file to get the list of agent servers to
restore. The csv file also contains the agents listening port. The default is 9510, but it could have been
changed when the agent was installed. Check that value also. Example:
Whats happening here is the TPC Servers Common Agent is acting as a conduit to push agentcli
commands down to the specified agent, where they are executed. The first agentcli command starts the
Data agent, and the second agentcli command verifies that the agent has been started successfully; you
should see the status of Active at the beginning of the output from this command.
REM -----------------------------------------------------------------------------set fqdn=sonja.yourcompany.com
@echo.
@echo Restart %fqdn%
call agentcli -host %fqdn% -port 9510 deployer start TPCData
call agentcli -host %fqdn% -port 9510 deployer list bundles state | find "TPCData"
Example output:
Restart sonja.yourcompany.com
BTC3146I Successfully started bundle: File:///C:\Program_Files\IBM\TPC\ca\subagents\TPC\Data\agent\l
ib\TPCData_win32_i386.jar
Active file:///C:\Program Files\IBM\TPC\ca\subagents\TPC\Data\agent\lib\TPCData_win32_i386.jar
After all the Data agents have been restarted, the script needs to restore the TPC\CA\cert directory.
This requires that the Common Agent be stopped to remove any reserves on the files. (The PING
command is used here as a wait command.) The CA service name might be different. Be sure to check
for the correct name in the Services Panel.
:restore_cert
REM We need to restore the CA\cert cert directory. To do this, we need to stop
REM
the CA, restore the directory, and then restart the CA
@echo.
@echo Restore CA\cert directory
net stop "IBM Tivoli Common Agent - 'C:\Program Files\IBM\TPC\ca'"
PING 1.1.1.1 -n 1 -w 10000 > NUL
del cert /f /s /q
rmdir cert
move /Y certcopy cert
net start "IBM Tivoli Common Agent - 'C:\Program Files\IBM\TPC\ca'"
December 2011
114
If things go wrong and the script aborts before restoring the TPC\CA\cert directory, the directory
will have to be restored and the Common Agent restarted manually. Remember, the original certs are
in the directory \TPC\CA\certcopy. Good thing you made a backup of your TPC server, right?
You can issue other agentcli commands to get information for remote Common Agents using this
same methodology. For example, to get the version of a Common Agent, you could build the
command call agentcli host %fqdn% -port 9510 configurator getConfig agent.version. This will
return the installed version of the CA that you pointed to.
C:\Program Files\IBM\TPC\ca>agentcli host sonja.yourcompany.com port 9510 configurator getConfig
agent.version
1.2.3.5
December 2011
115
----------------------------SANAgentScanner
----------------------------Version:
3.1.1.11
Run Status:
Running
Description:
Collects data on agents
----------------------------SANAgentInbandChangeAgent
----------------------------Version:
3.1.1.11
Run Status:
Running
Description:
Listens for inband events
----------------------------log
----------------------------Version:
3.1.1.11
Run Status:
Running
Description:
Logging Toolkit
----------------------------SANAgentHostQuery
----------------------------Version:
3.1.1.11
Run Status:
Running
Description:
Agent heartbeat and registration
December 2011
116
TPC V3.1.3 has some new function that addresses this issue. When you install an agent on a machine
locally or remotely and the machine has more than one NIC card, the TPC agent installer will determine
the NIC card to use for two-way communication between the server and agent. If there are no NIC cards
that can be used for two-way communication, the installer will return an error message.
December 2011
117
Redirecting output to a file as shown here is optional, but recommended so that the file can be reviewed
to determine where reorg is needed.
STEP 2 - REORGANIZATION (REORG)
December 2011
118
Windows example:
db2 list tables for schema tpc show detail | find "T_" >filename
You will now create a command file for DB2 by editing the output file of table names, and changing
each line to this format:
REORG TABLE TPC.tablename;
where 'tablename' is the name of the table (don't forget the semi-colon ';' at the end). For example:
REORG TABLE TPC.T_RES_CONFIG_DATA;
To reorganize only the tables and indexes that need it, first complete step #1 to update statistics and
create a log file from the reorgchk command.
The log file lists each table, and at the end of the line there are flags that will indicate reorg is needed
with the presence of a '*' character. If reorg is not needed, you will see only a series of hyphens and no
'*' such as:
--You will create a command file for DB2 with a line for each table that needs to be reorganized, based on
the reorgchk report, using the format/syntax shown in the example above.
After the list of tables in the report, the database indexes are listed. Similar to the tables, each index
entry line ends with a set of flags indicating if reorganization is needed. If the flags include one or more
'*' characters, you should add an entry to your command file to reorganize the indexes for that table:
REORG INDEXES ALL FOR TABLE TPC.tablename;
After you have assembled your command input file listing all tables and indexes to be reorganized, you
are ready to run the commands:
db2 -tvf commandfile >outputfilename 2>&1
After completing the reorg, you should perform step #1 again to update statistics so that the statistics
reflect the reorganized database.
STEP 3 - BACKUP YOUR DATABASE
Here are the commands to run to do a simple database backup.
Windows:
db2 CONNECT TO TPCDB
db2 QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS
db2 CONNECT RESET
db2 BACKUP DATABASE TPCDB TO c:\backups WITH 2 BUFFERS BUFFER 1024 PARALLELISM 1 WITHOUT
PROMPTING
December 2011
119
Unix:
db2 "CONNECT TO TPCDB"
db2 "QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS"
db2 "CONNECT RESET"
db2 "BACKUP DATABASE TPCDB TO /backups WITH 2 BUFFERS BUFFER 1024 PARALLELISM 1 WITHOUT
PROMPTING"
db2 "CONNECT TO TPCDB"
db2 "UNQUIESCE DATABASE"
db2 "CONNECT RESET"
These examples show c:\backups and /backups as the target directory for the backup, and these should
be changed to a safe/suitable existing location for your environment.
There are other options to backup your database, including using the Tivoli Storage Manager. Please
refer to chapter 3 of the >>>TPC Advanced Topics Redbook for more information.
RESTORING YOUR DATABASE
This is not a routine maintenance step, but since we have included the database backup step, the
database restore step is included here for reference. In the example below, 20100105 is the date stamp
of the database backup you wish to restore, c:\backups or /backups is the source where the backup is
located, and E: and /db2 is the target for the restore where your database is located.
You must stop your TPC services during a database restore.
Windows:
db2 RESTORE DB TPCDB FROM C:\backups TAKEN AT 20100105 TO E: INTO TPCDB WITH 2 BUFFERS
BUFFER 1024
Unix:
db2 RESTORE DB TPCDB FROM /backups TAKEN AT 20100105 TO /db2 INTO TPCDB WITH 2 BUFFERS BUFFER
1024
120
Important: if you are turning STMM OFF for an environment that has been running with it ON, you
should also set the DB2 memory pools that are managed by STMM to something other than
AUTOMATIC. If you do not do this, these pools will remain at the value previously set by STMM,
which may have been right for the conditions in DB2 at that particular time, but may be inadequate with
different database activity. Here are the pools that should be set, and suggested values:
db2 update db cfg for TPCDB using DATABASE_MEMORY 120000
db2 update db cfg for TPCDB using LOCKLIST 2500
db2 update db cfg for TPCDB using PCKCACHESZ 20000
db2 update db cfg for TPCDB using SHEAPTHRES_SHR 2500
db2 update db cfg for TPCDB using SORTHEAP 20000
The following table shows the parameters that should be changed to improve performance:
December 2011
121
Parameter Description
Default application heap size (1)
Database heap size (1)
Log buffer size (1)
Log file size (2)
Number of primary log files (2)
Number of secondary log files (2)
Max DB files open per application (3)
Monitor heap size (4)
Statement heap size (1)
IBMDEFAULTBP Buf. pool size (5)
TPCBFPDATA - Buffer pool size (5)
TPCBFPKEYS - Buffer pool size (5)
TPCBFPTEMP Buffer pool size (5)
Current Value
10240
1000
8
2500
8
100
64
132
10240
250
250
250
250
TPC Recommendation
20480
1500
512
20000 *
150 *
100 *
1024
1024
20480
4000
25000
2500
1000
*
Note: it is very important to make sure you have adequate disk/filesystem space before making
changes to the LOGFILSZ, LOGPRIMARY, LOGSECOND parameters. The numbers given here will
result in approximately 21gb of log file space. If you have less available space, use smaller numbers.
You can use DB2 Control Center to change the DB2 configuration values. Open Control Center, and
navigate to All Systems--><system_name>-->Instances-->DB2. Right-click on DB2, and select
Configure Parameters from the context menu. All parameters in groups 1-4 can be set in Control
Center. Group 5 parameters must be set using DB2 commands issued in a DB2 command window. Here
is where to look for the parameters that should be changed (refer to the number in parentheses next to
the parameter description in the table):
(1)
(2)
(3)
(4)
(5)
December 2011
122
Scroll down to the appropriate section, and highlight the parameter you want to change. Select the value
column, and click on the
symbol to enter a new value. Enter the new value in the entry field and
click OK. Do this for each of the values in the list above. Once youve change all the values, click OK in
the DBM Configuration Panel. You will see a DB2 message saying the parameters were updated
successfully. Dismiss the message window. Exit the DB2 Control Center.
You can also issue DB2 commands to make the changes. This is especially useful when a graphical
environment is not available (e.g., DB2 Control Center is no longer available on Unix platforms starting
with version 9.x). The following commands must be issued from a sourced DB2 environment. This can
be done in Windows by opening a DB2 Command Window, or on AIX by logging in with the DB2 user
account, and/or sourcing the DB2 profile
(. /home/db2inst1/sqllib/db2profile).
Here are commands which can be issued from within a DB2 command window to make the changes. On
Unix the DB2 command should be enclosed in double quotes (). For example:
db2 get snapshot for all bufferpools >tpcdb_bufferpools_old.log
db2 connect to tpcdb
--record current settings:
db2 get db cfg for tpcdb >tpcdb_cfg_old.log
db2 get snapshot for all bufferpools >tpcdb_bufferpools_old.log
--include this command for v9.x environments
db2 update db cfg using SELF_TUNING_MEM OFF
db2 update db cfg for TPCDB using DATABASE_MEMORY 40000
db2 update db cfg for TPCDB using LOCKLIST 2500
db2 update db cfg for TPCDB using PCKCACHESZ 2000
db2 update db cfg for TPCDB using SHEAPTHRES_SHR 2500
db2 update db cfg for TPCDB using SORTHEAP 20000
December 2011
123
December 2011
124
In fact, additional processor based entitlements for DB2 do not have to be purchased. Since DB2 is
provided with TPC, and TPC requires a multi-processor machine for performance considerations, and
also recommends that DB2 be installed on the same server as TPC, the customer is automatically
entitled to run it in any processor environment to support TPC. You can use the db2licm command to
modify the DB2 license to add additional processors to the DB2 license. This will suppress the error
message. Issue the command from a command prompt (or terminal session on AIX).
C:\Documents and Settings\tivoli.SONJA>db2licm -n DB2ESE 4
DBI1418I The number of licensed processors on this system has
been updated successfully.
December 2011
125
*.*
LISTEN
2. Open a terminal session, and source the DB2 instance to initialize the environment.
# cd /home/db2inst1/sqllib
# . ./db2profile
3. Retrieve the TCPIP service name that is defined in the DB2 database manager configuration.
# db2 get dbm cfg | grep -i svcename
TCP/IP Service name
(SVCENAME) = db2c_db2inst1
4. If there is no entry for SVCENAME, you will have to create it. This can be done using the DB2
update command.
# db2 update dbm cfg using svcename db2c_db2inst1
DB20000I The UPDATE DATABASE MANAGER CONFIGURATION command completed
successfully.
5. View the associated entry in the /etc/services file. It should contain an entry similar to the
following. Notice the named port matches the name in the DB2 database manager configuration.
# cat /etc/services | grep 50000
db2c_db2inst1
50000/tcp
6. If the name in the /etc/services file doesnt exist, you should create an entry for it. This new entry
can be added at the bottom of the file. You should ensure that there are no other entries for port
50000 before you add the new line. Retry the command in the previous step to make sure, and
make sure the syntax is correct for your environment.
db2c_db2inst1
50000/tcp
7. Stop and restart DB2. This will activate the new listener port.
# db2stop
12/06/2006 10:38:10
0
0
SQL1064N DB2STOP processing was successful.
SQL1064N DB2STOP processing was successful.
# db2start
12/06/2006 10:38:22
0
0
SQL1063N DB2START processing was
successful.
SQL1063N DB2START processing was successful.
8. Check for the DB2 listener port again, and make sure its there.
# netstat -na | grep 50000
tcp4
0
0 *.50000
December 2011
*.*
LISTEN
126
3. If the value is blank, or something other than tcpip, you will need to set it to tcpip.
# db2set DB2COMM=tcpip
4. Repeat step 2 to verify that the db2set worked correctly. Stop and start DB2 to make the new
configuration active.
# db2stop
12/06/2006 10:38:10
0
0
SQL1064N DB2STOP processing was successful.
SQL1064N DB2STOP processing was successful.
# db2start
12/06/2006 10:38:22
0
0
SQL1063N DB2START processing was
successful.
SQL1063N DB2START processing was successful.
Once youve verified that DB2 is listening on port 50000, you can restart your TPC installation, and the
installer should recognize your instance of DB2.
127
TPC is checking for a supported version. Make sure you are installing a DB2 package that is
provided specifically for TPC on Passport Advantage.
Make sure you have installed the correct edition. The DB2 installer gives you several choices for
installation. You should choose the Enterprise Server Edition (ESE).
The server should be rebooted after DB2 installation.
Check to make sure that DB2 was installed successfully and is running (check that port 50000 is
listening, services are running, a sample database can be created, etc.).
An issue can occur when DB2 is upgraded, which wipes out the database manager configuration
setting pointing to the location of the DB2 java jdk. This will cause the installer to report "no
valid local database found" after the DB2 administrator id and password are provided. To
resolve this issue:
1. Check the data base manager configuration:
db2 get dbm cfg
2. Check the value of the variable JDK_PATH. It should have a value pointing to the copy
of the DB2 java jdk. For example, on Windows the value is typically:
C:\Progra~1\IBM\SQLLIB\java\jdk
3. If you need to set the value use this command run from a DB2 command shell/window:
Windows: db2 update dbm cfg using JDK_PATH C:\Progra~1\IBM\SQLLIB\java\jdk
Unix: db2 "update dbm cfg using JDK_PATH /opt/IBM/SQLLIB/java/jdk"
More information on resolving issues with the DB2 installation can be found in the technote >>>TPC
fails to detect a newly installed DB2 instance.
December 2011
128
You can use this to uninstall the data agent, fabric agent, GUI, or CLI. It cannot be used to remove TPC
server components. This will also leave behind a few items that must be cleaned up manually. You will
need to remove the common agent endpoint registry C:\Program Files\Tivoli\ep* or /opt/tivoli/ep*.
Important note 2: ONLY if you are performing this on an agent-only server (i.e., NOT the TPC
server) you should also remove the TPC install directory (C:\Program Files\IBM\TPC or /opt/IBM/TPC)
and the , and Installshield registry <path>/Installshield/Universal/IBM-TPC (path is C:\Program
Files\Common Files on Windows, /usr/lib/objrepos on AIX, and /root on other Unix). NEVER remove
the Installshield registry data unless all TPC software is to be uninstalled from the machine.
December 2011
129
Program Files\IBM\TPC
Program Files\Tivoli\ep
tpcd
tsrm
tpcgui
tpcagent
agent1
C:\"Program Files"\IBM\Common\acsi\setenv.cmd
C:\"Program Files"\IBM\Common\acsi\bin\si_inst.bat -r -f
RMDIR /s /q C:\"Program Files"\IBM\Common\acsi
TASKKILL /F /IM jservice.exe /T
IF EXIST "%TEMP%\acu_de.log" (DEL /F "%TEMP%\acu_de.log" )
RMDIR /S /Q "%TEMP%\acsitempLogs_Administrator"
RMDIR /S /Q "%TEMP%\acsiTemp_Administrator"
REG DELETE HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\acsisrv /f
2. Remove TIP Stop the TIP service either through the Windows Service Panel or the following
command. If you don't know the username/password, try the TPC Admin
username/password.
<TIP>\bin\stopServer.bat server1 -username <TIP Admin> -password <TIP Admin Password>
sc delete "IBMWAS61Service - TIPProfile_Port_16310"
3. Remove the TIP directory. If this command fails, TIP still has active
processes. Either find and kill the processes or reboot then try the deletion again.
rmdir /s /q <TIP install dir>
December 2011
130
December 2011
131
/opt/IBM/replication/eWAS/profiles/CSM/bin/stopServer.sh server1
a)If the cmd fails, go to a command prompt, and get the TPC-R process IDs (pid)
ps -ef | grep CSM
ps ef | grep replication
December 2011
132
133
December 2011
134
December 2011
135
December 2011
136
4. Use Windows dsquery commands to determine LDAP configuration parameters for use in
configuring TIP/TPC for LDAP:
--determine the LDAP hierarchy for a given userid in the current Active Directory domain:
dsquery user -d ADdomain -u userid -p password
--determine the LDAP hierarchy for groups:
dsquery group -d ADdomain -u userid -p password
December 2011
137
December 2011
138
December 2011
139
5.9.1
Limitations
There are limitations and reduced IBM Total Storage Productivity Center functionality as a result using
LocalSystem, including:
Ability to access Netware, NAS, and DB2 (other RDBMSs might also be affected) might work
unreliably or not at all.
Scans run on Windows file servers to collect file ownership information in a domain where the
common agent is running under "Local System" might run into a problem where the "Local
System" account does not have permission to lookup up the Security Identifier (SID) in Active
Directory.
There is no work around, other than to use an account other than "Local System" which can be assigned
the necessary rights/privileges/group membership.
December 2011
140
Frequency
Every 4-6 hours
Day of Week
All
Time of Day
12/6:00AM & PM
Host Probe
Host Scan
Daily
Weekly
All
Saturday
12:00 AM
2:00 AM
SVC Probe
DS8300 Probe
DS4000 Probe
Hitachi Probe
HP Probe
Daily
Twice/week
Twice/week
Twice/week
Twice/week
All
Sunday, Tuesday
Monday, Wednesday
Thursday, Saturday
Friday, Sunday
12:00 AM
10:00 PM
11:00 PM
12:00 PM
10:00 PM
Fabric_1 Probe
Fabric_2 Probe
Outband Fabric Probe
Daily
Daily
n/a
All
All
n/a
12:00 AM
01:00 AM
n/a
23 hours
23 hours
23 hours
All
All
All
05:00 PM
05:30 PM
06:00 PM
Switch Performance
n/a
n/a
n/a
n/a
n/a
n/a
History Aggregator
Daily
All
03:30 AM
4) When putting together your schedule, you should also try to avoid conflicts or overlaps with
critical non-TPC workload, such as I/O intensive jobs like backups.
December 2011
141
December 2011
142
5.13 Netapp/NAS/Netware
Configuration of these storage devices in TPC has always been difficult.
Successful configuration involves steps that are not well documented
Security considerations and policies in the customer environment can add complexity
An understanding of how scanning of these devices works is important
Large environments and selection of proxy agents for scanning have performance implications.
Proxy agents are TPC Data Agents. Storage Resource Agents do not support Netapp/NAS/Netware.
5.13.3.1
The customer will not expose a root level userid for NAS.
Without access to the root of the NDS tree, we cannot understand the directory structure correctly.
Typically you will be told to just use SNMP to discover the NAS shares. You will know you have this
problem when you encounter this error in TPC:
Error -Server: mytpcserver
Status: 12
This means that TPC cannot understand how the CIFS and NFS shares relate to each other, therefore we
cannot view all of the volumes and directories from top to bottom.
December 2011
143
If you encounter this situation, there is a work around, but it has limitations. You can tell TPC to look at
each share as a discreet entity. The problem with this is that TPC has no way of knowing the share
relationships, and this can result in storage reporting inaccuracy. Consider this configuration:
It is important to get the full correlated view in order to report accurately on the storage.
To implement this work around in TPC, you must modify the TPC data server TPCD.config file to add
the SaveNonRoot=1 parameter in the [server] clause:
[server]
SaveNonRoot=1
You will need to restart the TPC data server service after this change in order for it to take effect.
5.13.3.2
If TPC is not configured to do parallel scans, a normal scan can take days. Refer to the section on
Scan/Probe Agent Administration for advice on how to set this up to avoid this problem.
5.13.3.3
Typically seen with EMC Celerra, this means that we can only support a single NAS device of this type
per TPC server. If you are unable to correct the device configuration, you will have to install a separate
TPC server for each device, and use rollup reporting to consolidate the data.
144
5.13.5.1
5.13.5.2
5.13.5.3
Customer uses only one Agent to Scan too many Netware Servers
Solve this problem by configuring multiple proxy agents to balance the workload. Refer to the section
on Scan/Probe Agent Administration.
5.13.7.1
December 2011
145
5.13.7.2
1) Edit the <TPC>/data/config/nas.config file and add the appropriate line for the OS you are trying to
remotely scan:
42 Sun Microsystems
11 Hewlett-Packard Corporation
2 International Business Machines
2) Run a Discovery job configured with the correct SNMP communities
3) Configure Remote Server Logins - Filer Logins tab
4) Configure Scan/Probe Agent Administration
Specify a proxy to connect to each system
5.13.7.3
The SNMP utility is provided to gather information about the various vendors sharing SNMP
information. It must be run from a Windows server, and SNMP must be configured. The utility is part of
the Windows Resource Kit, which you can download for your platform from Microsoft.
Execute the snmputil.bat file with the following syntax:
snmputil.bat <hostname>
When you execute the batch file you will get output like the following:
Variable = system.sysObjectID.0
Value = ObjectID 1.3.6.1.4.1.311.1.1.3.1.1
The bold number "311" is the vendor code we use to determine OS type.
December 2011
146
edit the system startup scripts (i.e., /etc/inittab) to start the X server on :0
you may also need to use the xhost command on your client to allow the X server to connect
Use IBM Java only Java from other vendors, either for the Java Runtime Environment (JRE) or
the java web start or browser plugins are not supported.
Use the correct version for your version of TPC. TPC 3.3.x required IBM Java 1.4.2. TPC 4.x
requires Java 1.5, and 1.6 in the latest 4.2 releases.
TPC is bundled with the JRE that it requires. Java does not need to be installed separately for
TPC.
Any workstation that will be using Java web start to launch the TPC gui from a web browser
MUST install and use the correct version of IBM Java. You can download and install the version
of Java that is required (and bundled with TPC) by pointing the web browser on your
workstation to the url:
http://<TPC-server-ipaddress>:9550/ITSRM/app/welcome.html
This will load a page from which you can select the Java package for your workstation platform.
Note: When you install this version, you can choose to not have this version as your system
version in order to prevent conflicts with other versions of java that may be installed on your
machine. It is recommended that you choose NOT to have this version of java installed as your
system version of java.
It may be necessary to uninstall other incompatible Java software from your system, especially
from installed web browser plugins, in order to ensure correct TPC and Element Manager gui
December 2011
147
operation. You should also flush your web browser cache and exit/restart the browser after
removing plugins.
If you have other software installed on your workstation that requires a version of Java other than
what is required for TPC, you can either choose to install that software on a different server, or if
possible configure the application to point to its required Java environment on start up. If the
other software is web browser (i.e., Java web start) based, and cannot run with the version of
Java that TPC requires, you will have to choose between the two applications, or run one of the
applications from a different web browser (such as Firefox, or Internet Explorer if you are
already using Firefox).
If it is not possible to satisfactorily resolve Java version conflicts, possible alternatives are
installing the native TPC gui on your workstation, or using a remote desktop (Windows TPC
servers) or X windows client (UNIX TPC servers) to login and run the gui from the TPC server.
5.16.2 Changing the program association for Java Web Start (JNLP)
1. Start the Control Panel.
2. Navigate to Control Panel -> All Control Panel Items -> Default Programs -> Set Associations.
3. Locate the .jnlp file extension. Highlight that entry and click "Change program..."
4. In the "Open with" window that is displayed, click the "Browse" button.
5. In the file explorer window that is displayed, navigate to the javaws.exe file. If you installed java
with the defaults, it will be installed in C:\Program Files (x86) or C:\Program Files > IBM > Java50 >
jre > bin. Alternatively you can search for the javaws.exe file on your system. Select this file and click
the "Open" button.
6. In the "Open with" window, click the "Ok" button.
7. Java Web Start will now open jnlp files with the correct version of java.
old files may be deleted (or moved to a compressed folder outside of <tpc>)
if any large files have current date/time, you may want to keep the newest copy
when deleting large log files, do not delete the newest/current file being written
December 2011
148
you can use the 'Search' option in Windows explorer, or the unix 'find' command to search for
large files (e.g.: find /opt/IBM/TPC -size +50M -print)
review trace settings and history/log retention settings to make sure they are set appropriately.
Refer to the DCF technote >>>Managing TPC Log Files to Reduce TPC Server Disk Space
Usage for information on how to review and modify these settings.
December 2011
149
SRV0053E / DB2 SQL0803N (-803) errors in the TPC data server logs:
10/7/07 2:03:25 AM SRV0053E: SQL error updating t_res_host table.
hostname: tpcserver.abccorp.com, ID: 123245
SQLSTATE: 23505, Vendor error code: -803
DB2 SQL error: SQLCODE: -803, SQLSTATE: 23505, SQLERRMC: 2;TPC.T_RES_HOST
You deploy an agent, and it appears in list of agents in the TPC gui, but another agent that was
installed mysteriously disappears
December 2011
150
December 2011
151
December 2011
152
153
154
December 2011
155
You will need to restart the server services or reboot the server to activate the license.
December 2011
156
3. Logout of the dscli, then log back in using the new account you created.
4. The dscli will require you to use the chuser command to change the password. You must change
the password, otherwise the configuration will fail because the password is expired:
dscli> chuser pw tpcadm1n tpcadmin
5. To prevent problems with expiring passwords and security lockouts, you can set the password to
never expire, and also increase the number of failure attempts:
dscli> chpass -expire 0 -fail 10
Be sure to record your user account and password in a safe place with your other TPC accounts and
passwords.
6.1.7.2 Step 1 - Create new user account on HMC using DS8000 Storage Manager
1. Open a web browser.
2. Go to http://hmc_ip:8451/DS8000/Login
December 2011
157
December 2011
158
Description
22
162
SNMP
443
1750
2433
TPC-R to ESS/DS
5110
5120
5989, 5999
9080/3080, 9443/3443
159
December 2011
160
*Note: FirstPassComplete=False can occur during initial full copy and also when copyset's OOS
tracks gets to a high percentage (bandwidth cannot keep up with changing tracks), so cannot form
CG groups
showgmir -metrics 23 (for Global Mirror)
December 2011
161
8 Appendix A
8.1 AgentRestart.bat listing
@echo off
REM **********************************************************************
REM ** AgentRestart.bat
**
REM **
Used to restart TPC Data Agents after a massive stop command **
REM **
issued from the TPC GUI using the Data Manager report
**
REM **
Data Manager->Reporting->Asset->Agents->By Agent.
**
REM **
**
REM ** TPC Hints and Tips for TPC V3.3 -- 07/30/2007
**
REM **
**
REM **********************************************************************
setlocal
REM You need to change the following line if you installed TPC in a
REM
non-default directory. Use 8.3 notation since no spaces or quotes
REM
are allowed in basic Windows scripts.
set TPC_Disk=C:
set TPC_CA_Path=C:\Progra~1\IBM\TPC\ca
REM Change to the CA directory
%TPC_Disk%
cd %TPC_CA_Path%
:copy_cert
REM We need to rename the CA cert directory to preserve it, and then copy
REM
the Data Server cert directory into the CA path
@echo.
@echo Backup CA\cert directory
move /Y cert certcopy
xcopy ..\Data\cert cert /s /k /r /h /i
:restart_agents
REM In this section, you should create repeating sets of the following six
REM
lines, one set for each server to be restarted.
REM -----------------------------------------------------------------------------set fqdn=sonja.yourcompany.com
@echo.
@echo Restart %fqdn%
call agentcli -host %fqdn% -port 9510 deployer start TPCData
call agentcli -host %fqdn% -port 9510 deployer list bundles state | find "TPCData"
REM -----------------------------------------------------------------------------set fqdn=ruby.yourcompany.com
@echo.
@echo Restart %fqdn%
call agentcli -host %fqdn% -port 9510 deployer start TPCData
call agentcli -host %fqdn% -port 9510 deployer list bundles state | find "TPCData"
REM -----------------------------------------------------------------------------set fqdn=allie.yourcompany.com
@echo.
@echo Restart %fqdn%
call agentcli -host %fqdn% -port 9510 deployer start TPCData
December 2011
162
December 2011
163
164
December 2011
165
Windows:
Start -> All Programs -> IBM Tivoli Storage Productivity Center -> Productivity Center
or
C:\Program Files\IBM\TPC\gui>
tpc.bat
Unix:
/opt/IBM/TPC/gui>
./tpcd.sh
Unix
--TIP:
/opt/IBM/Tivoli/tip/profiles/TIPProfile/bin>
./startServer.sh server1
./stopServer.sh server1
December 2011
166
December 2011
167
December 2011
168
December 2011
169
December 2011
170
December 2011
171
December 2011
172
173
Model
----800
Mfg
--023
WWN
---------------5005076300C01234
CodeEC
-------2.4.4.96
Cache
----24GB
NVS
----2GB
Racks
----1
Note: The s parameter can specify either the IP address or DNS resolvable network name for
one of the ESS clusters.
December 2011
174
11.1.3.1
When the CIM Agent was installed, a default userid and password was created. The userid is
superuser and the password is passw0rd. Everybody knows these values, so in order to protect the
storage devices from unintended manipulation, it is a best practice to create a unique userid and
password, and delete the default one. Thats what were going to do now.
The setuser command requires a userid and password. These userids and passwords are unique to the
CIM Agent, and dont correspond to any O/S userids. In other words, there is no association between the
CIM agent userid and any O/S userid. Use the default: superuser/passw0rd. Once youre in the setuser
command environment, you can issue the help command to see the set of supported commands. Well
use three of these: adduser, lsuser, and rmuser. adduser creates new userid/password entries. lsuser
lists userids/encrypted passwords that can access this CIM agent. rmuser removes userids/passwords
from this CIM Agent.
Open a command window, and CD to the cimagent directory. Then issue the setuser command as shown
in the example below. Youll see that we list the existing userid(s), create a new one. Then we exit the
setuser command environment.
cd C:\Program Files\IBM\cimagent
C:\Program Files\IBM\cimagent>setuser -u superuser -p passw0rd
Application setuser started in interactive mode
To terminate the application enter: exit
To get a help message enter: help
>>> lsuser
USER
: ENCRYPTED PASSWORD
superuser : y95Se6dVeZuE8k8=
>>> adduser cimuser cimpw
An account for user cimuser successfully created.
>>> exit
C:\Program Files\IBM\cimagent>
If you remember, we still need to delete the default userid, but the setuser command wont let us delete
the userid that weve logged in with. So we need to exit the setuser command. Now well log back in
with the new cimuser userid, and can now remove the superuser userid. See the example below.
C:\Program Files\IBM\cimagent>setuser -u cimuser -p cimpw
Application setuser started in interactive mode
To terminate the application enter: exit
To get a help message enter: help
>>> rmuser superuser
The account for user superuser successfully removed.
>>> exit
C:\Program Files\IBM\cimagent>
11.1.3.2
Before we can use the CIM Agent, we need to identify the storage devices that well manage through
this interface. The DS Open API provides the setdevice command to register storage devices to the CIM
Agent. The setdevice command has a set of commands to manipulate the registration of these storage
devices. The addess and lsess, and rmess commands are used to add, list, and remove ESS storage
devices. The addessserver, lsessserver, and rmessserver commands are used to add, list, and remove DS
servers (and ESS Copy Services Servers, which we wont worry about here).
See the example below where we add an ESS and a DS8000. For the addess command, specify each
ESS cluster IP address (or DNS resolvable network name), and the Specialist Administrator userid and
December 2011
175
11.1.3.3
Now that weve added the storage devices that well manage with this CIM agent, we need to recycle
or stop and restart the CIMOM service, so that it can recognize the new changes. There are commands
provided to make this easy: stopCIMOM and startCIMOM.
C:\Program Files\IBM\cimagent>stopCIMOM
The CIM Object Manager - DS Open API service is stopping....
The CIM Object Manager - DS Open API service was stopped successfully.
D:\Program Files\IBM\cimagent>startCIMOM
The CIM Object Manager - DS Open API service is starting....
The CIM Object Manager - DS Open API service was started successfully.
C:\Program Files\IBM\cimagent>
Wait a few minutes after restarting the CIM Agent so that all the services have a chance to get running
again. In my experience, SLP takes a minute or two to become active again.
11.1.3.4
Verify that the CIM Agent can communicate with the storage devices
Once the CIM Agent has been restarted, and youve patiently waited the required few minutes, youre
ready to verify that the CIM agent can actually communicate with the storage devices that youve
registered with it.
First and easiest is to issue a netstat command. The example below was issued on Windows. The ano
parameter requests all ports be listed numerically, listing the owning PID of the port. The output is piped
to the find command to capture the CIMOM port information only.
December 2011
176
2892
C:\Program Files\IBM\cimagent>
If the verifyconfig command fails, you will need to correct your CIM Agent configuration. Make sure
that youve specified the storage device addresses, userids, and passwords correctly. For ESS devices,
you can use a browser to log into the TotalStorage Specialist to verify that the values are correct. For DS
devices, you can use a browser to log into the HMC. Make sure that the CIM Agent service has been
restarted, and is running. Make sure that youve waited the required few minutes for the services to
restart and get running. Try the verifyconfig command again.
Once the verifyconfig command runs successfully, the DS Open API CIM Agent V5.1 is ready to use.
11.1.3.5
Additional information for IBM ESS devices and the V5.1 CIM agent
Several sites have hit problems collecting performance data collection on ESS devices with TPC 3.1. In
some circumstances, TPC is able to collect volume and subsystem information and configure volumes
and LUN assignments via the DS API CIM agent, but unable to collect performance data. Here is a list
of known issues so far and some hints and tips on diagnosing ESS performance collection problems. All
the issues are due to setup of the DS API, environment and configuration of the ESS.
System clocks on the ESS controllers must be in sync and in sync with the TPC server
If the ESS cluster's (cluster 1 and cluster 2) system clocks are more than 5 minutes apart, then when the
performance data (which has the timestamp in it) is received by TPC, the TPC program will throw away
the performance data, thinking there is something wrong, so nothing is saved in the database. No error is
logged in TPC for this. It is also strongly recommended that the ESS system clocks are set to the same
time and time zone as the DS API (CIMOM) and TPC servers. To check the clocks, the IBM CE needs
to log into the machine to check the system time of each controller. If incorrect this has to be changed by
the CE.
December 2011
177
December 2011
178
12 Appendix E Links
This section lists all web links in the order that they are referenced in this document.
TPC Infocenter
http://publib.boulder.ibm.com/infocenter/tivihelp/v4r1/index.jsp
Passport Advantage
http://www-01.ibm.com/software/lotus/passportadvantage
DSCIMCLI Downloads
http://www-01.ibm.com/support/search.wss?rs=1118&tc=STC4NKB&dc=D400&dtm
XIV Information
http://publib.boulder.ibm.com/infocenter/ibmxiv/r2/index.jsp
December 2011
179
LSI ArrayManagementUtility
http://www.lsi.com/Search/Pages/downloads.aspx?k=ArrayManagementUtility
Managing TPC Log Files to Reduce TPC Server Disk Space Usage
http://www-01.ibm.com/support/docview.wss?uid=swg21297506
SVC Support
http://www.ibm.com/systems/support/supportsite.wss/supportresources?brandind=5000033&familyind=5329743&taskind=1
DS8300 Support
http://www947.ibm.com/support/entry/portal/Troubleshooting/Hardware/System_Storage/Disk_systems/Enterprise_Storage_Servers/DS
8300/
December 2011
180
December 2011
181
December 2011
182