Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1 Component by Component
White Paper
Armen Pischdotchian, Stephen Hochstetler
April 2008
Copyright Notice
Copyright © 2008 IBM Corporation, including this documentation and all software. All rights
reserved. May only be used pursuant to a Tivoli Systems Software License Agreement, an IBM Soft-
ware License Agreement, or Addendum for Tivoli Products to IBM Customer or License Agreement.
No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system,
or translated into any computer language, in any form or by any means, electronic, mechanical,
magnetic, optical, chemical, manual, or otherwise, without prior written permission of IBM Corpora-
tion. IBM Corporation grants you limited permission to make hardcopy or other reproductions of any
machine-readable documentation for your own use, provided that each such reproduction shall carry
the IBM Corporation copyright notice. No other rights under copyright are granted without prior writ-
ten permission of IBM Corporation. The document is not intended for production and is furnished “as
is” without warranty of any kind. All warranties on this document are hereby disclaimed, including the
warranties of merchantability and fitness for a particular purpose.
Note to U.S. Government Users—Documentation related to restricted rights—Use, duplication or
disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corporation.
Trademarks
The following are trademarks of IBM Corporation or Tivoli Systems Inc.: IBM, Tivoli, AIX, Cross-Site,
NetView, OS/2, Planet Tivoli, RS/6000, Tivoli Certified, Tivoli Enterprise, Tivoli Ready, TME. In Den-
mark, Tivoli is a trademark licensed from Kjøbenhavns Sommer - Tivoli A/S.
Microsoft, Windows, Windows NT, 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.
C-bus is a trademark of Corollary, Inc. in the United States, other countries, or both.
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States,
other countries, or both.
Lotus is a registered trademark of Lotus Development Corporation.
PC Direct is a trademark of Ziff Communications Company in the United States, other countries, or
both and is used by IBM Corporation under license.
ActionMedia, LANDesk, MMX, Pentium, and ProShare are trademarks of Intel Corporation in the
United States, other countries, or both.
SET and the SET Logo are trademarks owned by SET Secure Electronic Transaction LLC. For fur-
ther information, see http://www.setco.org/aboutmark.html.
Other company, product, and service names may be trademarks or service marks of others.
Notices
References in this publication to Tivoli Systems or IBM products, programs, or services do not imply
that they will be available in all countries in which Tivoli Systems or IBM operates. Any reference to
these products, programs, or services is not intended to imply that only Tivoli Systems or IBM prod-
ucts, programs, or services can be used. Subject to valid intellectual property or other legally pro-
tectable right of Tivoli Systems or IBM, any functionally equivalent product, program, or service can
be used instead of the referenced product, program, or service. The evaluation and verification of
operation in conjunction with other products, except those expressly designated by Tivoli Systems or
IBM, are the responsibility of the user. Tivoli Systems or IBM may have patents or pending patent
applications covering subject matter 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 the IBM Director of
Licensing, IBM Corporation, North Castle Drive, Armonk, New York 10504-1785, U.S.A.
Printed in Ireland.
Table of Contents
Introduction
About This Paper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . III
Audience. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IV
White Paper
Installing DB2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Creating an Operating System User Account . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Obtaining the DB2 Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Creating the DB2 Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Binding the DB2 Schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Installing IBM WebSphere . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Obtaining the IBM WebSphere Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Installing the WAS Network Deployment 6.1.0.9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Installing the IBM HTTP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Backing Up Deployment Manager and Custom Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Installing the WebSphere Update Installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Starting the WebSphere Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Creating the MAM 7.1 Application Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Installing Maximo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Obtaining the Maximo Installation Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Installing MAM 7.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Running Maxinst Against DB2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Building the EAR Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Deploying the EAR Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Deploying the MAXIMO and MAXIMOHELP EAR Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Accessing the MAM 7.1 Start Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Conclusion
Troubleshooting Tips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
•
•
• I
•
•
Table of Contents
•
•
II • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
Introduction
• It does not use the middleware installation program. This installation requires
manual installation and configuration, which instills a greater understanding of
the events that occur behind the scenes. The middleware installation program is a
powerful tool enabling you to install multiple independent-vendor and IBM
programs. It also takes advantage of numerous scripts to configure connectivity
settings, create users, populate the database with records, and so forth.
This white paper uncovers the underlying activities that the middleware installer
performs, enabling you to manually install and configure each component as
required.
• You install the MAM beta code from the build tree. You do not have a
convenient executable program or an installation wizard to install MAM 7.1. You
must copy and paste or extract the build tree structure onto your local drive. Then
you can begin editing and configuring files in the same way an installation wizard
would execute.
This type of an installation also gives you the flexibility to remove a specific build
of MAM driver and replace it with another driver or build (or version). At a
minimum, you might need to run a new script to update the database (maxinst).
Or, you can remove the MAM root installation folder and unzip a new one in its
place.
• You can use MAM before eGA. Why wait for a product to become available to
the general public so that you can use it too? By uncovering the activities of the
•
•
• III
•
•
Introduction
middleware installer, you can begin demonstrating or creating lab exercises from
a stable beta code. You get a head start in test-driving a product before it is
released.
Audience
The audience for this white paper includes IBM professional services personnel or any IBM
employee who would like to install, demonstrate, and use MAM 7.1.
•
•
IV • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
This white paper describes in detail how to complete the following installation and
configuration tasks:
• Installing DB2®
This white paper does not provide information on where you can gain access to the required
software. In some cases, it will make recommendations. For the most part, you are
responsible for obtaining the required software. As a general approach, if you have access
to the CCMDB or MAM middleware installer folder, you can then use the individual
executable programs from the appropriate folder. These programs are under the /windows
folder of the middleware installation root folder.
1 Installing DB2
In this section, you complete the following tasks:
•
•
• 1
•
•
White Paper
2. Click and open the Local Users and Groups folder and open the Users subfolder.
4. Enter maximo for the user name and maximodb2 for the password.
It is common practice to log out of the system as the user that you had logged in as earlier
(as yourself), log back in as user maximo and password maximodb2, and then complete
the DB2 installation steps. This is not necessary. However, later in the installation when
you select Authorities from the DB2 Control Center to Grant All permissions to
Maximo, you will not see the user MAXIMO in the DB2 panel. You will see
Administrator and db2admin. This is okay. You can easily add the user MAXIMO at that
time to the list (it already exists in the operating system level) and grant privileges.
After you gain access to a CCMDB or MAM middleware installation directory, you can
begin installing DB2 Version 9.
•
•
2 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
6. Select the third option, Install DB2 Enterprise Edition on this computer and
save the settings in a response file. Select a location on your local drive and click
Next.
8. Accept the user name db2admin in the Set user information dialog box.
b. Select the Use the same user name and password for the remaining DB2
services check box.
c. Click Next.
For the purposes of this installation, the same password is used for all settings.
You can choose a different approach.
9. Click Next in the Configure DB2 instances dialog box. Alternatively, you can
click Configure and select startup type Manual. You can also change this setting
from the Windows Services panel.
10. Accept defaults in the Prepare the DB2 tools catalog and click Next.
11. Click Next in the Set up notifications dialog box (with the notifications box
cleared).
12. Check the Enable operating systems security option and click Next.
14. In the Setup is complete dialog box, clear the Automatically Launch the
installation of Visual Studio check box. Click Finish. Click Exit to close the
First Steps Launchpad.
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 3
•
•
White Paper
15. You have access to the middleware installation programs, so open the
middleware/windows/DB2-ESE_9.1.0 folder and extract the DB2-
Enterp_Srv_CPU_Activation.zip file to a temporary location. The file you will
need is db2ese_c.lic.
16. Launch the DB2 Control Center by right-clicking the DB2 system tray icon and
selecting DB2 Control Center.
17. When the Control Center View dialog box opens, select Advanced and then
clear the Show this window at startup time check box. Click OK to continue.
18. From the Tools menu of the Control Center, select License Center.
19. Select your system from the drop-down box on the left labeled System name.
20. From the drop-down box on the right, make sure that DB2 Enterprise Server
Edition is displayed.
22. Browse to the location where you copied the db2ese_c.lic file and click OK. The
permanent license for DB2 Enterprise Edition will be applied.
23. At this point you can start your DB2 server by right-clicking the DB2 system tray
icon and selecting Start (DB2). You will notice that the red square on the icon will
disappear when the database engine is started.
•
•
4 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
2. Launch the DB2 Control Center by right-clicking the DB2 system tray icon and
selecting DB2 Control Center.
3. From the All Systems folder, expand the plus (+) signs to go down the chain until
you see the Databases folder, which is currently empty.
4. Select the Databases folder. From the Tools menu of the Control Center, select
Command Editor.
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 5
•
•
White Paper
5. Type or paste the following SQL code into the top pane of the Command Editor tool to create
a database named UDB01.
•
•
6 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
maximodb2
6. Click the green triangle on the Commands tool bar to execute the query. This
process will take from 2 to 5 minutes to complete, depending on the performance
capabilities of your hardware.
7. When the database creation process is completed, Exit the Command Editor.
8. Refresh the Control Center view and expand the All Systems folder. Drill down to
the Databases folder.
9. Right-click the UDB01 database and select Stop to stop the database
(acknowledge the warning dialog box).
If you performed this installation logged in as MAXIMO, then you should see two
users in the list: DB2ADMIN and MAXIMO. This is confirmation that your
database was created and configured successfully. Minimize the DB2 Control
Center.
If you performed the installation logged in as yourself, then you must add the user
MAXIMO, which already exists as an operating system level user.
cd \IBM\SQLLIB\BND
set DB2DBDFT=UDB01
db2cmd db2 connect to UDB01
•
•
8 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
When these commands are completed, your database is ready for you to begin the
maxinst process. You will perform this process toward the end of this white paper.
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 9
•
•
White Paper
After you gain access to a CCMDB or MAM middleware installation directory, you can
begin installing DB2 Version 9.
Note: The main Network Deployment is already patched up to Fix Pack 9. Later, you will
only need to apply the fix pack to the HTTP program and the plug-in.
•
•
10 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
4. Remove Program Files from the default installation path and click Next.
6. Clear the Enable administrative security check box and click Next.
8. Click Finish.
The First Steps window opens. Use this window to verify the deployment.
10. From the First Steps screen, click Profile Management Tool and click Next.
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 11
•
•
White Paper
13. Accept default values in the Profile Name and Location (if Program Files exists
in the default profile directory, remove it). Select the Make this profile the
default check box. Click Next.
14. Verify that the host name is correct and click Next.
15. Accept default values in the Federation dialog box and click Next.
18. In the Profile Creation Complete dialog box, clear all check boxes and click
Next.
1. Click the IBM HTTP Server Installation link from the left pane of the
launchpad.
•
•
12 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
3. If you get a Systems prerequisites error check, ignore the message and click
Next.
4. Remove the Program Files from the default installation location and click Next.
6. Select both check boxes to run the IBM HTTP Server and the Administration
as a Windows service. Also select the Log on as a local system account option.
Click Next.
8. Accept defaults to install the IBM HTTP server Plug-in and click Next.
C:\IBM\WebSphere\AppServer\profiles\Custom01\bin
2. Type the following command to back up the Node Agent (Custom01) profile:
backupConfig.bat
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 13
•
•
White Paper
The process for backing up the profile will stop any AppServer that is started,
along with the Node Manager for this profile. You can observe the process of the
batch file in the Command Prompt window. A message is displayed when the
process is complete.
C:\IBM\WebSphere\AppServer\profiles\Dmgr01\bin
backupConfig.bat
When the backupConfig.bat process is completed for the Dmgr01 profile, you can close
the Command Prompt window.
3. Leave the Launch IBM Update Installer selected to launch the Update Installer
on exit. Click Finish.
•
•
14 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
Typically there are four required fix packs: WAS Network Deployment, WAS
SDK, the HTTP Server, and the plug-in. If you are using the software provided
with the middleware installer program, you need to apply only two fix packs: the
HTTP Server and the plug-in. The WAS ND and the Java™ SDK are already
updated.
If you did not have access to the fix pack, use the relevant links from the Welcome
window to launch the Maintenance Download Wizard page from IBM. Follow the
online directions to download the required fix packs.
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 15
•
•
White Paper
8. From the Directory Path drop-down list in the Product Selection window, select
the HTTP Server (the AppServer is already updated).
•
•
16 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
12. When the HTTP Server installation is complete, click the Relaunch button to start
the process over again. Follow the same steps to update the HTTP Plug-in.
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 17
•
•
White Paper
1. Invoke a browser window (preferably from the machine where you have installed
Maximo). Open the Administrative console by typing
http://<machine_name>:9060/admin in the browser address bar.
This URL address uses the default port number (9060) and context (admin) for the
Administrative console.
4. Click New.
5. Type MAM71 (or specify a unique server name) and click Next.
9. Before you save the new application, click Preferences from the Messages
window. The goal is to synchronize changes with nodes.
You synchronize changes with nodes when you have one Deployment Manager
and multiple application server custom profiles. For example, if you have
WebSphere spread over four machines, you would have one Deployment Manager
and four custom profiles. If you make a change and select Synchronize changes
with Nodes, the change will be replicated out to all of the profiles.
•
•
18 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
10. Select Synchronize changes with Nodes, click Apply, and then click Save.
12. Click the Servers >> Application Servers link on the left pane.
14. Under Container settings, expand Web Container Settings, then click Web
container transport chains.
16. In Step 1 of the Select transport chain template, type MAM71TRANSPORT and
click Next.
17. In Step 2, specify Port name as MAM71, Host as * (asterisk), and Port as 9999.
Click Next.
•
•
20 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
23. Under the Server Infrastructure section, expand Java and Process
Management.
25. Under the Additional Properties section, click Java Virtual Machine.
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 21
•
•
White Paper
There are no line breaks in the Generic Java argument settings. There is a space
after the 10000, followed by the dash (-) and so forth.
The value of this property represents the length of time (in milliseconds) that the
server-side RMI runtime will strongly refer to a remote object (or a reference to a
remote object). This elapsed time is returned from the current virtual machine as
part of the result of a remote method call. The time stops when it receives positive
acknowledgment from the client that the remote reference has been fully received
and processed. This time-out only applies to failure situations in which the client
fails to send the acknowledgment. Setting the value too low can increase the risk
of a remote object being prematurely garbage collected when the only known
reference to the remote object is the one in transit as part of the remote method
call result. The maximum value is Long.MAX_VALUE. The default value is 300
000 (5 minutes).
The second argument tells WebSphere to use the IPv4 stack as the default, rather
than both the IPv4 and the IPv6 stacks.
29. In the left pane, expand Environment and then click Virtual Hosts.
31. Type MAM71SERVER as the virtual host name, and click OK.
•
•
22 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
35. Accept the default values (Host Name: * and Port: 80) and click OK.
37. Change the port number to 9999 and then click OK.
Later in this paper, you will use port number 9999 in your browser to connect to
the MAM71 application.
The first alias is usually the port that the IBM HTTP Server is running on. The
second one is for the Web container port.
You have completed your middleware installation and configuration manually, without
using the scripts that are available to the middleware installer.
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 23
•
•
White Paper
4 Installing Maximo
A notable feature of this installation is that you install Maximo or MAM71 without using
an installation program or a wizard. You can use this method to install any beta code of
Maximo onto existing middleware (which includes all the installation activities that you
have undertaken so far) before the Maximo program becomes available. This method also
reveals all the files that are edited and configured automatically by the middleware
program.
\\pokgsa.ibm.com\projects\m\maximodev\Builds\Harrier-
EAM\EAM-052b.20080502
If you have an account on GSA, you can use the IBM GSA mapper to connect to the
projects folder, where the “gold” eGA MAM71 (TPAP 7.1.1) build/driver resides.
•
•
24 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
\\pokgsa.ibm.com\projects\m\maximodev\Builds\Harrier-
EAM\EAM-052b.20080502
You must also copy the en.zip files (help files) to a temporary location
3. Navigate to the following location (one directory up) to obtain the Help files:
\\pokgsa.ibm.com\projects\m\maximodev\Builds\Harrier-EAM\
4. Copy the en.zip to a temporary location on the computer where you are installing
MAM71.
You are now ready to extract these zip files; a step that is performed by the launchpad
program.
Typically, intermediate builds or drivers may require that you provide the license
file. You do not have to complete the following steps in this exercise, but it is
good to know where the license file resides and the required steps to enable it.
c:\maximo\applications\maximo\businessobjects\classes\
psdi\app\signature
b. Create a folder named apps under the signature folder (you are mimicking
what the installation scripts would accomplish).
3. You must now obtain the Help files. Navigate to the following location:
c:\Maximo\applications\maximohelp\helpweb\webmodule
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 25
•
•
White Paper
c:\Maximo\applications\maximo\properties
a. Remove the comment (//) tags from the DB2 connectivity parameter:
mxe.db.driver=com.ibm.db2.jcc.DB2Driver
b. Place the comment tags in front of both the Oracle connectivity string and the
Oracle thin driver:
•
•
26 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
//mxe.db.driver=oracle.jdbc.driver.OracleDriver
//mxe.db.url=jdbc:oracle:thin:
c. Remove the comment tags and modify the DB2 connectivity string to reflect
the correct port and database instance name:
mxe.db.url=jdbc:db2://localhost:50000/UDB01
mxe.db.password=maximodb2
– This password must match the password that you specified in the Database
SQL command in Step 5. on page 6.
mxe.db.systemdateformat=current timestamp
mxe.db.format.nullvalue=COALESCE
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 27
•
•
White Paper
Ensure that you are using the correct MAM71 root installation directory.
c:\maximo is just an example used in these exercises.
3. Launch maxinst using the –t parameter (to specify tablespace) and the –s
parameter (to specify index storage area).
For example, at the command prompt, instead of typing maxinst, type maxinst -imaximo.
•
•
28 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 29
•
•
White Paper
For the purposes of this exercise, you will build only the Maximo and the Maximo Help
EAR files.
2. At the prompt, type buildmaximoear. After the maximo.ear file is built, type
buildhelpear.
Ignore the message that the tools.jar file was not found. It is of no consequence.
In the next section you will deploy these EAR files using the IBM WebSphere
Administrative Console.
•
•
30 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
• Deploy maximo.ear.
• Deploy maximohelp.ear.
4. From the Select Installation Options panel, accept the default values and click
Next.
5. From the Map modules to servers panel, select all four entries (only one of you
are working with the help EAR files) and click Next.
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 31
•
•
White Paper
6. From the Map virtual hosts for Web modules panel, select all three entries (just
one for the help EAR file).
•
•
32 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
9. Wait for the successful deployment message and then click Save.
11. From a Windows Command Prompt, start the node agent for WebSphere:
(\IBM\WebSphere\AppServer\profiles\Custom01\bin\startNode).
To run the node agent as a Windows service, see the “Conclusion” section of this
white paper.
13. From the Servers section, open the Application servers link.
14. Select the MAM71 (check box) and click Start. After 1 minute or so, the Status
icon will change from an X to an arrow.
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 33
•
•
White Paper
15. From the Applications section, open the Enterprise applications link. Note that
both the MAXIMO and the MAXIMOHELP applications are displaying green
arrows for their status icon.
•
•
34 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
White Paper
The Maximo Workflow Designer requires a Java runtime environment™ (JRE™) 1.5.
You can obtain JRE 1.5 from the following Web site:
http://java.sun.com/javase/downloads/index_jdk5.jsp
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 35
•
•
White Paper
•
•
36 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
Conclusion
The conclusion of this white paper is that by installing MAM 7.1 component by component,
you gain greater control over installation types and levels of configuration. You can also
adopt a modular approach to installing MAM 7.1. With a modular approach, you can
replace components and still be able to maintain the success of your application
deployments.
Troubleshooting Tips
When Checking Database Authorities, the user MAXIMO does not appear on the
User tab.
Even if you added the user MAXIMO before installing Maximo as an operating system
level user, you might not have carried out the installation by logging out and logging back
in as MAXIMO.
You can add the user MAXIMO from the Add User dialog box from the Database
Authorities panel.
I have applied my developers license file (db2ese.lic), but the License Center
information page says “License not Registered.”
Generally this is not an issue. Adding the license takes only a few seconds. If the system
seems hung, click Close in the Progress box. Apply the license again and you will see a
message that the license has been applied (added) successfully.
The SQL command that I ran in the DB2 Command Editor did not complete
successfully.
The default script that you can obtain is usually set to maximo. Change it to maximodb2.
•
•
• 37
•
•
Conclusion
1. Open the Command Editor from the DB2 Tools menu and type the following
statement:
2. Click the green triangle in the top left corner to execute the command.
I applied the fix pack, but the Admin console displays Version 6.1.0, not 6.1.0.9.
It is important that you stop all WebSphere services, particularly the node agent
(stopNode.bat) and the ND Manager (stopManager.bat).
Running backupConfig.bat after creating your profile automatically stops all services.
The installation program does not provide for a Windows service for the node agent (it does
for the Managed Server).
The AppServer (MAM71) has started, but the Maximo application does not start.
Start the Maximo application from the Admin console. If it does not start, look for a
detailed error message in the following location:
C:\IBM\WebSphere\AppServer\profiles\Custom01\logs\nodeagent
If you are working on a laptop and you connect from your home and the office, ensure that
the hosts file C:\WINDOWS\system32\drivers\etc includes the same qualified IP used in
your ipconfig settings. See the following example.
•
•
38 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•
Conclusion
Maxinst does not provide a default value for tablespace. The -S and the -T parameters are
required. You must always specify the data and index tablespace names. There is no default
value.
If maxinst fails for any reason, you must drop and re-create the Maximo schema before
rerunning maxinst.
Each flag must be followed by the parameters without a space, for example: -uMAXIMO
-sUDB01 -tUDB01.
If you encounter problems during the maxinst process, review the command prompt
window where you invoked maxinst. Errors there appear as a Java stack trace that can aid
in the troubleshooting process.
Note: The file, which contains output for each operation performed by the maxinst.bat file,
might be very large (up to 80 MB if the error occurred late in the maxinst process).
Therefore, you should use a text editor other than Notepad to open the file.
How is DB2 similar to and different from Oracle and Microsoft® SQL?
DB2 is similar to both Oracle and Microsoft SQL Server® in many ways, and different as
well. For example:
• For Maximo, a DB2 database is the container, similar to Microsoft SQL Server
• The command-line tool for DB2 is DB2CMD. For Oracle it is SQL*Plus. For
Microsoft SQL Server it is ISQL.
•
•
©Copyright IBM Corp. 2008 Installing and Configuring MAM 7.1 Component by Component • 39
•
•
Conclusion
• DB2 uses OS security for its users and groups, similar to Microsoft SQL Server
“Integrated” security mode.
Resources
This installation was performed by actually doing it from scratch and consulting developers
when needed. No existing reference was used to accomplish this task.
•
•
40 • Installing and Configuring MAM 7.1 Component by Component ©Copyright IBM Corp. 2008
•
•