208
IBM Maximo Asset Management Version 7 Release 5 Installation Guide (Oracle WebLogic Server)

IBM Maximo Asset Management: Installation Guide (Oracle

  • Upload
    others

  • View
    21

  • Download
    0

Embed Size (px)

Citation preview

IBM Maximo Asset ManagementVersion 7 Release 5

Installation Guide(Oracle WebLogic Server)

���

NoteBefore using this information and the product it supports, read the information in “Notices” on page 197.

This edition applies to version 7, release 5, modification 0 of IBM Maximo Asset Management and to all subsequentreleases and modifications until otherwise indicated in new editions.

© Copyright IBM Corporation 2007, 2011.US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contractwith IBM Corp.

Contents

Chapter 1. Preparing for installation . . 1Software installation images . . . . . . . . . 1Before you begin . . . . . . . . . . . . . 1

Programmatically verifying prerequisites . . . . 2Checking port availability . . . . . . . . . 7AIX and HP-UX tar command requirements . . . 7AIX font requirements . . . . . . . . . . 8Enabling asynchronous I/O on AIX. . . . . . 8Checking for required libraries on Linux . . . . 8Configuring the JRE in Linux . . . . . . . . 9Setting the ulimit . . . . . . . . . . . . 9Setting the swap size . . . . . . . . . . 10Setting shared memory . . . . . . . . . 10Remote configuration enablement . . . . . . 10System password policy settings . . . . . . 12Backing up the Deployment Engine database . . 12Specifying host name values. . . . . . . . 13

Establishing a fully qualified host name onWindows systems . . . . . . . . . . 13Forcing the middleware installer to usealphanumeric hostnames . . . . . . . . 13

Launchpad . . . . . . . . . . . . . . 13Starting the launchpad . . . . . . . . . 14

Chapter 2. Deploy with automaticmiddleware configuration. . . . . . . 15Middleware installation program middlewaredeployment plan overview . . . . . . . . . 16Installing middleware using the middlewareinstallation program . . . . . . . . . . . 16

Middleware installation program logs . . . . 18Middleware installation program log reference 20

Configuring IBM Tivoli Directory Server user andgroup strings . . . . . . . . . . . . . 25

Uninstalling middleware . . . . . . . . . . 25Reinstalling middleware with IBM DB2 . . . . . 27Manually configuring WebLogic Server . . . . . 27

Creating the MAXIMOSERVER domain . . . . 28Configuring JMS options for integrationframework . . . . . . . . . . . . . 28Configuring JMS for the email listener inWebLogic Server. . . . . . . . . . . . 30

Installation program overview . . . . . . . . 32Installing the product and automaticallyconfiguring middleware . . . . . . . . . 33Creating a maxdemo database during installation 38

Post installation for Oracle WebLogic Serverdeployments . . . . . . . . . . . . . . 38Deploying ear files . . . . . . . . . . . . 40Setting the Oracle WebLogic Server host name. . . 41Language deployment after database updatedeferral . . . . . . . . . . . . . . . . 42

Manually deploying languages after databaseupdate deferral . . . . . . . . . . . . 42

Chapter 3. Deploying automaticallyreusing existing middleware . . . . . 43Run the middleware installation program onexisting middleware servers . . . . . . . . . 44

Configuring an existing DB2 with themiddleware installation program . . . . . . 46

Manually configuring WebLogic Server . . . . . 47Creating the MAXIMOSERVER domain . . . . 47Configuring JMS options for integrationframework . . . . . . . . . . . . . 48Configuring JMS for the email listener inWebLogic Server. . . . . . . . . . . . 50

Installation program overview . . . . . . . . 52Installing the product and automaticallyconfiguring middleware . . . . . . . . . 53Creating a maxdemo database during installation 58

Post installation for Oracle WebLogic Serverdeployments . . . . . . . . . . . . . . 58Deploying ear files . . . . . . . . . . . . 60Setting the Oracle WebLogic Server host name. . . 61Language deployment after database updatedeferral . . . . . . . . . . . . . . . . 62

Manually deploying languages after databaseupdate deferral . . . . . . . . . . . . 62

Chapter 4. Deploying manually reusingexisting middleware . . . . . . . . . 63Maximo Asset Management installation withmanual middleware configuration . . . . . . . 65

Manually configuring the database . . . . . 65Manually configuring DB2 9.x . . . . . . 65Manually configuring Oracle 11g . . . . . 67Manually configuring Oracle 10g . . . . . 70Manually configuring Microsoft SQL Server 72

Manually configuring the directory server . . . 74Manually configuring IBM Tivoli DirectoryServer . . . . . . . . . . . . . . 75Manually configuring Microsoft ActiveDirectory . . . . . . . . . . . . . 79

Manually configuring the J2EE server . . . . 82Manually configuring WebLogic Server . . . 82

Installing the product and manually configuringmiddleware . . . . . . . . . . . . . . 86Creating a maxdemo database during installation . 91Post installation for Oracle WebLogic Serverdeployments . . . . . . . . . . . . . . 92Deploying ear files . . . . . . . . . . . . 93Setting the Oracle WebLogic Server host name. . . 95Language deployment after database updatedeferral . . . . . . . . . . . . . . . . 95

Manually deploying languages after databaseupdate deferral . . . . . . . . . . . . 95

Chapter 5. Silent installation . . . . . 97Installing Maximo Asset Management silently . . . 97

© Copyright IBM Corp. 2007, 2011 iii

Silent installation properties . . . . . . . . . 99

Chapter 6. Programmatically verifyingthat the installation was successful . . 119

Chapter 7. Verifying the installationmanually . . . . . . . . . . . . . 123

Chapter 8. Post installation tasks . . . 125Accessing product documentation . . . . . . 125Initial data configuration . . . . . . . . . 125

Signing in using a default user ID . . . . . 125Configuring SMTP . . . . . . . . . . 126Create currency codes . . . . . . . . . 126Create item and company sets . . . . . . . 127Create an organization . . . . . . . . . 127Create a general ledger account component . . 127Applying changes to the database . . . . . 128Create a general ledger account . . . . . . 128Update General Ledger Component TypeAuthorization . . . . . . . . . . . . 129Update Company-Related Accounts . . . . . 129Create default insert site. . . . . . . . . 130Create worktypes . . . . . . . . . . . 130Signing out and signing in . . . . . . . . 131

Synchronizing users and groups . . . . . . . 131Create a maxdemo database after installation. . . 132Understanding and configuring security . . . . 133

Chapter 9. Uninstalling the product 135Uninstalling an automatically configureddeployment . . . . . . . . . . . . . . 135

Running the product uninstallation program forautomatically configured middleware . . . . 136

Uninstalling a manually configured deployment 137Running the product uninstall program formanually configured middleware. . . . . . 137Database configuration recovery . . . . . . 138

Restoring the DB2 database server . . . . 138Restoring the Oracle database . . . . . . 139Restoring the Microsoft SQL Server database 140

Uninstalling the product without the uninstallationprogram . . . . . . . . . . . . . . . 141

Uninstall program recovery tool . . . . . . 141Using the uninstallation program recoverytool. . . . . . . . . . . . . . . 142

Manual uninstallation . . . . . . . . . 143Removing files from the system . . . . . 143

Chapter 10. Starting and stoppingmiddleware . . . . . . . . . . . . 145Restarting middleware on Windows . . . . . . 145Restarting middleware on UNIX . . . . . . . 146

Chapter 11. Advanced installationtopics. . . . . . . . . . . . . . . 147Configuring and managing Oracle WebLogicServer . . . . . . . . . . . . . . . . 147

Starting Oracle WebLogic Server . . . . . . 147

Stopping the Oracle WebLogic Server . . . . 147Changing the middleware installation programconfiguration parameters . . . . . . . . . 148Deploying EAR files . . . . . . . . . . . 148

Building EAR files. . . . . . . . . . . 149Manually uninstalling applications from OracleWebLogic Server . . . . . . . . . . . 149

Manually uninstalling applications fromOracle WebLogic Server . . . . . . . . 149

Chapter 12. Middleware on Solarisand HP-UX . . . . . . . . . . . . 151Operating system preparation . . . . . . . . 151

Middleware installation on Solaris . . . . . 151HP-UX . . . . . . . . . . . . . . 151

Installing the components . . . . . . . . . 152Installing DB2 . . . . . . . . . . . . 152Installing IBM Tivoli Directory Server on Solaris 154

Chapter 13. Backup and restoration 157Backing up the administrative workstation . . . 157Restoring the administrative workstation . . . . 158Installation properties . . . . . . . . . . 158

Updating environment data . . . . . . . 168

Chapter 14. Troubleshooting . . . . . 171Error when starting the middleware installationprogram . . . . . . . . . . . . . . . 171Troubleshooting the middleware installer . . . . 171

Middleware installation programtroubleshooting feature . . . . . . . . . 171Segmentation fault . . . . . . . . . . 172Encountering error ACUINI0044E . . . . . 173Incorrect db2admin password . . . . . . . 173Password expiration for db2admin . . . . . 175Improper configuration of DB2 or IBM TivoliDirectory Server . . . . . . . . . . . 175Incorrect idsccmdb user password . . . . . 177Incorrect service pack requirement for AIX . . 179Failure when system directories cannot berenamed . . . . . . . . . . . . . . 179Invalid DB2 password value . . . . . . . 181Recovering from DB2 installation failure on AIX 182IBM Tivoli Directory Server starts inconfiguration mode . . . . . . . . . . 184Middleware setup script error codes. . . . . 184Troubleshooting middleware uninstall . . . . 185

Troubleshooting the product installation program 185General troubleshooting of the productinstallation program . . . . . . . . . . 186

Common deployment failures . . . . . . 190Troubleshooting the product uninstallationprogram . . . . . . . . . . . . . . 195

Error CTG00001 when performing anuninstall . . . . . . . . . . . . . 195

Notices . . . . . . . . . . . . . . 197Trademarks . . . . . . . . . . . . . . 198

Index . . . . . . . . . . . . . . . 201

iv IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Chapter 1. Preparing for installation

These topics provide information about product media, preinstallationconsiderations, overview of the installation procedure, and instructions on usingthe Maximo® Asset Management launchpad.

Use the planning information to familiarize yourself with the overall process of aMaximo Asset Management deployment before you use this information toconduct the installation.

Software installation imagesYou access the IBM® Maximo Asset Management product software from IBMPassport Advantage or from the product DVD if you requested a product DVD.

The installation images that you download from Passport Advantage can comprisemultiple downloadable files. Download all files in the package to a single directoryand extract the files for execution.

For instructions and a full list of installation images, see the IBM Maximo AssetManagement 7.5 Download Document (www.ibm.com/support/docview.wss?uid=swg24029458).

Before you beginA set of tasks must be completed before installing Maximo Asset Management. Insome cases, to perform the steps, you must be logged in as a user withadministrator privileges on Windows. Some processes, such as anti-virus programs,can negatively affect Maximo Asset Management installation on the system. Youmust temporarily shut down any noncritical processes before running the MaximoAsset Management installation program.

Most tasks must be completed for middleware installed on UNIX systems,regardless of whether you intend to use the middleware installation program toinstall and configure Maximo Asset Management middleware. These tasks must becompleted for any UNIX systems hosting middleware you intend to use withMaximo Asset Management.

Note: Make a copy of the image of the system, database, and application server onwhich you are planning to install the product.

Note: IBM publishes updates to the middleware installation program. Before usingit, visit the IBM Support Portal http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/Maximo_Asset_Management to see whether there is anupdated copy of the installation program available for your use.

Ensure that you have adequate disk space for the future on the systems being usedfor the Maximo Asset Management deployment. Filling up the disk space on aMaximo Asset Management deployment system can cause problems with MaximoAsset Management operations.

Fully qualified host names provided to the installation programs must resolvebetween systems involved in the product deployment. Ensure all IP addresses

© Copyright IBM Corp. 2007, 2011 1

configured for systems targeted for the product deployment are reachable usingthe ping command from the administrative workstation.

“Checking port availability” on page 7You need to ensure that certain ports are available before using the productinstallation programs.“AIX and HP-UX tar command requirements” on page 7Both the native UNIXtar command and the GNU version of the tar commandare required by the middleware installation program. Because the native utilitydoes not support long file names, ensure that GNU tar version 1.14 or higher isinstalled. GNU tar version 1.14 ensures that installation files can be extracted.“Enabling asynchronous I/O on AIX” on page 8IBM Tivoli® Directory Server requires asynchronous I/O be enabled on AIX®

systems.“Checking for required libraries on Linux” on page 8The Maximo Asset Management deployment requires certain Linux systemlibraries.“Configuring the JRE in Linux” on page 9In some cases, the middleware installation program fails on Red Hat EnterpriseLinux 5 systems, or other systems with Security-Enhanced Linux (SELinux)enabled.“Setting the ulimit” on page 9This section details how to set the ulimit in Linux, which is used to define usersystem and process resource limits.“Setting the swap size” on page 10Maximo Asset Management can be a resource-intensive application. Configureand tune your system for maximum performance. This section details how toset the size of the swap space used in Linux systems.“Setting shared memory” on page 10This section details how to set a minimum shared memory value in Linux.“Remote configuration enablement” on page 10The Maximo Asset Management installation program can automaticallyconfigure middleware. You must enable a remote access protocol for eachsystem on which you intend to install the middleware.“System password policy settings” on page 12Be familiar with the password policies of systems you are using as part of aMaximo Asset Management deployment.“Backing up the Deployment Engine database” on page 12These instructions are for backing up the Deployment Engine database.Backups are used to restore the database to the state it was before installing.“Programmatically verifying prerequisites”You can use the prerequisite verification utility to verify that installationprogram prerequisites are present on a system. Use this utility before startingthe middleware and product installation programs.

Programmatically verifying prerequisitesYou can use the prerequisite verification utility to verify that installation programprerequisites are present on a system. Use this utility before starting themiddleware and product installation programs.

2 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

About this task

The prerequisite verification utility checks the following items:v Operating system requirements, including fix packs.v Hardware requirements, including memory and hard disk space.v Port availability.v Middleware requirements such as software packages, library files, directory

permissions, host names, and installation locations.

Note: This utility cannot be used to check Oracle WebLogic Server.

You can start the prerequisite verification utility from the product installationlaunchpad or from the command line. When started from the launchpad, the utilityruns in interactive mode. When started from the command line, the prerequisiteverification utility accepts various parameters. The prerequisite verification utilitymust be run on the system hosting the prerequisite being checked. You cannot usethis utility to check prerequisites on a remote system.

Table 1. System verification parameters

Parameters Details

-component Specifies the type of component being verified. At least one component must beused with the prerequisite verification utility.

dbserverUse the dbserver parameter to have the prerequisite verification utility checkfor DB2® prerequisites.

dirserverUse the dirserver parameter to have the prerequisite verification utility checkfor IBM Tivoli Directory Server prerequisites.

bsiUse the bsi parameter to have the prerequisite verification utility check forprerequisites required by the product installation program. Run theprerequisite verification utility with the bsi parameter on the administrativeworkstation.

Syntax example:

tpae_req_check.bat -component bsi

If you do not use the -component parameter, you are prompted to specifycomponents when using the utility.

Multiple components can be specified as comma-separated values.

Chapter 1. Preparing for installation 3

Table 1. System verification parameters (continued)

Parameters Details

-input The prerequisite verification utility can accept a property file as input. The utilityverifies property values found in the file.

For example, the default DB2 server port parameter is DB2_SERVER_PORT=50000.The prerequisite verification utility verifies that this port is available on the DB2server host.

The default input property file is tpae.properties, and is found on themiddleware installation media in the SystemRequirements directory. There are alsoseveral sample property files found in the SystemRequirements\sample_property_files. These sample property files contain custom valuesdefined for particular operating systems. You can copy these property files to thesystem and modify them, or create your own, before running the prerequisiteverification utility.

Syntax example:

tpae_req_check.bat -component dbserver -input path to the property file

If you do not use the input parameter when you run the prerequisite verificationutility, the utility is run in interactive mode. You are prompted for individualvalues to be verified.

-mode The prerequisite verification utility can be run in silent or interactive mode.

interactiveBy default, the prerequisite verification utility is run in interactive mode. Ifyou do not specify the -mode parameter, the utility defaults to running ininteractive mode. When started from the launchpad, the utility runs ininteractive mode.

silentIf you use the silent qualifier, you can also use the input parameter andsupply a property file. If an input file not provided, default property valuesare used. The output must also be directed to a file to view the results.

Syntax example:

tpae_req_check.bat-component dbserver-mode silent-input path to the property file > prereqresults.log

-lang Parameter used to specify the locale of the system being verified.

Syntax example:

tpae_req_check.bat-component dbserver-lang en

Results are produced in the language of the locale specified.

This is an optional parameter.

By default, the language set in the system locale is used. If the resource bundle isnot found for the system locale, or, the system locale language is not supported,messages are displayed in English.

4 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 1. System verification parameters (continued)

Parameters Details

-trace Parameter used to specify trace output statements while the utility is running.

NoneSelecting this qualifier results in no trace information being generated whilethe utility is running.

VerboseSelecting this qualifier results in detailed trace information being generatedwhile the utility is running.

NormalSelecting this qualifier results in default trace information being generatedwhile the utility is running.

Syntax example:

tpae_req_check.bat-component dbserver-trace None

Procedure1. Log on to the system you are checking for prerequisites with a user ID that has

permission to run scripts on the system. Ensure that the middlewareinstallation media is mounted or otherwise available to the system. Thisexample procedure uses values found in the default tpae.properties file toverify that a system is suitable to host DB2 for a Maximo Asset Managementdeployment.

2. Open a command-line window and change directory to the SystemRequirementsdirectory of the middleware installation media.

3. Run the prerequisite verification utility. Specify the component being checkedand the property file to use.tpae_req_check.bat-component dbserver-input d:\SystemRequirements\tpae.properties

In this example, the tpae.properties file is located in the same directory as thetpae_req_check.bat script.

Results

After the prerequisite verification utility has completed successfully, results areprinted to the screen.

CTGIN8117I : The Tivoli Pre-requisite Scanner has been launched.CTGIN8118I : The Tivoli Pre-requisite Scanner exited with the return codeIBM Prerequisite Scanner

Version : 1.0.34Build : 20101109OS Name : Microsoft Windows Server 2003, Enterprise Edition Service Pack 2User Name: Administrator

Machine InfoMachine name : MYMACHINESerial Number: KKKKKK0OS Serial : 66666-666-6666666-66666

PAE [not defined] [version 07500000]:Property Result Found Exp...======== ====== ===== ===...

Chapter 1. Preparing for installation 5

os.totalPhysicalMemory PASS 2.00GB 1.90GBnetwork.hasFQDN FAIL False TrueDisk#1 (C:\ibm\tivoli\mwi\workspace) PASS 27.99GB 300MBDisk#2 (C:\Temp\1) PASS 27.99GB 1000MBDisk#3 (C:\Temp\1) PASS 27.99GB 250MBnetwork.availablePorts.db2 PASS 135,445,1025,2967,3389,5800,5900,139 50000network.availablePorts.ctginst PASS 135,445,1025,2967,3389,5800,5900,139 50005Disk#4 (C:\Program Files\IBM\SQLLIB) PASS 27.99GB 1.40GB

ALL COMPONENTS :Property Result Found Exp...======== ====== ===== ===...C: PASS 27.99GB 2.91GB

Prereq Scanner Overall Result: FAILprereq_checker.bat 1

These values can also be redirected to a file when starting the command from thecommand line.

If any of the verification steps report a failure, resolve the issue and rerun theverification utility before installing Maximo Asset Management components.

Table 2 contains a list of the properties checked. Use this information to analyzeprerequisite verification utility results.

Table 2. Prerequisite verification utility properties

Property Description

CpuArchitecture Verifies the machine architecture is supported.

disk(rw permissions) Checks read/write permissions of required directories.

network.availablePorts.* Verifies required ports are available.

The following example checks to ensure a port required by DB2 is available.

network.availablePorts.db2inst=50000

network.dns Verifies there is a DNS entry for the system on the DNS server.

network.fqdn Verifies that the system host name is fully qualified.

os.architecture Verifies the operating system architecture is supported.

os.dir.tmp/home Verifies required permissions for the system directories

os.FreePagingSpace Verifies adequate free paging space is available on the system.

os.iodevicestatus Verifies the I/O device status of the system.

os.lib.ksh Checks the ksh library.

os.lib.libstdc++.so.5 Verifies a prerequisite library is available on the system.

os.lib.xlC.rte=xlC.rte.9.0.0.8+ Verifies a prerequisite library is available on the system.

os.mountcheck Checks for the existence of nosuid on the file system.

os.package.rpm Verifies prerequisite packages are available on the system.

os.RAMSize Reports system RAM available.

os.SELinux Determines if selinux is enabled.

os.servicePack Verifies required service packs are installed on the system.

os.shell.default Determines the default shell for users.

6 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 2. Prerequisite verification utility properties (continued)

Property Description

os.space.* Determines disk space availability for various file systems.

The following example shows the check made for the middleware installationprogram workspace.

os.space.root=[dir:root=/root/ibm/tivoli/mwi/workspace,unit:MB]300

os.totalPhysicalMemory Reports physical RAM available to the operating system.

os.ulimit Identifies user limits configured on the system.

os.Version Reports the operating system type and version.

Checking port availabilityYou need to ensure that certain ports are available before using the productinstallation programs.

About this task

You must check to see if ports are in use and accepting connections for the systemyou are using to host middleware.

For example, port 50000 must be made available for DB2.

Port 7001 must be made available for Oracle WebLogic Server.

If you intend to use these default port values, ensure that the port is not alreadyassigned before you run installation programs.

You can either use the prerequisite verification utility to check for port availability,or you can check manually.

Procedure1. Open the appropriate port checking utility on the host system. If present, check

firewall rules for the system.2. Check the availability of ports required by Maximo Asset Management. If you

find that port already assigned, ensure that you choose another value whenprompted by the middleware installation program.“Programmatically verifying prerequisites” on page 2You can use the prerequisite verification utility to verify that installationprogram prerequisites are present on a system. Use this utility before startingthe middleware and product installation programs.

AIX and HP-UX tar command requirementsBoth the native UNIXtar command and the GNU version of the tar command arerequired by the middleware installation program. Because the native utility doesnot support long file names, ensure that GNU tar version 1.14 or higher isinstalled. GNU tar version 1.14 ensures that installation files can be extracted.

Verify that the system path variable contains both native UNIX tar and GNU tarpaths. The GNU tar path must be defined before the native UNIX tar path. Forexample, the native tar utility is installed in /usr/bin and the GNU tar utility isinstalled in /opt/freeware/bin/tar.

Chapter 1. Preparing for installation 7

If you have set a symbolic link to overwrite the native UNIX tar command withthe GNU tar command an error occurs.

http://www.ibm.com/systems/p/os/aix/linux/toolbox/download.html

AIX font requirementsAIX requires specific fonts in order to produce reports.

About this task

When producing reports from AIX systems, TrueType fonts must be available onthe system.

Procedure1. Install TrueType fonts on the AIX system.2. Ensure the fonts-path environment variable refers to the location of the fonts.

Enabling asynchronous I/O on AIXIBM Tivoli Directory Server requires asynchronous I/O be enabled on AIX systems.

About this task

Enabling asynchronous I/O on AIX is an installation requirement, so this stepmust be run before running the middleware installation program. You need toperform this step only if the system hosts the IBM Tivoli Directory Server.

Without asynchronous I/O, DB2 database instances cannot be started successfully.

Without asynchronous I/O, Oracle database instances cannot be startedsuccessfully.

To turn on asynchronous I/O follow these steps:

Procedure1. Log in to the system as root.2. Open a terminal and run the following command:

smit chgaio

3. From the System Management Interface Tool (SMIT) dialog box, change STATEto be configured at system restart from defined to available.

4. Click OK.5. Exit SMIT.6. Run the following command from the command line:

smit aio

7. In the System Management Interface Tool (SMIT) dialog box, select ConfigureDefined Asynchronous I/O, and then click Enter.

8. Reboot the system to enable the changes.

Checking for required libraries on LinuxThe Maximo Asset Management deployment requires certain Linux systemlibraries.

8 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Procedure1. Locate the libstdc++.so.5 library in the /usr/lib/ directory. If this library is

not installed, the middleware installation program throws an error whenrunning the middleware installation program in graphical mode. If you cannotlocate this library on your system, locate the RPM package for your system thatcontains this library and install the package.

2. Ensure that you have the libstdc++33-32bit-3.3.3-11.9.x86_64.rpm packageinstalled before running the product installation program. SUSE LinuxEnterprise Server 10 64-bit systems hosting manually configured middlewaremust host this package.

Configuring the JRE in LinuxIn some cases, the middleware installation program fails on Red Hat EnterpriseLinux 5 systems, or other systems with Security-Enhanced Linux (SELinux)enabled.

About this task

In one scenario, the middleware installation program fails with an error statingthat the Java Runtime Environment (JRE) cannot be found. In another scenario, themiddleware installation program fails stating that it cannot find the VM.

Complete the following steps to avoid these problems:

Procedure1. Temporarily disable SELinux by using the setenforce 0 command.2. Run the middleware installation program.3. Re-enable SELinux by using the setenforce 1 command.4. Manually issue the chcon -R -t textrel_shlib_t install_home/jvm/jre> command.

Results

The middleware installation program is now able to locate the JRE. Alternatively,you can edit the /etc/selinux/config file and set SELINUX to either permissive ordisabled for a more permanent fix. This solution, however, affects the level ofsecurity for the entire system.

Setting the ulimitThis section details how to set the ulimit in Linux, which is used to define usersystem and process resource limits.

About this task

For Linux systems, you must set the ulimit for the system before using themiddleware installation program.

If you set the ulimit in .profile for root, the ulimit setting applies to all processes.

To set the ulimit, complete the following steps:

Procedure1. From a command line, type ulimit -f unlimited

2. From a command line, type ulimit -n 8192

Chapter 1. Preparing for installation 9

Setting the swap sizeMaximo Asset Management can be a resource-intensive application. Configure andtune your system for maximum performance. This section details how to set thesize of the swap space used in Linux systems.

About this task

Typically, the swap size for Linux is set to twice the amount of physical RAM inthe server. See the product documentation for your Linux distribution for moreinformation.

Additional swap space can be made available to the system by:

Procedurev increasing the size of the existing swap partitionv creating a new, additional swap partitionv creating a swap file

Setting shared memoryThis section details how to set a minimum shared memory value in Linux.

About this task

For Linux systems, you must set a minimum shared memory value for the systembefore using the middleware installer.

To set the minimum shared memory value, complete the following steps:

Procedure1. From a command line, type sysctl kernel.shmmax and determine if the value is

less than 268435456 bytes (256 Mb).2. If you must increase the value, from a command line, type sysctl -w

kernel.shmmax=268435456.3. Update the value in /etc/sysctl.conf.

Remote configuration enablementThe Maximo Asset Management installation program can automatically configuremiddleware. You must enable a remote access protocol for each system on whichyou intend to install the middleware.

Use SSH for logging on to and configuring remote Linux and UNIX systems. UseWindows SMB for logging on to and configuring remote Windows systems.Windows SMB is a Windows protocol. The IBM JRE on the administrativeworkstation includes SSH.

Before you start the installation program, ensure that you can log on to any remoteservers with the protocols that you intend to use. Use the credentials that you planto supply to the installation program.

For remote Windows systems, ensure that the following requirements are metbefore installing the software:

10 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

v The user name that you provide to the installation program must exist as a localaccount on the remote system. This user must be a member of the WindowsAdministrators group.

v The following Windows services must be started on the remote system beforeyou begin a remote installation and configuration:– winmgmt (Windows Management Instrumentation)– RemoteRegistry (Remote Registry)– lanmanserver (Service)

v The SMB protocol must be enabled and configured to send NetBIOS overTCP/IP, by choosing to use port 139. Alternatively, you can configure SMB touse TCP/IP as the transport protocol, without NetBIOS, by configuring it to useport 445.

v Ensure that any ports that you use for remote protocols are not blocked byfirewalls or security policies, including ports 137 and 139. Port 139 is used ifSMB is configured to run on NetBIOS over TCP/IP. Port 445 is used if SMB isrun directly on TCP/IP, without NetBIOS.

v To disable simple file sharing, start Windows Explorer. Click Tools > FolderOptions, and clear the Use Simple File Sharing check box.

v The Windows administrative share (C$) and the interprocess communications(IPC$) folder must be shared.

v For Microsoft Windows Server 2008 systems that support password-protectedsharing, disable password-protection. Shares must be shared for the Guest orEveryone accounts.

v For Windows systems that have User Account Control (UAC) enabled, it mustbe disabled before software can be remotely installed and configured.

v If Cygwin is installed on the remote Windows system the SSH daemon (sshd)must be uninstalled or disabled.

For remote Linux or UNIX systems, ensure that the following requirements are metbefore installing the software:v For AIX systems, set the following SSH parameters located in the

/etc/ssh/sshd_config file:– ClientAliveInterval 900– ClientAliveCountMax 10

Stop the SSH daemon using the stopsrc -s sshd command and then restart itusing the startsrc -s sshd command.

v For AIX systems, set the TMOUT and TIMEOUT variables in the user profilescript to 0. This setting prevents the user from idling out and being logged offthe remote system during the installation.

v The user name that you provide to the installation program must exist as aprivileged account (for example, root) on the remote systems.

v Ensure that a current version of OpenSSH is installed and running. Do not useOpenSSH 4.7.0.5302.

v For Oracle Solaris systems, the remote access protocols require the use ofinternal shell scripts that must be run within the korn (ksh) shell. The methodsneed ksh, even if the user ID that you use to log on to the remote system isconfigured to use a different shell. Consequently, Oracle Solaris systems musthave the ksh environment installed and properly configured.

v If you plan to remotely configure software on remote Linux or UNIX computers,ensure that SSH is installed.

Chapter 1. Preparing for installation 11

Remote configuration does not support accessing network drives on the local orremote system.

System password policy settingsBe familiar with the password policies of systems you are using as part of aMaximo Asset Management deployment.

Your organization might have password policy regulations enforced on systems onyour network. Before deploying Maximo Asset Management, be sure that you arefamiliar with the password policies of systems used in the deployment, or youmight experience errors during installation.

For example, Microsoft Windows Server 2008 systems have a stricter set ofpassword requirements than previous versions configured by default. If you arenot familiar with these stronger password requirements, you might experience anerror during the installation of Maximo Asset Management. This error occurswhen creating users on a Microsoft Windows Server 2008 system.

Password values that you provide during the Maximo Asset Managementinstallation must be compliant with the password policies set for the target system.Passwords are not validated against the password policies of target systems at thetime you enter them on the installation program panels. If your passwords do notconform to the password policies of systems used to deploy the product, errorsoccur when the installation program attempts to create these passwords during theconfiguration step,

Backing up the Deployment Engine databaseThese instructions are for backing up the Deployment Engine database. Backupsare used to restore the database to the state it was before installing.

Before you begin

Back up the Deployment Engine database of the system before and after applyingany updates to an existing deployment. Use backups to recover from partialinstallation attempts.

About this task

To back up the Deployment Engine database, complete the following steps:

Procedure1. Set up the environment using the following command:

Windowsc:\install_home\ctg_DE\acsi\setenv.cmd

2. Run the command to back up the Deployment Engine registry:

Windowsc:\install_home\ctg_DE\acsi\bin\backupdb.cmd backup file name

Use a meaningful name for backup file name to reflect the fact that it contains thestate of the registry after your installation of Maximo Asset Management. Forexample, DEBackupAfterInstall.

12 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Specifying host name valuesDo not use localhost for host name values in the installation program. Specify thefully qualified host name or IP address of the system on which you are installing.

For Linux or UNIX systems, if the hostname -f command does not return a fullyqualified host name, consult the system documentation for assistance.

Establishing a fully qualified host name on Windows systemsUse this task to establish a fully qualified host name on Windows systems.

About this task

To establish a fully qualified host name on Windows systems, complete thefollowing steps.

Procedure1. On the desktop, right-click My Computer.2. Select Properties.3. On the Computer Name tab, click Change.4. Enter a fully qualified host name in the Computer name field, and then click

More.Alternatively, you can provide the IP address for the system.5. In the DNS Suffix and NetBIOS Computer Name window, verify that the

Primary DNS suffix field displays a domain name, and then click OK.6. In the Computer Name Changes window, click OK.7. Click Apply and close the System Properties window.

Forcing the middleware installer to use alphanumeric hostnamesYou can force the use of alphanumeric host name use within the middlewareinstallation program by starting it from the command line and using theforceHostname=true parameter.

Example

The following example shows a use of the forceHostname=true parameter:mwi-console -V forceHostname=true

What to do next

If you launched the middleware installation program from the command line usingthe forceHostname=true parameter, then you are required to provide analphanumeric value in the Hostname field. An IP address results in an errormessage.

LaunchpadThe IBM Maximo Asset Management launchpad serves as a centralized interfacefor launching a collection of installation programs and product information.

The launchpad application assists you in choosing which product installationprograms you must install and indicates the order in which they must be installed.

Use the Maximo Asset Management launchpad to:v start the middleware installation program.

Chapter 1. Preparing for installation 13

v start the prerequisite checker utility.v start the Maximo Asset Management installation program.v access the Maximo Asset Management information center, including information

used to plan the Maximo Asset Management installation and deployment.

Just before starting the launchpad, ensure that you meet the middlewareprerequisites. Ensure that you have the correct service pack levels for yourenvironments and always use fully qualified domain names when entering valuesfor the installation program.

Starting the launchpadUse the following information to start the Maximo Asset Management launchpad

Before you begin

Launchpad generated messages are captured in a hidden log frame while thelaunchpad is running. To show the log frame on the bottom of the launchpadpanels, hold the CTRL key while simultaneously clicking the banner frame of thelaunchpad. Messages that are generated while the launchpad is running are notautomatically saved on the hard disk drive. You can manually save the messagesfrom a session by clicking Save at the bottom of the log frame and then specifyingwhere you want to save the file.

About this task

To start the IBM Maximo Asset Management launchpad, complete the followingsteps:

Procedure1. Log on to an account with system administration privileges on the computer

where you want Maximo Asset Management components to be installed.2. Start the launchpad from the root directory of the installation image:

v Windows: Start the launchpad by using the launchpad.exe program.

14 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Chapter 2. Deploy with automatic middleware configuration

Use this information to use product installation programs and tools to install andautomatically configure a Maximo Asset Management deployment within yourenterprise.

This information provides a high-level overview or road map of tasks you need tocomplete in order to deploy Maximo Asset Management with automaticmiddleware configuration.

In this scenario, you use the middleware installation program to install andautomatically configure new instances of the following components:v DB2v IBM Tivoli Directory Server

You use the product installation program to perform further middlewareconfiguration tasks automatically before finally deploying the product itself.

Oracle WebLogic Server must always be configured manually.

You can use the middleware installation program to install DB2. You then use theMaximo Asset Management installation program to automatically configure it.

Install middleware using the middlewareinstallation program

Install IBM Maximo Asset Managementand automatically configure middleware

Verify the installation

Perform post-installation tasks

Figure 1. Deploying Maximo Asset Management using automatic middleware configuration

© Copyright IBM Corp. 2007, 2011 15

Middleware installation program middleware deployment plan overviewThe deployment plan resides in the workspace directory and is generated fromdeployment choices selected in the middleware installation program.

The plan is a series of deployment steps and configuration parameters. Each step isresponsible for installing and uninstalling one portion of the middleware. Whendeployment choices are changed, the existing deployment plan is deleted andreplaced with the new deployment plan.

Installing middleware using the middleware installation programYou use the middleware installation program to install middleware components foruse with IBM Maximo Asset Management. The middleware components that youchoose to install, and the associated configuration parameters, are recorded in adeployment plan for the target system.

Before you beginv Plan your installation.v Use the planning worksheets for middleware installation to record the values

that you need to specify during the installation procedure.

About this task

These instructions cover the use of the middleware installation program to installand configure middleware components on a single server. The single serverdeployment scenario is suitable for demonstration, test, or training purposes.

The following middleware components are installed:v DB2v Tivoli Directory Server

If you want to use Oracle WebLogic Server with Maximo Asset Management, youmust install it separately or reuse an existing instance, and then configure itmanually.

You must run the middleware installation program locally on the target system.You can start the program by using the launchpad or a setup script. When you usethe launchpad, the program files are copied to a temporary directory on the targetsystem. When you use a setup script, no files are copied to the target system. Ifyou are installing on a 64-bit Windows system, you must use a setup script to startthe program.

Procedure1. Log in to the target system as a user with administrative authority. If you are

running the middleware installation program from a Linux or UNIX terminalwindow, you must be logged in as the root user.

2. Start the middleware installation program by using the launchpad or a setupscript.v Use the launchpad to start the middleware installation program.

a. Start the launchpad.

16 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Windows (32-bit only)From the root directory of the installation image, run thefollowing command: launchpad.exe.

Linux and UNIXFrom the root directory of the installation image or productmedia, run the following command: launchpad.sh.

b. Run the middleware installation requirements checking utility.c. Click Middleware.

v Run the following command to launch a setup script which starts themiddleware installation program:

Windowslaunchpad\Install\MWI\setupwin.bat /l

Linux and UNIXlaunchpad/Install/MWI/setupUNIX.sh -l

3. Specify the workspace location for this installation of middleware.4. On the Deployment Choices panel, select the components that you want to

install on this system.5. Review the summary of the generated deployment plan and click Next to

proceed with configuration of the specified components. When you click Next,the middleware installation program verifies the prerequisites for installingthe specified components.

6. To specify a host name for the target system other than the default host name,select Override the local machine hostname and enter a host name in theHostname field. You cannot clear this option after it has been selected,however, you can change the value in the Hostname field.

7. Optional: To specify a default password that can be used throughout themiddleware installation program, select Use this password as the value forall subsequent passwords and enter the required password.

8. Specify the following details for DB2 Enterprise Edition Server:a. Specify the installation directory.b. Specify administrative account details for the DB2 Administration Server.

The password that you specify is also used as the password for the DB2default database instance.

c. If you are installing on a Linux or AIX system, specify fenced user accountdetails for DB2.

9. Specify an instance name, port, and user name for the default databaseinstance.

10. Specify an instance name, port, and user account details for the Maximo AssetManagement database instance.

11. Specify names for the DB2 administrators and users groups. A users groupname is required only if DB2 Enterprise Edition Server is installed on aWindows system.

12. Specify the following details for IBM Tivoli Directory Server:a. Specify the installation directory.b. Specify a distinguished name and password for the Tivoli Directory Server

administrator.13. Specify the configuration parameters that are required for Tivoli Directory

Server, including the organizational unit, organization suffix, and countrysuffix that are required when the directory server is used with Maximo AssetManagement.

Chapter 2. Deploying with automatic middleware configuration 17

14. Specify the following details for the Tivoli Directory Server database instance:a. Specify the name of the DB2 database that you are using to hold Tivoli

Directory Server data.b. Specify the name and password of the Tivoli Directory Server database

instance.15. Specify the configuration parameters that are required when Tivoli Directory

Server is being used as the LDAP resource for WebSphere® Application ServerNetwork Deployment security.

16. Specify the bind distinguished name and password that are required forbinding to the LDAP instance. When you click Next, the middlewareinstallation program validates the host and directory information that youspecified for the directory server. The specified information must be verifiedbefore the installation can proceed.

17. Specify whether you need to copy the Maximo Asset Managementmiddleware installation images from the product media to your file system:v If you need to copy the middleware installation images from the product

media, specify the source and destination directories.v If the middleware installation images are already saved to the file system,

specify the directory where they are located.18. Optional: Before you deploy, verify the integrity of the middleware installation

images by selecting the option for checksum validation. If the checksumoperation fails, click Back and recopy the images. If you do not select thisoption and the middleware installation images are corrupted or otherwiseinaccessible from the directory specified, an error occurs. If you encounter thiserror, you must replace the corrupted middleware installation images andthen restart the middleware installation program.

19. Specify a directory to use for middleware installation program temporary filesand extracted middleware installation images.

20. Select Deploy the plan to confirm that you are ready to install and configurethe selected middleware components.

21. Click Deploy to initiate the installation process.22. When the deployment is complete, click Finish to close the installation

wizard.

Middleware installation program logsMiddleware installation program log files are in the workspace directory that wasdefined in the middleware installation program.

There are several types of log files.

User interface logsThe logs generated by the middleware installation program user interfaceare in the workspace directory.

The middleware installation program logs all information in<workspace_loc>/mwi.log: Default workspace locations for all platforms areas follows:

WindowsC:\ibm\tivoli\mwi\workspace

Linux /root/ibm/tivoli/mwi/workspace

AIX /ibm/tivoli/mwi/workspace

18 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

The mwi.log file is the high-level log file that was generated by the mostrecent invocation of the middleware installation program. If an erroroccurs, examine this log file first. An entry in this log file might direct youto a lower-level log file.

Log files named mwi.logX, where X is a number, are copies of the mwi.logfile from earlier invocations of the middleware installation program. So, forexample, mwi.log0 is produced after the first invocation of the middlewareinstallation program. mwi.log1 is produced after the second invocation ofthe middleware installation program.

Logs for steps run by the user interfaceIn addition to collecting input from the user, the user interface of themiddleware installation program also performs several system checks.Examples of system checks run by the user interface runs include:v dependency checking to ensure that the operating system meets the

deployment requirementsv inventorying the software on the system to locate existing instances of

middleware products deployed by the middleware installation programv checking the available disk space to ensure that there is enough for the

deployment

Each of these checks is produced in the form of a step so that it can also berun as part of the deployment plan. When the user interface runs a step, itcopies the step into a subdirectory of the workspace directory. The log filesgenerated by a step are in the same subdirectory. These files follow thesame pattern as a step that is run as part of the deployment plan.

Logs for the deployment planThe deployment plan is in the directory <Workspace Directory>/hostname/deploymentPlan, where host name is the host name of the currentsystem. Each time the deployment plan is used to install or uninstallmiddleware products, a process ID is assigned and log files are generated.

The log files for the deployment plan are in the subdirectorylogs/processID. The primary log file for the deployment plan isDeploymentPlan.log, a high-level log file that lists the steps started as partof the deployment plan.

Logs for the workstation planThe machine plan is located in the directory <Workspace Directory>/hostname/deploymentPlan/MachinePlan_host name. The log files for the machineplan are in the logs subdirectory. The primary log files for the machineplan are named MachinePlan_host name_processID. These log files containthe output generated by Apache ANT when running the machine planANT script.

Logs for steps in the deployment planEach step in the deployment plan is in a directory named <WorkspaceDirectory>/host name/deploymentPlan/MachinePlan_hostname/stepNum_stepID, where stepNum is the sequence number of this stepin installation processing order of the deployment plan and stepIDidentifies the step. The log files for the step are in the logs subdirectory.

Some steps might provide a message log file namedstepID_processID.message, which contains a few entries that summarizethe result of starting the step. All steps provide a trace log file namedstepID_processID.log, which contains many entries, typically includinginformation about the input parameters and the substeps started.

Chapter 2. Deploying with automatic middleware configuration 19

Logs for substepsEach step contains one or more substeps. The substeps perform the actualinstallation, uninstall, and checking work for the middleware installationprogram.

Each substep is in the directory <Workspace Directory>/hostname/deploymentPlan/MachinePlan_host name/stepNum_stepID/operation/substepNum_substepID, where operation is the ANT target in the step ANTscript that starts this substep. substepNum is the sequence number of thissubstep in the processing order of the step, and substepID identifies thesubstep. Typical values for operation are install, uninstall, and check.

The log files for the substep are typically in a subdirectory namedprocessID/logs.

Log files generated by the native middleware installation programs arealso kept here.

As an example, the log file generated by the middleware installation programduring DB2 installation on a UNIX system would be found in the followingdirectory: <workspace>/<machine_name>/deploymentPlan/MachinePlan_<machine_name>/000XX_DB2_9.7/install/01_BASE/<Time_Stamp>/logs/db2setup.log

Middleware installation program log referenceThe following logs are produced during the use of the middleware installationprogram.

DB2 Installation Step

DB2 installation logs can be found in the following locations:

DB2 baseThe following DB2 base log files can be found in the <workspace>/<machine_name>/deploymentPlan/MachinePlan_<machine_name>/000XX_DB2_9.7/install/01_BASE/<Time_Stamp>/logs directory:v DB2_ESE_InstallProduct_<TimeStamp>.err

v DB2_ESE_InstallProduct_<TimeStamp>.log

v DB2_ESE_MoveDB2InstallLogsToLogsLoc_<TimeStamp>.err

v DB2_ESE_MoveDB2InstallLogsToLogsLoc_<TimeStamp>.log

v DB2_ESE_Register_DB_<TimeStamp>.err

v DB2_ESE_Register_DB_<TimeStamp>.log

v DB2_ESE_Verify_DB2_Level_<TimeStamp>.err

v DB2_ESE_Verify_DB2_Level_<TimeStamp>.log

v db2setup.log

v de_processreq.log

v de_processreq.log_utf8

v de_trace.log

For Windows, the following additional files will be available:v DB2_ESE_Verify_DB2_Service_20080805_063132GMT.err

v serviceList.log

The de_processreq.log contains status information. This log file providesdetails on which action has failed. The failed action log can be examined

20 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

for more information. The db2setup.log file is the native product log forDB2. This log contains DB2 installation information.

DB2 fix packThe following DB2 fix pack log files can be found in the<workspace>/<machine_name>/deploymentPlan/MachinePlan_<machine_name>/000XX_DB2_XX/install/02_FP/<Time_Stamp>/logs directory:v DB2_ESE_FP2MoveDB2LogsToLogsLoc_<Time_Stamp>.err

v DB2_ESE_FP2MoveDB2LogsToLogsLoc_<Time_Stamp>.log

v DB2_ESE_InstallDB2Fixpack_<Time_Stamp>.err

v DB2_ESE_InstallDB2Fixpack_<Time_Stamp>.log

v DB2_ESE_ListDB2FPAdmin_<Time_Stamp>.err

v DB2_ESE_ListDB2FPAdmin_<Time_Stamp>.log

v DB2_ESE_ListDB2FPinstance_<Time_Stamp>.err

v DB2_ESE_ListDB2FPinstance_<Time_Stamp>.log

v DB2_ESE_StartDB2FPAdminInstance_<Time_Stamp>.err

v DB2_ESE_StartDB2FPAdminInstance_<Time_Stamp>.log

v DB2_ESE_StopDB2FPAdminInstance_<Time_Stamp>.err

v DB2_ESE_StopDB2FPAdminInstance_<Time_Stamp>.log

v DB2_ESE_UpdateDB2_<Time_Stamp>.err

v DB2_ESE_UpdateDB2_<Time_Stamp>.log

v DB2_ESE_Verify_DB2_FP_Level_<Time_Stamp>.err

v DB2_ESE_Verify_DB2_FP_Level_<Time_Stamp>.log

v de_processreq.log

v de_processreq.log_utf8

v de_trace.log

v installFixPack.log

The de_processreq.log contains status information. This log file providesdetails on which action has failed. The failed action log can be examinedfor more information. The installFixPack.log file is the native log for thefix pack. This log contains DB2 fix pack installation information.

No fix pack logs are available on Windows systems.

If you encounter a failure wrapper failure, more information can be found in the$(_TempLocation) directory in the <Time_Stamp> folder. This directory contains thelogs related to DB2 installation

DB2 Configuration Step

The following DB2 configuration logs can be found in <workspace>/<machine_name>/deploymentPlan/MachinePlan_<machine_name>/000XX_DB2_Configuration/install/01_CONFIG/<Time_Stamp>/logs:v checkpasswdCreated.log

v createuser.log

v etcgroupfile.log

v etcpasswdfile.log

v setUserPassword.log

Chapter 2. Deploying with automatic middleware configuration 21

For Linux, including Linux on IBM System z®, the following additional files areproduced:v permissions.log

v catalogLocalNode.log (produced in the 02_CONFIG folder)v catalogLocalNode.log (produced in the 02_CONFIG folder)v startDB2.log

For Windows, the following additional files are produced:v createDB2instance.log

v localEnvVariables.log

v setTCPIPCommForDB2instance.log

v setTCPIPPortForDB2instance.log

v setWindowsServiceToAutoStart.log

For UNIX, including Linux, Linux on IBM System z, and AIX, the followingadditional files are produced:v createinstance.log

v SetTCPIPCOMM.log

v stopDB2.log

v updatePort.log

IBM Tivoli Directory Server DB2 for Maximo Asset Management Step

The following IBM Tivoli Directory Server DB2 for Maximo Asset Managementlogs can be found in <workspace>/<machine_name>/deploymentPlan/MachinePlan_<machine_name>/000XX_ITDS_DB2_CCMDB/check/01_CHECKS/<Time_Stamp>/logs:v etcgroupfile.log

v etcpasswdfile.log

IBM Tivoli Directory Server Installation Step

IBM Tivoli Directory Server installation logs can be found in the followinglocations:

GSKITThe following IBM Tivoli Directory Server installation log files can befound in the <workspace>/<machine_name>/deploymentPlan/MachinePlan_<machine_name>/000XX_ITDS_6.3/install/01_GSKIT/<Time_Stamp>/logs directory.v de_processreq.log

v de_trace.log

For Windows and Linux, including Linux on IBM System z, the followingadditional files are produced:v GSKit_Install_GSKit_<Time_Stamp>.log

v GSKit_Install_GSKit_<Time_Stamp>.err

For 32-bit Windows systems, the following additional file is produced:v gskInstall.log

For 32-bit Windows systems, the following additional files are produced:v ISScript_Install.log

22 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

v gskInstall.log

For AIX systems, the following additional files are produced:v GSKit_Install_JS_RTE_20080721_084044GMT-06.00.log

v GSKit_Install_SA_RTE_20080721_084044GMT-06.00.log

v vGSKit_Install_TA_RTE_20080721_084044GMT-06.00.log

v rteList.log

The de_processreq.log contains status information. This log file providesdetails on which action has failed. The failed action log can be examinedfor more information.

IBM Tivoli Directory Server baseThe following IBM Tivoli Directory Server base log files can be found inthe <workspace>/<machine_name>/deploymentPlan/MachinePlan_<machine_name>/000XX_ITDS_6.3/install/02_BASE/<Time_Stamp>/logs directory:v de_processreq.log

v de_trace.log

For Windows, the following additional files are available:v ldapinst.log

v registryList.log

For Linux, including Linux on IBM System z, the following additional filesare produced:v ITDS6.3_CheckRPMEntry_<Time_Stamp>.err

v ITDS6.3_CheckRPMEntry_<Time_Stamp>.log

v rpmList.log

For AIX systems, the following additional files are produced:v ITDS6.3_CheckRTEEntry_<Time_Stamp>.log

v ITDS6.3_CheckRTEEntry_<Time_Stamp>.err

v rteList.log

The de_processreq.log contains status information. This log file providesdetails on which action has failed. The failed action log can be examinedfor more information.

IBM Tivoli Directory Server fix packThe following IBM Tivoli Directory Server fix pack log files can be foundin the <workspace>/<machine_name>/deploymentPlan/MachinePlan_<machine_name>/000XX_ITDS_6.3/install/02A_FP/<Time_Stamp>/logs directory:v de_processreq.log

v de_trace.log

For Windows, the following additional file are available:v ldapinst.log

For Linux, the following additional files are produced:v ITDS6.3_CheckRPMEntry_<Time_Stamp>.err

v ITDS_InstallFixpack_<Time_Stamp>.log

v rpmList.log

For AIX systems, the following additional files are produced:

Chapter 2. Deploying with automatic middleware configuration 23

v ITDS_InstallFixpack_<Time_Stamp>.err

v ITDS_InstallFixpack_<Time_Stamp>.log

v ITDS6.3_CheckRTEEntry_<Time_Stamp>.log

v ITDS6.3_CheckRTEEntry_<Time_Stamp>.err

v rteList.log

The de_processreq.log contains status information. This log file providesdetails on which action has failed. The failed action log can be examinedfor more information.

IBM Tivoli Directory Server language packThe following IBM Tivoli Directory Server language pack log files can befound in the <workspace>/<machine_name>/deploymentPlan/MachinePlan_<machine_name>/000XX_ITDS_6.3/install/03_LP/<Time_Stamp>/logs directory:v de_processreq.log

v de_trace.log

For Windows, the following additional files are available:v ldapLP_inst.log

v registryList.log

For Linux, including Linux on IBM System z, the following additional fileis produced:v checkIfRPMEntryExists_<Time_Stamp>.log

For AIX systems, the following additional files are produced:v checkIfRTEEntryExists_<Time_Stamp>.log

v checkIfRTEEntryExists_<Time_Stamp>.err

IBM Tivoli Directory Server Configuration Step

The following IBM Tivoli Directory Server configuration logs can be found in<workspace>/<machine_name>/deploymentPlan/MachinePlan_<machine_name>/000XX_ITDS_Configuration/install/01_CONFIG/logs:v createUsers.log

v netUserCheck.log

For Windows, the following additional files are produced:v PasswdNeverExpires.log

v configureDB.log (produced in the 02_CONFIG folder)v configureDNPassword.log (produced in the 02_CONFIG folder)v configureSuffix.log (produced in the 02_CONFIG folder)v startInstanceTool.log (produced in the 02_CONFIG folder)v startServer.log (produced in the 02_CONFIG folder)v audit.log (produced in the C:\idsslapd-idsccmdb\logs folder)

v bulkload.log (produced in the C:\idsslapd-idsccmdb\logs folder)

v db2clicmds.log (produced in the C:\idsslapd-idsccmdb\logs folder)

v lostandfound.log (produced in the C:\idsslapd-idsccmdb\logs folder)

v traceibmslapd.log (produced in the C:\idsslapd-idsccmdb\logs folder)

v adminaudit.log (produced in the C:\idsslapd-idsccmdb\logs folder)

v ibmdiradm.log (produced in the C:\idsslapd-idsccmdb\logs folder)

24 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

v db2cli.log (produced in the C:\idsslapd-idsccmdb\logs folder)

v perftune_stat.log (produced in the C:\idsslapd-idsccmdb\logs folder)

v idstools.log (produced in the C:\idsslapd-idsccmdb\logs folder)

For UNIX, including Linux,Linux on IBM System z, and AIX, the followingadditional files are produced:v permissions.log

v ITDS_LDAP_Config.encrypted.ldif (produced in the 03_CONFIG folder)v addLDIFData.log (produced in the 03_CONFIG/logs folder)v idsadm.log (produced in the /var/idsldap/V6.3 folder)

v idsadmdb2.log (produced in the /var/idsldap/V6.3 folder)

v idsadmdb2cmds.log (produced in the /var/idsldap/V6.3 folder)

Configuring IBM Tivoli Directory Server user and groupstrings

You can configure user and group strings in IBM Tivoli Directory Server to adapt itto your deployment needs.

About this task

You can manually create user and group strings for Tivoli Directory Server duringinstallation.

If you configure directory server user and group strings for a system that hostsonly the IBM Tivoli Directory Server , you must manually create properties in theinput.properties file of the ITDS_CONFIGURATION step of the deployment plan.

Procedure1. Edit the input.properties file that is in the directory server folder at:

Workspace\machine name\deploymentPlan\MachinePlan_machineshortname\00006_ITDS_Configuration. For example, in Windows, the defaultlocation of the input.properties file is C:\ibm\tivoli\mwi\workspace\mymachine.ibm.com\deploymentPlan\MachinePlan_mymachine\00006_ITDS_Configuration.

2. Add the following properties:was_nd.secure.GroupSuffix=ou\=groups,ou\=SWG,o\=IBM,c\=USwas_nd.secure.UserSuffix=ou\=users,ou\=SWG,o\=IBM,c\=US

3. If Tivoli Directory Server configuration parameters are customized, change theapplicable values to your custom values on the configuration parameters panel.For example, if your custom values are ou=SWG1 and the Organizationcountry suffix is o=IBM1,c=US1, you must manually replace all occurrences ofthose values in the input.properties file:was_nd.secure.GroupSuffix=ou\=groups,ou\=SWG1,o\=IBM1,c\=US1was_nd.secure.UserSuffix=ou\=users,ou\=SWG1,o\=IBM1,c\=US1

Uninstalling middlewareTo uninstall IBM Maximo Asset Management middleware, you must run themiddleware installation program and select the options to remove the previousdeployment.

Chapter 2. Deploying with automatic middleware configuration 25

Before you begin

If you chose to deploy Maximo Asset Management middleware with a directoryserver, ensure that it is active.

About this task

The middleware installation program creates a registry when installing MaximoAsset Management middleware. Using the native middleware uninstall programscauses this registry to be out of sync with what is deployed. As a result, errorsoccur when you attempt to reinstall middleware with the middleware installationprogram.

Procedure1. Stop and start servers as required:

a. Stop the IBM Tivoli Directory Server (IBM Tivoli Directory Server v6.3 -idsccmdb).

b. Stop the IBM Tivoli Directory Server daemon (IBM Tivoli Directory AdminServer v6.3 - idsccmdb).

c. Start DB2.d. Start the idsccmdb DB2 instance (DB2 - DB2COPY1 - IDSCCMDB).e. Start the IBM Tivoli Directory Server daemon (IBM Tivoli Directory Admin

Server v6.3 - idsccmdb)2. Log in as Administrator on Windows and root on Linux and AIX.3. Start the launchpad by running the following command from the root

directory of the downloaded installation image:

Option Description

Windows launchpad.exe

Linux launchpad.sh

AIX launchpad.sh

4. In the launchpad navigation pane, click Install Product.5. In the Install the middleware section, click Middleware and step through the

launchpad panels.6. When you are prompted to browse to a workspace, specify the workspace

directory that contains the currently deployed plan, and click Next. Thedefault location for the workspace is the last workspace location specified. Ifyou did not specify a path previously, the default location for the workspaceisc:\ibm\tivoli\mwi\workspace

7. In the Select Operation panel, select Undeploy the plan, and click Next.8. From the undeployment preview panel, click Next to undeploy the plan.9. Exit the middleware installation program.

10. On UNIX systems, remove the following DB2 references from the/etc/services file:v db2c_db2insxy 50001/tcpv db2c_db2inst1 50000/tcp

26 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Reinstalling middleware with IBM DB2You can run an installation of the middleware with the DB2 user and groupsettings from a previous installation.

Before you begin

Remove all middleware products and their components before you reinstall themiddleware.

About this task

When DB2 is uninstalled, users and groups are not removed. You can specify thesame DB2 user and group values or replace them with new users and groupswhen you run the installation program.

Procedure1. Verify that all middleware products were properly removed by examining the

deployment plan log files. The log files are in the subdirectory WorkspaceDirectory/host name/deploymentPlan/logs/processID. The primary log file forthe deployment plan is DeploymentPlan.log.

2. The middleware installation program creates a default instance for DB2 andadds the owner of the default instance to the DB2 administrator group that youspecify. Specify the DB2 users and groups that you want to use for thisinstallation:v Provide the same values that were previously used for the DB2

administrators group.v Remove the existing instance owner and specify a new administrators group.

You cannot specify an existing instance owner with a new DB2administrators group.

3. Start the middleware installation program from the launchpad.

Manually configuring WebLogic ServerWebLogic Server can be used with Maximo Asset Management if it is manuallyconfigured.

About this task

You can use a WebLogic Server as your J2EE server. The Maximo AssetManagement installation process prepares EAR files on the Maximo AssetManagement administrative workstation. These files are then manually deployedto your WebLogic Server. The Maximo Asset Management installation programdoes not automatically configure a WebLogic Server environment It does not installor otherwise deploy Maximo Asset Management applications into a WebLogicServer server.

Manually configuring WebLogic Server consists of the following tasks:

Procedure1. “Creating the MAXIMOSERVER domain” on page 282. “Configuring JMS options for integration framework” on page 283. “Configuring JMS for the email listener in WebLogic Server” on page 30

Chapter 2. Deploying with automatic middleware configuration 27

Creating the MAXIMOSERVER domainThis section details how to create the MAXIMOSERVER domain within WebLogicServer.

About this task

To create the MAXIMOSERVER domain within WebLogic Server, complete thefollowing steps:

Procedure1. Launch the Configuration wizard tool.

v For Windows systems, select Start > Programs > BEA Products > Tools >Configuration Wizard.

v For UNIX systems, launch the Configuration wizard using the config.shcommand located in <WebLogic_Home>/weblogic10/common/bin.

2. From the welcome panel, select Create a new WebLogic Server domain, andthen click Next.

3. From the Select a Domain Source panel, select Generate a domain configuredautomatically to support the following products, and then click Next.

4. From the Specify Domain Name and Location panel, name the domainMAXIMOSERVER, and then click Next

5. From the Configure Administrator Username and Password panel, enter anadministrator user ID and password, and then click Next.

6. From the Configure Server Start Mode and JDK panel, enter the followinginformation, and then click Next.

WebLogic Server Domain Startup ModeSelect Production.

Selecting this option requires that you provide a user ID and passwordin order to deploy applications.

JDK SelectionSelect a JDK with a version number 1.6.0 or greater from the suppliedJDKs.

7. Proceed through the next few panels until you reach the CustomizeEnvironment and Services Settings panel. From the Customize Environmentand Services Settings panel, select the default option No, and then click Next.

8. From the Create WebLogic Server Domain panel, change the Domain Namevalue to MaximoServer, and then click Create to create the domain.

9. Once the domain has been created, ensure that the Start Admin Server optionis cleared, and then click Done to close the Configuration wizard. On UNIXsystems, this option is not displayed.

Configuring JMS options for integration frameworkThis procedure provides details on steps to configure JMS queues.

Before you begin

You need to be familiar with the Oracle WebLogic Server Administration Consoleto complete the following procedure. See your Oracle WebLogic Serverdocumentation on how to navigate through the Oracle WebLogic ServerAdministration Console.

28 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Procedure1. Launch Internet Explorer and open the MAXIMOSERVER Administration Console

by typing the following URL:http://host_name:7001/console

2. Sign in by entering your user ID and password.3. Create three persistent file stores with the following configuration parameters:

Option Description

File Store Name sqinstore, sqoutstore, cqinstore

File Store Target MAXIMOSERVER

File Store Directory C:\WebLogic, or another directory of your choice

File stores have better performance in general. However, you can choose tocreate database-based stores. To choose between file stores and database-basedstores, consult your Oracle WebLogic Server documentation.

4. Create three JMS servers with the following configuration parameters:

Option Description

Properties Name sqinserver, sqoutserver, cqinserver

Server Target MAXIMOSERVER

Bytes Maximum 20% or below of the allotted JVM heap size

It is recommended that you configure the Bytes Maximum for the JMS serversto a value of 20% or below of the allotted JVM heap size to prevent the OracleWebLogic Server from running out of memory.

5. Create a JMS system module named intjmsmodule with MAXIMOSERVER asthe target server.

6. Add a connection factory resource to the JMS module:

Option Description

Name intjmsconfact

JNDI Name jms/maximo/int/cf/intcf

Target MAXIMOSERVER

7. Add three queue resources to the JMS Module:a. Create the queue resource type.b. Create a new subdeployment with the same name as the queue.c. Assign the subdeployment_nameserver server target to the subdeployment.

Option Description

Queue 1 Name: sqin JNDI Name: jms/maximo/int/queues/sqin

Queue 2 Name: sqout JNDI Name: jms/maximo/int/queues/sqout

Queue 3 Name: cqin JNDI Name: jms/maximo/int/queues/cqin

Template None

8. Enable the JMS connection factory for integration framework:a. Select the intjmsconfact link.b. From the Transactions tab, check the XA Connection Factory Enabled

check box.c. Set the Maximum Messages per Session to -1.

Chapter 2. Deploying with automatic middleware configuration 29

9. Save and activate the changes.

What to do next

You need to stop and restart the MAXIMOSERVER application server for the update totake effect.

Configuring JMS for the email listener in WebLogic ServerYou use the email listeners application to receive and process requests throughemail in the form of email messages.

About this task

To configure JMS queues for the WebLogic Server, complete the following steps:

Procedure1. Log in to the WebLogic Server administration console.2. Create a persistent store.

a. In the Domain Structure panel, expand Services and then click PersistentStores.

b. Click New and select the option to create a file store.c. Enter lsnrstore for the name of the file store and c:\wls10 as the directory,

and then click Finish.3. Create a JMS Server

a. In the Domain Structure panel, under Services > Messaging , click JMSServers, enter the following information, and then click Next.

Name Enter a name for a new JMS server, for example, lsnrserver.

Persistent StoreSelect lsnrstore.

b. For the Target, select AdminServer, and then click Finish.4. Create a JMS System Module

a. In the Domain Structure panel, under Services > Messaging , click JMSModules, and then click New.

b. Enter a value for the Name field, such as lsnrjmsmodule, and then clickNext.

c. Select the option for AdminServer, and then click Next.d. Select the option for Would you like to add resources to the JMS system

module?, and then click Finish.5. Add a connection factory to the JMS module.

a. From the Summary of Resources table of the lsnrjmsmodule module, clickNew to add a resource.

b. Select the Connection Factory option, and then click Next.c. From the Connection Factory Properties panel, enter the following

information, and then click Next.

Name Enter a name for the new connection factory. For example,lsnrconnfact.

JNDI NameEnter jms/mro/lsnr/lsnrcf.

d. Ensure AdminServer is selected, and then click Finish

30 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

6. Add a queue to the JMS module.a. From the Summary of Resources table of the lsnrjmsmodule module, click

New to add a resource.b. Select the Queue option, and then click Next.c. From the JMS Destination Properties panel, enter the following information,

and then click Next.

Name Enter a name for the new queue. For example, lsnrqueue.

JNDI NameEnter jms/mro/lsnr/qin.

TemplateNo template is necessary.

d. Click Create a new Subdeployment, select lsnrserver, and then clickFinish.

7. Set the XA option for the connection factory.a. Select lsnrconnfact, and then select the Transactions tab.b. Ensure that the XA Connection Factory Enabled option is selected, and then

click Save.8. Click Activate Changes to save and activate all changes.9. To enable an email listener to use JMS queues, a Message Driven Bean is

configured through a deployment descriptor file that is part of the installation.You configure the Message Driven Bean by removing comment lines fromsections within the deployment descriptor files. Edit the ejb-jar.xml andweblogic-ejb-jar.xml files.a. Open the install_dir\applications\maximo\mboejb\ejbmodule\META-INF\

ejb-jar.xml file in an editor, uncomment the following sections, and thensave the file:Email Listener JMS is not deployed by default<message-driven id="MessageDriven_LSNRMessageBean"><ejb-name>LSNRMessageBean</ejb-name>ejb-class>psdi.common.emailstner.LSNRMessageBean</ejb-class>transaction-type>Container</transaction-type><message-destination-type>javax.jms.Queue</messagedestination-type></message-driven>

Email Listener JMS is not deployed by default<container-transaction><method><ejb-name>LSNRMessageBean</ejb-name><method-name>*</method-name></method><trans-attribute>Required</trans-attribute></container-transaction>

b. Open the c:\ibm\smp\maximo\applications\maximo\mboejb\ejbmodule\META-INF\weblogic-ejb-jar.xml file in an editor, uncomment the followingsection, and then save the file:Email Listener JMS is not deployed by default<weblogic-enterprise-bean><ejb-name>LSNRMessageBean</ejb-name><message-driven-descriptor><destination-jndi-name>jms/mro/lsnr/qin</destination-jndiname><connection-factory-jndi-name>jms/mro/lsnr/lsnrcf</connection-factory-jndi-name></message-driven-descriptor><transaction-descriptor>

Chapter 2. Deploying with automatic middleware configuration 31

<trans-timeout-seconds>600</trans-timeout-seconds></transaction-descriptor><jndi-name>LSNRMessageBean</jndi-name></weblogic-enterprise-bean>

Installation program overviewThe Maximo Asset Management installation program provides an interface forinstalling and deploying Maximo Asset Management, which includes the processautomation engine and process managers.

The Maximo Asset Management installation program records choices you makeabout your Maximo Asset Management deployment. It records configurationparameters associated with those choices, and then installs and deploys MaximoAsset Management based upon the information you entered.

There are two installation paths available to you when you are installing MaximoAsset Management.

SimpleA simple deployment consists of installing Maximo Asset Managementmiddleware on one system. You do not have the option of using existingmiddleware within your organization with Maximo AssetManagement. All middleware used with Maximo Asset Management mustbe installed on the system with the middleware installation program withdefault values. Maximo Asset Management is installed with default valuesprovided by the middleware installation program and Maximo AssetManagement installation program.

If you intend to override default values used by the simple deploymentpath, you must use the custom deployment path instead.

If you are deploying with Oracle WebLogic Server, you cannot choose thisoption.

CustomA custom deployment typically involves deploying Maximo AssetManagement across several systems. Some of these systems might alreadyhost middleware products that you want to use with your Maximo AssetManagement deployment. You can modify default installation values whenyou deploy with the custom installation path.

This deployment option does not require you to spread the Maximo AssetManagement deployment across several systems. You can enter the nameof the local host as the destination for all Maximo Asset Managementcomponents.

If you are deploying with Oracle WebLogic Server, you must choose thisoption.

The Maximo Asset Management installation program can automate theconfiguration of some middleware for use with Maximo Asset Management.

The Maximo Asset Management installation program cannot automate theconfiguration of Oracle WebLogic Server.

If you choose not to have the Maximo Asset Management installation programautomatically configure middleware, you must configure that piece of middlewaremanually before the installation of Maximo Asset Management.

32 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Important: When you are entering LDAP values for Maximo Asset Managementinstallation panel fields, be aware of the product-specific syntax rules for usingspecial characters in an LDAP string. In most cases, special characters must bepreceded by an escape character in order to make it readable by the directoryserver. Failing to escape special characters contained in an LDAP string used withMaximo Asset Management results in Maximo Asset Management errors.

Many directory server products consider a blank space as a special character that ispart of the LDAP string. If you enter an LDAP string with an unescaped blankcharacter at the end of a field value, you encounter Maximo Asset Managementerrors.

For more information about special character usage in LDAP strings, see theproduct documentation for your directory server.

Information that you enter for the Maximo Asset Management installation programis stored in the maximo.properties and install.properties files and the Maximodatabase. These values are populated into the panel fields of the Maximo AssetManagement installation program on subsequent uses of the program. If youcancel the installation program, it recalls most values that you entered the nexttime you start it. Values excluded from being saved in this manner are the MaximoAsset Management installation directory and the shortcut option chosen during theinstallation. You can restore the default values in the Maximo Asset Managementinstallation program by deleting <Maximo_Home>/applications/maximo/properties/maximo.properties and <Maximo_Home>/etc/install.properties. If you cannotlocate the maximo.properties file in the <Maximo_Home> directory, look for it in thesystem temp file directory.

Installing the product and automatically configuringmiddleware

To install Maximo Asset Management, you run the installation program from thelaunchpad. The installation procedure automatically configures middleware onmultiple servers, using default values.

Before you begin

Ensure that you meet prerequisite conditions.v Oracle WebLogic Server must have been manually configured for your

deployment.v The database server, the directory server, and application server services must be

started and active.v On the administrative workstation, temporarily shut down any noncritical

processes that can have a negative effect on the installation, such as antivirussoftware.

v Ensure that the Windows DEP setting does not prevent the launchpad fromrunning: Select Start > Settings > Control Panel > System > Advanced >Performance > Settings > Data Execution Prevention. Select Turn on DEP foressential Windows programs and services only and click Apply. You might beasked to reboot the server.

v For Linux and UNIX systems with middleware installed, the command hostname-f must return a fully qualified host name. If necessary, consult thedocumentation for your operating system. Alternatively, you can provide the IPaddress for the system.

Chapter 2. Deploying with automatic middleware configuration 33

v Enable a remote execution and access service on every system that hasmiddleware installed. Each remote system must support a remote accessprotocol. It must also accept remote logins from a user name and password thatwere configured on the target server. Remote access protocols include SSH andWindows SMB. If the remote system is a Windows server, you must configureremote execution and access to use SMB.

v The DB2 database must be prepared.– If DB2 is installed on a Linux or UNIX system, you must create the instance

user and the home directory for the user on the DB2 server.– The database instance owner home directory must have 8 GB of space

available regardless of whether a database is installed in that location.– The user ID for the DB2 instance administrator must have SYSADM (system

administration) authority. You specify this user ID during the productinstallation program. See the DB2 product documentation for informationabout creating a user with SYSADM authority on the DB2 server. You mustadd root to a group with SYSADM authority for UNIX systems.

About this task

The instructions are for a multiple server installation that uses default values.

If you use DB2 and install Maximo Asset Management in a language other thanEnglish, you must accept the default values for database table space size and indextable space size. These values are displayed as null during the installation. If youwant to customize the table space sizes, you have three options:v Run the product installation program in English.v Manually configure the database.v Modify the table space sizes after installation.

Procedure1. Log in on the administrative system.2. Start the product installation program from the launchpad.

a. Start the launchpad. Browse to the root directory of the downloadedinstallation image, and run the following command:

Windowslaunchpad.exe

b. In the launchpad navigation pane, click Install Product.c. Click Install Maximo Asset Management 7.5.If the launchpad does not start the installation, you can start the productinstallation program directly. On the downloaded installation image, browseto \Install\mam\, and run one of the following commands:

Windows

v install.bat

v install_win64.bat

3. Select a language for the installation and click OK.4. On the Choose Installation Folder panel, specify the path to the location

where you want to install Maximo Asset Management.You can specify a description for the installation. A description is useful fordifferentiating between multiple installations that are hosted on the sameadministrative workstation.

34 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

5. Review the information that is on the Verify Installation Location panel. Thepanel shows any previous installation information that was found based onthe installation directory that you specified on the previous panel. After youadvance past this panel, you cannot go back and change the installationdirectory for this installation.If a more recent version of the installation program is found in the specifiedtarget directory, you are notified. The notification means that you are using anolder version of the installation program. The version found on theadministrative workstation is newer and can contain important features andenhancements. To use the newer version of the installation program, select theoption on the notification panel and click Next. This action exits the currentinstallation process and restarts the installation process with the newerinstallation program. If you do not select the option, you continue theinstallation with the older version of the installation program.

6. On the Package Summary panel, review the package deployment information.This panel lists version information for both new and existing packages on thesystem. Target package version information indicates the package versionbeing currently deployed.

7. On the Choose Deployment panel, specify Simple or Custom as thedeployment type.

8. On the Import Middleware Configuration Information panel, you selectImport middleware configuration information to have the productinstallation program reuse the middleware installation program values. Thesevalues are used as default values for the same fields in the productinstallation program.The Workspace location field refers to the location of the topology file thatcontains the values that were specified for the middleware installationprogram. The file is located in the workspace that was defined during themiddleware installation task. For example, C:\ibm\tivoli\mwi\workspace forWindows or /root/ibm/tivoli/mwi/workspace for UNIX.If you selected the simple deployment, the middleware default information isnot used.

9. On the Database Type panel, specify the software to use for the Maximodatabase.

10. On the Database panel, specify configuration information for your databasesoftware.For things such as the database user ID, the database name, the databaseinstance for Maximo Asset Management, and the schema name, if the valuesdo not exist when you specify them, they are created.For DB2, the user ID cannot be the same as the instance administrator user ID.Database users and database instance names cannot contain spaces.For DB2, the database instance is created if it does not exist, but the user andits associated home directory must exist on the DB2 server. For DB2, theschema name can be the same value as the owner of the table spaces that aredefined or it can be a different value, such as maximo.After you specify configuration information for your database software, theinstallation program validates the information with the database server.

11. On the Automate Database Configuration panel, you can specify that databasecreation and configuration is to be automated.If you do not select the option, you must configure the database manually.

Chapter 2. Deploying with automatic middleware configuration 35

12. On the Remote Access Authorization panel, specify authorization informationfor the automatic database configuration feature. Specifying the values enablesremote configuration.

13. On the Database Administration panel, specify configuration informationabout the database. The required information varies by database platform.For DB2, the instance administrator user ID cannot be the same as thedatabase user ID. And the Windows service user ID must have administrativeauthority on the system.

14. On the Database Tablespace panel, specify information about the table spaceof the database.When you click Next, the product installation program connects to thedatabase server and validates the information that you specified.

15. When the database validation is complete, on the Application Server Typepanel, specify the application server type for the product deployment.You must manually configure WebLogic Server and manually deployapplication files.

16. On the Specify Maximo Users panel, enter Maximo database user information.

Maximo administration userThe product administrator user ID that is used for initial configurationand adding users.

Maximo system registration userThe user ID that is used for the self-registration of users.

Maximo system integration userThe user ID that is used with enterprise adapters.

Custom user ID and password values are stored in the Maximo database. Thedefault user IDs of maxadmin, maxreg, and maxintadm are also created asusers in the Maximo database. Creation of the default user IDs is done forinternal processing purposes. If you use Maximo database security forauthentication and authorization, the default user IDs can be used to log in tothe application. If you regard this condition as a security risk, you can modifythe passwords for the default user IDs. You modify passwords for the userIDs in the Users application.

17. On the SMTP Configuration panel, specify the SMTP configurationinformation that is used by workflows to communicate with workflowparticipants.The administrator e-mail address is the e-mail address that is used to sendmessages. If you leave the fields blank, you must configure the SMTPparameters through the product interface as a post-installation task.

18. On the Base Language Selection panel, specify the base language for theinstallation.

19. On the Additional Language Selection panel, you can optionally specify oneor more additional languages that the installation is to support.

20. On the Run Configuration Step panel, specify how to perform theconfiguration step of the installation. If you do not select an option, theconfiguration step proceeds when you click Next.

Copy files now, but perform the installation configuration step laterSelect this option to copy files from the installation source to theadministrative workstation. You must perform the configuration stepat a later time to complete the deployment.

36 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Select this option to create a maxdemo database during the installationof Maximo Asset Management and populate the database with sampledata.

Important: Do not install another product before you complete theconfiguration step of the original installation. Installing anotherproduct before you run the configuration step for this installationoverwrites the taskstore, which prevents the original installation fromever being deployed.

The configuration values that you specify are stored in theinstall_home\maximo\applications\maximo\properties\maximo.properties and install_home\etc\install.properties files.You run the configuration steps outside of the product installationprogram by using the taskrunner utility, in the install_home\scriptsdirectory. Run the taskrunner utility from the command line.install_home\scripts\taskrunner [CONTINUE <STOPONERROR|NOSTOPONERROR>]

The taskrunner uses the configuration values that are stored in themaximo.properties and install.properties files to configure MaximoAsset Management.

If you run taskrunner with the NOSTOPONERROR parameter, thetaskrunner continues despite errors. If you run taskrunner with theSTOPONERROR parameter, the taskrunner stops when it encounters anerror. If you used STOPONERROR, you can rectify the conditions thatcaused the error. You can then resume the installation where the lastsuccessfully completed task was recorded in the previous attempt bystarting taskrunner with the CONTINUE parameter.

Defer the update of the Maximo databaseSelect this option if you want to manually run the database updatetask for the product deployment. This option can be used when thereis a fix pack available that addresses known issues with the updatedbscript. In this scenario, you choose the Defer the update of theMaximo database option, apply the fix pack, and then run theupdatedb -v1 command manually.

21. On the Choose Shortcut Folder panel, specify where you want Maximo AssetManagement icons created.If you select In the Start Menu and use Internet Explorer, add the MaximoAsset Management URL to the trusted sites web content zone. Disable theoption that requires server verification for all sites in the zone.Do not select In the Quick Launch Bar. The selection does not create ashortcut in the Quick Launch bar.

22. On the Input Summary panel, review the information that you provided forthe product installation program.If necessary, use Previous to return to previous panels to change values.

23. On the Pre-Installation Summary panel, review the installation information,then click Install.The installation process begins. You can monitor the progress of theinstallation by viewing the messages that are shown.

24. On the Installation Completed panel, review any information presented, thenclick Done.

Chapter 2. Deploying with automatic middleware configuration 37

“Restarting middleware on Windows” on page 145This procedure describes how to restart middleware on Windows, if you mustrestart any middleware services.“Restarting middleware on UNIX” on page 146Middleware services on Linux and AIX platforms occasionally must berestarted, such as when a reboot occurs. Middleware servers and services mustbe active before running the Maximo Asset Management installation program.

Creating a maxdemo database during installationYou can create a maxdemo database during a Maximo Asset Managementinstallation and populate the database with sample data.

Procedure1. On the Run Configuration Step panel of the installation wizard, select Copy

files now, but perform the installation configuration later.2. When the installation finishes, exit the installation wizard.3. Rename the C:\IBM\SMP\Maximo\tools\maximo\en\maximo.dbtype file.4. Copy the C:\IBM\SMP\Maximo\tools\maximo\en\maxdemo.dbtype file to

C:\IBM\SMP\Maximo\tools\maximo\en\maximo.dbtype, where en is the languagefolder and the dbtype is ora, sqs, or db2.

5. Open a command window and browse to C:\IBM\SMP\scripts.6. Run the following command: taskrunner.bat CONTINUE STOPONERROR

7. When the taskrunner process is complete, change the file names back to theiroriginal names. Do not restart the computer before you run the taskrunnercommand. The taskrunner utility does not create a persistent store ofinformation and data can be lost.

Post installation for Oracle WebLogic Server deploymentsThere is a post installation step required for Oracle WebLogic Server deployments.

About this task

When using Oracle WebLogic Server as the application server for your MaximoAsset Management deployment, the installation program produces an EAR file.You must then manually deploy that file to Oracle WebLogic Server.

When using Oracle WebLogic Server, you must modify the weblogic.xml file andrebuild the maximo.ear file before deploying it.

Procedure1. Install the updated JDK 1.6 program.

a. Obtain the latest JDK program with a version number 1.6.0 SR7 or greater,from http://www.oracle.com/technetwork/java/index.html

b. Start the installation program.c. Accept the license agreement.d. Change the installation destination path to your Oracle home folder, and

click OK , then Next.e. Accept any additional prompts to install the JDK program so that the

installation process can complete successfully.2. If you are using an Oracle database, copy the oraclethin.jar file.

38 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

a. Copy the oraclethin.jar file from the administrative workstation to theserver where you installed Oracle WebLogic Server. Use any file transferprotocol that is available.

b. The oraclethin.jar file is in the install_home\maximo\applications\maximo\lib directory. The default install_home directory isC:\IBM\SMP\Maximo\Applications\Maximo\lib. Copy the oraclethin.jar fileto the J2EE server and into the wls11g/server/lib directory. For example,C:/Oracle/wls11g/server/lib.

3. Edit the domain configuration file for appropriate Java settings.a. Navigate to Install_dir\user_projects\domains\mydomain\bin.b. Right-click and edit (do not double-click) setDomainEnv.cmd (Windows) or

setDomainEnv.sh (UNIX).c. Using your text editor, search for and replace jdk entries with entries that

configure Oracle WebLogic Server to use the updated JDK program. Twoinstances must be replaced.

d. (Oracle only) Search for PRE_CLASSPATH. Set the parameter as follows:set PRE_CLASSPATH=%WL_HOME%\server\lib\oraclethin.jar (Windows)PRE_CLASSPATH={WL_HOME}/server/lib/oraclethin.jar (UNIX)

Note: This step is required for connecting to Oracle databases from OracleWebLogic Server.

e. Increase the Java Heap parameters by searching for MEM_ARGS and settingthe parameter as follows:set MEM_ARGS=-Xms512m -Xmx1024m -XX:MaxPermSize=512m (Windows)MEM_ARGS=-Xms512m -Xmx1024m -XX:MaxPermSize=512m (UNIX)

These parameters are case-sensitive. Ensure to include the minus (-) signbefore each parameter and to include the m after each value.

f. Search for set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES%. Insert anoption directly after this string, as follows:-Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0

The entry looks like this example when complete:set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES%-Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0-Dwlw.iterativeDev=%iterativeDevFlag% -Dwlw.testConsole=%testConsoleFlag%-Dwlw.logErrorsToConsole=%logErrorsToConsoleFlag%

g. Save and close the setDomainEnv.cmd file.4. Edit the \IBM\SMP\maximo\applications\maximo\maximouiweb\webmodule\WEB-

INF\weblogic.xml file and add the following entries:<session-descriptor><cookie-http-only>false</cookie-http-only></session-descriptor>

5. Start the server without being prompted for user name and password. If youare working in Production mode and do not want to be prompted for theOracle WebLogic Server user name and password, create a boot.propertiesfile. This procedure stores the user name and password in an encrypted format.Place the following two lines in a text file:username=<administrator username>password=<administrator password>

The user name and password values must match an existing user account inthe Authentication provider for the default security realm. If you save the fileas boot.properties and locate it in the mydomain folder (for example,

Chapter 2. Deploying with automatic middleware configuration 39

C:\BEA\User_projects\domains\mydomain), the server automatically uses this fileduring its subsequent startup cycles. The first time you use this file to start aserver, the server reads the file and then overwrites it with an encryptedversion of the user name and password.

6. Verify settings by starting Oracle WebLogic Server. To ensure that the edits thatyou made to the previous Oracle WebLogic Server files were accurate, start theOracle WebLogic Server.

7. Rebuild the maximo.ear file.\IBM\SMP\maximo\deployment\buildmaximoear

8. Deploy the maximo.ear file to Oracle WebLogic Server.

Deploying ear filesYou are now ready to deploy the EAR files from the Oracle WebLogic ServerAdministration Console. Deploying the EAR files starts the Maximo ApplicationServer.

Before you begin

Windows WindowsIf MAXIMOSERVER is not running, start it from a command prompt.

UNIX UNIXEnsure that the Oracle WebLogic Server daemon is running.

About this task

In order to view the Oracle WebLogic Server Administration Console, you need toalso install a Java Virtual Machine (JVM). Newer versions of Windows might notship with JVM.

Procedure1. Change to the my_domain directory:

Windows WindowsFrom a command prompt, change directory path to:drive_name:\weblogic_install_dir\user_projects\domain\my_domain

UNIX UNIXOpen a Terminal window (or a command prompt, if you are telnetingfrom a Windows computer) and change directory as follows:cd /home/mxadmin/weblogic_install_dir/user_projects/domains/my_domain

2. Type

Windows WindowsstartWebLogic.cmd

UNIX UNIX./startWebLogic.sh

and press Enter. Once the phrase: Server started in RUNNING mode displays,the Oracle WebLogic Server is running.

3. Start the MAXIMOSERVER Oracle WebLogic Server Administration Console bytyping the following URL in the address bar of your browser:http://host_name:7001/console

40 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

4. Log in to the administrative console with the administrative user name andpassword.

5. Click the Lock&Edit button in the Change Center section to set the server toedit mode.

6. Click the Deployments link in the Domain Structure section.7. In the Summary of Deployments section, click the Install button. The Install

Application Assistant opens.8. Click the upload your file(s) link.9. Click the Browse button next to the Deployment Archive field. Browse to

where you have maximo.ear file installed (c:/ibm/smp/maximo/deployment/default/ of the administrative workstation), select the file and click Open.

10. Click Next to upload the file to the Oracle WebLogic Server server.11. Click the radio button next to the maximo.ear file, and Next to continue the

deployment.12. Accept the default value to install the deployment as an application and click

Next.13. Accept all other default values and click Finish to start the deployment

process.14. When the deployment process is complete, click the Activate Changes button

in the Change Center to apply the changes. The following message displays:All changes have been activated. No restarts are necessary.

15. Repeat Steps 8 through 14 to deploy maximoiehs.ear.16. Click the checkbox next to the maximo application.17. Click the dropdown arrow of the Start button and select Servicing all

requests. The Start Application Assistant displays.18. Click Yes to start the system.

Setting the Oracle WebLogic Server host nameSetting the Oracle WebLogic Server host name manually to access application helpinformation.

About this task

By default, the property used to store the host name for the Maximo AssetManagement help system is set to localhost. The fully qualified host name of theOracle WebLogic Server must be configured in the help system property to viewMaximo Asset Management application help topics. Complete this step after youhave deployed Maximo Asset Management EAR files to the Oracle WebLogicServer.

Procedure1. Log in to the Maximo Asset Management console as maxadmin.2. Browse to Go To > System Configuration > Platform Configuration > System

Properties

3. Using the Filter feature, search for the mxe.help.host Property Name.4. Expand the mxe.help.host property and set the attribute to the fully qualified

host name of the Oracle WebLogic Server.5. Select the mxe.help.host record check box.6. Click the Live Refresh icon in the toolbar.7. From the Live Refresh dialog, click OK.

Chapter 2. Deploying with automatic middleware configuration 41

Results

You are now able to access application help topics in the Maximo AssetManagement user interface.

Language deployment after database update deferralSelecting the option to defer the update of the Maximo database when installingthe product, affects how you deploy languages.

During installation, you have the option to defer the database update task. Thisoption prevents writing data to the database during the installation. Theinstallation program is limited to copying files to the administrative system andregistering product process solution packages. You add languages by completingthe installation, manually updating the database, and then updating languagesmanually.

“Manually deploying languages after database update deferral”Languages must be deployed manually if you defer database updates by theinstallation program.

Manually deploying languages after database update deferralLanguages must be deployed manually if you defer database updates by theinstallation program.

Before you begin

You must have run updatedb command before manually configuring languages forPSI packages.

About this task

To manually configure languages for PSI packages, complete the following steps:

Procedure

Update language support for the Maximo core components.Files for the language selections you made during the installation are extracted tothe C:\IBM\SMP\Maximo\Tools\Maximo\locale\xliff\ directory on the system.1. To update a language as the base language to use for the product, run the

following command:install_home\maximo\tools\maximo\TDToolkit.bat-IMPORT-SLEN-TLlocale-maxmessfix

2. To add one or more languages as additional languages for use with theproduct, run the following command for each language you want to add:install_home\maximo\tools\maximo\TDToolkit.bat-ADDLANGlocale-maxmessfix

42 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Chapter 3. Deploying automatically reusing existingmiddleware

Use this information to use Maximo Asset Management installation programs andtools to automatically configure existing middleware within your enterprise duringthe Maximo Asset Management deployment process.

This information provides a high-level overview or road map of tasks you need tocomplete in order to deploy Maximo Asset Management automatically. You usemiddleware already established in your enterprise.

In this scenario, you use the middleware installation program and the MaximoAsset Management installation program to automatically configure existingmiddleware resources. Middleware configuration is performed automaticallybefore deploying the product.

Oracle WebLogic Server must always be configured manually.

The installation programs are used to automatically configure an existing DB2server in your environment.

Run the middleware installation programon existing middleware servers

Install IBM Maximo Asset Managementand automatically configure middleware

Verify the installation

Perform post-installation tasks

Figure 2. Deploying Maximo Asset Management reusing existing middleware

© Copyright IBM Corp. 2007, 2011 43

Run the middleware installation program on existing middlewareservers

If you intend to reuse existing middleware servers with Maximo AssetManagement, they must be configured before you run the Maximo AssetManagement installation program.

This section contains information about configuring existing DB2 servers for usewith Maximo Asset Management using the middleware installation program.

Information for using the middleware installation program with IBM TivoliDirectory Server is included.

Details are provided for using the middleware installation program with MicrosoftActive Directory.

You cannot use the middleware installation program to configure existing Oracleservers.

Oracle WebLogic Server cannot be configured using the middleware installationprogram.

Microsoft SQL Server cannot be configured using the middleware installationprogram.

Ensure that all of your middleware is at supported levels for Maximo AssetManagement.

When you install and configure middleware in the middleware installationprogram and the Maximo Asset Management installation program, consider thefollowing special characters restrictions:

Table 3. Middleware object naming conventions

Naming Convention Details

DB2 naming conventions for Group names,user names, and user IDs.

Group names and user IDs on Linux andUNIX operating systems can contain up to 8characters and must consist of lowercasecharacters only.

Group names and user names on Windowscan contain up to 30 characters.

Names and IDs cannot be any of thefollowing values: USERS, ADMINS,GUESTS, PUBLIC, LOCAL, or anySQL-reserved word.

Names and IDs cannot begin with IBM, SQLor SYS. They must also not begin with theunderscore (_) character.

DB2 naming conventions for DB2 instances. Instance names can have up to 8 characters.

On Windows, no instance can have the samename as a service name.

44 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 3. Middleware object naming conventions (continued)

Naming Convention Details

DB2 naming conventions for passwords. For UNIX systems, passwords can be amaximum of 8 characters.

For Windows systems, passwords can be amaximum of 14 characters.

IBM Tivoli Directory Server conventions fordatabases and database aliases.

Database names must be unique within thelocation in which they are cataloged. ForLinux and UNIX , this location is a directorypath. For Windows it is a logical disk.

Database alias names must be unique withinthe system database directory. When a newdatabase is created, the alias defaults to thedatabase name. As a result, you cannotcreate a database using a name that exists asa database alias, even if there is no databasewith that name.

Database and database alias names can haveup to 8 characters.

Be mindful that the special characters @, #,and $ are not common to all keyboards.Avoid these characters when you create adatabase name.

IBM Tivoli Directory Server conventions forusers, groups, databases, and instances

Values must not be longer than 8 characters.

Values cannot be any of the following:USERS, ADMINS, GUESTS, PUBLIC,LOCAL, or idsldap

Values cannot begin with IBM, SQL, or SYS.

Values must not include accented characters.

Values can include characters A through Z, athrough z, and 0 through 9.

Values must begin with characters Athrough Z or a through z.

Double-byte characters cannot be used inadministrator passwords values.

Passwords cannot contain the followingspecial characters: ` ' \ " |

Chapter 3. Deploying automatically reusing existing middleware (Scenario 2) 45

Table 3. Middleware object naming conventions (continued)

Naming Convention Details

The middleware installation program The middleware installation program doesnot validate that your password is compliantwith the operating system of the target host.Ensure that the password values youprovide are valid for your environment.

The middleware installation program doesnot allow the use of the '%' character onWindows and the use of the !, $, #, %characters on UNIX.

The middleware installation program doesnot check for accented characters in username values. The use of accented characterscan cause errors.

Configuring an existing DB2 with the middleware installationprogram

An existing DB2 server can be configured with the middleware installationprogram.

Before you begin

If you plan to configure an existing DB2 server with the middleware installationprogram, a set of users and groups must exist. These users and groups are used bythe middleware installation program during configuration.

Default values for users and groups include:

Users

v db2adminv dasusr1 (UNIX)v db2fenc1 (UNIX)

Groups

v db2admns (Windows)v dasadm1 (UNIX)v dbgrp1 (UNIX)v db2fgrp1 (UNIX)

These values are default user and group values. These values can be customized ifthe values provided to the middleware installation program match the valuesfound on the system. Again, if these users do not exist on the system, you mustcreate them before you run the installation program.

About this task

If you have an existing DB2 installation that you would like to reuse for MaximoAsset Management, you can run the middleware installation program on thesystem to configure it. The middleware installation program identifies instances of

46 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

middleware that exist on the system that are compatible with Maximo AssetManagement, and it configures the existing instance for use with Maximo AssetManagement.

To have the middleware installation program configure an existing DB instance forreuse with Maximo Asset Management, complete the following steps:

Procedure1. Log in as a user with administrative authority.2. Start the middleware installation program from the launchpad.3. Complete the middleware installation program panels until you reach the

Deployment Choices panel.4. From the Deployment Choices panel, select Database Server, and then click

Next. The middleware installation program displays any instances of DB2found on the system.

5. From the Installation menu, select the appropriate instance to reuse, and thenclick Next.

6. Complete the remainder of the middleware installation program panels.“Installing middleware using the middleware installation program” on page 16You use the middleware installation program to install middleware componentsfor use with IBM Maximo Asset Management. The middleware componentsthat you choose to install, and the associated configuration parameters, arerecorded in a deployment plan for the target system.

Manually configuring WebLogic ServerWebLogic Server can be used with Maximo Asset Management if it is manuallyconfigured.

About this task

You can use a WebLogic Server as your J2EE server. The Maximo AssetManagement installation process prepares EAR files on the Maximo AssetManagement administrative workstation. These files are then manually deployedto your WebLogic Server. The Maximo Asset Management installation programdoes not automatically configure a WebLogic Server environment It does not installor otherwise deploy Maximo Asset Management applications into a WebLogicServer server.

Manually configuring WebLogic Server consists of the following tasks:

Procedure1. “Creating the MAXIMOSERVER domain” on page 282. “Configuring JMS options for integration framework” on page 283. “Configuring JMS for the email listener in WebLogic Server” on page 30

Creating the MAXIMOSERVER domainThis section details how to create the MAXIMOSERVER domain within WebLogicServer.

Chapter 3. Deploying automatically reusing existing middleware (Scenario 2) 47

About this task

To create the MAXIMOSERVER domain within WebLogic Server, complete thefollowing steps:

Procedure1. Launch the Configuration wizard tool.

v For Windows systems, select Start > Programs > BEA Products > Tools >Configuration Wizard.

v For UNIX systems, launch the Configuration wizard using the config.shcommand located in <WebLogic_Home>/weblogic10/common/bin.

2. From the welcome panel, select Create a new WebLogic Server domain, andthen click Next.

3. From the Select a Domain Source panel, select Generate a domain configuredautomatically to support the following products, and then click Next.

4. From the Specify Domain Name and Location panel, name the domainMAXIMOSERVER, and then click Next

5. From the Configure Administrator Username and Password panel, enter anadministrator user ID and password, and then click Next.

6. From the Configure Server Start Mode and JDK panel, enter the followinginformation, and then click Next.

WebLogic Server Domain Startup ModeSelect Production.

Selecting this option requires that you provide a user ID and passwordin order to deploy applications.

JDK SelectionSelect a JDK with a version number 1.6.0 or greater from the suppliedJDKs.

7. Proceed through the next few panels until you reach the CustomizeEnvironment and Services Settings panel. From the Customize Environmentand Services Settings panel, select the default option No, and then click Next.

8. From the Create WebLogic Server Domain panel, change the Domain Namevalue to MaximoServer, and then click Create to create the domain.

9. Once the domain has been created, ensure that the Start Admin Server optionis cleared, and then click Done to close the Configuration wizard. On UNIXsystems, this option is not displayed.

Configuring JMS options for integration frameworkThis procedure provides details on steps to configure JMS queues.

Before you begin

You need to be familiar with the Oracle WebLogic Server Administration Consoleto complete the following procedure. See your Oracle WebLogic Serverdocumentation on how to navigate through the Oracle WebLogic ServerAdministration Console.

Procedure1. Launch Internet Explorer and open the MAXIMOSERVER Administration Console

by typing the following URL:http://host_name:7001/console

48 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

2. Sign in by entering your user ID and password.3. Create three persistent file stores with the following configuration parameters:

Option Description

File Store Name sqinstore, sqoutstore, cqinstore

File Store Target MAXIMOSERVER

File Store Directory C:\WebLogic, or another directory of your choice

File stores have better performance in general. However, you can choose tocreate database-based stores. To choose between file stores and database-basedstores, consult your Oracle WebLogic Server documentation.

4. Create three JMS servers with the following configuration parameters:

Option Description

Properties Name sqinserver, sqoutserver, cqinserver

Server Target MAXIMOSERVER

Bytes Maximum 20% or below of the allotted JVM heap size

It is recommended that you configure the Bytes Maximum for the JMS serversto a value of 20% or below of the allotted JVM heap size to prevent the OracleWebLogic Server from running out of memory.

5. Create a JMS system module named intjmsmodule with MAXIMOSERVER asthe target server.

6. Add a connection factory resource to the JMS module:

Option Description

Name intjmsconfact

JNDI Name jms/maximo/int/cf/intcf

Target MAXIMOSERVER

7. Add three queue resources to the JMS Module:a. Create the queue resource type.b. Create a new subdeployment with the same name as the queue.c. Assign the subdeployment_nameserver server target to the subdeployment.

Option Description

Queue 1 Name: sqin JNDI Name: jms/maximo/int/queues/sqin

Queue 2 Name: sqout JNDI Name: jms/maximo/int/queues/sqout

Queue 3 Name: cqin JNDI Name: jms/maximo/int/queues/cqin

Template None

8. Enable the JMS connection factory for integration framework:a. Select the intjmsconfact link.b. From the Transactions tab, check the XA Connection Factory Enabled

check box.c. Set the Maximum Messages per Session to -1.

9. Save and activate the changes.

Chapter 3. Deploying automatically reusing existing middleware (Scenario 2) 49

What to do next

You need to stop and restart the MAXIMOSERVER application server for the update totake effect.

Configuring JMS for the email listener in WebLogic ServerYou use the email listeners application to receive and process requests throughemail in the form of email messages.

About this task

To configure JMS queues for the WebLogic Server, complete the following steps:

Procedure1. Log in to the WebLogic Server administration console.2. Create a persistent store.

a. In the Domain Structure panel, expand Services and then click PersistentStores.

b. Click New and select the option to create a file store.c. Enter lsnrstore for the name of the file store and c:\wls10 as the directory,

and then click Finish.3. Create a JMS Server

a. In the Domain Structure panel, under Services > Messaging , click JMSServers, enter the following information, and then click Next.

Name Enter a name for a new JMS server, for example, lsnrserver.

Persistent StoreSelect lsnrstore.

b. For the Target, select AdminServer, and then click Finish.4. Create a JMS System Module

a. In the Domain Structure panel, under Services > Messaging , click JMSModules, and then click New.

b. Enter a value for the Name field, such as lsnrjmsmodule, and then clickNext.

c. Select the option for AdminServer, and then click Next.d. Select the option for Would you like to add resources to the JMS system

module?, and then click Finish.5. Add a connection factory to the JMS module.

a. From the Summary of Resources table of the lsnrjmsmodule module, clickNew to add a resource.

b. Select the Connection Factory option, and then click Next.c. From the Connection Factory Properties panel, enter the following

information, and then click Next.

Name Enter a name for the new connection factory. For example,lsnrconnfact.

JNDI NameEnter jms/mro/lsnr/lsnrcf.

d. Ensure AdminServer is selected, and then click Finish

6. Add a queue to the JMS module.

50 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

a. From the Summary of Resources table of the lsnrjmsmodule module, clickNew to add a resource.

b. Select the Queue option, and then click Next.c. From the JMS Destination Properties panel, enter the following information,

and then click Next.

Name Enter a name for the new queue. For example, lsnrqueue.

JNDI NameEnter jms/mro/lsnr/qin.

TemplateNo template is necessary.

d. Click Create a new Subdeployment, select lsnrserver, and then clickFinish.

7. Set the XA option for the connection factory.a. Select lsnrconnfact, and then select the Transactions tab.b. Ensure that the XA Connection Factory Enabled option is selected, and then

click Save.8. Click Activate Changes to save and activate all changes.9. To enable an email listener to use JMS queues, a Message Driven Bean is

configured through a deployment descriptor file that is part of the installation.You configure the Message Driven Bean by removing comment lines fromsections within the deployment descriptor files. Edit the ejb-jar.xml andweblogic-ejb-jar.xml files.a. Open the install_dir\applications\maximo\mboejb\ejbmodule\META-INF\

ejb-jar.xml file in an editor, uncomment the following sections, and thensave the file:Email Listener JMS is not deployed by default<message-driven id="MessageDriven_LSNRMessageBean"><ejb-name>LSNRMessageBean</ejb-name>ejb-class>psdi.common.emailstner.LSNRMessageBean</ejb-class>transaction-type>Container</transaction-type><message-destination-type>javax.jms.Queue</messagedestination-type></message-driven>

Email Listener JMS is not deployed by default<container-transaction><method><ejb-name>LSNRMessageBean</ejb-name><method-name>*</method-name></method><trans-attribute>Required</trans-attribute></container-transaction>

b. Open the c:\ibm\smp\maximo\applications\maximo\mboejb\ejbmodule\META-INF\weblogic-ejb-jar.xml file in an editor, uncomment the followingsection, and then save the file:Email Listener JMS is not deployed by default<weblogic-enterprise-bean><ejb-name>LSNRMessageBean</ejb-name><message-driven-descriptor><destination-jndi-name>jms/mro/lsnr/qin</destination-jndiname><connection-factory-jndi-name>jms/mro/lsnr/lsnrcf</connection-factory-jndi-name></message-driven-descriptor><transaction-descriptor>

Chapter 3. Deploying automatically reusing existing middleware (Scenario 2) 51

<trans-timeout-seconds>600</trans-timeout-seconds></transaction-descriptor><jndi-name>LSNRMessageBean</jndi-name></weblogic-enterprise-bean>

Installation program overviewThe Maximo Asset Management installation program provides an interface forinstalling and deploying Maximo Asset Management, which includes the processautomation engine and process managers.

The Maximo Asset Management installation program records choices you makeabout your Maximo Asset Management deployment. It records configurationparameters associated with those choices, and then installs and deploys MaximoAsset Management based upon the information you entered.

There are two installation paths available to you when you are installing MaximoAsset Management.

SimpleA simple deployment consists of installing Maximo Asset Managementmiddleware on one system. You do not have the option of using existingmiddleware within your organization with Maximo AssetManagement. All middleware used with Maximo Asset Management mustbe installed on the system with the middleware installation program withdefault values. Maximo Asset Management is installed with default valuesprovided by the middleware installation program and Maximo AssetManagement installation program.

If you intend to override default values used by the simple deploymentpath, you must use the custom deployment path instead.

If you are deploying with Oracle WebLogic Server, you cannot choose thisoption.

CustomA custom deployment typically involves deploying Maximo AssetManagement across several systems. Some of these systems might alreadyhost middleware products that you want to use with your Maximo AssetManagement deployment. You can modify default installation values whenyou deploy with the custom installation path.

This deployment option does not require you to spread the Maximo AssetManagement deployment across several systems. You can enter the nameof the local host as the destination for all Maximo Asset Managementcomponents.

If you are deploying with Oracle WebLogic Server, you must choose thisoption.

The Maximo Asset Management installation program can automate theconfiguration of some middleware for use with Maximo Asset Management.

The Maximo Asset Management installation program cannot automate theconfiguration of Oracle WebLogic Server.

If you choose not to have the Maximo Asset Management installation programautomatically configure middleware, you must configure that piece of middlewaremanually before the installation of Maximo Asset Management.

52 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Important: When you are entering LDAP values for Maximo Asset Managementinstallation panel fields, be aware of the product-specific syntax rules for usingspecial characters in an LDAP string. In most cases, special characters must bepreceded by an escape character in order to make it readable by the directoryserver. Failing to escape special characters contained in an LDAP string used withMaximo Asset Management results in Maximo Asset Management errors.

Many directory server products consider a blank space as a special character that ispart of the LDAP string. If you enter an LDAP string with an unescaped blankcharacter at the end of a field value, you encounter Maximo Asset Managementerrors.

For more information about special character usage in LDAP strings, see theproduct documentation for your directory server.

Information that you enter for the Maximo Asset Management installation programis stored in the maximo.properties and install.properties files and the Maximodatabase. These values are populated into the panel fields of the Maximo AssetManagement installation program on subsequent uses of the program. If youcancel the installation program, it recalls most values that you entered the nexttime you start it. Values excluded from being saved in this manner are the MaximoAsset Management installation directory and the shortcut option chosen during theinstallation. You can restore the default values in the Maximo Asset Managementinstallation program by deleting <Maximo_Home>/applications/maximo/properties/maximo.properties and <Maximo_Home>/etc/install.properties. If you cannotlocate the maximo.properties file in the <Maximo_Home> directory, look for it in thesystem temp file directory.

Installing the product and automatically configuringmiddleware

To install Maximo Asset Management, you run the installation program from thelaunchpad. The installation procedure automatically configures middleware onmultiple servers, using default values.

Before you begin

Ensure that you meet prerequisite conditions.v Oracle WebLogic Server must have been manually configured for your

deployment.v The database server, the directory server, and application server services must be

started and active.v On the administrative workstation, temporarily shut down any noncritical

processes that can have a negative effect on the installation, such as antivirussoftware.

v Ensure that the Windows DEP setting does not prevent the launchpad fromrunning: Select Start > Settings > Control Panel > System > Advanced >Performance > Settings > Data Execution Prevention. Select Turn on DEP foressential Windows programs and services only and click Apply. You might beasked to reboot the server.

v For Linux and UNIX systems with middleware installed, the command hostname-f must return a fully qualified host name. If necessary, consult thedocumentation for your operating system. Alternatively, you can provide the IPaddress for the system.

Chapter 3. Deploying automatically reusing existing middleware (Scenario 2) 53

v Enable a remote execution and access service on every system that hasmiddleware installed. Each remote system must support a remote accessprotocol. It must also accept remote logins from a user name and password thatwere configured on the target server. Remote access protocols include SSH andWindows SMB. If the remote system is a Windows server, you must configureremote execution and access to use SMB.

v The DB2 database must be prepared.– If DB2 is installed on a Linux or UNIX system, you must create the instance

user and the home directory for the user on the DB2 server.– The database instance owner home directory must have 8 GB of space

available regardless of whether a database is installed in that location.– The user ID for the DB2 instance administrator must have SYSADM (system

administration) authority. You specify this user ID during the productinstallation program. See the DB2 product documentation for informationabout creating a user with SYSADM authority on the DB2 server. You mustadd root to a group with SYSADM authority for UNIX systems.

About this task

The instructions are for a multiple server installation that uses default values.

If you use DB2 and install Maximo Asset Management in a language other thanEnglish, you must accept the default values for database table space size and indextable space size. These values are displayed as null during the installation. If youwant to customize the table space sizes, you have three options:v Run the product installation program in English.v Manually configure the database.v Modify the table space sizes after installation.

Procedure1. Log in on the administrative system.2. Start the product installation program from the launchpad.

a. Start the launchpad. Browse to the root directory of the downloadedinstallation image, and run the following command:

Windowslaunchpad.exe

b. In the launchpad navigation pane, click Install Product.c. Click Install Maximo Asset Management 7.5.If the launchpad does not start the installation, you can start the productinstallation program directly. On the downloaded installation image, browseto \Install\mam\, and run one of the following commands:

Windows

v install.bat

v install_win64.bat

3. Select a language for the installation and click OK.4. On the Choose Installation Folder panel, specify the path to the location

where you want to install Maximo Asset Management.You can specify a description for the installation. A description is useful fordifferentiating between multiple installations that are hosted on the sameadministrative workstation.

54 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

5. Review the information that is on the Verify Installation Location panel. Thepanel shows any previous installation information that was found based onthe installation directory that you specified on the previous panel. After youadvance past this panel, you cannot go back and change the installationdirectory for this installation.If a more recent version of the installation program is found in the specifiedtarget directory, you are notified. The notification means that you are using anolder version of the installation program. The version found on theadministrative workstation is newer and can contain important features andenhancements. To use the newer version of the installation program, select theoption on the notification panel and click Next. This action exits the currentinstallation process and restarts the installation process with the newerinstallation program. If you do not select the option, you continue theinstallation with the older version of the installation program.

6. On the Package Summary panel, review the package deployment information.This panel lists version information for both new and existing packages on thesystem. Target package version information indicates the package versionbeing currently deployed.

7. On the Choose Deployment panel, specify Simple or Custom as thedeployment type.

8. On the Import Middleware Configuration Information panel, you selectImport middleware configuration information to have the productinstallation program reuse the middleware installation program values. Thesevalues are used as default values for the same fields in the productinstallation program.The Workspace location field refers to the location of the topology file thatcontains the values that were specified for the middleware installationprogram. The file is located in the workspace that was defined during themiddleware installation task. For example, C:\ibm\tivoli\mwi\workspace forWindows or /root/ibm/tivoli/mwi/workspace for UNIX.If you selected the simple deployment, the middleware default information isnot used.

9. On the Database Type panel, specify the software to use for the Maximodatabase.

10. On the Database panel, specify configuration information for your databasesoftware.For things such as the database user ID, the database name, the databaseinstance for Maximo Asset Management, and the schema name, if the valuesdo not exist when you specify them, they are created.For DB2, the user ID cannot be the same as the instance administrator user ID.Database users and database instance names cannot contain spaces.For DB2, the database instance is created if it does not exist, but the user andits associated home directory must exist on the DB2 server. For DB2, theschema name can be the same value as the owner of the table spaces that aredefined or it can be a different value, such as maximo.After you specify configuration information for your database software, theinstallation program validates the information with the database server.

11. On the Automate Database Configuration panel, you can specify that databasecreation and configuration is to be automated.If you do not select the option, you must configure the database manually.

Chapter 3. Deploying automatically reusing existing middleware (Scenario 2) 55

12. On the Remote Access Authorization panel, specify authorization informationfor the automatic database configuration feature. Specifying the values enablesremote configuration.

13. On the Database Administration panel, specify configuration informationabout the database. The required information varies by database platform.For DB2, the instance administrator user ID cannot be the same as thedatabase user ID. And the Windows service user ID must have administrativeauthority on the system.

14. On the Database Tablespace panel, specify information about the table spaceof the database.When you click Next, the product installation program connects to thedatabase server and validates the information that you specified.

15. When the database validation is complete, on the Application Server Typepanel, specify the application server type for the product deployment.You must manually configure WebLogic Server and manually deployapplication files.

16. On the Specify Maximo Users panel, enter Maximo database user information.

Maximo administration userThe product administrator user ID that is used for initial configurationand adding users.

Maximo system registration userThe user ID that is used for the self-registration of users.

Maximo system integration userThe user ID that is used with enterprise adapters.

Custom user ID and password values are stored in the Maximo database. Thedefault user IDs of maxadmin, maxreg, and maxintadm are also created asusers in the Maximo database. Creation of the default user IDs is done forinternal processing purposes. If you use Maximo database security forauthentication and authorization, the default user IDs can be used to log in tothe application. If you regard this condition as a security risk, you can modifythe passwords for the default user IDs. You modify passwords for the userIDs in the Users application.

17. On the SMTP Configuration panel, specify the SMTP configurationinformation that is used by workflows to communicate with workflowparticipants.The administrator e-mail address is the e-mail address that is used to sendmessages. If you leave the fields blank, you must configure the SMTPparameters through the product interface as a post-installation task.

18. On the Base Language Selection panel, specify the base language for theinstallation.

19. On the Additional Language Selection panel, you can optionally specify oneor more additional languages that the installation is to support.

20. On the Run Configuration Step panel, specify how to perform theconfiguration step of the installation. If you do not select an option, theconfiguration step proceeds when you click Next.

Copy files now, but perform the installation configuration step laterSelect this option to copy files from the installation source to theadministrative workstation. You must perform the configuration stepat a later time to complete the deployment.

56 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Select this option to create a maxdemo database during the installationof Maximo Asset Management and populate the database with sampledata.

Important: Do not install another product before you complete theconfiguration step of the original installation. Installing anotherproduct before you run the configuration step for this installationoverwrites the taskstore, which prevents the original installation fromever being deployed.

The configuration values that you specify are stored in theinstall_home\maximo\applications\maximo\properties\maximo.properties and install_home\etc\install.properties files.You run the configuration steps outside of the product installationprogram by using the taskrunner utility, in the install_home\scriptsdirectory. Run the taskrunner utility from the command line.install_home\scripts\taskrunner [CONTINUE <STOPONERROR|NOSTOPONERROR>]

The taskrunner uses the configuration values that are stored in themaximo.properties and install.properties files to configure MaximoAsset Management.

If you run taskrunner with the NOSTOPONERROR parameter, thetaskrunner continues despite errors. If you run taskrunner with theSTOPONERROR parameter, the taskrunner stops when it encounters anerror. If you used STOPONERROR, you can rectify the conditions thatcaused the error. You can then resume the installation where the lastsuccessfully completed task was recorded in the previous attempt bystarting taskrunner with the CONTINUE parameter.

Defer the update of the Maximo databaseSelect this option if you want to manually run the database updatetask for the product deployment. This option can be used when thereis a fix pack available that addresses known issues with the updatedbscript. In this scenario, you choose the Defer the update of theMaximo database option, apply the fix pack, and then run theupdatedb -v1 command manually.

21. On the Choose Shortcut Folder panel, specify where you want Maximo AssetManagement icons created.If you select In the Start Menu and use Internet Explorer, add the MaximoAsset Management URL to the trusted sites web content zone. Disable theoption that requires server verification for all sites in the zone.Do not select In the Quick Launch Bar. The selection does not create ashortcut in the Quick Launch bar.

22. On the Input Summary panel, review the information that you provided forthe product installation program.If necessary, use Previous to return to previous panels to change values.

23. On the Pre-Installation Summary panel, review the installation information,then click Install.The installation process begins. You can monitor the progress of theinstallation by viewing the messages that are shown.

24. On the Installation Completed panel, review any information presented, thenclick Done.

Chapter 3. Deploying automatically reusing existing middleware (Scenario 2) 57

“Restarting middleware on Windows” on page 145This procedure describes how to restart middleware on Windows, if you mustrestart any middleware services.“Restarting middleware on UNIX” on page 146Middleware services on Linux and AIX platforms occasionally must berestarted, such as when a reboot occurs. Middleware servers and services mustbe active before running the Maximo Asset Management installation program.

Creating a maxdemo database during installationYou can create a maxdemo database during a Maximo Asset Managementinstallation and populate the database with sample data.

Procedure1. On the Run Configuration Step panel of the installation wizard, select Copy

files now, but perform the installation configuration later.2. When the installation finishes, exit the installation wizard.3. Rename the C:\IBM\SMP\Maximo\tools\maximo\en\maximo.dbtype file.4. Copy the C:\IBM\SMP\Maximo\tools\maximo\en\maxdemo.dbtype file to

C:\IBM\SMP\Maximo\tools\maximo\en\maximo.dbtype, where en is the languagefolder and the dbtype is ora, sqs, or db2.

5. Open a command window and browse to C:\IBM\SMP\scripts.6. Run the following command: taskrunner.bat CONTINUE STOPONERROR

7. When the taskrunner process is complete, change the file names back to theiroriginal names. Do not restart the computer before you run the taskrunnercommand. The taskrunner utility does not create a persistent store ofinformation and data can be lost.

Post installation for Oracle WebLogic Server deploymentsThere is a post installation step required for Oracle WebLogic Server deployments.

About this task

When using Oracle WebLogic Server as the application server for your MaximoAsset Management deployment, the installation program produces an EAR file.You must then manually deploy that file to Oracle WebLogic Server.

When using Oracle WebLogic Server, you must modify the weblogic.xml file andrebuild the maximo.ear file before deploying it.

Procedure1. Install the updated JDK 1.6 program.

a. Obtain the latest JDK program with a version number 1.6.0 SR7 or greater,from http://www.oracle.com/technetwork/java/index.html

b. Start the installation program.c. Accept the license agreement.d. Change the installation destination path to your Oracle home folder, and

click OK , then Next.e. Accept any additional prompts to install the JDK program so that the

installation process can complete successfully.2. If you are using an Oracle database, copy the oraclethin.jar file.

58 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

a. Copy the oraclethin.jar file from the administrative workstation to theserver where you installed Oracle WebLogic Server. Use any file transferprotocol that is available.

b. The oraclethin.jar file is in the install_home\maximo\applications\maximo\lib directory. The default install_home directory isC:\IBM\SMP\Maximo\Applications\Maximo\lib. Copy the oraclethin.jar fileto the J2EE server and into the wls11g/server/lib directory. For example,C:/Oracle/wls11g/server/lib.

3. Edit the domain configuration file for appropriate Java settings.a. Navigate to Install_dir\user_projects\domains\mydomain\bin.b. Right-click and edit (do not double-click) setDomainEnv.cmd (Windows) or

setDomainEnv.sh (UNIX).c. Using your text editor, search for and replace jdk entries with entries that

configure Oracle WebLogic Server to use the updated JDK program. Twoinstances must be replaced.

d. (Oracle only) Search for PRE_CLASSPATH. Set the parameter as follows:set PRE_CLASSPATH=%WL_HOME%\server\lib\oraclethin.jar (Windows)PRE_CLASSPATH={WL_HOME}/server/lib/oraclethin.jar (UNIX)

Note: This step is required for connecting to Oracle databases from OracleWebLogic Server.

e. Increase the Java Heap parameters by searching for MEM_ARGS and settingthe parameter as follows:set MEM_ARGS=-Xms512m -Xmx1024m -XX:MaxPermSize=512m (Windows)MEM_ARGS=-Xms512m -Xmx1024m -XX:MaxPermSize=512m (UNIX)

These parameters are case-sensitive. Ensure to include the minus (-) signbefore each parameter and to include the m after each value.

f. Search for set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES%. Insert anoption directly after this string, as follows:-Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0

The entry looks like this example when complete:set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES%-Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0-Dwlw.iterativeDev=%iterativeDevFlag% -Dwlw.testConsole=%testConsoleFlag%-Dwlw.logErrorsToConsole=%logErrorsToConsoleFlag%

g. Save and close the setDomainEnv.cmd file.4. Edit the \IBM\SMP\maximo\applications\maximo\maximouiweb\webmodule\WEB-

INF\weblogic.xml file and add the following entries:<session-descriptor><cookie-http-only>false</cookie-http-only></session-descriptor>

5. Start the server without being prompted for user name and password. If youare working in Production mode and do not want to be prompted for theOracle WebLogic Server user name and password, create a boot.propertiesfile. This procedure stores the user name and password in an encrypted format.Place the following two lines in a text file:username=<administrator username>password=<administrator password>

The user name and password values must match an existing user account inthe Authentication provider for the default security realm. If you save the fileas boot.properties and locate it in the mydomain folder (for example,

Chapter 3. Deploying automatically reusing existing middleware (Scenario 2) 59

C:\BEA\User_projects\domains\mydomain), the server automatically uses this fileduring its subsequent startup cycles. The first time you use this file to start aserver, the server reads the file and then overwrites it with an encryptedversion of the user name and password.

6. Verify settings by starting Oracle WebLogic Server. To ensure that the edits thatyou made to the previous Oracle WebLogic Server files were accurate, start theOracle WebLogic Server.

7. Rebuild the maximo.ear file.\IBM\SMP\maximo\deployment\buildmaximoear

8. Deploy the maximo.ear file to Oracle WebLogic Server.

Deploying ear filesYou are now ready to deploy the EAR files from the Oracle WebLogic ServerAdministration Console. Deploying the EAR files starts the Maximo ApplicationServer.

Before you begin

Windows WindowsIf MAXIMOSERVER is not running, start it from a command prompt.

UNIX UNIXEnsure that the Oracle WebLogic Server daemon is running.

About this task

In order to view the Oracle WebLogic Server Administration Console, you need toalso install a Java Virtual Machine (JVM). Newer versions of Windows might notship with JVM.

Procedure1. Change to the my_domain directory:

Windows WindowsFrom a command prompt, change directory path to:drive_name:\weblogic_install_dir\user_projects\domain\my_domain

UNIX UNIXOpen a Terminal window (or a command prompt, if you are telnetingfrom a Windows computer) and change directory as follows:cd /home/mxadmin/weblogic_install_dir/user_projects/domains/my_domain

2. Type

Windows WindowsstartWebLogic.cmd

UNIX UNIX./startWebLogic.sh

and press Enter. Once the phrase: Server started in RUNNING mode displays,the Oracle WebLogic Server is running.

3. Start the MAXIMOSERVER Oracle WebLogic Server Administration Console bytyping the following URL in the address bar of your browser:http://host_name:7001/console

60 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

4. Log in to the administrative console with the administrative user name andpassword.

5. Click the Lock&Edit button in the Change Center section to set the server toedit mode.

6. Click the Deployments link in the Domain Structure section.7. In the Summary of Deployments section, click the Install button. The Install

Application Assistant opens.8. Click the upload your file(s) link.9. Click the Browse button next to the Deployment Archive field. Browse to

where you have maximo.ear file installed (c:/ibm/smp/maximo/deployment/default/ of the administrative workstation), select the file and click Open.

10. Click Next to upload the file to the Oracle WebLogic Server server.11. Click the radio button next to the maximo.ear file, and Next to continue the

deployment.12. Accept the default value to install the deployment as an application and click

Next.13. Accept all other default values and click Finish to start the deployment

process.14. When the deployment process is complete, click the Activate Changes button

in the Change Center to apply the changes. The following message displays:All changes have been activated. No restarts are necessary.

15. Repeat Steps 8 on page 41 through 14 on page 41 to deploy maximoiehs.ear.16. Click the checkbox next to the maximo application.17. Click the dropdown arrow of the Start button and select Servicing all

requests. The Start Application Assistant displays.18. Click Yes to start the system.

Setting the Oracle WebLogic Server host nameSetting the Oracle WebLogic Server host name manually to access application helpinformation.

About this task

By default, the property used to store the host name for the Maximo AssetManagement help system is set to localhost. The fully qualified host name of theOracle WebLogic Server must be configured in the help system property to viewMaximo Asset Management application help topics. Complete this step after youhave deployed Maximo Asset Management EAR files to the Oracle WebLogicServer.

Procedure1. Log in to the Maximo Asset Management console as maxadmin.2. Browse to Go To > System Configuration > Platform Configuration > System

Properties

3. Using the Filter feature, search for the mxe.help.host Property Name.4. Expand the mxe.help.host property and set the attribute to the fully qualified

host name of the Oracle WebLogic Server.5. Select the mxe.help.host record check box.6. Click the Live Refresh icon in the toolbar.7. From the Live Refresh dialog, click OK.

Chapter 3. Deploying automatically reusing existing middleware (Scenario 2) 61

Results

You are now able to access application help topics in the Maximo AssetManagement user interface.

Language deployment after database update deferralSelecting the option to defer the update of the Maximo database when installingthe product, affects how you deploy languages.

During installation, you have the option to defer the database update task. Thisoption prevents writing data to the database during the installation. Theinstallation program is limited to copying files to the administrative system andregistering product process solution packages. You add languages by completingthe installation, manually updating the database, and then updating languagesmanually.

“Manually deploying languages after database update deferral” on page 42Languages must be deployed manually if you defer database updates by theinstallation program.

Manually deploying languages after database update deferralLanguages must be deployed manually if you defer database updates by theinstallation program.

Before you begin

You must have run updatedb command before manually configuring languages forPSI packages.

About this task

To manually configure languages for PSI packages, complete the following steps:

Procedure

Update language support for the Maximo core components.Files for the language selections you made during the installation are extracted tothe C:\IBM\SMP\Maximo\Tools\Maximo\locale\xliff\ directory on the system.1. To update a language as the base language to use for the product, run the

following command:install_home\maximo\tools\maximo\TDToolkit.bat-IMPORT-SLEN-TLlocale-maxmessfix

2. To add one or more languages as additional languages for use with theproduct, run the following command for each language you want to add:install_home\maximo\tools\maximo\TDToolkit.bat-ADDLANGlocale-maxmessfix

62 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Chapter 4. Deploying manually reusing existing middleware

Use this information if you intend to deploy Maximo Asset Management byreusing existing middleware servers and manually configuring them to work withMaximo Asset Management.

This information provides a high-level overview or road map of tasks you need tocomplete in order to deploy Maximo Asset Management automatically, usingmiddleware already established in your enterprise.

In this scenario, you manually configure existing middleware resources beforerunning the Maximo Asset Management installation program.

© Copyright IBM Corp. 2007, 2011 63

Perform post-installation tasks

Verify the installation

Complete post product installation processmanager tasks

Install Maximo Asset Management usingmanual middleware configuration option

Manually configure the J2EE server

Optional: Manually configure the directoryserver

Manually configure the database

Figure 3. Deploying Maximo Asset Management with manual middleware configuration

64 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Maximo Asset Management installation with manual middlewareconfiguration

Manually configured installations involve configuring middleware components, thedatabase server, the directory server, and the J2EE server, to work with MaximoAsset Management before using the Maximo Asset Management installationprogram.

You can elect to have one or more Maximo Asset Management middlewarecomponents configured automatically by the Maximo Asset Managementinstallation program. Alternatively, you can choose to manually configure one ormore of the middleware servers to work with Maximo Asset Management.

The information contained in this section provides details on how to manuallyconfigure Maximo Asset Management middleware before running the MaximoAsset Management installation program.

Before you begin, ensure you have addressed the following prerequisite conditions:v You have designated a Windows or UNIX-based server to start the Maximo

Asset Management installation program.

You must complete the manual configuration of each server you plan to notconfigure using the autoconfigure feature of the Maximo Asset Managementinstallation program before you actually use the Maximo Asset Managementinstallation program to install Maximo Asset Management.

Ensure that all of your middleware is at supported version levels.

Manually configuring the databaseYou have the option of manually configuring the database server used in MaximoAsset Management deployment. Manual configuration of the database server mustbe completed before you use the Maximo Asset Management installation program.

For DB2 on UNIX and Linux, a minimum of 8 gigabytes (binary) free of space isrequired for DB2 table spaces. This space must be available to the databaseinstance home directory (/home/ctginst1).

For DB2 on Windows, ensure that you have a minimum of 8 gigabytes of freespace in the DB2 installation directory.

Manually configuring DB2 9.xThis section contains instructions for manually configuring DB2 9.x servers for useby Maximo Asset Management.

About this task

To configure an existing DB2 9.x server for use with Maximo Asset Management,complete the following steps before starting the Maximo Asset Managementinstallation program:

Procedure1. Log in to the system as a user that has administrative permissions on the

system.2. Create system users if they do not exist on the system.

Chapter 4. Deploying manually reusing existing middleware 65

v Windows– db2admin– maximo

v Linux or UNIX– db2admin– maximo– ctgfenc1– ctginst1

The ctginst1 user ID must be assigned to the db2iadm1 group.3. Open a console window and set up the DB2 environment:

v Windowsdb2cmd

v Linux or UNIXEnsure that the /opt/ibm/db2/V9.7/bin, /opt/ibm/db2/v9.7/instance, and/opt/ibm/db2/V9.7/adm directories are added to your PATH.

4. Create the DB2 instance:v Windows

db2icrt -s ese -u db2admin,myPassword -r 50005,50005 ctginst1set db2instance=ctginst1db2startdb2 update dbm config using SVCENAME 50005 DEFERREDdb2stopdb2set DB2COMM=tcpipdb2start

v Linux orUNIXdb2icrt -s ese -u db2fenc1 -p 50005 ctginst1. /home/ctginst1/sqllib/db2profiledb2startdb2 update dbm config using SVCENAME 50005 DEFERREDdb2stopdb2set DB2COMM=tcpipdb2start

5. Create the database.db2 create db ’maxdb75’ ALIAS ’maxdb75’ using codeset UTF-8 territory US pagesize 32 Kdb2 connect to ’maxdb75’db2 GRANT DBADM ON DATABASE TO USER db2admin (windows only)db2 GRANT SECADM ON DATABASE TO USER db2admin (windows only)db2 connect reset

6. Configure the database.db2 update db cfg for maxdb75 using SELF_TUNING_MEM ONdb2 update db cfg for maxdb75 using APP_CTL_HEAP_SZ 16384 DEFERREDdb2 update db cfg for maxdb75 using APPLHEAPSZ 2048 AUTOMATIC DEFERREDdb2 update db cfg for maxdb75 using AUTO_MAINT ON DEFERREDdb2 update db cfg for maxdb75 using AUTO_TBL_MAINT ON DEFERREDdb2 update db cfg for maxdb75 using AUTO_RUNSTATS ON DEFERREDdb2 update db cfg for maxdb75 using AUTO_REORG ON DEFERREDdb2 update db cfg for maxdb75 using AUTO_DB_BACKUP ON DEFERREDdb2 update db cfg for maxdb75 using CATALOGCACHE_SZ 800 DEFERREDdb2 update db cfg for maxdb75 using CHNGPGS_THRESH 40 DEFERREDdb2 update db cfg for maxdb75 using DBHEAP AUTOMATICdb2 update db cfg for maxdb75 using LOCKLIST AUTOMATIC DEFERREDdb2 update db cfg for maxdb75 using LOGBUFSZ 1024 DEFERREDdb2 update db cfg for maxdb75 using LOCKTIMEOUT 300 DEFERREDdb2 update db cfg for maxdb75 using LOGPRIMARY 20 DEFERREDdb2 update db cfg for maxdb75 using LOGSECOND 100 DEFERREDdb2 update db cfg for maxdb75 using LOGFILSIZ 8192 DEFERREDdb2 update db cfg for maxdb75 using SOFTMAX 1000 DEFERREDdb2 update db cfg for maxdb75 using MAXFILOP 32768 DEFERRED #32-bit Windowsdb2 update db cfg for maxdb75 using MAXFILOP 65335 DEFERRED #64-bit Windowsdb2 update db cfg for maxdb75 using MAXFILOP 30720 DEFERRED #32-bit UNIXdb2 update db cfg for maxdb75 using MAXFILOP 61440 DEFERRED #64-bit UNIXdb2 update db cfg for maxdb75 using PCKCACHESZ AUTOMATIC DEFERREDdb2 update db cfg for maxdb75 using STAT_HEAP_SZ AUTOMATIC DEFERREDdb2 update db cfg for maxdb75 using STMTHEAP AUTOMATIC DEFERREDdb2 update db cfg for maxdb75 using UTIL_HEAP_SZ 10000 DEFERREDdb2 update db cfg for maxdb75 using DATABASE_MEMORY AUTOMATIC DEFERREDdb2 update db cfg for maxdb75 using AUTO_STMT_STATS OFF DEFERREDdb2 update db cfg for maxdb75 using STMT_CONC LITERALS DEFERREDdb2 update alert cfg for database on maxdb75 using db.db_backup_req SET THRESHOLDSCHECKED YESdb2 update alert cfg for database on maxdb75 using db.tb_reorg_req SET THRESHOLDSCHECKED YESdb2 update alert cfg for database on maxdb75 using db.tb_runstats_req SET THRESHOLDSCHECKED YESdb2 update dbm cfg using PRIV_MEM_THRESH 32767 DEFERREDdb2 update dbm cfg using KEEPFENCED NO DEFERREDdb2 update dbm cfg using NUMDB 2 DEFERREDdb2 update dbm cfg using RQRIOBLK 65535 DEFERREDdb2 update dbm cfg using HEALTH_MON OFF DEFERRED## Windows: AGENT_STACK_SZ 1000# Unix : AGENT_STACK_SZ 1000#db2 update dbm cfg using AGENT_STACK_SZ 1000 DEFERRED

66 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

db2 update dbm cfg using MON_HEAP_SZ AUTOMATIC DEFERREDdb2set DB2_SKIPINSERTED=ONdb2set DB2_INLIST_TO_NLJN=YESdb2set DB2_MINIMIZE_LISTPREFETCH=Ydb2set DB2_EVALUNCOMMITTED=YESdb2set DB2_FMP_COMM_HEAPSZ=65536db2set DB2_SKIPDELETED=ONdb2set DB2_USE_ALTERNATE_PAGE_CLEANING=ON

7. For Linux orUNIX log in as the ctginst1 user and then restart the DB2command-line environmensu - ctginst1db2

8. Restart DB2.db2stop forcedb2start

9. Reconnect to the database.db2 connect to ’maxdb75’

10. Grant authority to maximo.db2 GRANT DBADM,CREATETAB,BINDADD,CONNECT,CREATE_NOT_FENCED_ROUTINE,IMPLICIT_SCHEMA,LOAD,CREATE_EXTERNAL_ROUTINE,QUIESCE_CONNECT,SECADM ON DATABASE TO USER MAXIMO

db2 GRANT USE OF TABLESPACE MAXDATA TO USER MAXIMO

db2 GRANT CREATEIN,DROPIN,ALTERIN ON SCHEMA MAXIMO TO USER MAXIMO

db2 create schema maximo authorization maximo

11. Create a buffer pool.db2 CREATE BUFFERPOOL MAXBUFPOOL IMMEDIATE SIZE 4096 AUTOMATIC PAGESIZE 32 K

12. Create table spaces.db2 CREATE REGULAR TABLESPACE MAXDATA PAGESIZE 32 K MANAGED BY AUTOMATIC STORAGE INITIALSIZE 5000 M BUFFERPOOL MAXBUFPOOLdb2 CREATE TEMPORARY TABLESPACE MAXTEMP PAGESIZE 32 K MANAGED BY AUTOMATIC STORAGE BUFFERPOOL MAXBUFPOOLdb2 GRANT USE OF TABLESPACE MAXDATA TO USER MAXIMO

13. Break the database connection.db2 connect reset

14. Exit the DB2 command-line environment15. Install the appropriate fix pack indicated in the prerequisites topic in the

chapter that describes how to prepare for the installation. Ensure that youreview and complete all the installation and post-installation tasks containedwithin the fix pack readme file. Failure to do so can potentially cause theMaximo Asset Management installation to fail. See the appropriate productsupport page for more information.

Manually configuring Oracle 11gUse the following instructions to manually configure Oracle 11g for use withMaximo Asset Management.

Before you begin

Oracle instance names must be limited to eight characters in length. For Oracledatabases, the schema owner must use the same user ID as the database user.

About this task

To configure an existing Oracle 11g server for use with Maximo AssetManagement, complete the following steps before you start the Maximo AssetManagement installation program:

Procedure1. Log in as the Oracle software user. Typically this user is named oracle.2. Create the database listener. The listener manages requests to connect to the

database. This step is only required if you do not already have an existinglistener in place.

Chapter 4. Deploying manually reusing existing middleware 67

a. Open the Oracle Network Configuration Assistant application.b. From the Welcome panel, select Listener configuration, and then click Next.c. From the action panel, select Add, and then click Next.d. Enter a name for the listener or accept the default value, and then click

Next.e. Accept the default Selected Protocols listed by clicking Next.f. From the port panel, select Use the standard port of 1521, and then click

Next.g. Select No to indicate that you are finished configuring listeners, and then

click Next.h. From the Listener Configuration Done panel, click Next.i. Click Finish.

3. Create a database for use by Maximo Asset Management.a. Open the Oracle Database Configuration Assistant.b. Click Next.c. Select Create a Database, and then click Next.d. Select General Purpose or Transaction Processing, and then click Next.e. Enter ctginst1 for both the Global Database Name value and the SID value,

and then click Next.f. Leave the defaults selected, and click Next.g. Ensure Use the Same Administrative Password for All Accounts is

selected, enter a password for Oracle users, and then click Next.h. Ensure File System is selected as the storage mechanism to use for the

database. Ensure Use Database File Locations from Template is selected asthe value to use for database file location, and then click Next.

i. Leave defaults selected for the database recovery options panel, and thenclick Next.

j. From the Sample Schemas panel, click Next.k. From the Initialization Parameters panel, on the Memory tab, select Custom

and provide the following values (measured in Mb):

Memory ManagementSet this value to Manual Shared Memory Management.

Shared PoolSet this value to 152.

Buffer CacheSet this value to 36.

Java PoolSet this value to 32.

Large PoolSet this value to 8.

PGA SizeSet this value to 36.

l. From the Character Sets tab, select Use Unicode (AL32UTF8).m. Click All Initialization Parameters....n. Click Show Advanced Parameters.o. Locate the following parameters, change them to the values indicated, and

then click Close.

68 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

nls_length_semanticsChange this value to CHAR.

open_cursorsChange this value to 1000.

cursor_sharingSet this value to FORCE.

p. From the Initialization Parameters panel, click Next.q. From the Database Storage panel, click Next.r. From the Creation Options panel, click Finish.s. Click Exit to exit the Database Configuration Assistant. The database is

successfully created.

Note: The Oracle Database Configuration Assistant starts theORACLE_HOME/ctx/admin/defaults/drdefus.sql script as part of theconfiguration of the CTXSYS user. You must start this script manually if theOracle Database Configuration Assistant is not used.

4. Create a table space using the following command in SQL*Plus:Create tablespace maxdata datafile’C:\oracle\product\11.1.0\db_1\dbs\maxdata.dbf’size 1000M autoextend on;

Change the directory specified in the example to the database location. If thedirectory does not exist, this command fails.

5. Create a temporary table space using the following command in SQL*Pluscreate temporary tablespace maxtemp tempfile’C:\oracle\product\11.1.0\db_1\dbs\maxtemp.dbf’size 1000M autoextend on maxsize unlimited;

Change the directory specified in the example to the database location. If thedirectory does not exist, this command fails.

6. Create the maximo user and grant permissions using the following commandin SQL*Plus:create user maximo identified by maximo default tablespace maxdata temporarytablespace maxtemp;grant connect to maximo;grant create job to maximo;grant create trigger to maximo;grant create session to maximo;grant create sequence to maximo;grant create synonym to maximo;grant create table to maximo;grant create view to maximo;grant create procedure to maximo;grant alter session to maximo;grant execute on ctxsys.ctx_ddl to maximo;alter user maximo quota unlimited on maxdata;

If you created a separate table space for indexing, you must also grant access tothat index table space to the maximo user. For example, use the followingcommand if you created a separate table space for indexing calledTSI_MAM_OWN.":alter user maximo quota unlimited on TSI_MAM_OWN

These instructions assume that you did not modify default role sets assigned tothe Oracle DBA user or user IDs created to connect to the database. If yourestricted the default privileges granted to user IDs, you must explicitly grantthem to the maximo user. For example, if you do not grant a role such as the

Chapter 4. Deploying manually reusing existing middleware 69

select_catalog_role role, you must explicitly grant that role to the maximouser. This assignment can be done by running this SQL*Plus command:grant select_catalog_role to maximo

Manually configuring Oracle 10gOracle 10g can be manually configured for use with Maximo Asset Management.

Before you begin

Oracle instance names must be limited to eight characters in length. For Oracledatabases, the schema owner must use the same user ID as the database user.

About this task

To configure an existing Oracle 10g server for use with Maximo AssetManagement, complete the following steps before you start the Maximo AssetManagement installation program:

Procedure1. Log in as the Oracle software user. Typically this user is named oracle.2. Create the database listener. The listener manages requests to connect to the

database.a. Open the Oracle Network Configuration Assistant application.b. From the Welcome panel, select Listener configuration, and then click Next.c. From the action panel, select Add, and then click Next.d. Enter a name for the listener or accept the default value, and then click

Next.e. Accept the default Selected Protocols listed by clicking Next.f. From the port panel, select Use the standard port of 1521, and then click

Next.g. Select No to indicate that you are finished configuring listeners, and then

click Next.h. From the Listener Configuration Done panel, click Next.i. Click Finish.

3. Create a database for Maximo Asset Management.a. Open the Oracle Database Configuration Assistant.b. Click Next.c. Select Create a Database, and then click Next.d. Select General Purpose, and then click Next.e. Enter ctginst1 for both the Global Database Name value and the SID value,

and then click Next.f. Leave the defaults selected, and click Next.g. Ensure Use the Same Password for All Accounts is selected, enter a

password for Oracle users, and then click Next

h. Ensure File System is selected as the storage mechanism to use for thedatabase, and then click Next.

i. Ensure Use Database File Locations from Template is selected as the valueto use for database file location, and then click Next.

j. Leave defaults selected for the database recovery options panel, and thenclick Next.

70 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

k. From the Sample Schemas panel, click Next.l. From the memory allocation panel, select Custom, provide the following

values (measured in bytes), and then click Next.

Shared Memory ManagementSet this value to Manual.

Shared PoolSet this value to 152.

Buffer CacheSet this value to 36.

Java PoolSet this value to 32

Large PoolSet this value to 8.

PGA SizeSet this value to 36.

m. From the Character Sets tab, select Use Unicode (AL32UTF8),

n. Click All Initialization Parameters....o. Click Show Advanced Parameters.p. Locate the following parameters, change them to the values indicated, and

then click Close.

nls_length_semanticsChange this value to CHAR

open_cursorsChange this value to 1000

cursor_sharingSet this value to FORCE.

q. From the Initialization Parameters panel, click Next.r. From the Database Storage panel, click Next.s. From the Creation Options panel, click Finish.t. After the database is created, click Password Management.u. Unlock the CTXSYS account by clearing the check mark in the Lock

Account? column for that entry, enter a password for the account, and thenclick OK.

v. Click Exit to exit the Database Configuration Assistant. The database issuccessfully created.

Note: The Oracle Database Configuration Assistant uses theORACLE_HOME/ctx/admin/defaults/drdefus.sql script as part of theconfiguration of the CTXSYS user. This script must be used manually if theOracle Database Configuration Assistant is not used.

4. Create a table space using the following command in SQL*Plus:Create tablespace maxdata datafile’C:\oracle\product\10.2.0\oradata\ctginst1\maxdata.dbf’size 1000M autoextend on;

The directory specified in the example must be changed to the installationlocation of the database. If the directory does not exist, this command fails.

5. Create a temporary table space.

Chapter 4. Deploying manually reusing existing middleware 71

6. Create the maximo user and grant permissions using the following commandin SQL*Plus:create user maximo identified by maximo default tablespace maxdata temporarytablespace maxtemp;grant connect to maximo;grant create job to maximo;grant create trigger to maximo;grant create session to maximo;grant create sequence to maximo;grant create synonym to maximo;grant create table to maximo;grant create view to maximo;grant create procedure to maximo;grant alter session to maximo;grant execute on ctxsys.ctx_ddl to maximo;alter user maximo quota unlimited on maxdata;

If you have elected to create a separate table space for indexing, you must alsogrant the maximo user access to that index table space. For example, you mustperform the following additional SQL*plus command if you had created aseparate table space for indexing called TSI_CMDB_OWN:alter user maximo quota unlimited on TSI_CMDB_OWN

These instructions assume that you did not modify the default role sets that areassigned to the Oracle DBA user or other database connection user IDs. If yourestrict the default privileges granted to user IDs, you must explicitly grantthem to the maximo user. For example, the select_catalog_role role is requiredfor user IDs connecting to the database. To deploy Maximo Asset Managementsuccessfully, you must explicitly grant that role to the maximo user by usingthe SQL*Plus command:grant select_catalog_role to maximo

Manually configuring Microsoft SQL ServerYou can manually configure Microsoft SQL Server for use with Maximo AssetManagement.

Before you begin

Because Microsoft SQL Server does not support UTF-8, Maximo Asset Managementdoes not have multilingual support when deployed with Microsoft SQL Server.

Microsoft SQL Server Database Collation settings must be set to the followingoptions:v Dictionary orderv Case-insensitivev For use with 1252 Character set

About this task

To configure an existing Microsoft SQL Server for use with Maximo AssetManagement, perform the following steps before starting the Maximo AssetManagement installation program:

Procedure1. Configure the listener port.

If The default instance of the Microsoft SQL Server Database Engine listens onTCP port 1433. Named instances of the Microsoft SQL Server Database Engineand Microsoft SQL Server Compact Edition are configured for dynamic ports,

72 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

which means they select any available port when the service starts. Whenconnecting to a named instance across a firewall, configure the Database Engineto listen on a specific port, to open this port in the firewall.a. Open Programs > Microsoft SQL Server 2008 > Configuration Tools >

SQL Server Configuration Manager

b. From the Microsoft SQL Server Configuration Manager navigation pane,expand SQL Server Network Configuration > Protocols for <instancename>, and then double-click TCP/IP.

c. In the TCP/IP Properties dialog box, click the IP addresses tab.d. For each IP address listed, ensure that the TCP Dynamic Ports field is blank.

If the TCP Dynamic Ports field contains a value of 0, that IP address isusing dynamic ports. Since Maximo Asset Management requires MicrosoftSQL Server to listen on a static port, this field must be blank.

e. For each IP address listed, enter 1433 for the TCP Port field.f. Click OK.g. From the SQL Server Configuration Manager navigation pane, click SQL

Server Services.h. Right-click SQL Server (<instance name>) and then click Restart, to stop,

and restart Microsoft SQL Server.i. Verify the Microsoft SQL Server instance is running, and then close SQL

Server Configuration Manager.2. Verify that you enabled the Full-text Search setting during the installation of

Microsoft SQL Server 2008. To determine if Full-text Search is installed on yourexisting Microsoft SQL Server database, perform the following steps:a. Open SQL Server Management Studio, select SQL Server Authentication as

the authentication type, and enter the credentials for the sa user ID, andthen click Connect.

b. Click New Query.c. Type the following command:

select FULLTEXTSERVICEPROPERTY ( ’IsFulltextInstalled’ )

If you did not install Full-text Search (the resulting value is zero), you mustdo so at this time. To install Full-text Search, insert the Microsoft SQL Server2008 product media into the system and start the installation wizard.Navigate through the wizard and enable the Full-Text Search option locatedon the Custom portion of the Setup Type dialog box. To finish theinstallation process, restart the server.

3. Create a Microsoft SQL Server Database.a. Open SQL Server Management Studio (Start > Programs > Microsoft SQL

Server 2008 > SQL Server Management Studio)b. Right-click the Databases folder from the navigation tree , and select New

Database.c. In the Database name entry field, specify a unique database name (for

example maxdb75)d. For the maxdb75 Logical Name, change the Initial Size (MB) attribute to 500

(MB), and also set the value of the Autogrowth field to By 1MB,unrestricted growth.

e. If you prefer, modify the log settings to accommodate your productionenvironment.

f. Click OK.4. Create the Maximo User for Microsoft SQL Server.

Chapter 4. Deploying manually reusing existing middleware 73

a. Open Microsoft SQL Server Management Studio (Start > Programs >Microsoft SQL Server 2008 > SQL Server Management Studio)

b. Click New Query.c. Select the Maximo Asset Management database (maxdb75) from the Available

Databases menu,d. Enter the following script to create the Maximo database user MAXIMO with a

password of MAXIMO.sp_addlogin MAXIMO,MAXIMOgo

This value is case-sensitive.e. Click Execute.f. Enter the following script to change the database owner to maximo.

sp_changedbowner MAXIMOgo

g. Click Execute.

What to do next

If you add additional logical names to the database and set their file group to avalue other than PRIMARY, you must complete the following steps after you setup the database and create the Maximo user:1. Run the Maximo Asset Management installation program and choose the Do

not run the configuration step now option.2. Add the following property to the install_home\etc\install.properties file:

Database.SQL.DataFilegroupName=<your logical name>

3. Run the configuration steps outside of the Maximo Asset Managementinstallation program by using the taskrunner utility, located in theinstall_home\scripts directory.

Complete these additional steps only if you added additional logical names to thedatabase and set their file group to a value other than PRIMARY.

Manually configuring the directory serverThese topics provide details on manually configuring a directory server for use byMaximo Asset Management

There are several methods you can use to secure Maximo Asset Management.Ifwant to use a directory server to secure Maximo Asset Management, you mustcomplete the manual configuration of the directory server before you use theMaximo Asset Management installation program. Manual configuration isnecessary if you choose to not have the Maximo Asset Management installationprogram perform configuration.

Note: The base dn, bind user, and other various node values listed in thesesections are defaults. These values are replaced with values applicable to existingLDAP hierarchies within your organization.

Important: When entering LDAP values for Maximo Asset Managementinstallation panel fields, entries in LDIF files, or values you enter directly into adirectory instance using directory server tools, be aware of the product-specificsyntax rules for using special characters in an LDAP string. In most cases, specialcharacters must be preceded by an escape character in order to make it readable by

74 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

the directory server. Failing to escape special characters contained in an LDAPstring used with Maximo Asset Management results in Maximo Asset Managementerrors.

Many directory server products consider a blank space as a special character that ispart of the LDAP string. If you mistakenly enter an LDAP string that contains ablank, at the end of a field value, for example, and you do not precede the blankcharacter with an escape character, you encounter Maximo Asset Managementerrors that are difficult to troubleshoot.

See the product documentation for your directory server for more informationabout special characters in LDAP strings.

Manually configuring IBM Tivoli Directory ServerUse the following instructions to manually configure IBM Tivoli Directory Serverfor use with Maximo Asset Management.

About this task

To configure IBM Tivoli Directory Server before starting the Maximo AssetManagement installation program, you must create an instance of IBM TivoliDirectory Server.

Note: While you can technically share a DB2 instance between Maximo AssetManagement and the one needed by IBM Tivoli Directory Server, it might lead toproblems. During the installation, the database instance is restarted, which mightdisrupt the availability of IBM Tivoli Directory Server to your enterprise. If you areusing the automated installation programs, separate instances are created for useby Maximo Asset Management and IBM Tivoli Directory Server.

Procedure1. Using your preferred method, create a user on the system and assign it to the

appropriate group.

WindowsCreate the user db2admin and make it a member of the followinggroups:v Windows Administratorsv DB2ADMNSv DB2USERS

UNIX Create the user idsccmdb and make it a member of the followinggroups:v dasadmn1v idsldapv dbsysadm

The root user must also be a member of the dasadm1, idsldap, anddbsysadm groups.

2. If the Instance Administration tool is not already started, ensure that you arelogged in as an administrator on the system, and then start the tool

WindowsSelect Programs > IBM Tivoli Directory Server 6.3 > InstanceAdministration Tool.

UNIX Type ./opt/IBM/ldap/V6.3/sbin/idsxinst at the command line.

Chapter 4. Deploying manually reusing existing middleware 75

3. In the Instance Administration tool, click Create an instance.4. In the Create a new instance window, click Create a new directory server

instance, and then click Next.5. From the Instance details window, enter values for the following fields, and

then click Next.

User nameSelect idsccmdb as the system user ID of the user who owns theinstance. This name is also the name of the instance.

Install locationEnter the location where the instance files are stored.

Encryption seed stringType a string of characters that are used as an encryption seed. Thisvalue must be a minimum of 12 characters.

Instance descriptionEnter a brief description of the instance.

6. In the DB2 instance details panel, enter idsccmdb as the value for the DB2instance name field, and then click Next.

7. In the TCP/IP settings for multihomed hosts panel, select Listen on allconfigured IP addresses, and then click Next.

8. In the TCP/IP port settings panel, complete the following fields, and thenclick Next.

Server port numberEnter 389 as the contact port for the server.

Server secure port numberEnter 636 as the secure port for the server.

Admin daemon port numberEnter 3538 as the administration daemon port.

Admin daemon secure port numberEnter 3539 as the administration daemon secure port.

9. In the Option steps panel, leave the following options selected, and then clickNext.

Configure admin DN and passwordYou want to configure the administrator DN and password for theinstance now.

Configure databaseYou want to configure the database for the directory server now.

10. In the Configure administrator DN and password window panel, complete thefollowing fields, and then click Next.

Administrator DNEnter cn=root for the administrator distinguished name.

Administrator PasswordEnter a password for the Administrator DN.

11. From the Configure database panel, complete the following fields, and thenclick Next.

Database user nameEnter idsccmdb as the database user.

76 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

PasswordEnter the password for the idsccmdb user.

Database nameEnter idsccmdb as the database to be used with this directory instance.

12. In the Database options panel, complete the following fields, and then clickNext.

Database install locationType the location for the database.

WindowsFor Windows platforms, this value must be a drive letter.

UNIX For non-Windows platforms, the location must be a directoryname, such as /home/ldapdb.

Ensure that you have at least 80 MB of free hard disk space in thelocation you specify. Additional disk space must be available toaccommodate growth as new entries are added to the directory.

Character-set optionLeave the Create a universal DB2 database (UTF-8/UCS-2) optionselected.

13. In the Verify settings panel, review the instance creation details provided, andthen click Finish to create the idsccmdb instance.

14. Click Close to close the window and return to the main window of theInstance Administration tool.

15. Click Close to exit the Instance Administration tool.16. Start the IBM Tivoli Directory Server Configuration tool:

WindowsSelectPrograms > IBM Tivoli Directory Server 6.3 > InstanceAdministration Tool.

UNIX Type ./opt/IBM/ldap/V6.3/sbin/idsxcfg at the command line.17. Select Manage suffixes.18. In the Manage suffixes panel, type the following suffix, and then click Add.

o=IBM,c=US

19. Click OK.20. Create and save an LDIF file.

Add the DN information, for example:v ou=SWG,o=IBM,c=USv ou=users

Note: ou=SWG,o=IBM,c=US in this example is an organization unit calledSWG. SWG houses the OU=Users organization units to place the userscreated for Maximo Asset Management. DC=IBM and DC=COM wouldindicate a domain forest of ibm.com®. You can replace the example with thedirectory structure of your own organization.Define the following users and their positions within the ou=users DN's youcreated. These users are defined in order for Virtual Member Manager to beused to secure Maximo Asset Management.

Important: Before you begin this procedure, ensure that you have thefollowing users created in the root of your LDAP repository:

Chapter 4. Deploying manually reusing existing middleware 77

Table 4. Base Maximo Asset Management required users

User

maxadmin

mxintadm

maxreg

Here is an example of the default base LDIF data:dn: o=ibm,c=usobjectClass: topobjectClass: organizationo: IBM

dn: ou=SWG, o=ibm,c=usou: SWGobjectClass: topobjectClass: organizationalUnit

dn: ou=users,ou=SWG, o=ibm,c=usou: usersobjectClass: topobjectClass: organizationalUnit

dn: uid=maxadmin,ou=users,ou=SWG, o=ibm,c=ususerPassword: maxadminuid: maxadminobjectClass: inetorgpersonobjectClass: topobjectClass: personobjectClass: organizationalPersonsn: maxadmincn: maxadmin

dn: uid=mxintadm,ou=users,ou=SWG, o=ibm,c=ususerPassword: mxintadmuid: mxintadmobjectClass: inetorgpersonobjectClass: topobjectClass: personobjectClass: organizationalPersonsn: mxintadmcn: mxintadm

dn: uid=maxreg,ou=users,ou=SWG, o=ibm,c=ususerPassword: maxreguid: maxregobjectClass: inetorgpersonobjectClass: topobjectClass: personobjectClass: organizationalPersonsn: maxregcn: maxreg

Note: If you create the LDIF file on Windows, ensure that you remove the ^Mcharacters from the file before using.

Note: Before you can import an LDIF file on UNIX systems, you must runthe dos2unix command to format the file.

21. In the IBM Tivoli Directory Server Configuration Tool, click Import LDIF data.22. Click Browse to locate the LDIF file.23. Click Import.

78 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

24. Close the IBM Tivoli Directory Server Configuration Tool and restart theserver.

Manually configuring Microsoft Active DirectoryYou can manually configure Microsoft Active Directory for use with Maximo AssetManagement.

Before you begin

Use this procedure to manually create users and groups within Microsoft ActiveDirectory.

Important: The users and passwords you create in the following steps must matchthis exact configuration for the deployment to succeed. It is sometimes necessary totemporarily alter theMicrosoft Active Directory security policy to create theseaccounts in the required format. After installation, you can change these defaultpasswords to conform to a stricter security policy.

About this task

Before starting theMaximo Asset Management installation program, configureMicrosoft Active Directory. Complete the following steps

Procedure1. Select Start > Control Panel > Administrative Tools > Microsoft Active

Directory Users and Computers and then select the domain that you areworking with.

2. Edit the functional level of the domain by selecting Action > Raise DomainFunctional Level. The Raise Domain Functional Level dialog box is displayed.

3. Select Microsoft Windows Server 2008 from the Select an available domainfunctional level menu, and then click Raise. An alert dialog box is displayed.

4. Click OK.5. When the domain raise task has completed, click OK.6. In the Microsoft Active Directory Users and Computers interface, using the

right mouse button, click the domain to work with. Select New >Organizational Unit.

7. Enter a name for the new Organizational Unit (OU), for example, SWG, andthen click OK.

8. Create a groups object under the SWG organizational unit:a. Right-click the SWG OU, and select New > Organizational Unit.b. Enter Groups as the name for the new OU then click OK.

9. Create a users object under the SWG organizational unit:a. Right-click the SWG OU, and select New > Organizational Unit.b. Enter Users as the name for the new OU then click OK.

10. Create an administrator user, for example maxadmin:a. Right click the Users OU and select New > User.b. From the New Object - User dialog, enter the following values, and then

click Next:

First nameEnter maxadmin.

Chapter 4. Deploying manually reusing existing middleware 79

InitialsLeave this field blank.

Last nameLeave this field blank.

Full nameEnter maxadmin.

User login nameEnter maxadmin in the first field. Leave the default value of thesecond field.

User login name (pre-Microsoft Windows 2000)This field is populated with the same value (maxadmin) enteredfor the User login name.

c. From the next panel, enter the following information, and then click Next:

PasswordEnter maxadmin as the password for the maxadmin user.

User must change password at next logonEnsure this check box is cleared.

User cannot change passwordEnsure this check box is selected.

Password never expiresEnsure this check box is selected.

Account is disabledEnsure this check box is cleared.

The preceding values are examples. Enter values that comply with thepassword policy of your organization.

d. Review the password settings in the summary panel, and click Finish.11. Create the mxintadm user:

a. Right click the Users OU and select New > User.b. From the New Object - User dialog, enter the following values, and then

click Next:

First nameEnter mxintadm.

InitialsLeave this field blank.

Last nameLeave this field blank.

Full nameEnter mxintadm.

User login nameEnter mxintadm in the first field. Leave the default value of thesecond field.

User login name (pre-Microsoft Windows 2000)This field is displayed with the same value (mxintadm) entered forthe User login name.

c. From the next panel, enter the following information, and then click Next:

80 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

PasswordEnter a value as the password for the mxintadm user.

User must change password at next logonEnsure this check box is cleared.

User cannot change passwordEnsure this check box is selected.

Password never expiresEnsure this check box is selected.

Account is disabledEnsure this check box is cleared.

The preceding values are examples. You must set these fields to valuesthat comply with the password policy of your organization.

d. Review the password settings in the summary panel, and click Finish.12. Create the maxreg user:

a. Right click the Users OU and select New > User.b. From the New Object - User dialog, enter the following values, and then

click Next:

First nameEnter maxreg.

InitialsLeave this field blank.

Last nameLeave this field blank.

Full nameEnter maxreg.

User login nameEnter maxreg in the first field. Leave the default value of thesecond field.

User login name (pre-Microsoft Windows 2000)This field is filled with the same value (maxreg) entered for theUser login name.

c. From the next panel, enter the following information, and then click Next:

PasswordEnter a value as the password for the maxreg user.

User must change password at next logonEnsure this check box is cleared.

User cannot change passwordEnsure this check box is selected.

Password never expiresEnsure this check box is selected.

Account is disabledEnsure this check box is cleared.

The preceding values are examples. Enter values that comply with thepassword policy of your organization.

d. Review the password settings in the summary panel, and click Finish.13. You can now exit the Microsoft Active Directory Users and Computers tool.

Chapter 4. Deploying manually reusing existing middleware 81

What to do next

Microsoft Active Directory configuration is finished and you are now ready toinstall the remaining Maximo Asset Management middleware and configure theJ2EE server to use Microsoft Active Directory.

Manually configuring the J2EE serverThis section contains instructions for manually configuring an existing J2EE serverfor use by Maximo Asset Management.

Manual configuration of the J2EE server is required if you choose to deployMaximo Asset Management using Oracle WebLogic Server. You must complete themanual configuration before you use the Maximo Asset Management installationprogram.

Manually configuring WebLogic ServerWebLogic Server can be used with Maximo Asset Management if it is manuallyconfigured.

About this task

You can use a WebLogic Server as your J2EE server. The Maximo AssetManagement installation process prepares EAR files on the Maximo AssetManagement administrative workstation. These files are then manually deployedto your WebLogic Server. The Maximo Asset Management installation programdoes not automatically configure a WebLogic Server environment It does not installor otherwise deploy Maximo Asset Management applications into a WebLogicServer server.

Manually configuring WebLogic Server consists of the following tasks:

Procedure1. “Creating the MAXIMOSERVER domain” on page 282. “Configuring JMS options for integration framework” on page 283. “Configuring JMS for the email listener in WebLogic Server” on page 30

Creating the MAXIMOSERVER domain:

This section details how to create the MAXIMOSERVER domain within WebLogicServer.

About this task

To create the MAXIMOSERVER domain within WebLogic Server, complete thefollowing steps:

Procedure

1. Launch the Configuration wizard tool.v For Windows systems, select Start > Programs > BEA Products > Tools >

Configuration Wizard.v For UNIX systems, launch the Configuration wizard using the config.sh

command located in <WebLogic_Home>/weblogic10/common/bin.2. From the welcome panel, select Create a new WebLogic Server domain, and

then click Next.

82 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

3. From the Select a Domain Source panel, select Generate a domain configuredautomatically to support the following products, and then click Next.

4. From the Specify Domain Name and Location panel, name the domainMAXIMOSERVER, and then click Next

5. From the Configure Administrator Username and Password panel, enter anadministrator user ID and password, and then click Next.

6. From the Configure Server Start Mode and JDK panel, enter the followinginformation, and then click Next.

WebLogic Server Domain Startup ModeSelect Production.

Selecting this option requires that you provide a user ID and passwordin order to deploy applications.

JDK SelectionSelect a JDK with a version number 1.6.0 or greater from the suppliedJDKs.

7. Proceed through the next few panels until you reach the CustomizeEnvironment and Services Settings panel. From the Customize Environmentand Services Settings panel, select the default option No, and then click Next.

8. From the Create WebLogic Server Domain panel, change the Domain Namevalue to MaximoServer, and then click Create to create the domain.

9. Once the domain has been created, ensure that the Start Admin Server optionis cleared, and then click Done to close the Configuration wizard. On UNIXsystems, this option is not displayed.

Configuring JMS options for integration framework:

This procedure provides details on steps to configure JMS queues.

Before you begin

You need to be familiar with the Oracle WebLogic Server Administration Consoleto complete the following procedure. See your Oracle WebLogic Serverdocumentation on how to navigate through the Oracle WebLogic ServerAdministration Console.

Procedure

1. Launch Internet Explorer and open the MAXIMOSERVER Administration Consoleby typing the following URL:http://host_name:7001/console

2. Sign in by entering your user ID and password.3. Create three persistent file stores with the following configuration parameters:

Option Description

File Store Name sqinstore, sqoutstore, cqinstore

File Store Target MAXIMOSERVER

File Store Directory C:\WebLogic, or another directory of your choice

File stores have better performance in general. However, you can choose tocreate database-based stores. To choose between file stores and database-basedstores, consult your Oracle WebLogic Server documentation.

4. Create three JMS servers with the following configuration parameters:

Chapter 4. Deploying manually reusing existing middleware 83

Option Description

Properties Name sqinserver, sqoutserver, cqinserver

Server Target MAXIMOSERVER

Bytes Maximum 20% or below of the allotted JVM heap size

It is recommended that you configure the Bytes Maximum for the JMS serversto a value of 20% or below of the allotted JVM heap size to prevent the OracleWebLogic Server from running out of memory.

5. Create a JMS system module named intjmsmodule with MAXIMOSERVER asthe target server.

6. Add a connection factory resource to the JMS module:

Option Description

Name intjmsconfact

JNDI Name jms/maximo/int/cf/intcf

Target MAXIMOSERVER

7. Add three queue resources to the JMS Module:a. Create the queue resource type.b. Create a new subdeployment with the same name as the queue.c. Assign the subdeployment_nameserver server target to the subdeployment.

Option Description

Queue 1 Name: sqin JNDI Name: jms/maximo/int/queues/sqin

Queue 2 Name: sqout JNDI Name: jms/maximo/int/queues/sqout

Queue 3 Name: cqin JNDI Name: jms/maximo/int/queues/cqin

Template None

8. Enable the JMS connection factory for integration framework:a. Select the intjmsconfact link.b. From the Transactions tab, check the XA Connection Factory Enabled

check box.c. Set the Maximum Messages per Session to -1.

9. Save and activate the changes.

What to do next

You need to stop and restart the MAXIMOSERVER application server for the update totake effect.

Configuring JMS for the email listener in WebLogic Server:

You use the email listeners application to receive and process requests throughemail in the form of email messages.

About this task

To configure JMS queues for the WebLogic Server, complete the following steps:

84 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Procedure

1. Log in to the WebLogic Server administration console.2. Create a persistent store.

a. In the Domain Structure panel, expand Services and then click PersistentStores.

b. Click New and select the option to create a file store.c. Enter lsnrstore for the name of the file store and c:\wls10 as the directory,

and then click Finish.3. Create a JMS Server

a. In the Domain Structure panel, under Services > Messaging , click JMSServers, enter the following information, and then click Next.

Name Enter a name for a new JMS server, for example, lsnrserver.

Persistent StoreSelect lsnrstore.

b. For the Target, select AdminServer, and then click Finish.4. Create a JMS System Module

a. In the Domain Structure panel, under Services > Messaging , click JMSModules, and then click New.

b. Enter a value for the Name field, such as lsnrjmsmodule, and then clickNext.

c. Select the option for AdminServer, and then click Next.d. Select the option for Would you like to add resources to the JMS system

module?, and then click Finish.5. Add a connection factory to the JMS module.

a. From the Summary of Resources table of the lsnrjmsmodule module, clickNew to add a resource.

b. Select the Connection Factory option, and then click Next.c. From the Connection Factory Properties panel, enter the following

information, and then click Next.

Name Enter a name for the new connection factory. For example,lsnrconnfact.

JNDI NameEnter jms/mro/lsnr/lsnrcf.

d. Ensure AdminServer is selected, and then click Finish

6. Add a queue to the JMS module.a. From the Summary of Resources table of the lsnrjmsmodule module, click

New to add a resource.b. Select the Queue option, and then click Next.c. From the JMS Destination Properties panel, enter the following information,

and then click Next.

Name Enter a name for the new queue. For example, lsnrqueue.

JNDI NameEnter jms/mro/lsnr/qin.

TemplateNo template is necessary.

d. Click Create a new Subdeployment, select lsnrserver, and then clickFinish.

Chapter 4. Deploying manually reusing existing middleware 85

7. Set the XA option for the connection factory.a. Select lsnrconnfact, and then select the Transactions tab.b. Ensure that the XA Connection Factory Enabled option is selected, and then

click Save.8. Click Activate Changes to save and activate all changes.9. To enable an email listener to use JMS queues, a Message Driven Bean is

configured through a deployment descriptor file that is part of the installation.You configure the Message Driven Bean by removing comment lines fromsections within the deployment descriptor files. Edit the ejb-jar.xml andweblogic-ejb-jar.xml files.a. Open the install_dir\applications\maximo\mboejb\ejbmodule\META-INF\

ejb-jar.xml file in an editor, uncomment the following sections, and thensave the file:Email Listener JMS is not deployed by default<message-driven id="MessageDriven_LSNRMessageBean"><ejb-name>LSNRMessageBean</ejb-name>ejb-class>psdi.common.emailstner.LSNRMessageBean</ejb-class>transaction-type>Container</transaction-type><message-destination-type>javax.jms.Queue</messagedestination-type></message-driven>

Email Listener JMS is not deployed by default<container-transaction><method><ejb-name>LSNRMessageBean</ejb-name><method-name>*</method-name></method><trans-attribute>Required</trans-attribute></container-transaction>

b. Open the c:\ibm\smp\maximo\applications\maximo\mboejb\ejbmodule\META-INF\weblogic-ejb-jar.xml file in an editor, uncomment the followingsection, and then save the file:Email Listener JMS is not deployed by default<weblogic-enterprise-bean><ejb-name>LSNRMessageBean</ejb-name><message-driven-descriptor><destination-jndi-name>jms/mro/lsnr/qin</destination-jndiname><connection-factory-jndi-name>jms/mro/lsnr/lsnrcf</connection-factory-jndi-name></message-driven-descriptor><transaction-descriptor><trans-timeout-seconds>600</trans-timeout-seconds></transaction-descriptor><jndi-name>LSNRMessageBean</jndi-name></weblogic-enterprise-bean>

Installing the product and manually configuring middlewareYou can deploy Maximo Asset Management with configured middleware beforethe installation begins. You use this procedure if your organization has specificpolicies and procedures that govern how you create databases, database instances,and users within your organization.

Before you begin

Ensure that you meet prerequisite conditions.v Oracle WebLogic Server must be configured.

86 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

v The database server, the directory server, and application server services must bestarted and active.

v On the administrative workstation, temporarily shut down any noncriticalprocesses that can have a negative effect on the installation, such as antivirussoftware.

v Ensure that the Windows DEP setting does not prevent the launchpad fromrunning: Select Start > Settings > Control Panel > System > Advanced >Performance > Settings > Data Execution Prevention. Select Turn on DEP foressential Windows programs and services only and click Apply. You might beasked to reboot the server.

v For Linux and UNIX systems with middleware installed, the command hostname-f must return a fully qualified host name. If necessary, consult thedocumentation for your operating system. Alternatively, you can provide the IPaddress for the system.

v Enable a remote execution and access service on every system that hasmiddleware installed. Each remote system must support a remote accessprotocol. Each system must accept remote logins from a user name andpassword that were configured on the target server. Remote access protocolsinclude SSH and Windows SMB. If the remote system is a Windows server, youmust configure remote execution and access to use SMB.

v The DB2 database must be prepared.– If DB2 is installed on a Linux or UNIX system, you must create the instance

user and the home directory for the user on the DB2 server.– The database instance owner home directory must have 8 GB of space

available regardless of whether a database is installed in that location.– The user ID for the DB2 instance administrator must have SYSADM (system

administration) authority. You specify this user ID during the productinstallation program. See the DB2 product documentation for informationabout creating a user with SYSADM authority on the DB2 server. You mustadd root to a group with SYSADM authority for UNIX systems.

– To avoid high system memory usage by DB2, you can set the following DB2property and then restart the DB2 server:db2 update dbm cfg using KEEPFENCED NO

v If you use DB2 on UNIX systems with Maximo Asset Management, you mustadd root to a group with SYSADM authority for the database instance. Thismembership must be in place before you start the Maximo Asset Managementinstallation program.

v Complete the following tasks for Oracle WebLogic Server:– Configure JMS options for integration framework– Create the domain.– Set up JMS for e-mail listener.

About this task

The instructions are for a multiple server installation that uses default values.

If you use DB2 and install Maximo Asset Management in a language other thanEnglish, you must accept the default values for database table space size and indextable space size. These values are displayed as null during the installation. If youwant to customize the table space sizes, you have three options:v Run the product installation program in English.v Manually configure the database.

Chapter 4. Deploying manually reusing existing middleware 87

v Modify the table space sizes after installation.

Procedure1. Log in on the administrative system.2. Start the product installation program from the launchpad.

a. Start the launchpad. Browse to the root directory of the downloadedinstallation image, and run the following command:

Windowslaunchpad.exe

b. In the launchpad navigation pane, click Install.c. Click Install Maximo Asset Management 7.5.If the launchpad does not start the installation, you can start the productinstallation program directly. On the downloaded installation image, browseto \Install\mam\, and run one of the following commands:

Windows

v install.bat

v install_win64.bat

3. Select a language for the installation and click OK.4. On the Choose Installation Folder panel, specify the path to the location

where you want to install Maximo Asset Management.You can specify a description for the installation. A description is useful fordifferentiating between multiple installations that are hosted on the sameadministrative workstation.

5. Review the information that is on the Verify Installation Location panel. Thepanel shows any previous installation information that was found based onthe installation directory that you specified on the previous panel. After youadvance past this panel, you cannot go back and change the installationdirectory for this installation.If a more recent version of the installation program is found in the specifiedtarget directory, you are notified. The notification means that you are using anolder version of the installation program. The version found on theadministrative workstation is newer and can contain important features andenhancements. To use the newer version of the installation program, select theoption on the notification panel and click Next. This action exits the currentinstallation process and restarts the installation process with the newerinstallation program. If you do not select the option, you continue theinstallation with the older version of the installation program.

6. On the Package Summary panel, review the package deployment information.This panel lists version information for both new and existing packages on thesystem. Target package version information indicates the package versionbeing currently deployed.

7. On the Choose Deployment panel, specify Simple or Custom as thedeployment type.

8. On the Import Middleware Configuration Information panel, you selectImport middleware configuration information to have the productinstallation program reuse the middleware installation program values. Thesevalues are used as default values for the same fields in the productinstallation program.The Workspace location field refers to the location of the topology file thatcontains the values that were specified for the middleware installationprogram. The file is located in the workspace that was defined during the

88 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

middleware installation task. For example, C:\ibm\tivoli\mwi\workspace forWindows or /root/ibm/tivoli/mwi/workspace for UNIX.If you selected the simple deployment, the middleware default information isnot used.

9. On the Database Type panel, specify the software to use for the Maximodatabase.

10. On the Database panel, specify configuration information for your databasesoftware.For things such as the database user ID, the database name, the databaseinstance for Maximo Asset Management, and the schema name, if the valuesdo not exist when you specify them, they are created. Database users anddatabase instance names cannot contain spaces.For DB2, the user ID cannot be the same as the instance administrator user ID.For DB2, the database instance is created if it does not exist, but the user andits associated home directory must exist on the DB2 server. For DB2, theschema name can be the same value as the owner of the table spaces that aredefined or it can be a different value, such as maximo.After you specify configuration information for your database software, theinstallation program validates the information with the database server.

11. On the Automate Database Configuration panel, select The database hasalready been created and configured and click Next.This step assumes that you created a database instance, a database, tablespaces, a user, and schema for use with Maximo Asset Management. See“Manually configuring the database” on page 65. If you have not manuallyconfigured the database before selecting The database has already beencreated and configured you are prompted to complete them before you restartthe installation program.

12. On the Database Tablespace panel, specify information about the table spaceof the database.When you click Next, the product installation program connects to thedatabase server and validates the information that you specified.

13. When the database validation is complete, on the Application Server Typepanel, specify the application server type for the product deployment.You must manually configure WebLogic Server and manually deployapplication files.

14. On the Specify Maximo Users panel, enter Maximo database user information.

Maximo administration userThe product administrator user ID that is used for initial configurationand adding users.

Maximo system registration userThe user ID that is used for the self-registration of users.

Maximo system integration userThe user ID that is used with enterprise adapters.

Custom user ID and password values are stored in the Maximo database. Thedefault user IDs of maxadmin, maxreg, and maxintadm are also created asusers in the Maximo database. Creation of the default user IDs is done forinternal processing purposes. If you use Maximo database security forauthentication and authorization, the default user IDs can be used to log in to

Chapter 4. Deploying manually reusing existing middleware 89

the application. If you regard this condition as a security risk, you can modifythe passwords for the default user IDs. You modify passwords for the userIDs in the Users application.

15. On the SMTP Configuration panel, specify the SMTP configurationinformation that is used by workflows to communicate with workflowparticipants.The administrator e-mail address is the e-mail address that is used to sendmessages. If you leave the fields blank, you must configure the SMTPparameters through the product interface as a post-installation task.

16. On the Base Language Selection panel, specify the base language for theinstallation.

17. On the Additional Language Selection panel, you can optionally specify oneor more additional languages that the installation is to support.

18. On the Run Configuration Step panel, specify how to perform theconfiguration step of the installation. If you do not select an option, theconfiguration step proceeds when you click Next. You can optionally create amaxdemo database from the Run Configuration Step panel.

Copy files now, but perform the installation configuration step laterSelect this option to copy files from the installation source to theadministrative workstation. You must perform the configuration stepat a later time to complete the deployment.

Select this option to create a maxdemo database during the installationof Maximo Asset Management and populate the database with sampledata.

Important: Do not install another product before completing theconfiguration step of the original installation. Installing anotherproduct before running the configuration step for this installationoverwrites the taskstore, which prevents the original installation fromever being deployed.

The configuration values that you specify are stored in theinstall_home\maximo\applications\maximo\properties\maximo.properties and install_home\etc\install.properties files.You run the configuration steps outside of the product installationprogram by using the taskrunner utility, in the install_home\scriptsdirectory. Run the taskrunner utility from the command line.install_home\scripts\taskrunner [CONTINUE <STOPONERROR|NOSTOPONERROR>]

The taskrunner uses the configuration values that are stored in themaximo.properties and install.properties files to configure MaximoAsset Management.

If you run taskrunner with the NOSTOPONERROR parameter, thetaskrunner continues despite errors. If you run taskrunner with theSTOPONERROR parameter, the taskrunner stops when it encounters anerror. If you used STOPONERROR, you can rectify the conditions thatcaused the error. You can then resume the installation at the pointwhere the last successfully completed task was recorded in theprevious attempt by starting taskrunner with the CONTINUE parameter.

Defer the update of the Maximo databaseSelect this option if you want to manually run the database updatetask for the product deployment. This option can be used when thereis a fix pack available that addresses known issues with the updatedb

90 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

script. In this scenario, you choose the Defer the update of theMaximo database option, apply the fix pack, and then run theupdatedb -v1 command manually.

19. On the Choose Shortcut Folder panel, specify where you want Maximo AssetManagement icons created.If you select In the Start Menu and use Internet Explorer, add the MaximoAsset Management URL to the trusted sites web content zone. Disable theoption that requires server verification for all sites in the zone.Do not select In the Quick Launch Bar. The selection does not create ashortcut in the Quick Launch bar.

20. On the Input Summary panel, review the information that you have providedfor the product installation program.If necessary, use Previous to return to previous panels to change values.

21. On the Pre-Installation Summary panel, review the installation information,then click Install.The installation process begins. You can monitor the progress of theinstallation by viewing the messages that are shown.

22. On the Installation Completed panel, review any information presented, thenclick Done.

What to do next

Complete the post installation tasks that are required for installing with manualmiddleware configuration.

You must now deploy the maximo.ear and maximoiehs.ear files.“Deploying EAR files” on page 148This section contains information about deploying Maximo Asset ManagementEAR files manually into Oracle WebLogic Server.

Creating a maxdemo database during installationYou can create a maxdemo database during a Maximo Asset Managementinstallation and populate the database with sample data.

Procedure1. On the Run Configuration Step panel of the installation wizard, select Copy

files now, but perform the installation configuration later.2. When the installation finishes, exit the installation wizard.3. Rename the C:\IBM\SMP\Maximo\tools\maximo\en\maximo.dbtype file.4. Copy the C:\IBM\SMP\Maximo\tools\maximo\en\maxdemo.dbtype file to

C:\IBM\SMP\Maximo\tools\maximo\en\maximo.dbtype, where en is the languagefolder and the dbtype is ora, sqs, or db2.

5. Open a command window and browse to C:\IBM\SMP\scripts.6. Run the following command: taskrunner.bat CONTINUE STOPONERROR

7. When the taskrunner process is complete, change the file names back to theiroriginal names. Do not restart the computer before you run the taskrunnercommand. The taskrunner utility does not create a persistent store ofinformation and data can be lost.

Chapter 4. Deploying manually reusing existing middleware 91

Post installation for Oracle WebLogic Server deploymentsThere is a post installation step required for Oracle WebLogic Server deployments.

About this task

When using Oracle WebLogic Server as the application server for your MaximoAsset Management deployment, the installation program produces an EAR file.You must then manually deploy that file to Oracle WebLogic Server.

When using Oracle WebLogic Server, you must modify the weblogic.xml file andrebuild the maximo.ear file before deploying it.

Procedure1. Install the updated JDK 1.6 program.

a. Obtain the latest JDK program with a version number 1.6.0 SR7 or greater,from http://www.oracle.com/technetwork/java/index.html

b. Start the installation program.c. Accept the license agreement.d. Change the installation destination path to your Oracle home folder, and

click OK , then Next.e. Accept any additional prompts to install the JDK program so that the

installation process can complete successfully.2. If you are using an Oracle database, copy the oraclethin.jar file.

a. Copy the oraclethin.jar file from the administrative workstation to theserver where you installed Oracle WebLogic Server. Use any file transferprotocol that is available.

b. The oraclethin.jar file is in the install_home\maximo\applications\maximo\lib directory. The default install_home directory isC:\IBM\SMP\Maximo\Applications\Maximo\lib. Copy the oraclethin.jar fileto the J2EE server and into the wls11g/server/lib directory. For example,C:/Oracle/wls11g/server/lib.

3. Edit the domain configuration file for appropriate Java settings.a. Navigate to Install_dir\user_projects\domains\mydomain\bin.b. Right-click and edit (do not double-click) setDomainEnv.cmd (Windows) or

setDomainEnv.sh (UNIX).c. Using your text editor, search for and replace jdk entries with entries that

configure Oracle WebLogic Server to use the updated JDK program. Twoinstances must be replaced.

d. (Oracle only) Search for PRE_CLASSPATH. Set the parameter as follows:set PRE_CLASSPATH=%WL_HOME%\server\lib\oraclethin.jar (Windows)PRE_CLASSPATH={WL_HOME}/server/lib/oraclethin.jar (UNIX)

Note: This step is required for connecting to Oracle databases from OracleWebLogic Server.

e. Increase the Java Heap parameters by searching for MEM_ARGS and settingthe parameter as follows:set MEM_ARGS=-Xms512m -Xmx1024m -XX:MaxPermSize=512m (Windows)MEM_ARGS=-Xms512m -Xmx1024m -XX:MaxPermSize=512m (UNIX)

These parameters are case-sensitive. Ensure to include the minus (-) signbefore each parameter and to include the m after each value.

92 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

f. Search for set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES%. Insert anoption directly after this string, as follows:-Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0

The entry looks like this example when complete:set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES%-Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0-Dwlw.iterativeDev=%iterativeDevFlag% -Dwlw.testConsole=%testConsoleFlag%-Dwlw.logErrorsToConsole=%logErrorsToConsoleFlag%

g. Save and close the setDomainEnv.cmd file.4. Edit the \IBM\SMP\maximo\applications\maximo\maximouiweb\webmodule\WEB-

INF\weblogic.xml file and add the following entries:<session-descriptor><cookie-http-only>false</cookie-http-only></session-descriptor>

5. Start the server without being prompted for user name and password. If youare working in Production mode and do not want to be prompted for theOracle WebLogic Server user name and password, create a boot.propertiesfile. This procedure stores the user name and password in an encrypted format.Place the following two lines in a text file:username=<administrator username>password=<administrator password>

The user name and password values must match an existing user account inthe Authentication provider for the default security realm. If you save the fileas boot.properties and locate it in the mydomain folder (for example,C:\BEA\User_projects\domains\mydomain), the server automatically uses this fileduring its subsequent startup cycles. The first time you use this file to start aserver, the server reads the file and then overwrites it with an encryptedversion of the user name and password.

6. Verify settings by starting Oracle WebLogic Server. To ensure that the edits thatyou made to the previous Oracle WebLogic Server files were accurate, start theOracle WebLogic Server.

7. Rebuild the maximo.ear file.\IBM\SMP\maximo\deployment\buildmaximoear

8. Deploy the maximo.ear file to Oracle WebLogic Server.

Deploying ear filesYou are now ready to deploy the EAR files from the Oracle WebLogic ServerAdministration Console. Deploying the EAR files starts the Maximo ApplicationServer.

Before you begin

Windows WindowsIf MAXIMOSERVER is not running, start it from a command prompt.

UNIX UNIXEnsure that the Oracle WebLogic Server daemon is running.

Chapter 4. Deploying manually reusing existing middleware 93

About this task

In order to view the Oracle WebLogic Server Administration Console, you need toalso install a Java Virtual Machine (JVM). Newer versions of Windows might notship with JVM.

Procedure1. Change to the my_domain directory:

Windows WindowsFrom a command prompt, change directory path to:drive_name:\weblogic_install_dir\user_projects\domain\my_domain

UNIX UNIXOpen a Terminal window (or a command prompt, if you are telnetingfrom a Windows computer) and change directory as follows:cd /home/mxadmin/weblogic_install_dir/user_projects/domains/my_domain

2. Type

Windows WindowsstartWebLogic.cmd

UNIX UNIX./startWebLogic.sh

and press Enter. Once the phrase: Server started in RUNNING mode displays,the Oracle WebLogic Server is running.

3. Start the MAXIMOSERVER Oracle WebLogic Server Administration Console bytyping the following URL in the address bar of your browser:http://host_name:7001/console

4. Log in to the administrative console with the administrative user name andpassword.

5. Click the Lock&Edit button in the Change Center section to set the server toedit mode.

6. Click the Deployments link in the Domain Structure section.7. In the Summary of Deployments section, click the Install button. The Install

Application Assistant opens.8. Click the upload your file(s) link.9. Click the Browse button next to the Deployment Archive field. Browse to

where you have maximo.ear file installed (c:/ibm/smp/maximo/deployment/default/ of the administrative workstation), select the file and click Open.

10. Click Next to upload the file to the Oracle WebLogic Server server.11. Click the radio button next to the maximo.ear file, and Next to continue the

deployment.12. Accept the default value to install the deployment as an application and click

Next.13. Accept all other default values and click Finish to start the deployment

process.14. When the deployment process is complete, click the Activate Changes button

in the Change Center to apply the changes. The following message displays:All changes have been activated. No restarts are necessary.

15. Repeat Steps 8 on page 41 through 14 on page 41 to deploy maximoiehs.ear.

94 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

16. Click the checkbox next to the maximo application.17. Click the dropdown arrow of the Start button and select Servicing all

requests. The Start Application Assistant displays.18. Click Yes to start the system.

Setting the Oracle WebLogic Server host nameSetting the Oracle WebLogic Server host name manually to access application helpinformation.

About this task

By default, the property used to store the host name for the Maximo AssetManagement help system is set to localhost. The fully qualified host name of theOracle WebLogic Server must be configured in the help system property to viewMaximo Asset Management application help topics. Complete this step after youhave deployed Maximo Asset Management EAR files to the Oracle WebLogicServer.

Procedure1. Log in to the Maximo Asset Management console as maxadmin.2. Browse to Go To > System Configuration > Platform Configuration > System

Properties

3. Using the Filter feature, search for the mxe.help.host Property Name.4. Expand the mxe.help.host property and set the attribute to the fully qualified

host name of the Oracle WebLogic Server.5. Select the mxe.help.host record check box.6. Click the Live Refresh icon in the toolbar.7. From the Live Refresh dialog, click OK.

Results

You are now able to access application help topics in the Maximo AssetManagement user interface.

Language deployment after database update deferralSelecting the option to defer the update of the Maximo database when installingthe product, affects how you deploy languages.

During installation, you have the option to defer the database update task. Thisoption prevents writing data to the database during the installation. Theinstallation program is limited to copying files to the administrative system andregistering product process solution packages. You add languages by completingthe installation, manually updating the database, and then updating languagesmanually.

“Manually deploying languages after database update deferral” on page 42Languages must be deployed manually if you defer database updates by theinstallation program.

Manually deploying languages after database update deferralLanguages must be deployed manually if you defer database updates by theinstallation program.

Chapter 4. Deploying manually reusing existing middleware 95

Before you begin

You must have run updatedb command before manually configuring languages forPSI packages.

About this task

To manually configure languages for PSI packages, complete the following steps:

Procedure

Update language support for the Maximo core components.Files for the language selections you made during the installation are extracted tothe C:\IBM\SMP\Maximo\Tools\Maximo\locale\xliff\ directory on the system.1. To update a language as the base language to use for the product, run the

following command:install_home\maximo\tools\maximo\TDToolkit.bat-IMPORT-SLEN-TLlocale-maxmessfix

2. To add one or more languages as additional languages for use with theproduct, run the following command for each language you want to add:install_home\maximo\tools\maximo\TDToolkit.bat-ADDLANGlocale-maxmessfix

96 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Chapter 5. Silent installation

Maximo Asset Management provides the option of installing silently.

The Maximo Asset Management silent installation option allows you to interfacewith the Maximo Asset Management installation program using a commandprompt (not the Maximo Asset Management launchpad), and a response file.

Installing Maximo Asset Management silentlyMaximo Asset Management can be installed silently by using an installationresponse file.

Before you begin

You must complete a successful Maximo Asset Management installation to producea response file that can be used for a silent installation. Alternatively, you can useone of the sample response files that are provided on the product media andmodify it according to your needs.

You must verify that all response file paths are formatted correctly. If a path suchas USER_INSTALL_DIR=K:/IBM/max_dev is contained in a response file that is usedwith a Windows administrative system, an error occurs. The Windows equivalentin this example must be formatted for a Windows system: USER_INSTALL_DIR=K:\\IBM\\max_dev

Note: You can use a silent installation response file to populate Maximo AssetManagement installation program fields during an attended installation. Removethe INSTALLER_UI=silent property from the response file before you use it with theMaximo Asset Management installation program. The installation program usesdefault values by reading from the response file. The Maximo Asset Managementinstallation program uses the response file automatically when it is namedinstaller.properties or install.properties and it is in the same directory. Youdo not have to specify the response file name when you start the Maximo AssetManagement installation program.

Note: This response file can also be used with the Maximo Asset Managementuninstallation program to uninstall Maximo Asset Management silently.

About this task

To install Maximo Asset Management silently, complete the following steps:

Procedure1. Make configuration choices by using the Maximo Asset Management

installation program, and record those choices in a response file:a. Start the Maximo Asset Management installation program from the product

image. Use the following command for 32–bit systems:install.exe -r <response file path and name>

For 64–bit systems, use the following command:install_win64.exe -r <response file path and name>

© Copyright IBM Corp. 2007, 2011 97

The Maximo Asset Management installation program executable files are inthe Maximo Asset Management directory of the Maximo Asset Management7.5 product image.Response files must have a file extension of .properties, for example,response.properties.You must include the full path when you specify the response file.

b. Proceed through the Maximo Asset Management installation program,making configuration choices.

c. Exit the Maximo Asset Management installation program after MaximoAsset Management is successfully installed.

There are several sample response files provided on the IBM Maximo AssetManagement 7.5 product image.

Table 5. Maximo Asset Management installation program sample silent response files

File Description

simple_response.properties This file contains a sample response file thatwould be used to install a simpledeployment of Maximo Asset Management.

custom_response_win.properties This file contains a sample response file thatwould be used to install a customdeployment of Maximo Asset Managementon Windows.

The files are in the Maximo Asset Management\samples directory of the productimage.If the response file is created by recording an actual installation, you must addan entry for LICENSE_ACCEPTED=true. If you are using a sample responsefile, you must change the entry from false to true. If a silent installation isstarted and this entry is not included in the response file then the installationends immediately. No messages or log file are created.If you plan to deploy Maximo Asset Management using middleware hosted onboth Windows and UNIX operating systems, your response file contains bothWindows and UNIX values. These values include directory paths andexecutable file names. In some cases, the response file is not generated becausethe user who starts the installation program does not have write access to thetarget directory. In this scenario, the installation program does not report anerror. The response file is not written to the target directory and the log file isnot produced in the ibm\smp\logs directory. To resolve this issue, ensure thatthe user who starts the installation program has write access to the targetdirectory before they run the installation program.

2. Open the response file in a text editor and change the INSTALLER_UI propertyto INSTALLER_UI=silent. Passwords are stored in clear text format. You mustedit the CONFIRM_PASSWORD fields contained in the response file to matchits corresponding password value used for each task. For example, ensure thatCONFIRM_PASSWORD matches RXA_PASSWORD in the following example:#Middleware Server Information#-----------------------------MIDDLEWARE_SERVER=myserver.mydomain.comRXA_USER_ID=rootRXA_PASSWORD=mypasswordCONFIRM_PASSWORD=mypassword

3. Copy the response file to the target system.4. Start the Maximo Asset Management installation program silently and identify

the response file to be used.

98 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

install.exe -f <response file path and name>

You must include the full path when you specify the response file and it mustbe on the C:\ drive of your system.

Results

The installation proceeds silently with the values that you provided in the responsefile.

Response files that include fields for Oracle configuration must be edited toremove extraneous backslashes. A response file that includes Oracle as adeployment option is generated with fields like the following excerpt:DB_INSTALL_DIR=C\:/oracle/product/10.2.0/db_1INSTANCE_LOCATION=C\:/oracle/product/10.2.0/db_1/dbsUSER_INSTALL_DIR=C\:/IBM/USER_SHORTCUTS=C\:/Documents and Settings/All Users/Start Menu/Programs/process automation engineMAXIMO_INSTALL_DIR=C\:/IBM/maximo

You must remove the backslash that is directly after the drive letter, so that yourresponse file looks like following excerpt:DB_INSTALL_DIR=C:/oracle/product/10.2.0/db_1INSTANCE_LOCATION=C:/oracle/product/10.2.0/db_1/dbsUSER_INSTALL_DIR=C:/IBM/USER_SHORTCUTS=C:/Documents and Settings/All Users/Start Menu/Programs/process automation engineMAXIMO_INSTALL_DIR=C:/IBM/maximo

If you attempt to install Maximo Asset Management silently and the installation UIis shown, check inside the response file to ensure that it contains this line:INSTALLER_UI=silent

Silent installation propertiesSilent installation properties are recorded in an installation response file. Silentinstallation response files are generated when the installation program is startedwith the parameters described in the silent installation procedure. Alternatively, asilent installation response file can be created and populated manually.

Common silent installation properties

The following properties are common to all deployments.

Table 6. Common silent installation response file properties

Category Property Definition

File header INSTALLER_UI=SILENT This property must be set so thefile can be used with the productinstallation program.

Packagedeployment set

INSTALL_SOME_PACKAGES=0 If only a subset of packages can beinstalled, set this value to 1. Thissetting allows the productinstallation program to continue.

LicenseAgreement

LICENSE_ACCEPTED=TRUE Set this value to true to accept thelicense agreement or false to rejectit.

Chapter 5. Silent installation 99

Table 6. Common silent installation response file properties (continued)

Category Property Definition

Installation folder USER_INSTALL_DIR=installation path Set an installation path. Forexample, for Windows,C:\\IBM\\SMP.

Installationdescription

INSTALLATION_DESCRIPTION Description of the installationlocation.

Deployment type SIMPLE=0 Installation is set to a type ofSIMPLE. Set to 0 to disable. Set to1 to enable. If SIMPLE is enabled,ADVANCED must be disabled.

ADVANCED=1 Installation is set to a type ofADVANCED, which is a Custominstallation. Set to 0 to disable. Setto 1 to enable. If ADVANCED isenabled, SIMPLE must be disabled.

MiddlewareServerInformation (onlyused for Simpleinstallations)

MIDDLEWARE_SERVER=host name Set the host name of the systemthat is hosting all middleware.

RXA_USER_ID=user name Set the user ID for accessing thesystem that is hosting allmiddleware.

RXA_PASSWORD=password Set a password for the user ID foraccessing the system that is hostingall middleware.

ImportMiddlewareinstallationprograminformation

MWI_IMPORT_DATA=0 Set this parameter to importconfiguration data from themiddleware installation program.

Set to 0 to disable. Set to 1 toenable.

MWI_HOSTNAME=host name Set the host name of the systemthat is hosting the middlewareinstallation program workspace.

MWI_USER_ID=user name Set a user ID used to access thesystem that is hosting themiddleware installation programworkspace. For example, root.

MWI_PASSWORD=passsword Set a password for the user IDused to access the system that ishosting the middleware installationprogram workspace.

MWI_LOCATION=path Set a path for the location of themiddleware installation programworkspace. For example, forWindows, C:\\ibm\\tivoli\\mwi\\workspace.

100 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 6. Common silent installation response file properties (continued)

Category Property Definition

SMTPConfiguration

SMTP_SERVER=host name Set the name of the system that ishosting the SMTP serverresponsible for distributingadministration messages to theMaximo Asset Managementadministrator.

ADMIN_EMAIL=email address Set the email address for theMaximo Asset Managementadministrator.

RunConfigurationStep

RUN_CONFIG_NO=0 Set the behavior of the runconfiguration step.

Set to 0 to disable (run theconfiguration step at installationtime). Set to 1 to enable (defer theconfiguration step).

DEPLOY_EAR_NO=0 Set the behavior of the EARdeployment step.

Set to 0 to disable (deploy the EARat installation time). Set to 1 toenable (defer deployment of theEAR).

DEFER_DB_UPDATE=0 Set the behavior of the databaseupdate step.

Set to 0 to disable (run updateDBat installation time). Set to 1 toenable (defer updateDB).

Shortcut Folder USER_SHORTCUTS=path Set a path for shortcuts. Forexample, for Windows,C:\\Documents andSettings\\Administrator\\Desktop\\process automationengine.

Installer version LAUNCH_NEW_INSTALLER=TRUE If a more recent version of theinstallation program was found inthe target installation directoryspecified. This circumstanceindicates that you are using anolder version of the installationprogram. In order to use thenewer version of the installationprogram, set this value to TRUE. Ifyou set this value to FALSE, theolder version of the installationprogram is used to perform theinstallation.

Users silent installation properties

The following properties are for users created by or identified to the installationprogram.

Chapter 5. Silent installation 101

Table 7. Users silent installation properties

Category Property Definition

User Information MAXADMIN_USER_NAME=user name Set a user name for the Maximoadministrator. For example,maxadmin.

MAXADMIN_PASSWORD=password Set a password for the Maximoadministrator. For example,maxadmin.

MAXREG_USER_NAME=user name Set a user name for the selfregistration user. This user isresponsible for the process bywhich users can create their ownaccounts. For example, maxreg.

MAXREG_PASSWORD=password Set a password for the selfregistration user. For example,maxreg.

MXINTADM_USER_NAME=user name Set a user name for the internaluser. For example, mxintadm.

MXINTADM_PASSWORD=password Set a password for the internaluser. For example, mxintadm.

Common database silent installation properties

The following properties contain common information about the database used forthe deployment.

Table 8. Common database silent installation response file properties

Category Property Definition

Database Type DB_TYPE_DB2=1 Set the database type to DB2. Setto 0 to disable. Set to 1 toenable. Only one Database Typecan be enabled.

DB_TYPE_ORACLE=0 Set the database type to Oracle. Setto 0 to disable. Set to 1 to enable.Only one Database Type can beenabled.

DB_TYPE_SQLSERVER=0 Set the database type to MicrosoftSQL Server. Set to 0 to disable. Setto 1 to enable. Only one DatabaseType can be enabled.

Database DB_HOST_NAME=host name Set the host name of the databaseserver.

DB_PORT=port Set the database port. Forexample, 50005.

DB_NAME=name Set a name for the database. Forexample, maxdb75.

DB2

DB_NAME=name Set a name for the database. Forexample, maxdb75.

Microsoft SQL Server

102 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 8. Common database silent installation response file properties (continued)

Category Property Definition

DB_INSTANCE=instance Set a name for the databaseinstance to use with the product.For example, ctginst1.

DB2

DB_INSTANCE=instance Set a name for the databaseinstance to use with the product.For example, ctginst1.

Oracle

DB_USER=user name Set the name of the user ID toaccess the database. For example,maximo.

DB_PASSWORD=password Set a password for the databaseuser ID. For example, maximo.

DatabaseConfigurationAutomation

AUTOMATE_DB=1 Configure the automaticconfiguration of the database bythe installation program. Set to 0 todisable. Set to 1 to enable. EitherAUTOMATE_DB orDO_NOT_AUTOMATE_DB can beenabled at one time.

DO_NOT_AUTOMATE_DB=0 Configure the automaticconfiguration of the database bythe installation program. Set to 0 todisable. Set to 1 to enable. EitherAUTOMATE_DB orDO_NOT_AUTOMATE_DB can beenabled at one time.

Remote AccessAuthorization

DB_RXA_USER=user name Set the name of the user ID toaccess the remote database serversystem. For example, root.

Only required if AUTOMATE_DBwas enabled.

DB2

Remote AccessAuthorization

DB_RXA_USER=user name Set the name of the user ID toaccess the remote database serversystem. For example, root.

Only required if AUTOMATE_DBwas enabled.

Oracle

DB_RXA_PASSWORD=password Set a password for the remoteaccess user ID.

Only required if AUTOMATE_DBwas enabled.

DB2

Chapter 5. Silent installation 103

Table 8. Common database silent installation response file properties (continued)

Category Property Definition

DB_RXA_PASSWORD=password Set a password for the remoteaccess user ID.

Only required if AUTOMATE_DBwas enabled.

Oracle

DatabaseAdministration

DB_INSTALL_DIR=path Enter the database serverinstallation path. For example,

UNIX /opt/IBM/db2/V9.7

/opt/oracle/product/11.2.0/db_1

WindowsC:\ProgramFiles\oracle\product\11.2.0\db_1

Only required if AUTOMATE_DBwas enabled.

DB2

DatabaseAdministration

DB_INSTALL_DIR=path Enter the database serverinstallation path. For example,

UNIX /opt/IBM/db2/V9.7

/opt/oracle/product/11.2.0/db_1

WindowsC:\ProgramFiles\oracle\product\11.2.0\db_1

Only required if AUTOMATE_DBwas enabled.

Oracle

DB_ADMIN_USER=user name Set the name of the databaseadministrator. For example:db2admin.

DB2

DB_ADMIN_USER=user name Set the name of the databaseadministrator. For example, Sys.

Oracle

DB_ADMIN_PASSWORD=password Set a password for the remoteaccess database administrator.

DB2

DB_ADMIN_PASSWORD=password Set a password for the remoteaccess database administrator.

Oracle

104 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 8. Common database silent installation response file properties (continued)

Category Property Definition

Database TableSpace

DB_TABLE_SPACE_NAME=table space name Set the name of the database tablespace. For example, MAXDATA.

DB2

Database TableSpace

DB_TABLE_SPACE_NAME=table space name Set the name of the database tablespace. For example, MAXDATA.

Oracle

DB_TABLE_SPACE_SIZE=table space size in Mb Set the size of the database tablespace, in Mb. For example, 5000. y.

Only required if AUTOMATE_DBwas enabled.

DB_TEMP_TABLE_SPACE_NAME=temporary table spacename

Set the name of the databasetemporary table space. Forexample, MAXTEMP.

DB2

DB_TEMP_TABLE_SPACE_NAME=temporary table spacename

Set the name of the databasetemporary table space. Forexample, MAXTEMP.

Oracle

DB_TEMP_TABLE_SPACE_SIZE=temporary table space size inMb

Set the size of the temporarydatabase table space, in Mb. Forexample, 1000.

Only required if AUTOMATE_DBwas enabled.

DB2

DB_TEMP_TABLE_SPACE_SIZE=temporary table space size inMb

Set the size of the temporarydatabase table space, in Mb. Forexample, 1000.

Only required if AUTOMATE_DBwas enabled.

Oracle

DB_INDEX_TABLE_SPACE_NAME=index table space name Set the name of the database indextable space. For example, MAXDATA.

DB2

DB_INDEX_TABLE_SPACE_NAME=index table space name Set the name of the database indextable space. For example, MAXDATA.

Oracle

DB_INDEX_TABLE_SPACE_SIZE=index table space size in Mb Set the size of the index databasetable space, in Mb. For example,5000.

Only required if AUTOMATE_DBwas enabled.

DB2

Chapter 5. Silent installation 105

Table 8. Common database silent installation response file properties (continued)

Category Property Definition

DB_INDEX_TABLE_SPACE_SIZE=index table space size in Mb Set the size of the index databasetable space, in Mb. For example,5000.

Only required if AUTOMATE_DBwas enabled.

Oracle only.

DB2 silent installation properties

The following properties contain information about an DB2 database used for thedeployment. These properties are only necessary if you are using a DB2 databasefor deployment.

Table 9. DB2 silent installation response file properties

Category Property Definition

DB2 DB_SCHEMA=schema Designate the databaseschema. For example, maximo.

DB_WIN_SERVICE_USER=user name Set the name of the databaseservice owner in Windows. Forexample, ctginst1.

Only required if AUTOMATE_DBwas enabled.

DB_WIN_SERVICE_PASSWORD=password Set a password for the databaseservice owner in Windows.

Only required if AUTOMATE_DBwas enabled.

DB2_VARCHAR=0 Configure varchar or vargraphic inthe database by the installationprogram. Set to 0 to use vargraphicformatting. Set to 1 to use varchar.

varchar formatting supportsEnglish only.

Oracle silent installation properties

The following properties contain information about an Oracle database used forthe deployment. These properties are only necessary if you are using an Oracledatabase for deployment.

Table 10. Oracle silent installation response file properties

Category Property Definition

Oracle ORACLE_OWNER_ID=user name Set the Oracle software owner userID. For example, oracle.

Only required if AUTOMATE_DBwas enabled.

106 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 10. Oracle silent installation response file properties (continued)

Category Property Definition

ORACLE_OWNER_PASSWORD=password Set the Oracle software ownerpassword.

Only required if AUTOMATE_DBwas enabled.

INSTANCE_LOCATION=instance location Set the Oracle database instancelocation. For example,/opt/oracle/product/11.2.0/db_1.

Only required if AUTOMATE_DBwas enabled.

Microsoft SQL Server silent installation properties

The following properties contain information about a Microsoft SQL Serverdatabase used for the deployment. These properties are only necessary if you areusing a Microsoft SQL Server database for deployment.

Table 11. Microsoft SQL Server silent installation response file properties

Category Property Definition

Microsoft SQLServer

SQL_DATA_FILE_NAME=data file name Set the file name for the MicrosoftSQL Server data source. Forexample, maxdb75_dat.

Only required if AUTOMATE_DBwas enabled.

DB_TABLE_SPACE_SIZE=data source size in Mb Set the size of the Microsoft SQLServer data source, in Mb. Forexample, 1000.

Only required if AUTOMATE_DBwas enabled.

SQL_ADMIN=user name Set the name of the Microsoft SQLServer administrator. For example,sa.

Only required if AUTOMATE_DBwas enabled.

SQL_ADMIN_PW=password Set a password for the MicrosoftSQL Server administrator.

Only required if AUTOMATE_DBwas enabled.

SQL_LOG_FILE_NAME Microsoft SQL Server logname. For example, maxdb75_log

Only required if AUTOMATE_DBwas enabled.

Common application server silent installation properties

The following properties contain common information about the application serverused for the deployment.

Chapter 5. Silent installation 107

Table 12. Common application server silent installation response file properties

Category Property Definition

APPLICATION_SERVER_TYPE_BEA=0 Configure the application serverused for the Maximo AssetManagement deployment. Set to 0to disable. Set to 1 to enable.

Only one Application Server Typecan be enabled.

Language silent installation properties

The following properties are used to configure languages.

Table 13. Language silent installation response file properties

Category Property Definition

BaseLanguage

BASE_ARABIC=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_BRAZILIAN_PORTUGUESE=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_CROATIAN=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

108 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 13. Language silent installation response file properties (continued)

Category Property Definition

BASE_CZECH=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_DANISH=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_DUTCH=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_ENGLISH=1 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_FINNISH=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

Chapter 5. Silent installation 109

Table 13. Language silent installation response file properties (continued)

Category Property Definition

BASE_FRENCH=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_GERMAN=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_HEBREW=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_HUNGARIAN=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_ITALIAN=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

110 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 13. Language silent installation response file properties (continued)

Category Property Definition

BASE_JAPANESE=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_KOREAN=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_NORWEGIAN=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_POLISH=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_RUSSIAN=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

Chapter 5. Silent installation 111

Table 13. Language silent installation response file properties (continued)

Category Property Definition

BASE_SIMPLIFIED_CHINESE=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_SLOVAK=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_SLOVENIAN=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_SPANISH=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_SWEDISH=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

112 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 13. Language silent installation response file properties (continued)

Category Property Definition

BASE_TRADITIONAL_CHINESE=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

BASE_TURKISH=0 Set this languageas the baselanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

AdditionalLanguages

ADD_ARABIC=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_BRAZILIAN_PORTUGUESE=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_CROATIAN=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

Chapter 5. Silent installation 113

Table 13. Language silent installation response file properties (continued)

Category Property Definition

ADD_CZECH=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_DANISH=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_DUTCH=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_ENGLISH=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_FINNISH=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

114 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 13. Language silent installation response file properties (continued)

Category Property Definition

ADD_FRENCH=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_GERMAN=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_HEBREW=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_HUNGARIAN=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_ITALIAN=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

Chapter 5. Silent installation 115

Table 13. Language silent installation response file properties (continued)

Category Property Definition

ADD_JAPANESE=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_KOREAN=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_NORWEGIAN=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_POLISH=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_RUSSIAN=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

116 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 13. Language silent installation response file properties (continued)

Category Property Definition

ADD_SIMPLIFIED_CHINESE=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_SLOVAK=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_SLOVENIAN=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_SPANISH=1 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_SPANISH=1 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

Chapter 5. Silent installation 117

Table 13. Language silent installation response file properties (continued)

Category Property Definition

ADD_TRADITIONAL_CHINESE=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

ADD_TURKISH=0 Set this languageas an additionallanguage used bythe MaximoAssetManagementapplication.

Set to 0 todisable. Set to 1to enable.

118 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Chapter 6. Programmatically verifying that the installation wassuccessful

After you have exited the Maximo Asset Management installation program withoutencountering any errors, you can verify that the installation completed successfully.The installation is programmatically verified through the use of post installationvalidation utilities.

Before you begin

The JAVA_HOME environment variable must be set on the system before you canuse the verification utilities.

About this task

During installation, the Maximo Asset Management installation program performsa simple health check. This health check consists of logging in to the application toverify availability. This health check might not be sufficient to verify a successfulinstallation in all deployment scenarios. For example, if, during installation, youselect the option to deploy the application EAR file at a later date, this healthcheck cannot verify the installation. This simple health check is also insufficient forverifying an upgrade.

Post installation validation utilities are available after the product has beendeployed.

The middlewareValidate utility is used to verify the middleware.

The installValidation utility is used to validate the product installation. Thesecommand-line utilities are used to verify the installation and configuration of theproduct in a more complete manner. These utilities can also be used to verify anexisting deployment after changes in the environment, such as changes to hostnames, user IDs, and passwords.

Results of the installValidation utility are logged ininstallValidationTrace00.log. This log is found in the \ibm\smp\logs directoryon the administrative workstation.

Procedure1. Log in to the server using the user ID that was used to run the installation

program. If you intend to use the installValidation utility, log in to theadministrative workstation. If you intend to use the middlewareValidateutility, log in to the server hosting the middleware.

2. Ensure the JAVA_HOME environment variable is set properly to the location ofa JRE 1.6 installation.

3. To verify product installation, from the administrative workstation, changedirectory to \ibm\smp\scripts and run the installValidation.bat command.For either command, use the parameters described below: To verifymiddleware installation, from the middleware image, update themiddleware.properties file with the installation parameter values formiddleware components to be verified, change directory to \HealthCheck andrun the middlewareValidate.[sh|bat] command.

© Copyright IBM Corp. 2007, 2011 119

Table 14. Verification utilities parameters

Program Syntax parameters Input

installValidation.bat -action Use -action validate to start thevalidation of the product installation.

The -action parameter is the onlymandatory parameter when using theinstallValidation utility.

-trace Verification progress information iswritten to the screen during theverification process. You can modifythe output using the -tracingparameter.

v minimal

Progress information is limited toerror information.

v normal

Information includes individualtest progress, individual testresults, and overall progress of theentire verification process.

This is the default mode of tracing.

v verbose

In addition to providing normalprogress information, verbosetracing includes the test classname, test method name, andcorrective action information.

-confirm You are prompted before each test isstarted. You must confirm each testto be performed. There is no inputfor this parameter.

-component You can provide a comma-delimitedlist of directories containing the testobjects to limit testing to a specificset of tests.

These test objects must be located inthe \ibm\smp\HealthValidation\directory. For the product installationprogram, only the CTGIN folder isprovided.

-dbuser Provide the user ID used to accessthe database.

-dbpwd Provide the password of the user IDused to access the database.

-maxuser Provide the Maximo AssetManagement administrator userID. For example, maxadmin.

-maxpwd Provide the password for theMaximo Asset Managementadministrator user ID.

120 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 14. Verification utilities parameters (continued)

Program Syntax parameters Input

middlewareValidate.[sh|bat] -middlewareproperties Use

-middlewareproperties file

where file is the location of themiddleware.properties file. Bydefault, this file is found on themiddleware installation media in the\HealthCheck directory.

The middleware.properties containsthe middleware installationproperties, such as installationlocations and ports. User names andpasswords are not stored in thisplain-text file. Some of the propertiescommon to all platforms have beendefined default values, butplatform-specific properties likeinstallation locations need to beupdated in this file before startingthe middlewareValidate utility.

The -middlewarepropertiesparameter is the only mandatoryparameter when using themiddlewareValidate utility.

-trace Verification progress information iswritten to the screen during theverification process. You can modifythe output using the -traceparameter.

v minimal

Progress information is limited toerror information.

v normal

Information includes individualtest progress, individual testresults, and overall progress of theentire verification process.

v verbose

In addition to providing normalprogress information, verbosetracing includes the test classname, test method name, andcorrective action information.

If this option is not provided, bydefault, no output displayed.

Chapter 6. Programmatically verifying that the installation was successful 121

Table 14. Verification utilities parameters (continued)

Program Syntax parameters Input

-component Specify the middleware components:

v DBSERVER - verify installation ofthe IBM DB2 server.

v DIRSERVER - verify installation ofthe optional IBM Tivoli DirectoryServer.

v LDAPSERVER - verifyconfiguration of the optional IBMTivoli Directory Server.

One or more of these keywords canbe specified as comma separated list.If this argument is skipped, the toolassumes all the components areselected to verify.

-bindUser Provide the bind user.

Required to verify LDAPSERVER.The bind user credentials, bindDistinguished Name and bindpassword are required to be specifiedwith the -bindUser and -bindPassoptions.

-bindPass Provide the password for the binduser.

Required to verify LDAPSERVER.The bind user credentials, bindDistinguished Name and bindpassword are required to be specifiedwith the -bindUser and -bindPassoptions.

For example,installValidation.bat -action validate

Results

The installValidation.bat validation utility results are logged inctginstallvalidationtrace00.log. This log is found in the \ibm\smp\logsdirectory on the administrative workstation.

The middlewareValidate.[sh|bat] validation utility results are logged inCTGInstallValidationTrace.log. This log is found in the HealthCheck directory.

122 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Chapter 7. Verifying the installation manually

After you exit the Maximo Asset Management installation program without errors,you can further verify that the installation completed successfully. The installationis manually verified by locating key artifacts and performing a few simple tasks.

Before you begin

The product installation program performs installation verification, or a healthcheck, by logging on to the product before exiting the installation. The productinstallation program returns a success message if all installation steps, includingthe product log in task, are successful. If the health check task is unsuccessful, aHealthCheckFailed error is thrown for the getUrlContentString function. Thiserror is in the install_home\logs\CTGInstallTraceXX.log file, where XX is atwo-digit number such as 00.

About this task

To further verify that the Maximo Asset Management installation was completedsuccessfully, perform the following verification procedures:

Procedure1. Examine the CTGInstallTrace00.log file for success messages.

The following success messages are found in the CTGInstallTrace00.log fileand can be used to verify which phases of the installation were successful:v CTGIN2114I: The database was created successfullyv CTGIN2135I: Tablespace maxdata created successfullyv CTGIN2135I: Tablespace maxtemp created successfullyv CTGIN2079I: process automation engine database configuration completed

successfully (This message indicates that maxinst finished successfully.)v CTGIN2253I: buildmaximoear.cmd completed successfullyv CTGIN2253I: buildhelpear.cmd completed successfullyv CTGIN2208I: runConfigurationStep completed successfullyv CTGIN2370I: The installation finished successfullySearch the CTGInstallTrace00.log file for the following message, whichindicates that the maxinst task completed successfully:CTGIN2079I, maxinst.*completed

2. Compare the packages chosen for installation with the packages that wereinstalled. The Package Summary panel of the Maximo Asset Managementinstallation program provides a summary of all the packages to be installed.You can compare the contents of that panel with a listing of what was installedon the system. Use the solutioninstaller command to list installed packages:install_home\bin\setupPSIenv.batinstall_home\bin\solutionInstaller.bat -action showInstalled -type all

The resulting list matches the packages listed in the Package Summary panel.3. Log in to the product and verify that applications are present. Being able to log

in to the product manually is a good indicator that the installation wassuccessful. Once you have logged in, navigate through the GoTo menu to

© Copyright IBM Corp. 2007, 2011 123

verify that it has been populated with the applications you expect. If youexperience access problems with the product, clear the cache of your browserand try again.

124 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Chapter 8. Post installation tasks

There are several post installation tasks required in order to complete the MaximoAsset Management deployment.

Accessing product documentationAccessing the Maximo Asset Management information center documentation andproduct online help.

If you manually configured the application server after you ran the productinstallation program, you must set the property for the product documentationserver. For more information, see https://www.ibm.com/support/docview.wss?uid=swg21508594.

Initial data configuration

After you have successfully installed and configured Maximo Asset Managementcomponents, there are several data configuration tasks you must complete beforeusing Maximo Asset Management.

Signing in using a default user IDUser management can be managed through the Maximo application or though thedirectory server you have configured to use with Maximo Asset Management

Before you begin

When first installed, Maximo Asset Management contains the following defaultuser IDs:

Table 15. Maximo Asset Management users

User

maxadmin

mxintadm

maxreg

Important: Before you begin this procedure, if you are using a directory server aspart of your deployment, ensure that these users are created in your LDAPrepository.

Note: User names and passwords are case-sensitive. The defaultuser names arelowercase.

About this task

To sign in, complete the following steps:

Procedure1. Open a browser window.

© Copyright IBM Corp. 2007, 2011 125

2. Navigate to the Maximo Asset Management login URL. For example:http://host name:port/maximo.

3. Enter the user name maxadmin (lower case).4. Enter the password you entered during the installation, and click Enter. The

default start center for maxadmin is displayed.

Configuring SMTPInstallation panels provide an opportunity to configure an SMTP server to send anadministrator, or other users, e-mail notifications of system events. If you skipthese panels when you install Maximo Asset Management, you can use theMaximo Asset Management interface to configure SMTP parameters.

Before you begin

This task must be completed before you apply changes to the database.

About this task

To configure SMTP for Maximo Asset Management, complete the following steps.

Procedure1. Log in to the console as maxadmin.2. Navigate to Go To > System Configuration > Platform Configuration >

System Properties

3. Using the Filter feature, search for the mail.smtp.host Property Name.4. Expand the mail.smtp.host property and set the Global Value attribute to

your SMTP host.5. Select the mail.smtp.host record check box.6. Click the Live Refresh icon in the toolbar.7. From the Live Refresh dialog, click OK.8. Using the Filter feature, search for the mxe.adminEmail Property Name.9. Expand the mxe.adminEmail property and set the Global Value attribute to

your e-mail address.10. Select the mxe.adminEmail record check box.11. Click the Live Refresh icon in the toolbar.12. From the Live Refresh dialog, click OK.

“Applying changes to the database” on page 128When you create a general ledger account component, it must be applied to theMaximo database.

Create currency codesYou must define a currency code for an organization.

About this task

To define a currency code for an organization, complete the following steps.

Procedure1. Open the Currency Code application for Users by selecting Goto > Financial >

Currency Code

2. Click New Row.

126 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

3. Enter a currency name. For example, USD.4. Click the Save icon.

Create item and company setsYou must define item and company sets for an organization.

About this task

To define item and company sets for an organization, complete the following steps:

Procedure1. Open the Sets application for Users by selecting Goto > Administration > Sets.2. Click New Row.3. Enter an item name. For example, IT Items.4. Enter ITEM in the Type field.5. Click New Row.6. Enter a company set name. For example, IT Comps.7. Enter COMPANY in the Type field.8. Click the Save icon.

Create an organizationYou must define at least one organization for Maximo Asset Management.

About this task

To define an organization, complete the following steps.

Procedure1. Open the Organizations application by selecting Goto > Administration >

Organizations.2. Click the New Organization icon in the toolbar.3. Enter an organization name in the Organization field. For example, ENGLENA.4. Enter the base currency you defined in the Base Currency 1 field. For

example, USD.5. Enter the item set you defined in the Item Set field. For example, IT Items.6. Enter the company set you defined in the Company Set field. For example,

IT Comps.7. Enter the default item status of PENDING in the Default Item Status field.8. Click theSites tab.9. Click New Row.

10. Enter a site name in the Site field. For example, B901.11. Click the Save icon.

Create a general ledger account componentYou must create a general ledger account component for Maximo AssetManagement.

Chapter 8. Post installation tasks 127

About this task

To create a general ledger account component, complete the following steps.

Procedure1. Open the Database Configuration application by selecting Goto > System

Configuration > Platform Configuration > Database Configuration.2. Choose the GL Account Configuration action.3. Click New Row.4. Enter a component name in the Component field. For example, MYCOMPONENT.5. Enter a numeric length for the component. For example, 5.6. Enter a type for the component. For example, ALN.7. Click OK.

Applying changes to the databaseWhen you create a general ledger account component, it must be applied to theMaximo database.

About this task

To apply configuration changes to the Maximo database, complete the followingsteps.

Procedure1. Log in to the Maximo console as maxadmin2. Select Go To > System Configuration > Platform Configuration > Database

Configuration. Every object that must be updated in the Maximo database hasa status of To Be Added.

3. Choose the Manage Admin Mode action.4. Click Turn Admin Mode ON, and then click OK when prompted. This task

takes several minutes to complete. You can use the Refresh Status button toview progress.

5. After Admin Mode has been enabled, select Apply Configuration Changes, toapply the changes to the Maximo database. To Be Changed must not appear inthe status column for objects listed.

6. Turn Admin Mode OFF.a. Select Go To > System Configuration > Platform Configuration >

Database Configuration.b. Choose the Manage Admin Mode action.c. Click Turn Admin Mode OFF, and then click OK when prompted. Failing

to turn off Admin Mode within the application causes cron tasks to fail.

Create a general ledger accountYou must create a general ledger account for Maximo Asset Management.

About this task

To create a general ledger account, complete the following steps:

128 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Procedure1. Open the Chart of Accounts application by selecting Goto > Financial > Chart

of Accounts.2. Click the name of your organization to select it. For example, click

ENGLENA.3. Choose the GL Component Maintenance action.4. Click New Row.5. Add a GL Component value and a description and then click OK. For

example, 1234.6. Click New Row.7. Select your General Ledger Account.8. Click Save.9. Open the Organizations application by selecting Goto > Administration >

Organizations\.10. Click the organization name you created. For example, ENGLENA.11. From the Clearing Account field, select the General Ledger Account you just

created.12. Select Active.13. Click the Save icon.

Update General Ledger Component Type AuthorizationYou must update the general ledger component type authorization for MaximoAsset Management.

About this task

To authorize a Security Group to change a general ledge component type, completethe following steps:

Procedure1. Open the Security Groups application by selecting Go To > Security > Security

Groups.2. Select the Group that provides authorization (for example, PMSCOA).3. Click the GL Components tab.4. Click the Authorized check box for each GL Component.5. Click Save

Update Company-Related AccountsYou must update the company-related accounts for Maximo Asset Management.

About this task

To update the company-related accounts, complete the following steps:

Procedure1. Open the Chart of Accounts application by selecting Go To > Financials >

Chart of Accounts.2. From the action menu, select Company-Related Accounts.3. On the dialog click New Row.

Chapter 8. Post installation tasks 129

4. Select company type 'C'.5. Set the RBNI Account, AP Suspense Account, and AP Control Account to the

components you created.6. Click OK.7. From the action menu, select Update Database.8. Click OK.

Create default insert siteYou must create a default insert site for Maximo Asset Management.

About this task

To create a default insert site, complete the following steps.

If you encounter an error message that indicates that the record is being updatedby another user, log out as maxadmin and then log back in.

Procedure1. Open the Users application by selecting Goto > Security > Users.2. Search for maxadmin and then select it to open the record for maxadmin.3. Enter the site you created earlier in the Default Insert Site field. For example,

B901.4. Enter the site you created earlier in the Storeroom Site for Self-Service

Requisitions field. For example, B901.5. Click Save.

Create worktypesYou must create worktypes for Maximo Asset Management.

About this task

To create a worktype, complete the following steps.

Procedure1. Open the Organizations application by selecting Goto > Administration >

Organizations.2. Search for the organization you created. For example, ENGLENA.3. Click the name of the organization to open the record for that organization.4. Select Work Order Options > Work Type from the Select Action menu.5. Click New Row.6. Select a Work Order class.7. Set the Work Type as AR.8. Set Start Status as INPRG.9. Set Complete Status as COMP.

10. Click New Row.11. Select a Work Order class.12. Set the Work Type as UR.13. Set Start Status as INPRG.14. Set Complete Status as COMP.

130 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

15. Click New Row.16. Select CHANGE as the Work Order class.17. Set the Work Type to a value that describes a type of change that is created.

For example, you might set a Work Type as MAJOR to designate a majorchange. You can define as many Work Types for the CHANGE Work Orderclass as you would like. For example, you might define the MINOR WorkType for a minor change, and a SIG Work Type for a significant change.

18. Set Start Status as INPRG.19. Set Complete Status as COMP.20. Click OK.21. Click Save.22. Restart the MXServer application server.

Signing out and signing inWhen you change a security group that includes your user ID, you must sign outand sign in to see the changes. For example, even though you have granted agroup permission to create start center templates, the actions are not visible untilyou sign in again.

Procedure1. Sign out.2. Sign in as the same user.

Synchronizing users and groupsWhen you select application server security, the scheduled synchronization of usersand groups that occurs between LDAP repositories and Maximo AssetManagement is governed by the federated repositories.

Before you begin

View the cron task configuration information in the Administering section of theinformation center.

About this task

LDAP repositories are synchronized with Oracle WebLogic Server using the LDAPcron task.

To configure the synchronization schedule between LDAP repositories and MaximoAsset Management, complete the following steps:

Procedure1. Open a web browser and point to http://host name:port/maximo.2. Log in to Maximo Asset Management using the maxadmin user ID.3. From the Maximo Asset Management interface, navigate to Go To > System

Configuration > Platform Configuration > Cron Task Setup.4. Search for the appropriate cron task in the Cron Task field and configure it.5. Set the task to active.

Chapter 8. Post installation tasks 131

What to do next

By default, the cron task performs its task every 5 minutes. Change the Schedulefield of the cron task if you want to change the interval.

Create a maxdemo database after installationYou can create a maxdemo database and additional databases after you installMaximo Asset Management, and you can populate the database with sample data.You use the maxinst program to create additional databases.

Before you begin

The maxinst program does not provide default values for table space parameters.You must specify the data and index table space names to ensure that yourinstallation runs smoothly.

About this task

If you created a database either automatically or manually during the installation,you can use maxinst to optionally create a maxdemo database in that databaseinstance. If the maxinst program fails, you must recreate the Maximo databaseschema before running the maxinst program again.

Procedure1. Open a command window and change directory to C:IBM\SMP\Maximo\tools\

maximo.2. You can create an additional database in one of the following ways:

v To create an empty Maximo database, run the following command:maxinst -imaximo

v To create a maxdemo database, run the following command:maxinst -stablespacename -ttablespacename

For example, type maxinst -sMAXIMO -tMAXIMO.

The system reads the maximo.properties file for database connectivityinformation. The maximo.properties file is in the C:IBM\SMP\Maximo\Applications\Maximo\Properties directory. The system connects to thedatabase through the JDBC connection and creates a maxdemo database.

3. You can populate the additional database by running commands with specificparameter values. The following table lists the maxinst database parameters:

Parameter Description

-a Database alias. If not specified, the aliasmxe.db.url.property is used.

-d Log file directory. If you are using the -lparameter, the log file is sent to the specifieddirectory. Otherwise, the log file is sent tothe log directory, for exampleC:\IBM\SMP\Maximo\tools\maximo\lo.

-e Runs the SQL. This parameter is requiredand already present in the maxinst.bat file.

-f File name for the properties file. If notspecified, maximo.properties is used.

132 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Parameter Description

-i File name of the input file (without path orextension). If not specified, the default filename Unlcvt is used.

-k Directory of the properties file.

-l Creates a detailed log file. This parameter isalready present in the maxinst.bat file.

-o If you are using the -l parameter, the -oparameter specifies the file name for the logfile.

-p Password for the database connection. If notspecified, the mxe.db.password property orMAXIMO is used. If MAXIMO is used, it must beentered in uppercase letters.

-s Required value: Table space for indexstorage.

-t Required value: Table space for tablestorage.

-u User name for database connection. If notspecified, the mxe.db.user property orMAXIMO is used. If MAXIMO is used, it must beentered in uppercase letters.

-x Required value for UNIX: Fixes the doclinkfile separators in UNIX environments. Note:If a UNIX environment is deployed withoutusing this parameter, the attacheddocuments do not function properly.

4. Add the installation-related properties to the database from theinstall.properties file. The install.properties file is in the C:\IBM\SMP\ETCfolder. You can add these properties to the database from the System Propertiesapplication.

Understanding and configuring securityYou must configure security to ensure that only authorized users can log on toMaximo Asset Management. You must also ensure that the appropriate users haveaccess to their applications and configuration items.

The Security information contained in the Maximo Asset Management informationcenter provides an overview of the following information:v How security is implemented.v The steps you perform to configure security.

Chapter 8. Post installation tasks 133

134 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Chapter 9. Uninstalling the product

Uninstalling Maximo Asset Management 7.5 is dependant upon how it wasdeployed.

The procedures and instructions provided here are based upon a scenario in whichthe Maximo Asset Management installation program has experienced an error orfailure.

Maximo Asset Management uninstallation is a comprehensive procedure and doesnot support partial removal of individual components or process managers,including process managers deployed by other products. Process managers ofpreviously deployed products are also removed when you uninstall Maximo AssetManagement.

The Maximo Asset Management uninstallation program can only be run once. Ifthere are errors, messages are generated that indicate conditions that you mustresolve manually before attempting a reinstall. Resolution includes manuallyremoving files from the administrative workstation.

Maximo Asset Management can only be uninstalled using the Maximo AssetManagement uninstallation program as directed. Do not use other methods toattempt to uninstall Maximo Asset Management, such as using the Add/RemovePrograms panel.

The uninstall procedure you follow depends on the type of Maximo AssetManagement deployment you are uninstalling. For uninstallation purposes,Maximo Asset Management deployments falls into one of the following categories:

Fully-automated configurationIn this scenario, you selected the option to allow the Maximo AssetManagement installation program to automatically configure middlewareduring deployment.

Manual configurationIn this scenario, you selected the option to manually configure middleware.You did not allow the Maximo Asset Management installation program toautomatically configure middleware during deployment.

After the Maximo Asset Management uninstall process is complete, you canreinstall Maximo Asset Management by restarting the Maximo Asset Managementinstallation program.

“Uninstalling an automatically configured deployment”Uninstalling a Maximo Asset Management deployment that was deployedusing the automatic middleware configuration options is an automated process.“Uninstalling a manually configured deployment” on page 137Uninstalling a Maximo Asset Management deployment that was deployed withmiddleware that you configured manually includes additional manual tasks.

Uninstalling an automatically configured deploymentUninstalling a Maximo Asset Management deployment that was deployed usingthe automatic middleware configuration options is an automated process.

© Copyright IBM Corp. 2007, 2011 135

Deployments consisting of automatic middleware configuration can be uninstalledusing automated methods.

Running the product uninstallation program for automaticallyconfigured middleware

Running the Maximo Asset Management uninstallation program reverts theadministrative system and middleware servers back to their previous state.

Before you begin

Ensure that all applicable services are running and all middleware servers areaccessible.

The Maximo Asset Management uninstallation program must be able to access thedatabase used with Maximo Asset Management to fetch installation properties andconfiguration data. If the uninstallation program cannot access an unavailable,corrupted, or otherwise inaccessible database, it removes files from theadministrative workstation. It then informs you that some manual recovery mightbe required before another Maximo Asset Management installation can besuccessful.

The uninstallation program uses values entered during the initial installationduring uninstallation. If credentials used to access the database and J2EE server arestill valid, you are not prompted to enter them again. If the uninstallation programis unable to validate these credentials you are prompted to supply the updatedinformation. The uninstallation program would not be able to validate credentialsif you updated passwords since the original installation.

Procedure1. To run the Maximo Asset Management uninstallation program, from the

administrative workstation, open a command prompt and issue the followingcommand:v Windows

install_home\_uninstall\uninstall.bat

2. From the application server information panel, enter the following informationand then click Next.

Remote user IDEnter a user ID in order to access the system hosting the applicationserver. The remote user ID must be able to access the server using theremote access protocol enabled on that system.

Remote passwordEnter a password for the remote user ID.

User IDEnter the password for the application server administrator.

PasswordEnter the password for the application server administrator user ID.

3. From the database administration panel, enter the information requested, andthen click Next. For DB2, enter the following information:

Remote user IDEnter a user ID in order to access the system that is hosting the

136 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

database. The remote user ID must be able to access the server usingthe remote access protocol enabled on that system.

Remote passwordEnter a password for the remote user ID.

Instance administrator user IDEnter the database instance administrator user ID that you enteredduring the installation.

Instance administrator passwordEnter the password for the database instance administrator user ID.

For Oracle, supply credentials for the Administrator user ID and the Oraclesoftware owner ID. For Microsoft SQL Server, supply the Microsoft SQL Serveradministrator user ID and password.

4. Review the components that are listed in the uninstallation summary panel,and then click Uninstall.

5. After the uninstallation process completes, specify whether you want to restartthe computer now or later, and click Done to exit the program.

6. Remove the Maximo Asset Management installation directory, for example,c:\ibm\smp. You must manually remove this directory before you proceed tothe reinstallation process.

Uninstalling a manually configured deploymentUninstalling a Maximo Asset Management deployment that was deployed withmiddleware that you configured manually includes additional manual tasks.

Uninstalling a manually configured Maximo Asset Management deploymentconsists of two tasks:v Running the Maximo Asset Management uninstallation programv Manually dropping and recreating the database you intend to use with the

reinstall process

Running the product uninstall program for manuallyconfigured middleware

Running the Maximo Asset Management uninstall program reverts theadministrative system and middleware servers back to a state where you can rerunthe Maximo Asset Management installation program.

Before you begin

Ensure that all applicable services are running and all middleware servers areaccessible.

The Maximo Asset Management uninstall program must be able to access thedatabase used with Maximo Asset Management to fetch installation properties andconfiguration data. If the uninstall program cannot access an unavailable,corrupted, or otherwise inaccessible database, it removes files from theadministrative workstation. It then informs you that some manual recovery mightbe required before another Maximo Asset Management installation can besuccessful.

Chapter 9. Uninstalling the product 137

The uninstall program uses values entered during the initial installation duringuninstall. If credentials used to access the database and J2EE server are still valid,you are not prompted to enter them again. If the uninstall program is unable tovalidate these credentials you are prompted to supply the updated information.The uninstall program would not be able to validate credentials if you updatedpasswords since the original installation.

Procedure1. To run the Maximo Asset Management uninstall program, from the

administrative workstation, open a command prompt and issue the followingcommand:

Windowsinstall_home\_uninstall\uninstall.bat

2. From the Introduction panel, read the introductory information and then clickNext.

3. From the application server information panel, enter the following informationand then click Next.

User IDEnter the password for the application server administrator.

PasswordEnter the password for the application server administrator user ID.

4. Review the components that are listed in the uninstall summary panel, andthen click Uninstall.

5. After the uninstall process has completed, click Done to exit the program.6. Remove the Maximo Asset Management installation directory, for example,

c:\ibm\smp. You must manually remove this directory before you proceed tothe reinstallation process.

What to do next

You can now proceed with recovery of your manually configured database.

Database configuration recoveryDatabase objects created before running the Maximo Asset Managementinstallation program must be deleted after a failed installation before the MaximoAsset Management installation program is run again.

Before rerunning the Maximo Asset Management installation program, you mustdrop the Maximo Asset Management database and recreate it.

Note: Alternatively, if you want to preserve the instance, you can examine thedatabase for objects (tables, views, and procedures, for example) that were createdby the maxadmin user. You can then drop those objects individually.

Restoring the DB2 database serverIn order to rerun the Maximo Asset Management installation program, you mustfirst restore the DB2 database server to the same state as before Maximo AssetManagement was installed.

138 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

About this task

To restore the DB2 database server to its previous state, drop the Maximo AssetManagement database that you manually created. You then recreate it before yourerun the Maximo Asset Management installation program.

To restore the Maximo Asset Management database, complete the following steps:

Procedure1. Log on to the system that hosts the DB2 server.2. Start a DB2 command session or run db2cmd from the command prompt.3. First list and then force all applications connected to the database to close using

the following commands:a. To list applications, type this command:

db2 list applications

You might see output like the following sample output:

Table 16. DB2 list command sample output

Auth IdApplicationName

Appl.Handle Application ID DB Name # of Agents

CTGINST1 db2taskd 507 *LOCAL.DB2.071113150237 MAXDB75 1

CTGINST1 db2stmm 506 *LOCAL.DB2.071113150236 MAXDB75 1

CTGINST1 db2bp 504 *LOCAL.ctginst1.071113150234 MAXDB75 1

b. If any connections exist, close the connect application using a command likethe following sample command:db2 force application ’( 507,506,504 )’

4. Drop the Maximo Asset Management database (MAXDB75, by default):db2 drop database MAXDB75

5. Manually recreate the maxdb75 database.“Manually configuring DB2 9.x” on page 65This section contains instructions for manually configuring DB2 9.x servers foruse by Maximo Asset Management.

Restoring the Oracle databaseIn order to rerun the Maximo Asset Management installation program, you mustfirst restore the Oracle database server to the same state as before Maximo AssetManagement was installed.

Before you begin

The MXServer application server must be stopped before deleting the database.

About this task

Drop the Maximo Asset Management database schema user to restore the Oracledatabase server to its previous state. This task must be completed before you rerunthe Maximo Asset Management installation program.

To restore the Maximo Asset Management database, complete the following steps:

Chapter 9. Uninstalling the product 139

Procedure1. Log in to the Oracle database server as the Oracle software owner.2. Log in to the Oracle instance with SQLPlus as a DBA user: The Oracle SID for

a clean installation is ctginst1. If you are using an existing Oracle instance withMaximo Asset Management, use the Oracle SID associated with the existinginstance.

AIX, Linux, HP-UX, Solaris

a. Set the environment variable from the command line:ORACLE_SID=<your sid>export ORACLE_SID

b. Start SQLPlus from the command line:sqlplus /nolog

c. Login to SQLPlus as a DBA user:connect sys/<sys password> as sysdba

Windows

a. Set the environment variable from the command line:set ORACLE_SID=<your sid>

b. Start SQLPlus from the command line:sqlplus /nolog

c. Login to SQLPlus as a DBA user:connect sys/<sys password> as sysdba

3. Delete the Maximo Asset Management database user (maximo, by default)using an SQL command like the following sample command:drop user maximo cascade;

Do not disconnect from the database. If you receive an error that you cannotdrop a currently connected user, issue the following commands and use theSQL drop command:shutdown immediate;startup;

4. Manually recreate the database.“Manually configuring Oracle 11g” on page 67Use the following instructions to manually configure Oracle 11g for use withMaximo Asset Management.“Manually configuring Oracle 10g” on page 70Oracle 10g can be manually configured for use with Maximo AssetManagement.

Restoring the Microsoft SQL Server databaseIn order to rerun the Maximo Asset Management installation program, you mustfirst restore the Microsoft SQL Server database server to the same state as beforeMaximo Asset Management was installed.

Before you begin

Stop the MXServer application server before you delete the database.

140 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

About this task

To restore the Microsoft SQL Server database server to its previous state, drop theMaximo Asset Management database that you manually created. You then recreateit before you rerun the Maximo Asset Management installation program.

To restore the Maximo Asset Management database, complete the following steps:

Procedure1. Open the Microsoft SQL Server Management Studio.2. Log in to the instance of Microsoft SQL Server that is used by Maximo Asset

Management installation using the sa user ID, and then click Connect.3. Expand the instance tree down to the databases node. Using the right mouse

button, click the database name you created during installation (MAXDB75 forexample). Click Delete to delete the database.

4. In the Delete Object window, select Delete backup and restore historyinformation for databases and Close existing connections, and then click OK.

5. Manually recreate the maxdb75 database.“Manually configuring Microsoft SQL Server” on page 72You can manually configure Microsoft SQL Server for use with Maximo AssetManagement.

Uninstalling the product without the uninstallation programUninstalling the product when a failed installation does not produce anuninstallation program.

If the installation program has experienced a failure that causes it to not producethe product uninstallation program, you must perform alternative uninstallationtasks.

If uninstallation program was not produced, you must complete one of thefollowing tasks in order to uninstall the product:v Run the uninstallation recovery tool described in “Uninstall program recovery

tool.”v Complete the uninstallation manually using the following steps:

1. Recover the database as described in “Database configuration recovery” onpage 138.

2. Manually remove files from the system as described in “Removing files fromthe system” on page 143.

Uninstall program recovery toolThe uninstall program recovery tool is used to automatically uninstall MaximoAsset Management when the installation program fails to produce the productuninstallation program.

The uninstall program recovery tool is run on the administrative workstationfollowing a failed installation. This tool performs the same functions of theMaximo Asset Management uninstallation program. This tool is intended to restorethe administrative workstation and middleware servers so the Maximo AssetManagement installation can be run again. The uninstall program recovery tool isavailable on the product media and also from the product support site.

Chapter 9. Uninstalling the product 141

Using the uninstallation program recovery toolUse the uninstallation program recovery tool to restore the administrativeworkstation and middleware servers so the Maximo Asset Management installationcan be run again.

About this task

The uninstallation program recovery tool is a command line tool that prompts youfor input. This information is used as input for a collection of scripts that are runserially. These scripts perform the steps necessary to restore the administrativeworkstation and middleware servers so the installation program can be rerun. Ifyou choose to skip any of the uninstallation program recovery tool tasks, you canrun the tool at a later time to perform that task.

The uninstallation program recovery tool must be run on each system that hosts acomponent of the Maximo Asset Management deployment. For example, toremove the database associated with the deployment, you must run the programon the server hosting the database.

Procedure1. Open a command prompt on the administrative workstation and start the

uninstallation program recovery tool.v For Windows, use cleanupPAE.bat.

2. Provide input for the scripts responsible for recovering the database serverused in the deployment.v DB2

a. Supply information for the database used in the deployment.1) At the Would you like to cleanup the database? [y/n]: prompt,

select y.2) At the Which database type would you like to cleanup? [DB2,

Oracle, SQLServer (BAT only)]: prompt, select DB2.3) At the Enter database name: prompt, enter the name of the database

used in the deployment.4) At the Enter database instance administrator user ID: prompt,

enter the database instance administrator user ID.5) At the Enter database instance administrator password: prompt,

enter the password for the database instance administrator user ID.6) At the Enter database instance name: prompt, enter the name of the

database instance.b. Confirm you want to drop the database.

1) At the Are you sure you would like to drop the <database name>database? [y/n]: prompt, select y.

2) Verify the database was dropped.v Oracle

a. Supply information for the database used in the deployment.1) At the Would you like to cleanup the database? [y/n]: prompt,

select y.2) At the Which database type would you like to cleanup? [DB2,

Oracle, SQLServer (BAT only)]: prompt, select Oracle.3) At the Enter the SID of the Oracle instance: prompt, enter the

Oracle System ID of the Oracle instance used in the deployment.

142 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

4) At the Enter the Oracle install directory: prompt, enter theOracle installation path.

b. Supply user information.1) At the Enter the SYSDBA user: prompt, enter the SYSDBA user ID.2) At the Enter the SYSDBA password: prompt, enter the password for

the SYSDBA user ID.3) At the Enter database user: prompt, enter the Oracle database user

ID.4) At the Would you like to delete the <database user name>

database user? [y/n]: prompt, select y.c. Delete the Oracle table spaces and the Oracle instance.

1) At the Would you like to delete the 'maxdata', 'maxtemp', and'maxindex' tablespaces? [y/n]: prompt, select y.

2) At the Would you like to delete the oracle instance? [y/n]:prompt, select y.

v Microsoft SQL Servera. At the Enter database name: prompt, enter the name of the database

used in the deployment.b. At the Are you sure you would like to drop the <database name>

database? [y/n]: prompt, select y.3. Provide input for the scripts responsible for recovering the administrative

workstation used in the deployment.a. At the Would you like to cleanup the administrator workstation?

[y/n]: prompt, select y.b. At the Would you like to enter a custom install directory? [y/n]:

prompt, select n if you installed Maximo Asset Management in the defaultdirectory. If you installed Maximo Asset Management in a custom directory,you are prompted to enter that directory.

c. At the Are you sure you would like to cleanup the following directory:<install directory>? [y/n]: prompt, select y.

Manual uninstallationManual uninstallation steps are sometimes necessary to uninstall Maximo AssetManagement when the installation program fails to produce the productuninstallation program.

Manual uninstallation steps are performed following a failed installation. Thesesteps are used to remove the same objects as the Maximo Asset Managementuninstallation program. These steps are intended to restore the administrativeworkstation and middleware servers so the Maximo Asset Management installationcan be run again.

Removing files from the systemIf an uninstallation program is unavailable due to failed installation, product filesmust be manually removed from the system.

About this task

Remove files from the system by completing the following steps:

Chapter 9. Uninstalling the product 143

Procedure1. Ensure that you are logged in to the system with the same user ID used to start

the product installation program.2. Manually delete the Maximo Asset Management home directory. For Windows,

the default location of this directory is C:\IBM\SMP.

144 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Chapter 10. Starting and stopping middleware

Use this information to start and stop middleware when necessary.

There might be occasions when you have to stop or restart middleware.

Restarting middleware on WindowsThis procedure describes how to restart middleware on Windows, if you mustrestart any middleware services.

About this task

To properly start middleware products on Windows, use the following scripts inthe order in which they are listed:

Procedure1. Log in as a user with Administrative permissions.2. If you installed DB2, start ctginst1.

a. Click Start, and select Run.b. Type services.msc, and click OK.c. Select DB2 - DB2COPY1 - CTGINST1-0, and click Start the service.

Alternatively, you can use the db2start command from a command line to startCTGINST1.

3. If you installed IBM Tivoli Directory Server, start the IBM Tivoli DirectoryServer Admin Daemon.a. Click Start, and select Run.b. Type services.msc, and click OK.c. Select IBM Tivoli Directory Admin Daemon V6.3 - idsccmdb, and click Start

the service.

Alternatively, you can use the following command from the command line tostart the IBM Tivoli Directory Server admin daemon:idsdiradm -I idsccmdb

4. If you installed IBM Tivoli Directory Server, start the IBM Tivoli DirectoryServer instance.a. Click Start, and select Run.b. Type services.msc, and click OK.c. Select IBM Tivoli Directory Server Instance V6.3 - idsccmdb, and click

Start the service.

Alternatively, you can use the following command to start the IBM TivoliDirectory Server instance:idsslapd -I idsccmdb

Important: The IBM Tivoli Directory Server Instance must remain as a manualstartup type. It must be started manually to synchronize correctly with thedatabase in the context of Maximo Asset Management.

© Copyright IBM Corp. 2007, 2011 145

Restarting middleware on UNIXMiddleware services on Linux and AIX platforms occasionally must be restarted,such as when a reboot occurs. Middleware servers and services must be activebefore running the Maximo Asset Management installation program.

About this task

To properly start middleware products on UNIX, perform the following steps:

Procedure1. Log in as root.2. Start servers by using the following scripts in the order in which they are

listed:

If you installed DB2, start ctginst1 instancesu - ctginst1 -c db2start

If you installed IBM Tivoli Directory Server, start IBM Tivoli DirectoryServer Admin Daemon

<ITDS_HOME>/sbin/idsdiradm -I idsccmdb

If you installed IBM Tivoli Directory Server, start IBM Tivoli DirectoryServer daemon

<ITDS_HOME>/sbin/idsslapd -I <instancename>

So this command would look like the following example:<ITDS_HOME>/sbin/idsslapd -I idsccmdb

Important: The instance of IBM Tivoli Directory Server must remain asa manual startup type. It must be started manually to synchronizecorrectly with the database in the context of Maximo AssetManagement.

146 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Chapter 11. Advanced installation topics

This section contains information useful for advanced Maximo Asset Managementdeployment scenarios.

Refer to this information for installation and configuration information in advanceddeployments.

Configuring and managing Oracle WebLogic ServerThis section describes common tasks on configuring and administering the OracleWebLogic Server.

For more comprehensive information on running and administering OracleWebLogic Server visit the Oracle Web site.

Starting Oracle WebLogic ServerStarting the Oracle WebLogic Server.

About this task

To start the MAXIMOSERVER application, complete the following steps:

Procedure1. Open a command prompt window and change the directory to:

Windows Windows:C:\bea\user_projects\domains\mydomain

UNIX UNIX:weblogic_install_dir/user_projects/domains/mydomain

2. Launch:

Windows Windows:startWebLogic.cmd

UNIX UNIX:./startWebLogic.sh

3. If prompted, type the administrator user name and password. Once you see thephrase: server started in RUNNING Mode or Started weblogic Admin ServerMAXIMOSERVER for domain mydomain running in production mode (dependingon your operating system), the Oracle WebLogic Server is running.

Stopping the Oracle WebLogic ServerYou can use the Administrative Console to stop the Oracle WebLogic Server.

About this task

To stop the MAXIMOSERVER from the Administrative Console, complete thefollowing steps:

© Copyright IBM Corp. 2007, 2011 147

Procedure1. Open a browser window and enter the URL: http://localhost:7001/console This

URL is the administration URL for Oracle WebLogic Server domain youcreated.

2. Log in to the Administration Console with the administrator user name andpassword.

3. In the Domain Structure section, click Environment > Servers.4. In the main section of the console, click the AdminServer link.5. Click the Control tab.6. Click Shutdown and then Force Shutdown Now. The MAXIMOSERVER is

stopped.

Changing the middleware installation program configurationparameters

You can change the configuration parameters you have entered for a deploymentplan before deploying the plan. You would use this option if you chose to cancelthe deployment of the deployment plan you developed by exiting the middlewareinstallation program. Configuration parameters for a plan can be changed onlybefore deploying the deployment plan.

About this task

These instructions assume that you have developed a deployment plan, enteredconfiguration parameters for the plan, and then exited the middleware installationprogram before actually deploying the deployment plan.

Procedure1. Relaunch the middleware installation program from the launchpad and

advance along the installation program panels until you reach the ChooseWorkspace panel.

2. From the Choose Workspace panel, specify the directory you previously usedas the middleware installation program workspace, and then click Next.

3. Select Edit the configuration parameters, and then click Next.4. Advance along the middleware installation program panels and make changes.5. When you reach the Deployment Plan Operation panel, select Deploy the plan,

and then click Next.6. From the Deployment Plan and Parameter Configuration summary panel,

review the contents of the summary, and then click Next to initiate theinstallation and configuration of the middleware you selected.

7. From the Select Middleware Image Directories panel, enter the location forcompressed images for the middleware contained in the deployment plan, anda directory to use to hold the uncompressed images. After you have entered thetwo locations, click Next. During deployment, the middleware images areuncompressed onto the system.

8. Click Finish to exit.

Deploying EAR filesThis section contains information about deploying Maximo Asset ManagementEAR files manually into Oracle WebLogic Server.

148 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

The following instructions are used to manually deploy the Maximo AssetManagement maximo.ear and maximoiehs.ear files into Oracle WebLogic Server.v If you modify any database connection parameters in the maximo.properties file

after the initial installation, you must rebuild of the maximo.ear file, and thenredeploy it in Oracle WebLogic Server. In this scenario, you would likely onlyrebuild and redeploy the maximo.ear file. You would not be required to rebuildand redeploy the maximoiehs.ear file.

v If you have installed Maximo Asset Management into a developmentenvironment, you might at some point like to migrate the deployment into a testor production environment. In this scenario, you must deploy both the maximoand maximo help applications into the new environment.

Building EAR filesYou can manually build Maximo Asset Management EAR files if, for example, youmodify a database connection parameter in the maximo.properties file after theinitial installation.

About this task

To manually build Maximo Asset Management EAR files, complete the followingsteps:

Procedure1. Build the maximo EAR file:

Windowsinstall_home\maximo\deployment\buildmaximoear.cmd

2. Build the maximo help system EAR file:

Windowsinstall_home\maximo\deployment\buildmxiehsear.cmd

Manually uninstalling applications from Oracle WebLogicServer

This section contains information about uninstalling Maximo Asset Managementapplications from Oracle WebLogic Server.

Manually uninstalling applications from Oracle WebLogic ServerProcedure1. Log into the Administration Console. For example, http://<server>:<port>/

console2. Click Lock & Edit.3. Click Deployments.4. Select the application for the EAR to uninstall.5. Click Delete.

Chapter 11. Advanced installation topics 149

150 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Chapter 12. Middleware on Solaris and HP-UX

Middleware versions that are not installable by the middleware installationprogram are installed by using graphical installation programs that are providedwith each middleware product.

The procedures in this document can be used to manually install the followingproducts on the following operating systems:

Solaris 11 SPARC and HP-UX 11i v2+3 64 bit

v IBM DB2 Enterprise Server Edition 9.7v IBM Tivoli Directory Server 6.3.

IBM Tivoli Directory Server 6.3 is only supported for Solaris 11.

Operating system preparationSome operating system default configuration settings must be change to providean environment that can host middleware operations.

The steps needed to prepare each newly supported operating system are operatingsystem dependent.

Perform the operating system preparation steps before installing any middleware.

Middleware installation on SolarisSome of the default kernel configuration parameters on Solaris might not besufficient to run IBM DB2 9.7.

Ensure that your Solaris system includes required kernel parameters by runningthe db2osconf utility after you install IBM DB2, but before you create any databaseobjects.Related information:

http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp

HP-UXIn order for IBM DB2 9.7 to run correctly on HP-UX, certain group membershiprequirements must be addressed following the installation of IBM DB2.

After IBM DB2 9.7 is installed, you must ensure that the root user is assigned as amember of the db2iadm1 group.

Run the db2osconf utility to ensure that your HP-UX system has required kernelparameters in place. This utility must be run after you install IBM DB2, but beforeyou create any database objects.

© Copyright IBM Corp. 2007, 2011 151

Related information:

http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp

Installing the componentsAfter the operating system is configured as needed, install the middlewarecomponents.

Middleware components are installed in the following order:1. IBM DB22. IBM Tivoli Directory Server

Note: The media or web site you use to install middleware has directory-specificlocations for each supported operating system. The directory structure isos/product.

These commands display the contents of the os/product directory.cd osls

Within each os subdirectory are the installation directories for each middlewareproduct.ls solarisDB2-ESE_9.7_FP3aTIV-DirectoryServer_6.3

Installing DB2Run the db2setup program to install DB2.

Before you begin

Before you install DB2, review the requirements.

There are a number of things you must check to ensure a successful installation.Before you start the DB2 setup wizard, consider the following prerequisiteconditions:v If you choose to automate database configuration when you install Maximo

Asset Management, the user maximo is typically created for you on the systemthat hosts the database server. For Solaris and HP-UX systems, you mustmanually create the user even if the Maximo Asset Management installationprogram configures the database automatically. Before you install Maximo AssetManagement, ensure that you create the maximo user on the database server.

v db2setup starts a wizard installer so X Window System must be installed andrunning before you start the DB2 installer program. Export your display:export DISPLAY= your_ip_address:0

v If NIS, NIS+, or similar security software is used in your environment, you mustmanually create the required DB2 users, before you start the DB2 setup program.See the centralized user-management considerations topic in the DB2information center, before you begin.

v In general, you can choose to defer some installation activities. For example, ifyou choose to not set up email notifications of database events at installationtime. If you want to defer specific installation activities, select that option, andconfigure them later.

152 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

v Some middleware products have specific requirements or conventions foraccount names and other settings. Override the installation defaults as shown ifthe defaults provided are not satisfactory. On panels that prompt for passwords,both the password and its confirmation entry must be specified before theinstaller can continue to the next panel.

About this task

This procedure describes how to perform a typical installation of DB2 on a singlecomputer. If you want to install DB2 components on multiple computers, see theDB2 information center for those instructions.

Databases must contain a single partition and Unicode data (UTF-8).

DB2 is installed, by default, in the /opt/IBM/db2/V9.7 directory.

The /opt/IBM/db2/V9.7/logs directory contains a db2install.history file. This filecontains the installation settings used, and errors that occurred during theinstallation process. The vmrfis.history file contains information aboutmaintenance that has been applied to DB2, such as fix packs that have beeninstalled.

The db2setup.log file captures all DB2 installation information including errors.The db2setup.err file captures any error output that is returned by Java (forexample, exceptions and trap information). By default, both logs are created in the/tmp directory unless you change that location during the installation process.

Procedure1. Log in as root.2. Copy the DB2 Enterprise Server Edition tar file to a writable disk.

For SolarisCopy solaris/DB2-ESE_9.7_FP3a/v9.7fp3a_sun64_server.tar.gz

For HP-UXCopy hpux-ia64/DB2-ESE_9.7_FP3a/v9.7fp3a_hpipf64_server.tar.gz

3. Change to the directory where you copied the compressed file anduncompress it.

4. Extract the file DB2_Enterp_Svr_OEM_Activation.zip into an appropriatedirectory. For example, for Solaris, solaris/DB2-ESE_9.7/

5. Start the installer. Type ./db2setup.6. From the launchpad, select Install a Product.7. Click Install New.8. Accept the license agreement.9. In general, accept all defaults, except where you must provide custom values.

For example, the email address of the recipient of email notifications ofdatabase events defaults to host name@local_server_name. This value must bechanged to a valid email address if you choose to enable SMTP notifications.This value can also be changed at a later time.

10. Leave the check boxes for the GUI and UID options selected; the systemassigns them for you.

11. On the Start copying files and create response file panel, click Finish to initiatethe installation.

12. Start the DB2 instance.

Chapter 12. Middleware on Solaris and HP-UX 153

13. Register the DB2 server license:a. Extract the license file.b. Use the DB2 license management tool command to apply the license:

DB2_HOME/adm/db2licm -a full path to the license file

The license file can be found in the appropriate folder for your operatingsystem. For Solaris, the license file is in solaris/DB2-ESE_9.7/DB2_Enterp_Svr_OEM_Activation/db2/license/db2ese_o.lic.

c. Stop and then restart the DB2 instance by using the db2stop and db2startcommands.

d. Verify that the license was installed successfully:DB2_HOME/adm/db2licm -l

This command results in output like the following information:Product name: "DB2 Enterprise Server Edition"License type: "Restricted"Expiry date: "Permanent"Product identifier: "db2ese"Version information: "9.7"

http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp

http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.qb.server.doc/doc/r0007059.html

Installing IBM Tivoli Directory Server on SolarisYou typically install IBM Tivoli Directory Server on a computer that does not hostother middleware products.

Procedure1. Login as root.2. Copy the tar files for IBM Tivoli Directory Server to a writable disk. For

Solaris, copy the tds63-solaris-sparc-base.tar and tds63-solaris-sparc-gskit.tar files from solaris64/TIV-DirectoryServer_6.3.

3. Unpack the files:tar -xvf tds63-solaris-sparc-base.tartar -xvf tds63-solaris-sparc-gskit.tar

4. Change to the /tdsV6.3/tds directory and then type ./install_tds.bin

If you prefer, you can specify a temporary directory other than the systemtemporary directory. Change to the appropriate directory and type thefollowing command at a command prompt:./install_tds.bin -is:tempdir directory

. The variable directory is the directory you want to use for temporary space.Be sure that you have at least 400 MB of free space in this directory. Forexample:./install_tds.bin -is:tempdir /opt/tmp

5. When the installation wizard starts, select a language to use for theinstallation process, accept the license agreement, and choose a Custominstallation.

6. Select the Proxy Server, Server, C Client, Java Client, and WebAdministration Tool options, and then click Next.

7. Select Do not specify. I will manually deploy at a later time, then click Next.

154 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

8. Click Install.9. Close the Instance Administration tool.

10. Click Finish.11. Create the idsccmdb instance.12. Start the directory server, type the following commands:

a. /opt/ibm/ldap/V6.3/sbin/idsdiradm -I idsccmdb

b. /opt/ibm/ldap/V6.3/sbin/idsdirctl -D admin user ID -w admin userpassword

Chapter 12. Middleware on Solaris and HP-UX 155

156 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Chapter 13. Backup and restoration

Like all important business data, it is a good idea to establish a process andschedule for backing up Maximo Asset Management data.

Back up and restore middleware application data using the methods described inthe documentation for that product is important. Also, establish a process forbacking up data contained on the Maximo Asset Management administrativeworkstation.

The default installation directory on the Maximo Asset Management administrativeworkstation is C:\ibm. This directory contains the critical files for your MaximoAsset Management deployment, which includes all class files and customizationsthat have been performed in your environment, the current Enterprise Archive(EAR) file, and the properties files and installation tools used for yourenvironment. Plan to back up Maximo Asset Management administrativeworkstation data just after initial deployment and schedule periodic backups on anongoing basis.

Backing up the administrative workstationIt is recommended that you back up all Maximo Asset Management middlewareapplications and Maximo Asset Management administrative workstation on aregular basis.

About this task

The default installation directory on the administrative workstation is C:\ibm. Thisdirectory contains the critical files for your Maximo Asset Managementdeployment.

Specifically, the administrative workstation contains the following items:v Class files and customizations performed in your environment.v The current Enterprise Archive (EAR) file.v The properties files and installation tools used for your environment.

It is important to make a back up of the database at the same time that you backup the administrative workstation. During restoration, you restore the databaseback up at the same time you restore the administrative workstation back up itwas paired with.

To back up critical Maximo Asset Management information, complete the followingsteps:

Procedure1. Back up the Maximo Asset Management database, J2EE server, and

authentication server information using the instructions provided by yourmiddleware vendors.

2. Create a backup of the installation directory. By default, this directory isC:\IBM\SMP. Ensure that all file permissions are preserved.

© Copyright IBM Corp. 2007, 2011 157

Restoring the administrative workstationThis section details how to restore previously backed up Maximo AssetManagement administrative workstation information to a Windows workstation.This information can be used to return an existing Maximo Asset Managementadministrative workstation to a previous state.

Before you begin

It is important to restore the back up of the database that was made when youbacked up the administrative workstation. A database back up should be restoredwith the administrative workstation back up it was paired with.

About this task

To restore Maximo Asset Management information to an administrativeworkstation, complete the following steps:

Procedure1. Restore the database back up that was paired with the administrative

workstation back up you are restoring.2. Log on to the target administrative system with the same user ID that was used

to install the product on the existing administrative workstation.3. Copy the Maximo Asset Management installation files and directories to the file

system of the target administrative system. You must maintain the directorystructure of the original installation. For example, if the Maximo AssetManagement installation directory on the existing administrative system isC:\IBM\SMP, you cannot copy those files to a C:\NewAdminWS\IBM\SMP directoryon the target administrative workstation.

Installation propertiesInstallation properties are recorded in properties files during a deployment and areused as input by future install-related actions. Installation properties are found inthe install.properties and maximo.properties files as well as the database. Youshould only modify properties found in the install.properties file that arerelated to host names or user IDs. Changing values for other properties canseverely impact your ability to perform future installation actions, upgrades and fixpack installations.

Table 17. Installation properties

Category Property Definition

MAXIMO Properties Maximo.InstallLocation Install location of the maximo directory.

For example, C:\\IBM\\SMP\\maximo

mxe.db.user Database user that the server uses to attachto the database server.

For example, maximo

mxe.db.schemaowner Owner of the database schema.

For example, maximo

This value must be dbo for Microsoft SQLServer.

158 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 17. Installation properties (continued)

Category Property Definition

mxe.db.password Password for the database user name.

mail.smtp.host SMTP host server.

mxe.workflow.admin E-mail account of the workflowadministrator.

mxe.adminEmail Valid e-mail address used by workflows tocommunicate with workflow participants.

mxe.name Name to bind the MXServer server object toin the RMI registry.

For example, mxserver.

mxe.hostname Name of the machine and port hostingMXServer.

mxe.rmi.port RMI communication port. If set at zero, RMIuses any available port. You can selectanother available port number.

mxe.registry.port The port number used to bind RMI/JRMPcommunications.

For example, 13400.

The RMI registry is started by the firstinstance of the maximo application to run.An environment could have multipleinstances of the product application running.This registry coordinates these instances.There is a single central RMI registry server.This value is the port available for the otherapplication instances to communicate withthe central server.

mxe.allowLocalObjects Set to true in production environments, toimprove system performance. Set to false fordevelopment work, or for customapplications.

The default is false.

mxe.useAppServerSecurity Indicates whether to use LDAP or nativeauthentication. Setting this value to 1indicates you are using LDAP for security.

mxe.MLCacheLazyLoad By default, the multi-language metadatacache loads one object at a time. Set this flagto 1 to load all objects simultaneously forone language.

mxe.UserLicenseKey The product enabler (license key) is usedduring installation. If the product enablerchanges this value must be updated.

mxe.adminuserid The administrative user. Used by the serverfor administrative tasks and to run crontasks. This user must have access to all Sitesin the system.

mxe.adminuserloginid Defines the default login user ID for theproduct application.

The default value is maxadmin.

Chapter 13. Backup and restoration 159

Table 17. Installation properties (continued)

Category Property Definition

mxe.adminPasswd The password for the mxe.adminuserloginiduser.

mxe.system.reguser Self registration user. This user isresponsible for the process by which userscan create their own accounts.

The default value is maxreg.

mxe.system.regpassword User registration login password. This valueis the password for the user listed formxe.system.reguser.

mxe.email.charset The character set for e-mail notifications sentfrom the product.

When this property is defined, it is thecharset that is used to encode the subjectand message when an e-mail notification issent.

mxe.reorder.previewtimeout The reorder preview time out period (inminutes). This value must be set to the samevalue as the Web server session time out.

The default value is 30 minutes.

mxe.security.provider The security provider is obtained from thepolicy file, which is normallycom.sun.crypto.provider.SunJCE.

To use a different provider, you can specifya value for this parameter.

mxe.mbocount Displays the number of business objectscreated by the server.

The default is 1. Changing the value to 0disables this feature.

mxe.esig.defaultuserid Set this flag to true if you want theEsignature login dialog to default to thelogin ID.

The default value is true.

maximo.min.required.db.version Defines what the minimum level of databaseis required for an upgrade. An examplevalue would be 7100.

mxe.encrypted Property used by the application todetermine if property files are encrypted.

This value is set to true if the file isencrypted.

mxe.LDAPUserMgmt Indicates whether LDAP owns usermanagement whenmxe.userAppServerSecurity = 1.

The default value is 1.

Maximo AssetManagement specificProperties

CCMDB.InstallLocation Product install location.

For example, C:\\IBM\\SMP.

160 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 17. Installation properties (continued)

Category Property Definition

CCMDB.JREInstallLocation JRE install location.

For example, C:\\IBM\\SMP\\JRE.

CCMDB.SDKInstallLocation SDK install location.

For example, C:\\IBM\\SMP\\SDK.

CCMDB.PMP Unused property.

CCMDB.Locale The locale setting of the administrativeworkstation system.

For example, en.

CCMDB.BaseLanguage Base language that was set for the product.

For example, en.

CCMDB.AdditionalLanguages Additional languages installed for theproduct.

CCMDB.DeploySampleData Binary value that determines whethersample data is to be loaded during theinstallation.

For example, false.

CCMDB.UserShortcuts Location of the menu for process solutioninstaller and the product console shortcuts.

CCMDB.InstallType Type of installation, which includes fix pack,upgrade, or new installation.

For example, Install.

CCMDB.DeployEar Binary value that indicates if EAR files aredeployed during the installation.

For example, true.

process automationengine specificproperties

BASE.DeployOptionalContent Binary value that indicates if optionalcontent is deployed during the installation.

For example, true.

BASE.DeployOptionalContentSet Indicates whether you selected to deployoptional content during the initial upgrade.This value, once set, is a fixed value andcannot be changed. This value will be usedfor all future upgrades and fix packs.

BASE.VersionUpgradingFrom The previous version of process automationengine that was installed.

LDAP Server-specificProperties

LDAP.AutomateConfig Binary value that indicates whether theinstallation program automaticallyconfigures the directory server.

For example, true.

LDAP.Vendor The type of LDAP repository.

LDAP.ServerHostName Host name of the LDAP system host.

LDAP.AdminDN Administrator distinguished name.

For example, cn=root.

Chapter 13. Backup and restoration 161

Table 17. Installation properties (continued)

Category Property Definition

LDAP.AdminPassword Password for user ID named inLDAP.AdminDN.

LDAP.ServerPort Port listening for connection requests.

For example, 389.

LDAP.InstallLocation Install location of the directory server.

For example, C:\ProgramFiles\IBM\LDAP\V6.2.

Database-specificProperties

Database.AutomateConfig Binary value that indicates whether theinstallation program automaticallyconfigures the database.

For example, true.

Database.Vendor Database type.

For example, DB2.

Database.RemoteAccessUserName Database server system user ID that is usedfor configure the database remotely.

Database.RemoteAccessPassword Password for user ID named inDatabase.RemoteAccessUserName.

mxe.db.driver Java class name of the JDBC driver.

For example, com.ibm.db2.jcc.DB2Driver.

For example, oracle.jdbc.OracleDriver.

For example com.inet.tds.TdsDriver.

mxe.db.url JDBC URL of the database.

For example,

jdbc:db2://mymachine.mydomain.com:50005/maxdb75

jdbc:inetdae7a:mymachine.mydomain.com:1433?database=maxdb75&language=us_english&nowarnings=true&mars=false

jdbc:oracle:thin:@mymachine.mydomain.com:1521:ctginst1

mxe.db.initialConnections Number of database connections to createwhen the application server is started.

For example, 8.

mxe.db.maxFreeConnections Maximum number of free databaseconnections available in the connection pool.

For example, 8.

162 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 17. Installation properties (continued)

Category Property Definition

mxe.db.minFreeConnections Minimum number of free databaseconnections needed in the connection poolin order for more connections to beallocated.

For example, 5.

mxe.db.newConnectionCount Number of new connections to be createdwhen the minimum free connections areavailable in the connection pool.

For example, 3.

mxe.db.transaction_isolation The system install sets the value to:TRANSACTION_READ_COMMITTED.

This value cannot be modified.

mxe.db.format.upper This value defines the database uppercasefunction for the system.

This value cannot be modified.

mxe.db.autocommit This value sets the autocommit mode usedfor the Write connections. Can be either trueor false. The default is false.

This value cannot be modified.

mxe.db.systemdateformat System date format.

For DB2, the value is current timestamp.

For Oracle, the value is sysdate, and thedefault value cannot be edited.

For Microsoft SQL Server, the value isgetdate().

mxe.db.format.nullvalue The database-specific format of the nullvalue function.

For DB2 the value is COALESCE, and thedefault value cannot be edited.

The value for Oracle is NVL, and the defaultvalue cannot be edited.

The value for Microsoft SQL Server must beset to ISNULL.

mxe.db.sqlserverPrefetchRows Setting to reduce lock contention.

Optimal setting is 200 rows. Setting a valuelarger than 500 can degrade performance.

The default value is 0.

This value is only valid for SQL Server.

Chapter 13. Backup and restoration 163

Table 17. Installation properties (continued)

Category Property Definition

mxe.db.logSQLTimeLimit The system logs the SQL statements thattake longer than the specified time limit. Thetime is measured in milliseconds(thousandths of a second).

The default value is 1000 milliseconds.

To disable, edit the file to read:mxe.db.logSQLTimeLimit=0.

mxe.db.fetchResultLogLimit When this setting is enabled, a stack trace isprinted in the log for every business objectset that fetches beyond the set limit of rows.The stack trace log is also repeated for everymultiple of such fetches.

The default is 200 rows.

To disable, edit the file to read:mxe.db.fetchResultLogLimit=0.

Oracle Properties Database.Oracle.InstanceName Oracle instance name.

Database.Oracle.SoftwareOwner Owner of the software installation.

For example, oracle.

Database.Oracle.SoftwareOwnerPassword Password for the user ID listed inDatabase.Oracle.SoftwareOwner.

Database.Oracle.InstallLocation Oracle installation location. For example,/opt/app/oracle/product/10.2.0/db_1.

Database.Oracle.DataTablespaceName Oracle table space name for the productdatabase.

For example, maxdata.

Database.Oracle.InstanceLocation Oracle instance location.

For example, /opt/app/oracle/product/10.2.0/db_1.

Database.Oracle.DataTablespaceLocation Location of Oracle database table space.

Database.Oracle.DataTablespaceSize Tablespace size, measured in Mb.

For example, 1000.

Database.Oracle.DataTablespaceMaxSize Maximum size of the table space, measuredin Mb.

For example, 8000.

Database.Oracle.TempTablespaceName Temporary table space name.

For example, maxtemp.

Database.Oracle.TempTablespaceLocation Location of temporary table space.

Database.Oracle.TempTablespaceSize Temporary table space size, measured in Mb.

For example, 1000.

164 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 17. Installation properties (continued)

Category Property Definition

Database.Oracle.TempTablespaceMaxSize Maximum size of the temporary table space,measured in Mb.

For example, 8000.

Database.Oracle.IndexTablespaceName Index table space name.

For example, maxdata.

Database.Oracle.IndexTablespaceLocation Location of index table space.

Database.Oracle.IndexTablespaceSize Index table space size, measured in Mb.

For example, 1000.

Database.Oracle.IndexTablespaceMaxSize Maximum size of the index table space,measured in Mb.

For example, 8000.

mxe.db.schemaowner Owner of the database schema.

Database.Oracle.SchemaPassword Password for user listed inmxe.db.schemaowner.

Database.Oracle.ServerHostName Host name of the Oracle server.

Database.Oracle.ServerPort Port number used by Oracle.

For example, 1521.

Database.DBAUserName Oracle DBA user name.

For example, sys.

Database.DBAPassword Password for user ID listed forDatabase.DBAUserName.

DB2 Properties mxe.db.schemaowner Owner of the database schema.

Database.DB2.ServerHostName Host name of the DB2 server.

For example, mymachine.mydomain.com.

Database.DB2.ServerPort Database server port.

For example, 50005.

Database.DB2.InstanceName Name of the database instance.

For example, ctginst1.

Database.DB2.DatabaseName Name of the database.

For example, maxdb75.

Database.DB2.InstallLocation Install location of the database.

For example, /opt/IBM/db2/V9.7

Database.DB2.LogFileSize Set the size for transaction logs.

For example, 4096

Database.DB2.AppCtlHeapSize Application control heap size.

For example, 1024

Chapter 13. Backup and restoration 165

Table 17. Installation properties (continued)

Category Property Definition

Database.DB2.ApplHeapSize Application heap size.

For example, 1024

Database.DB2.LockListSize Size allocated to the lock list.

For example, 30000

Database.DB2.LogSecond Number of secondary log files allowed.

For example, 4

Database.DB2.ServiceUser User ID used to autostart.

Database.DB2.ServicePassword Password for Database.DB2.ServiceUser.

Database.DB2.PageSize Page size setting.

Measured in kb. For example, 32

Database.DB2.ExtentSize Number of pages per extent (group ofpages).

For example, 32

Database.DB2.FencedUser Fenced user ID for DB2 on Linux or UNIXsystems.

For example, db2fenc1.

Database.DB2.AuthType Method DB2 uses to authenticate users.

For example, server.

Database.DB2.DataTablespaceName DB2 table space name for the productdatabase.

For example, maxdata.

Database.DB2.BufferPoolName DB2 buffer pool name.

For example, MAXBUFPOOL.

Database.DB2.BufferPoolLocation Location of the buffer pool.

Database.DB2.BufferPoolSize Size of the buffer pool.

For example, 32

Database.DB2.DataTablespaceLocation Location of DB2 database table space.

Database.DB2.DataTablespaceSize Tablespace size, measured in Mb.

For example, 1000.

Database.DB2.DataTablespaceMaxSize Maximum size of the table space, measuredin Mb.

For example, 8000.

Database.DB2.TempTablespaceName Temporary table space name.

For example, maxtemp.

Database.DB2.TempTablespaceLocation Location of temporary table space.

Database.DB2.TempTablespaceSize Temporary table space size, measured in Mb.

For example, 1000.

166 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 17. Installation properties (continued)

Category Property Definition

Database.DB2.TempTablespaceMaxSize Maximum size of the table space, measuredin Mb.

For example, 8000.

Database.DB2.IndexTablespaceName Index table space name.

For example, maxdata.

Database.DB2.IndexTablespaceLocation Location of index table space.

Database.DB2.IndexTablespaceSize Temporary table space size, measured in Mb.

For example, 1000.

Database.DB2.IndexTablespaceMaxSize Maximum size of the index table space,measured in Mb.

For example, 8000.

Database.DB2.InstanceAdminUserName Administrative user or the database instance.

Database.DB2.InstanceAdminPassword Password for the user ID specified forDatabase.DB2.InstanceAdminUserName

Microsoft SQL ServerProperties

mxe.db.schemaowner Owner of the database schema.

Database.SQL.DatabaseName Name of the database.

For example, maxdb75.

Database.SQL.InstallLocation Microsoft SQL Server installationlocation. For example,C:\\ProgramFiles\\Microsoft SQL Server\\90.

Database.SQL.DataFileLocation Location for database data file

Database.SQL.DataFileName A way to specify the name of the data fileused for the database. For example,maxdb75_dat.

Database.SQL.DataFileMaxSize Maximum size for data file for database.

Database.SQL.DataFileSize Initial size for data file for database.

Database.SQL.LogFileName A way to specify the name for the databasetransaction log file. For example,maxdb75_log.

Database.SQL.LogFileSize Microsoft SQL Server Database transactionlog file size.

Database.SQL.DataFilegroupName Database logical name file group. Forexample, PRIMARY.

Database.SQL.ServerHostName Host name of the database server. Forexample, myhost.mydomain.com.

Database.SQL.ServerPort Database server port. For example, 1433.

Database.SQL.InstanceAdminUserName Administrative user for the Microsoft SQLServer instance. used during install forcreating database, creating database user,and modifying the database.

Database.SQL.InstanceAdminPassword Administrative users password.

ADE (DE) Properties DE.InstalllLocation Location of the deployment engine.

Chapter 13. Backup and restoration 167

Table 17. Installation properties (continued)

Category Property Definition

Application ServerType Properties

ApplicationServer.Vendor Indicates which application server waschosen during installation. For example,WebLogic.

Updating environment dataWhen you install a second product on the same administrative workstation, orupgrade a single product, the installation program uses values recorded from theprevious deployment. These values are stored on the administrative system in theinstall.properties and maximo.properties files, and also in the database. If youmade any environmental changes to any of the systems used for the originaldeployment, they must be recorded in the install.properties andmaximo.properties files. They also must be updated in the database. Typically,these types of changes include changing a host name or updating a password.

Before you begin

During a follow-up installation task, the installation program uses values found inthe install.properties and maximo.properties files to complete the upgrade orinstallation of an additional product. Pending successful use of these credentials,you are not prompted to provide them again. If the installation program fails tolog on to the system with the credentials from the properties files, you areprompted to supply current credentials. These values are then written to theappropriate property file.

This method of updating credential information in property files has one exception.Database connection and credential information must always be current before youattempt an upgrade operation. Information for the database connection andcredentials are stored in the maximo.properties file. Any changes to thisinformation from the time of the original deployment must be recorded manuallyin the maximo.properties file before you upgrade.

Passwords are encrypted within properties files. Update the encrypted values inthe properties files with clear text values and then re-encrypt the property file.

About this task

Updates to properties files can be performed by manually editing the appropriatevalue in a property file. There is a reconfiguration tool available from theIntegrated Service Management Library that can be used to update properties. Seethe Integrated Service Management Library (https://www.ibm.com/software/brandcatalog/ismlibrary/) and search for IBM Maximo Reconfiguration Tool forAdministrative Workstations.

Procedure1. Update the property value in the database by using the System Properties

application in Maximo Asset Management.2. Update the database properties in the maximo.properties file:

a. As a precaution, create a backup of the c:\ibm\smp\maximo\applications\maximo\properties\maximo.properties file.

b. Delete the c:\ibm\smp\maximo\applications\maximo\properties\maximo.properties file.

168 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

c. Copy c:\ibm\smp\etc\maximo.properties_orig to c:\ibm\smp\maximo\applications\maximo\properties\maximo.properties

d. Rename c:\ibm\smp\maximo\applications\maximo\properties\maximo.properties_orig to c:\ibm\smp\maximo\applications\maximo\properties\maximo.properties.

e. Edit c:\ibm\smp\maximo\applications\maximo\properties\maximo.properties and update the credential or connection information forthe target database server.

f. Encrypt the file c:\ibm\smp\maximo\tools\maximo\encryptproperties.batfile.

3. Update the c:\ibm\smp\etc\install.properties file on the administrativeworkstation with any properties that changed. Do not change encryptedpassword properties. Encrypted password properties are prefixed by [enc] inthe installation.properties file. Passwords can be updated during the nextupgrade.

Results

After completing these updates, you can upgrade, install a fix pack, or installanother product with the corrected values.

Chapter 13. Backup and restoration 169

170 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Chapter 14. Troubleshooting

If errors occur while you are using the product or middleware installationprograms, review the troubleshooting information for solutions to commonproblems.

When you have corrected all errors, you can reattempt the installation.

Error when starting the middleware installation programA common cause of middleware installation program errors is running the 32-bitmiddleware installer on a 64-bit system or running the 64-bit middleware installeron a 32-bit system.

About this task

If you encounter the following error, it indicates that you are attempting to use the32-bit middleware installation program (mwi.exe) on a 64-bit Windows system:CTGIN9051E: The installer or the JRE is not supported on this platform.

If you encounter the following error, it indicates that you are attempting to use the64-bit middleware installation program (mwi-AMD64.exe) on a 32-bit Windowssystem.CreateProcess failed ==> The image file %1 is valid, but for a machine typeother than the current machine

Check whether the system you are using to run the middleware installationprogram is a 32-bit or a 64-bit system, and then run the correct middlewareinstallation program for the system:

32-bit Windows systemsRun mwi.exe.

64-bit Windows systemsRun mwi-AMD64.exe.

Troubleshooting the middleware installerYou must resolve all errors that occur when you run the middleware installationprogram for the middleware to be installed correctly.

For more troubleshooting information about a specific middleware component,refer to the documentation for that product.

Middleware installation program troubleshooting featureThe middleware installation program includes a feature that directs you totroubleshooting information when you encounter an error.

When an error occurs during the middleware plan deployment, the middlewareinstallation program displays an error summary panel. The summary panelprovides details about the nature of the error and when it occurred. Links that leadyou to more detailed information about the error are available when you clickLogs or Troubleshooting.

© Copyright IBM Corp. 2007, 2011 171

The Logs button opens the directory where the error log files are stored. TheTroubleshooting button opens the relevant troubleshooting information directlyfrom the product support site. Use the information from the support site todiagnose and resolve the error.

The links that bind an error condition to the URL of the product support site are inthe MWITroubleshooting.xml file. This file is in the middleware installationprogram workspace. The middleware installation program downloads the latestversion of this file when it is started. If it is unable to connect to the productsupport site to update the file, it uses the local copy of the file.

Segmentation faultA segmentation fault occurs when the middleware installation program creates anIBM Tivoli Directory Server instance.

About this task

User authentication restrictions can cause a segmentation fault when themiddleware installation program creates an IBM Tivoli Directory Server instance.Non-local user authentication is not permitted during creation of IBM TivoliDirectory Server instances, causing the following error:/opt/ibm/ldap/V6.3/sbin/idscfgdb: line 30: integer: command not found/opt/ibm/ldap/V6.3/sbin/idscfgdb: line 1098: 29830 Segmentation fault${IDS_LDAP_PRE} ${IDS_LDAP_HOME}/${ITDS_INST_BIN}/${ITDS_BIN}/$PROGNAME "$@"

To resolve this issue, complete the following steps:

Procedure1. Start the middleware installation program, select Undeploy the Plan, and then

select the option for a Complete Uninstall.2. After the uninstall, exit the installer and delete all DB2 and IBM Tivoli

Directory Server instance users and their home directories.v db2inst1v db2fenc1v dasusr1v ctginst1v idsldapv idsccmdb

3. Verify the following conditions:v A local user is created to create the IBM Tivoli Directory Server instance. If

necessary, update the /etc/nsswitch.conf file. The files option must bespecified for the passwd and group entries. For example:passwd: filesgroup: files

v NIS must not be configured for the duration of the instance creation process.The /etc/passwd file must not have any entries prefixed with a plus (+) sign.NIS can be configured after the instance is created. The /etc/passwd file mustnot have entries prefixed with + (which denotes including NIS user thepasswd file configuration

4. Start the middleware installation program and continue with the middlewaredeployment.

172 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Encountering error ACUINI0044EDuring middleware installation using the middleware installer, you mightencounter error ACUINI0044E which occurs during the install step for thedeployment engine.

About this task

If you encounter error ACUINI0044E through the normal use of the middlewareinstallation program, it might be related to a failure of the deployment engine tobe installed or started. The following messages will be displayed after a failure todeploy the deployment engine is encountered:Deployment Engine did not start successfully. Please try to manuallystart the Deployment Engine and restart the installer.

ACUINI0044E Failed to register and start Deployment EngineIBM ADE Service

In order to troubleshoot this error, complete the following steps:

Procedure1. Exit the middleware installation program.2. Restart the deployment engine.

v For Windows, use the following command:net start "IBM ADE Service"

v For UNIX, use the following command:/usr/ibm/common/acsi/bin/acsisrv.sh -start

If the deployment engine is started successfully, restart the middlewareinstallation program and resume middleware deployment. If the deploymentengine fails to start, you have to manually uninstall the deployment engine.This action also eliminates the deployment engine registry information forother products installed on the system, so use caution when uninstalling thedeployment engine.“Common deployment failures” on page 190General troubleshooting techniques can be used to determine commondeployment failures.

Incorrect db2admin passwordWhen using the middleware installation program, you might encounter errorCTGIN9042E Errors were encountered during the execution of the step DB2Enterprise Server Edition Version 9.x.. This error is thrown when a usernamed db2admin is found on the system but uses a different password than theone entered in the middleware installation program.

Check the db2_97_inst.log file for an error like the following entry:ERROR:The password specified is invalid. Enter a valid password.

The db2_97_inst.log file is located at: <Workspace>\<machine name>\deploymentPlan\MachinePlan_<machine shortname>\00004_DB2_9.7\install\01_BASE\[INSTALL_<processing.req.id>]/logs/ db2_97_inst.log

So, for example, if the workspace is located at: C:\ibm\tivoli\workspace, themachine name is mymachine, and the processing.req.id is created as adate_timestamp, then the db2_97_inst.log file would be located

Chapter 14. Troubleshooting 173

in:C:\ibm\tivoli\mwi\workspace\mymachine.ibm.com\deploymentPlan\MachinePlan_mymachine\00004_DB2_9.7\install\01_BASE\[INSTALL_0424_09.32]\logs

Check the de_processreq.log file for an error like the following example:<errorMessages>

<errorMessage>[com.ibm.ac.si.ap.action.ExternalCommandActionException:ACUOSI0050E External command action failed with return code 87. Invocationstring: [C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1/DB2-ESE_9.7.0/ESE/setup.exe,/f, /l, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\[INSTALL_0424_09.32]/db2_97_inst.log,/u, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\[INSTALL_0424_09.32]/

Decrypted_ResponseFile.txt],com.ibm.ac.common.hosts.CreationFailedException: : ]</errorMessage>

<errorMessage>[com.ibm.ac.common.hosts.CreationFailedException: : ]</errorMessage>

</errorMessages><actionErrorEvents>

<actionErrorEvent actionID="InstallProduct" actionName="externalCommand">ACUCME1100E</actionErrorEvent>

</actionErrorEvents>

The de_processreq.log file is located at:<Workspace>\<machinename>\deploymentPlan\MachinePlan_<machine shortname>\00004_DB2_9.7\install\01_BASE\[INSTALL_<processing.req.id>]/logs/ de_processreq.log

So, for example, if the workspace is located at: C:\ibm\tivoli\workspace, themachine name is mymachine, and the processing.req.id is created as adate_timestamp, then the de_processreq.log file would be located in:C:\ibm\tivoli\mwi\workspace\mymachine.ibm.com\deploymentPlan\MachinePlan_mymachine\00004_DB2_9.7\install\01_BASE\[INSTALL_0424_09.32]\logs

These errors indicate that the existing system user db2admin has differentpassword than the one entered in the middleware installation program.

To resolve this issue, complete the following steps:1. If you have not done so, click Finish to exit out of the middleware installation

program install wizard.2. Resolve the issue using one of the following methods:

v If you know the password for the user db2admin you can use the samepassword for the middleware installation program installation.

v You can delete the user db2admin and restart the middleware installationprogram.

v You can set or change the password for existing DB2 user db2admin.To set the password follow these stepsa. Using the right mouse button, click the My Computer icon and select

Manage.b. From the Computer Management console, select Local Users and Groups

in System Tools.c. Expand Local Users and Groups and then select Users

d. Using the right mouse button, click the db2admin user and then click Setpassword.

e. Enter the password, confirm it, and then click OK

f. Click OK once again.

174 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

3. Navigate to the directory containing the middleware installation programimage and restart the middleware installation program.

4. Select Restart the Plan and click Next.5. Specify the directory for the middleware install images and click Next.6. Specify the temporary directory and click Next.7. After disk space checks are completed, click Deploy to start the install.8. After install completes click Finish to exit the wizard.

Password expiration for db2adminWhen attempting to access Maximo Asset Management, you receive the error:Error 500 - BMXAA6418E - access#DBConnectFail.

When DB2 in installed, the operating system user, typically db2admin, isconfigured with a password that expires after 30 days. After 30 days, the passwordmust be changed for that user. When the DB2 service is restarted, if the operatingsystem user does not have a valid password, it cannot start the service. Ifconnectivity cannot be established between DB2 and the database, users are notable to log in to DB2.

Search the MyDomain.log file for the following error trace:[ERROR] BMXAA6418E - There was an error reloading the MAXPROPcache: access#DBConnectFail[FATAL] BMXAA6473E Maximo failed to start.psdi.util.MXSystemException: access#DBConnectFail

After the password is reset, DB2 services must be restarted.

Improper configuration of DB2 or IBM Tivoli Directory ServerWhile running the middleware installation program on an AIX system, youencounter the error message CTGIN9042E, which relates to a failure to properlyconfigure DB2 or IBM Tivoli Directory Server.

If you encounter error CTGIN9042E through the normal use of the middlewareinstallation program on an AIX machine, check the following log files to determinethe precise cause of the error:

Check the mwi.log file located within the workspace directory (forexample:/ibm/tivoli/mwi/workspace), and look for an error like the followingsample:Caused by:<workspace>/<machine name>/deploymentPlan/MachinePlan_<machine name>/00005_DB2_Configuration/install/02_CONFIG/02_CONFIG_AIX.xml:173: Failedto create database instance ctginsxy.

Also check the createinstance.log file at <workspace>/<machinename>/deploymentPlan/MachinePlan_<machine shortname>/00005_DB2_Configuration/install/02_CONFIG/[INSTALL_<processing.req.id>]/logs/createinstance.log

for an error like the following sample:Caused by: <workspace>/<machine name>/deploymentPlan/MachinePlan_<machine name>/00008_ITDS_Configuration/install/02_CONFIG/02_CONFIG_AIX.xml:173:Failed to create itds database instance itdsccmxy.

Chapter 14. Troubleshooting 175

Check the startInstanceTool.log file at <workspace>/<machinename>/deploymentPlan/MachinePlan_<machine shortname>/00008_ITDS_Configuration/install/02_CONFIG/[INSTALL_<processing.req.id>]/logs/startInstanceTool.log

for any error like the following sample:DBI1703E No valid service name or port number found

If you locate any of these errors in the log files listed, the error can be attributed toa failure to properly configure either DB2 or IBM Tivoli Directory Server.

To resolve this issue, complete the following steps:1. Click Finish to exit out of the middleware installation program install wizard.2. Restart the middleware installation program and proceed through the wizard

until you reach the Restart or Undeploy the Plan panel.3. Select Undeploy the Plan, and then click Next.4. Select Partial uninstall, and then click Next.5. Select only the Configuration for DB2 Enterprise Server Edition option, and

then click Next.6. Proceed through the panels to complete the uninstall and click Finish to exit

the installer.7. Download the mwi_db2instance.sh and mwi_itdsinstance.sh files attached to

this document to your local system.Alternatively, you can create your own copies of these files.a. Create a text file named mwi_db2instance.sh and add the following

content:#!/bin/kshport1=0var1=3if [ -f /etc/services ]thenif [ $# -eq 0 ]thencat >> /etc/services << EOFDB2_ctginst1 60000/tcpDB2_ctginst1_END 60003/tcpEOFelif [ $# -gt 0 ]thenport1=`expr $2 + $var1`cat >> /etc/services << EOFDB2_$1 $2/tcpDB2_$1_END $port1/tcpEOFfifi

b. Create a text file named mwi_itdsinstance.sh and add the followingcontent:#!/bin/kshport1=0var1=3if [ -f /etc/services ]thenif [ $# -eq 0 ]thencat >> /etc/services << EOFDB2_idsccmdb 60004/tcpDB2_idsccmdb_END 60007/tcp

176 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

EOFelif [ $# -gt 0 ]thenport1=`expr $2 + $var1`cat >> /etc/services << EOFDB2_$1 $2/tcpDB2_$1_END $port1/tcpEOFfifi

8. Based on the deployment choices you made in the middleware installationprogram, run the following scripts:v If you elected to deploy both the Database Server and Directory Server, run

both the mwi_db2instance.sh and mwi_itdsinstance.sh scripts.v If you elected to deploy the Database Server only, run the

mwi_db2instance.sh script.v If you elected to deploy the Directory Server only, run the

mwi_itdsinstance.sh script.9. Run the middleware installation program again and select the option to

Restart the plan, which installs everything you selected in the originaldeployment plan.

10. Proceed through the rest of the installation process and exit the installationprogram when complete.

When using the mwi_db2instance.sh script, DB2 is installed with default values ifyou initiate the script without passing any parameters. If you want to use customvalues run mwi_db2instance.sh and pass values for DB2 instance name and theDB2 port number in the following order:./mwi_db2instance.sh ctginsxy 50007where ctginzxy and 50007 are the values entered in middleware installationprogram DB2 Configuration Panel.

When using the mwi_itdsinstance.sh script, IBM Tivoli Directory Server isinstalled with default values if you initiate the script without passing anyparameters. If you want to use custom values run mwi_itdsinstance.sh and passvalues for the instance name and the port number in the following order:./mwi_itdsinstance.sh itdsccmxy 60007 where itdsccmxy and 60007 are thevalues entered in middleware installation program IBM Tivoli Directory ServerDB2 instance Configuration Panel.

Incorrect idsccmdb user passwordIf you encounter error CTGIN9042E through the normal use of the middlewareinstallation program, it might be related to the fact that there is an existing usernamed idsccmdb on the system, but with a different password than the oneentered in the middleware installation program.

The error might look like the following sample:CTGIN9042E: Errors were encountered during the execution of the stepConfiguration for IBM Tivoli Directory Server

Check the configureDB.log file for an error like the following sample:GLPCDB018E The DB2 administrator ID or password you specified is not valid.

This message indicates that the existing IBM Tivoli Directory Server user idsccmdbhas different password in the system.

Chapter 14. Troubleshooting 177

The configureDB.log file is located at: <Workspace>\<machine name>\deploymentPlan\MachinePlan_<machine shortname>\00008_ITDS_Configuration\install\02_CONFIG\logs\configureDB.log

WindowsSo, for example in Windows, if the workspace is located at:C:\ibm\tivoli\workspace, the machine name is mymachine, then theconfigureDB.log file would be located in: C:\ibm\tivoli\mwi\workspace\mymachine.ibm.com\deploymentPlan\MachinePlan_mymachine\00008_ITDS_Configuration\install\02_CONFIG\logs

Linux In Linux, if the workspace is located at: /root/ibm/tivoli/mwi/workspace,the machine name is mymachine, then the configureDB.log would belocated in: /root/ibm/tivoli/mwi/workspace/mymachine.ibm.com/deploymentPlan/MachinePlan_mymachine.ibm.com/00008_ITDS_Configuration/install/02_CONFIG/logs

AIX In AIX, if the workspace is located at: /ibm/tivoli/mwi/workspace, themachine name is mymachine, then the configureDB.log would be locatedin: /ibm/tivoli/mwi/workspace/mymachine.ibm.com/deploymentPlan/MachinePlan_mymachine.ibm.com/00008_ITDS_Configuration/install/02_CONFIG/logs

To resolve this issue, complete the following steps:1. If you have not done so, click Finish to exit out of the middleware installation

program install wizard.2. Resolve the issue using one of the following methods:

v If you are the Administrator for that machine and if you know thepassword for the user idsccmdb you can use the same password for themiddleware installation program installation.

v You can delete the user idsccmdb and restart the middleware installationprogram.

v You can set or change the password for existing IBM Tivoli Directory Serveruser idsccmdb.To set the password complete the following steps

Windows

a. Right-click on My Computer icon and click Manage menu item.b. From the Computer Management console, select Local Users and

Groups in System Tools.c. Expand Local Users and Groups and then select Usersd. Right-click on the idsccmdb user and then click the set

password menu item.e. Enter the password, confirm it, and then click OK

f. Click OK once again.

Linux AND AIX

a. Log in as root and open command prompt.b. Run the following command at terminal:

# passwd idsccmdbc. Enter the new password and confirm it.

3. Navigate to the directory containing the middleware installation programimage and restart the middleware installation program.

178 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

4. Select Undeploy the Plan and click Next.5. Select Partial Uninstall and click Next.6. Select Configuration for IBM Tivoli Directory Server and click Next.7. Click Undeploy to start the uninstall.8. After install completes click Finish to exit the wizard.9. Navigate to the directory containing the middleware installation program

image and restart the middleware installation program.10. Select Restart the Plan and click Next.11. Specify the directory for the middleware install images and click Next.12. Specify the temporary directory and click Next.13. After disk space checks are completed, click Deploy to start the install.14. After install completes click Finish to exit the wizard.

Incorrect service pack requirement for AIXWhen running the middleware installation program on AIX platforms, you mightencounter the following message: CTGIN9061E: Unsupported Technology Level. OSTechnology Level should be 06 or greater and SP level 02 or greater.

This message is shown when the cited service pack level is incorrect. While theerror message indicates SP level 02 or greater is a prerequisite, SP level 01 orgreater is the actual middleware installation program prerequisite.

Failure when system directories cannot be renamedDuring middleware installation you encounter CTGIN9042E during the executionof a number of installation steps. This error can occur during the execution of anyof the middleware steps where renaming of the product install directories hasfailed.

If you encounter the following error message: CTGIN9042E: Errors wereencountered during the execution of step <step_name>, where <step_name> canbe any of a number of middleware installation steps.

For example: CTGIN9042E: Errors were encountered during the execution ofstep DB2 Enterprise Server Edition. Before installing the specific middlewareproduct, the middleware installer attempts to save any existing product installdirectories by renaming them.

For example, if you are installing to /opt/IBM/db2/V9.7, and this directory exists,the middleware installer attempts to rename it to /opt/IBM/db2/V9.7_<date_time_stamp>.

This renaming of existing directories can fail in certain situations. For example:1. If it has been previously created as a file system (instead of a directory within a

defined file system).2. If the file system or directory has been created with Read Only access.

To determine if this situation is the cause of the error complete the following steps:1. Check the DeploymentPlan.log

This log file is located at /ibm/tivoli/mwi/workspace/<Machine_name>/deploymentPlan/logs/[INSTALL_<date_time_stamp>]/DeploymentPlan.log,where /ibm/tivoli/mwi/workspace is the default middleware workspace or the

Chapter 14. Troubleshooting 179

path you specified on the installer workspace panel, and <Machine_name> is thehost name of the machine on which you are installing.Locate the step name that has failed.For example:2008-12-15 04:07:44.595 : Failed: Deployment Step: step_00004_DB2_9.72008-12-15 04:07:44.595 : Machine Plan: MachinePlan_mymachine.mydomain.com

The failed step in this case is "step_00004_DB2_9.7"Also check the DeploymentPlan.log for the following sample error text:ml:284: The following error occurred while executing this line:/ibm/tivoli/mwi/workspace/<host name>/deploymentPlan/MachinePlan_<host name>/deploymentPlan/MachinePlan_00004_<middleware>/common/Utils.x

ml:544: Deployment Engine command de_processReq reported an error.

Check the de_processReq output file at /ibm/tivoli/mwi/works pace/<hostname>/deploymentPlan/MachinePlan_<host name>/00004_<middleware>/install/01_BASE/[INSTALL_1215_04.00 ]/logs/de_processreq.log_utf8

Check de_trace.log at /ibm/tivoli/mwi/workspace/<host name>/deploymentPlan/MachinePlan_<host name>/00004_<middleware>/install/01_BASE/[INSTALL_1215_04.00]/logs.

2. Check the location and the logs indicated by the error message from step #1:Check de_processreq.log_utf8 at /ibm/tivoli/mwi/workspace/<hostname>/deploymentPlan/MachinePlan_<host name>/00004_<middleware>/install/01_BASE/[INSTALL_1215_04.00 ]/logs/de_processreq.log_utf8 for thefollowing error text:<errorMessage>[com.ibm.ac.si.ap.action.ExternalCommandActionException:ACUOSI0050E External command action failed with return code 1.<actionErrorEvent actionID=RenameExistingInstallLocation_UnixactionName="externalCommand">ACUCME1100E</actionErrorEvent>

If this error is found in de_processreq.log_utf8, check for the existence of thefollowing error file that might contain additional information:<Product_Name>_RenameExistingInstallLocation_Unix_<Date_Time_stamp>.err

For example,DB2_Enterprise_Server_Edition_RenameExistingInstallLocation_Unix_20081215_040712GMT-05.00.err

.View the contents of the file if it exists and determine if it contains an errormessage like the following sample:mv: 0653-401 Cannot rename /db2 to /db2_20081215_040712GMT-05.00:The requested resource is busy.

In this case, /db2 is the name of the existing file system or directory./db2_20081215_040712GMT-05.00 is the new name the middleware installer isusing for the mv command to rename the file system or directory. To resolve theproblem:a. If /db2 is a file system, rerun the installer and specify a new directory

within the file system:1) Restart the middleware installer, and select Undeploy the plan. Choose

Complete Uninstall and click Undeploy.2) Restart the middleware installer and select Edit the configuration

parameters.

180 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

3) Specify a directory (for example, /db2/V9.7) within the file system forthe install location of the product that previously failed.

4) Deploy the plan.b. If /db2 is a file system or directory with Read Only access, give write

permission for the user or owner of the file system (directory). Also givewrite permission to the user performing the installation. Then, run themiddleware installer again to deploy the plan.

Invalid DB2 password valueInvalid DB2 password value

The error CTGIN9042E: Errors were encountered during the execution of thestep DB2 Enterprise Server Edition occurs when you enter a password for theDB2 user in the middleware installation program that is incompatible with thepassword policy of the system.

Check the db2_97_inst.log file for an error like the following:1: ERROR:The installation program has been unable to create the user"db2admin" on computer "mymachine" because the password specified is too short.

1: ERROR:The response file specified "C:\WINNT\TEMP\2\_INSTA~1.18_/DECRYP~1.TXT"is not valid.

The db2_97_inst.log file is located at: <Workspace>\<machine name>\deploymentPlan\MachinePlan_<machine shortname>\00004_DB2_9.7\install\01_BASE\[INSTALL_<processing.req.id>]/logs/ db2_97_inst.log

So, for example, if the workspace is located at: C:\ibm\tivoli\workspace, themachine name is mymachine, and the processing.req.id is created as adate_timestamp, then the db2_97_inst.log would be located in:C:\ibm\tivoli\mwi\workspace\mymachine.ibm.com\deploymentPlan\MachinePlan_mymachine\00004_DB2_9.7\install\01_BASE\[INSTALL_0424_09.32]\logs.

Also check the de_processreq.log file for an error like the following sample:<errorMessages>

<errorMessage>[com.ibm.ac.si.ap.action.ExternalCommandActionException:ACUOSI0050E External command action failed with return code 87.Invocation string: [C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1/DB2-ESE_9.7.0/ESE/setup.exe, /f, /l, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\[INSTALL_0424_09.32]/db2_97_inst.log, /u, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\[INSTALL_0424_09.32]/Decrypted_ResponseFile.txt],com.ibm.ac.common.hosts.CreationFailedException: : ]</errorMessage>

<errorMessage>[com.ibm.ac.common.hosts.CreationFailedException: : ]</errorMessage>

</errorMessages><actionErrorEvents>

<actionErrorEvent actionID="InstallProduct"actionName="externalCommand">ACUCME1100E</actionErrorEvent>

</actionErrorEvents>

The de_processreq.log file is located at: <Workspace>\<machinename>\deploymentPlan\MachinePlan_<machine shortname>\00004_DB2_9.7\install\01_BASE\[INSTALL_<processing.req.id>]/logs/ de_processreq.log.

So, for example, if the workspace is located at: C:\ibm\tivoli\workspace, themachine name is mymachine, and the processing.req.id is created as adate_timestamp, then the de_processreq.log would be located in:

Chapter 14. Troubleshooting 181

C:\ibm\tivoli\mwi\workspace\mymachine.ibm.com\deploymentPlan\MachinePlan_mymachine\00004_DB2_9.7\install\01_BASE\[INSTALL_0424_09.32]\logs.

This circumstance would indicate that the password provided for the DB2 userdb2admin in the middleware installation program is not supported by the policyof the operating system.

To resolve this issue, complete the following steps:1. If you have not done so, click Finish to exit out of the middleware installation

program install wizard.2. Check the system rules defined for passwords by navigating to Start >

Control Panel > Administrative Tools > Local Security Policy > SecuritySettings > Account Policies > Password Policy.

3. Restart the middleware installation program.

WindowsNavigate to the root directory of the downloaded installation image,and run the following command: launchpad.exe.

Linux Navigate to the root directory of the downloaded installation image,and run the following command: launchpad.sh.

AIX Navigate to the root directory of the downloaded installation image,and run the following command: launchpad.sh.

4. Proceed through the panels until you reach the option to select Undeploy thePlan and then click Finish to exit the wizard.

5. Restart the middleware installation program.6. Select Edit the Configuration parameters.7. Enter a valid password for the DB2 user based upon the password policy

rules you observed earlier.8. Specify the directory for the middleware install images and click Next.9. Specify the temporary directory and click Next.

10. After disk space checks are completed, click Deploy to start the install.11. After install completes click Finish to exit the wizard.

Recovering from DB2 installation failure on AIXWhen you experience a failure during the DB2 installation step when using themiddleware installation program on AIX, sometimes it is necessary to perform acleanup procedure before restarting the middleware installation program in orderfor the middleware installation program to function correctly.

When you encounter a DB2 installation failure on AIX, complete the followingsteps:1. Exit the middleware installation program.2. Check the db2setup.log file for the error message specified to identify the

nature of your error.Checking license agreement acceptance:.......SuccessInstalling DB2 file sets:.......SuccessERROR:sh: /opt/IBM/db2/V9.7/install/db2chgpath: not found

ERROR:An error occurred while setting DB2 runtime path. Contact a technicalservice representative.

Setting DB2 library path:.......Failure

182 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

ERROR:A major error occurred while installing "DB2 Enterprise Server Edition"on this computer. The installation can not continue. If the problem persistscontact your technical service representative.

The db2setup.log file can be found in the /ibm/tivoli/mwi/workspace/<machine name>/deploymentPlan/MachinePlan_<machine name>/00003_DB2_9/install/01_BASE/[TIME STAMP]/log directory.

3. Ensure you have met all of the prerequisites listed.4. Change into the instance directory:

cd <DB2 install dir>/instance

For example,cd /opt/IBM/db2/V9.7/instance

5. Determine if a DB2 instance was created:./db2ilist

You can safely ignore errors.If an instance was created, drop it../db2idrop -f <instance name>

For example,./db2idrop -f db2inst1

6. Remove the DB2 Administration Server../dasdrop

You can safely ignore errors.7. Change directory to <DB2 install dir>/install and run the db2_deinstall

command.cd /opt/IBM/db2/V9.7/install./db2_deinstall -a

You can safely ignore errors.8. Delete the DB2 installation directory.9. Change directory to /tmp/DB2-ESE_9.7 and then run the db2_install

command.During the installation process, the DB2 images are uncompressed into the/tmp directory.cd /tmp/DB2-ESE_9.7./db2_install

If the DB2-ESE_9.7 folder is not found in /tmp or in the location specified inthe installation program panel, copy the DB2 binary image to /tmp and extractthe file to install DB2.

10. When prompted by the DB2 installation program with the choice of installinginto a different installation directory. enter no.

11. When prompted to specify a keyword to install DB2 products, enter ESE.This should result in a successful installation of DB2.

12. Change directory to <DB2 install dir>/install and run the db2_deinstallcommand again.cd /opt/IBM/db2/V9.7/install./db2_deinstall -a

This should result in a successful uninstallation of DB2.13. Delete the DB2 installation directory.14. Invoke the middleware installation program again and proceed, selecting the

option of restarting the plan.

Chapter 14. Troubleshooting 183

IBM Tivoli Directory Server starts in configuration modeIBM Tivoli Directory Server version 6.3, which is installed by the middlewareinstaller, starts in configuration mode when it is installed with DB2 version 9.7.

About this task

IBM Tivoli Directory Server version 6.3, which is installed by the middlewareinstaller, starts in configuration mode when it is installed with DB2 version 9.7.This issue occurs when you install IBM Tivoli Directory Server version 6.3 withDB2 version 9.7 on Microsoft Windows Server 2008 systems. IBM Tivoli DirectoryServer version 6.3 starts correctly when it is installed with DB2 version 9.7, fixpack 2.

Procedure1. To start IBM Tivoli Directory Server version 6.3 in normal mode, you run a

startup script that is provided with the middleware installation program. In theMWI directory of the installation image or on the product media, start thestartITDS.bat file.

2. Specify the following values as the command-line parameters when you runthe script: startITDS.bat -l ITDS-Home -I instance-name -p Port No -ssecure-port

Option Description

ITDS-Home The directory where IBM Tivoli DirectoryServer is installed in the system. By default,the value "C:\Program Files\IBM\ldap\V6.3" is used.

instance-name The database instance name that is used byIBM Tivoli Directory Server. By default, thevalue idsccmdb is used.

Port No The TCP port that is used by IBM TivoliDirectory Server. By default, port 389 isused.

secure-port The TCP secure port that is used by IBMTivoli Directory Server. By default, port 636is used.

Alternatively, you can use a text editor to modify the default values that areused by the script.

3. The script opens a new console window to start IBM Tivoli Directory Server.Do not close the console window.

Middleware setup script error codesErrors that occur when you run the middleware setup scripts are categorized bycodes. The error codes appear on the screen during installation and they are storedin an error log file.

Table 18. Middleware installation program setup script error codes

ErrorCode Error Description

11 Unsupported operatingsystem

The middleware installation program or one of the middleware productscannot run on this operating system.

184 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Table 18. Middleware installation program setup script error codes (continued)

ErrorCode Error Description

12 Unsupported Linuxdistribution

The middleware installation program or one of the middleware products isnot supported on this Linux kernel. Only Red Hat Enterprise Linux andSUSE Linux Enterprise Server are supported.

13 Unsupported kernel bit mode The middleware installation program is supported on Linux 32-bit or 64-bitmode and on AIX 64 bit mode.

14 Unsupported processorarchitecture

The middleware installation program or one of the middleware products isnot supported on this processor architecture. Only x86 and AMD64architecture are supported.

21 Env variablemwi_launchpadroot(UNIX) /LaunchPadBatchPath(Win) isnot set

The environment variable must be set to the middleware installationprogram installation files location:

WindowsLaunchPadBatchPath

Linux and UNIXmwi_launchpadroot

22 The middleware installationprogram file is not found

The middleware installation program installation file is missing or notaccessible. Ensure that the specified file exists in the current directory.

31 Host name is not a fullyqualified domain name.

The middleware installation program or one of the middleware productsrequires a fully qualified host name.

Alternatively, you can provide the IP address for the system.

32 SELinux is enabled or set inEnforcing mode

Middleware product installation fails with the following error:

JRE could not be found on the system

Disable Security-Enhanced Linux by using one of the following methods:v setenforce 0

v Add the following entry to the /etc/system file:

set fmac_enforcing = 0

33 The library libstdc++.so.5(64-bit) is not installed.

The installer requires the 64-bit version of the libstdc++.so.5 system library,which is in the/usr/lib64/libstdc++.so.5 folder. If this library is notinstalled, you must search for a Resource Package Manager (RPM) packagethat contains libstdc++.so.5 (64-bit) and install it.

34 The library libstdc++.so.5 isnot installed.

The installer requires the libstdc++.so.5 system library, which is in the/usr/lib/libstdc++.so.5 folder. If this library is not installed, you mustsearch for a Resource Package Manager (RPM) package that containslibstdc++.so.5 and install it.

Troubleshooting middleware uninstallUse the information contained in this section to troubleshoot middleware uninstallissues.

Use the information contained in this section to troubleshoot errors encountereduninstalling middleware installed through the middleware installation program.

Troubleshooting the product installation programIf you experience a failure using the product installation program, you musttroubleshoot the issue before continuing.

Chapter 14. Troubleshooting 185

Begin with general troubleshooting techniques. These techniques help youdetermine which portion of the installation failed.

General troubleshooting of the product installation programDuring product installation, you might need to troubleshoot errors that occurwithin the installation program.

Because Maximo Asset Management is typically deployed as a distributed system,errors can be generated from multiple sources. The installation error panel displaysany failure messages encountered during execution of the configuration step of thedeployment. These messages direct you to the source of the problem and the set oflogs to examine for further details.

All installation-related messages begin with the prefix CTGIN. Informationalmessage end with a suffix of I, warning messages end with a suffix of W, and errormessages end with a suffix of E.

There are four main categories of logs that can be used for installation errorremediation.v Install trace logsv Solution installation logsv Maximo logsv Middleware logs

Install trace logs

Install trace logs are generated on the Maximo Asset Management administrativeworkstation in the install_home\logs directory. These logs can be searched for theerror message displayed on the installation error panel. They provide morediagnostic information about why the error occurred. Installation trace logscontain historical data about when the installation program was started and whichoptions were chosen for the deployment. It also contains information aboutupdates and fix packs.

Searching on the term maxinst places you in the general proximity of informationabout database configuration.

If you encounter an error during a validation task, install trace logs can also belocated within the C:\Documents and Settings\Administrator directory. They aremoved to the install_home\logs directory during execution of the configurationstep of the deployment.

The following trace log files are found in the install_home\logs directory:

CTGInstallTrace00.logThis log contains information produced by the Maximo Asset Managementinstallation program.

The log includes details about:v The automated configuration of DB2.v Embedded calls to the process solution installation program

Information generated from subsequent invocations of the Maximo AssetManagement installation program or the process solution installationprogram is appended to this file.

186 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

The following success message examples are found in theCTGInstallTrace00.log file. These messages can be used to determine whichphases of the installation were successful:v CTGIN2114I: The database was created successfullyv CTGIN2135I: Tablespace maxdata created successfullyv CTGIN2135I: Tablespace maxtemp created successfullyv CTGIN2079I: process automation engine database configuration

completed successfully (This message indicates that maxinst finishedsuccessfully.)

v CTGIN2253I: buildmaximoear.cmd completed successfullyv CTGIN2253I: buildmxiehsear.cmd completed successfullyv CTGIN2208I: runConfigurationStep completed successfullyv CTGIN2370I: The installation finished successfully

The following warning message example is found in theCTGInstallTrace00.log file. This message indicates that while a functioncompleted successfully, you need to perform additional steps outside of theinstallation program.v CTGIN2420W The undoConfiguration function completed but some

manual clean-up is required for the following component: <VariableformatSpec="{0}">manual component</Variable>.

The following error message example indicates that while the installationcompleted, there were some serious errors.v CTGIN2371E: The installation is finished, but some serious errors

occurred during the install.

In this error case, open the CTGInstallTrace00.log file and examine themost recent logged information. Determine what caused the failure. Insome cases, the error is the result of a failed configuration task that wasattempted by Maximo Asset Management installation programconfiguration scripts.

CTGInstallMessage00.logThis log contains named message statements generated by the MaximoAsset Management installation program, configuration tasks, and theprocess solution installation program during the installation.

CCMDB_install.logThis log contains information about the Maximo Asset Managementinstallation program itself, including values that you provided and optionsyou selected during the installation.

In some instances, you find trace logs with 01, 02, and so on, in the filename. These files contain information like what is found in the files that include00 in the file name. These files are generated when a second JVM is started duringthe installation, and it begins logging information.

Solution installation logs

Solution installation logs are generated on the Maximo Asset Managementadministrative workstation in the install_home\solutions\logs and C:\programfiles\ibm\common\acsi\logs\<administrative user> directories. These logsprovide in-depth information about exceptions and errors related to processmanager packages, other PSI packages, and also the deployment engine.

Chapter 14. Troubleshooting 187

Maximo logs

Core components of Maximo Asset Management include deployment utilities suchas updatedb, configdb, maxinst, tdtoolkit, buildmaximoear, and deployapplication.Logs for these components are generated on the Maximo Asset Managementadministrative workstation in the install_home\maximo\tools\maximo\logdirectory.

Middleware logs

Native middleware logs for the database server can be examined for failuresoccurring on the middleware server.

Log utility

When engaging IBM product support services, be prepared to provide log files inan archive file. The LogZipper.bat utility provided in the <install_home\scriptsdirectory can be used for this task. If you use the LogZipper.bat utility, all relevantlog files are archived in install_home\debug\YYYYMMDD_hhmmss.zip.

When you contact IBM support personnel, you are asked to provide log files fromthe following directories:v install_home\logsv install_home\solution/logsv install_home\maximo\applications\maximo\propertiesv install_home\etc\install.propertiesv <Middleware_Installer_Workspace>

IBM Support Assistant Workbench

The IBM Support Assistant (ISA) V4 is a free serviceability workbench that you candownload from IBM. ISA, using product-specific add-ons, provides a centrallocation to learn more about products, gather data for troubleshooting problems,and manage problem submissions.

The IBM Service Management and IBM Maximo Asset Management (MaximoAsset Management) add-ons to the ISA Workbench provide a quick and direct wayto learn more about the product. If you encounter a problem with Maximo AssetManagement, you can use the ISA with these add-ons to search supportdocuments. These documents supply fixes or recommendations and quickly gatherrelevant logs for diagnosis. You can use the Log Analyzer to view the logs and usethe filter feature to reduce the amount of data to examine. The symptom catalogscan be used to analyze the logs.

You can use the ISA to perform these tasks:v Search documents concurrently. Rapidly search IBM documentation in many

different locations at the same time for answers to your questions or problems.ISA returns results that are categorized by source for easy review.

v Access product information. Quickly access key product information links, such asthe product support page and home page, online product documentation. Alsoaccess RSS feed information for the latest Flash notes, APARs, fixes, andtechnotes.

188 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

v Gather data. Collect files to document problems related to installation, databases,security, and general problems relevant to troubleshooting your environment.The collected data is packaged in compressed form for transmission to IBM.

v Analyze log data. Use the Log Analyzer to review collected log files andtroubleshoot problems.

v Report problems. Connect to the IBM Electronic Service Request system to openand update Problem Management Records. Send the information that the IBMService Management data collection scripts gather to IBM for diagnosis.

Deployment properties

Deployment of ISM solutions often happens in stages. You might install one ISMproduct and then deploy another at a later date. Follow-up deployments rely onthe installation and configuration data from previous installations. For example,how to connect to the database used with the original product deployment. Thisinformation must be persisted and protected. This data is persisted by storingdeployment data in both the product database and a set of properties files. Thisredundancy protects the deployment information in case anything were to happento the database.

After a successful deployment, deployment properties are kept both in thedatabase and in two property files.

maximo.propertiesThe maximo.properties file is an encrypted file which is in theinstall_home\maximo\applications\maximo\properties\ directory. Thisproperty file contains database connection properties.

install.propertiesThe install.properties file is an encrypted file which is located in theinstall_home\etc\ directory and contains most properties related to thedeployment.

Errors related to an inability to connect or authenticate to middleware serversduring an upgrade or fix pack installation might be caused by obsolete propertyvalues. For example, if you change the password for you used during the initialMaximo Asset Management installation without updating that value in the relevantproperty file. The next installation action fetches the outdated value from theproperty file and a failure occurs.

License files

License files are on the media and are not packaged with the installation program.If you copy the installation program from the product media to the file system, theLicense directory must also be copied.

Problem resolution

The configuration step of the Maximo Asset Management installation processoccurs after you have navigated through all the installation wizard panels and thenclicked Install.

Errors experienced before the configuration step are typically related to theinability of the installation program to verify that input values you provided. Ifyou experience this error, investigate the trace logs, resolve the issue, and thenproceed through the rest of the installation wizard.

Chapter 14. Troubleshooting 189

If you experience an error after the configuration step, you must exit theinstallation program. Examine the trace, solution install, and Maximo logs. Resolvethe issue and then complete the installation using the taskrunner utility by startingit from the command line:C:\IBM\SMP\scripts\taskRunner.bat CONTINUE STOPONERROR

Note: If you reboot the system, you are not be able to use the taskrunner utility torun configuration scripts. Taskrunner data stores are not persisted. If you intend touse the taskrunner utility, do not reboot your system.

The taskrunner utility resumes the installation at the point where the lastsuccessfully completed task was recorded in the previous attempt. If you runtaskrunner with the NOSTOPONERROR parameter, the taskrunner continues despiteerrors.

“Installation properties” on page 158Installation properties are recorded in properties files during a deployment andare used as input by future install-related actions. Installation properties arefound in the install.properties and maximo.properties files as well as thedatabase. You should only modify properties found in the install.propertiesfile that are related to host names or user IDs. Changing values for otherproperties can severely impact your ability to perform future installationactions, upgrades and fix pack installations.

http://www.ibm.com/software/support/isa/isa41/install.html

Common deployment failuresGeneral troubleshooting techniques can be used to determine common deploymentfailures.

Starting the installation program

If you start the product installation program from a drive that is different than theone you choose as the installation destination, the installation fails. This behavioroccurs when you are starting the installation program directly or though theproduct launchpad.

To resolve this problem, start the installer or launchpad application from the drivewhere you install the product.

For example, if you want to install the product on the g: drive, open a commandprompt and switch to the g: drive before invoking the installer. So, if your installerwas on the d: drive the command might look like the following:g:\> d:\temp\install.exe

(where g:> is your Windows command prompt)

Windows explorer normally sets the system default drive to "%HOMEDRIVE%"which is typically the drive where Windows is installed. If that is the target driveof the product install you can start the installer or launchpad from WindowsExplorer.

If you plan to install the product on a drive other than the one hosting Windows,do not start the installer from Windows Explorer. Start the installer from thecommand line as described earlier.

190 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Remote access configuration

If you choose to configure middleware using the automated configuration featureof the Maximo Asset Management installation program, you must enable a remoteaccess protocol for each system that is hosting a middleware server. Messages withthe prefix CTGRI are found in the CTGInstallTrace.log file. They are related theMaximo Asset Management installation program not being able to access remotesystems designated as part of the product deployment.

Ports An error reporting a failure to reach the remote host can sometimes berelated to a required port not being available to the Maximo AssetManagement installation program. Ensure that the following ports areaccessible on servers that are hosting middleware:

445 Port 445 is used for SMB over TCP.

139 Port 139 is used for TCP NetBIOS connections.

Remote registry permissionsError CTGRI0011E is issued if the user ID provided to the installationprogram that is used to access a remote Windows system does not haveappropriate permissions to the registry. Remote access to the registry isdetermined by the HKLM\System\CurrentControlSet\Control\SecurePipeServers\winreg registry key entry. Visit the Microsoft help andsupport website for more information. Use the issue search facility tolocate the article on how to manage remote access to the registry.

Connection exceptionsRemote access connection exceptions typically manifest themselves aseither an authorization failure or as a host connection failure. Search theCTGInstallTrace.log file to determine the cause of the connectionexception.

An authorization error is triggered by an incorrect user ID or passwordvalue supplied to the Maximo Asset Management installation program.Errors for this type of exception typically look like the following example:SEVERE: EXIT ^RxaConnectFailure:^o^{{com.ibm.tivoli.remoteaccess.RemoteAccessAuthException: CTGRI0000E Could not establish a connectionto the target machine with the authorization credentials that were provided.at com.ibm.tivoli.remoteaccess.BaseProtocol.beginSession(BaseProtocol.java:522)at com.ibm.tivoli.ccmdb.install.common.util.rxa.RxaHost.init(RxaHost.java:130)at com.ibm.tivoli.ccmdb.install.common.util.rxa.RxaHost.<init>(RxaHost.java:78)at com.ibm.tivoli.ccmdb.install.common.ia.CmnInstallAnywhereUtils.getOSType(CmnInstallAnywhereUtils.java:303)at com.ibm.tivoli.ccmdb.install.foundation.appsvr.FndWasRemoteActions.install(FndWasRemoteActions.java:237)at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA10*..)at ZeroGab8.run(DashoA10*..)

A host connection failure is triggered when the remote protocols MaximoAsset Management installation program cannot reach the remote systemusing the protocols it supports. This error typically looks like the followingexample:RemoteSystem can’t be reached using Supported RXA protocols.

Chapter 14. Troubleshooting 191

As stated in the Before you begin information, if Cygwin is present on aremote Windows system that is hosting middleware, errors can occurduring Maximo Asset Management installation. This error is displayedduring host validation.Aug 3, 2010 9:52:32 AM com.ibm.tivoli.ccmdb.install.common.log.CmnInstallLogUtils handleUnexpectedExceptionFINE: ENTER^java.net.ConnectException: CTGRI0023E An error occurredwhen executing GET_FREE_PHYS_MEM.at com.ibm.tivoli.remoteaccess.UNIXProtocol.getFreePhysicalMemory(UNIXProtocol.java:1358)at com.ibm.tivoli.ccmdb.install.common.util.rxa.RxaHost.initThreadRemoteAccess(RxaHost.java:434)at com.ibm.tivoli.ccmdb.install.common.util.rxa.RxaHost.initThreadRemoteAccess(RxaHost.java:277)at com.ibm.tivoli.ccmdb.install.common.util.rxa.RxaHost.getRemoteAccess(RxaHost.java:169)at com.ibm.tivoli.ccmdb.install.common.util.rxa.RxaUtil.directoryExists(RxaUtil.java:731)at com.ibm.tivoli.ccmdb.install.common.util.validation.CfgValidateRemoteSystem.directoryExists(CfgValidateRemoteSystem.java:94)at com.ibm.tivoli.ccmdb.install.common.config.was.ConfigWasThinClient.copyTrustStore(ConfigWasThinClient.java:396)at com.ibm.tivoli.ccmdb.install.common.config.was.ConfigWasThinClient.configWasThinClient(ConfigWasThinClient.java:529)at com.ibm.tivoli.ccmdb.install.common.config.was.ConfigWasThinClient.runConfigurationStep(ConfigWasThinClient.java:714)at com.ibm.tivoli.ccmdb.install.common.config.TaskRunner.runSingleTask(TaskRunner.java:324)at com.ibm.tivoli.ccmdb.install.foundation.ccmdb.FndUpgradePanelActions.handleInstall(FndUpgradePanelActions.java:256)at com.ibm.tivoli.ccmdb.install.foundation.ccmdb.AFndCustomCodeAction.install(AFndCustomCodeAction.java:127)at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA10*..)at ZeroGad8.run(DashoA10*..)^T^CTGRI0023E An error occurred when executing GET_FREE_PHYS_MEM.java.net.ConnectException: CTGRI0023E An error occurred when executingGET_FREE_PHYS_MEM.

In this case, you must either uninstall or disable the SSH daemon (sshd)included with Cygwin.

After you resolve these errors, you can continue to use the Maximo AssetManagement installation program.

Database

Updatedb

The updatedb command is run several times during Maximo AssetManagement installation. Each time updatedb is run, a time-stamped logfile is generated in the install_home\maximo\tools\maximo\log directory. Ifyou encounter an error attributed to updatedb, refer to the updatedb logwith the most recent timestamp for details.

After performing corrective measures, you can complete the deploymentwith the taskrunner utility.

MAXPRESENTATION update errorWhile installing Maximo Asset Management, you might encounter aMAXPRESENTATION error.

If you receive the following errors during installation, it indicates thepresence of database values that are not synchronized.

192 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Error: (RECONLINK) Unable to update MAXPRESENTATION - nulljava.lang.ExceptionError: (RECONLINK) Unable to update MAXPRESENTATION - null atpsdi.webclient.upgrade.MXApplyTransactions.saveApplicationDocument(Unknown Source)

If you encounter these errors, use the following SQL statements against thedatabase to verify the cause:select maxreserved from maxsequence where tbname = ’MAXPRESENTATION’;select max(maxpresentationid) from maxpresentation;

The maxreserved value needs to be greater than or equal to themax(maxpresentationid) value. If it is not, use the following SQL statementto correct it.update maxsequence set maxreserved = (select max(maxpresentationid) frommaxpresentation) where tbname=’MAXPRESENTATION’ andname=’MAXPRESENTATIONID’;

Microsoft SQL Server and MEA registration failureWhen installing Maximo Asset Management on an upgraded MicrosoftSQL Server database, if the error CTGIN2254I: The C:\IBM\SMP\jacl\solutions\MEAReg.bat did not complete successfully. is displayed,complete the following steps.

You might also find the following errors within the mxserver logs:BMXAA5228E - Could not register event listeners for all active MigrationManager change packages. BMXAA4156E - Not a valid data type.

1. From the Microsoft SQL Server Control Center, go to the MAXUSERtable, and modify the SCREENREADER column name null attribute tonot allow nulls (required)

2. Use the following SQL statement:alter table maxuser alter column screenreader smallint;

Microsoft SQL Server and ICfgConfigurationStep

When you attempt to install the product with Microsoft SQL Server, youmight also encounter the following error message: CTGIN2074E: Exceptioncaught creating ICfgConfigurationStep object.

The origin of this error can be confirmed by examining theCTGInstallTrace00.log for the following details:FINE: ENTER^ENTER^S^Using Connection: com.inet.tds.an@7ba07ba0Sep 17, 2008 4:21:14 PM com.ibm.tivoli.ccmdb.install.common.util.CmnEncryptPropertiesUtil init()SEVERE: NOTE ^^T^[ITAMBVT-WIN]Invalid object name’MaxPropValue’.com.inet.tds.at: Msg 208, Level 16, State 1, Line 1, SqlstateS0002[ITAMBVT-WIN]Invalid object name ’MaxPropValue’.at com.inet.tds.aq.a(Unknown Source)at com.inet.tds.k.b(Unknown Source)at com.inet.tds.k.a(Unknown Source)at com.inet.tds.b.a(Unknown Source)at com.inet.tds.b.a(Unknown Source)at com.inet.tds.b.b(Unknown Source)at com.inet.tds.u.f(Unknown Source)at com.inet.tds.u.executeQuery(Unknown Source)at com.ibm.tivoli.ccmdb.install.common.util.CmnEncryptPropertiesUtil.init(CmnEncryptPropertiesUtil.java:192)

This error is caused by the collation settings for your Microsoft SQL Server.For ISM products, Microsoft SQL Server collation settings must be set tothe following options:

Chapter 14. Troubleshooting 193

v Dictionary orderv Case-insensitivev For use with 1252 Character set

For Microsoft SQL Server collation setting details, see the userdocumentation provided with the software.

Invalid data typeWhile installing Maximo Asset Management, if you encounter errorCTGIN2252I: Cannot connect to base services web application orBMXAA415E - Not a Valid Data Type, complete the following steps.1. Run the following SQL statements against the database:

update maxattribute set maxtype=’YORN’ where objectname=’MAXSESSION’ andattributename=’ACTIVE’; update maxattributecfg set maxtype=’YORN’ whereobjectname=’MAXSESSION’ and attributename=’ACTIVE’;

2. From the DB2 Command Center, modify the MAXSESSION.ACTIVEdata type to be an integer.

Oracle Text indexingMaximo Asset Management requires a series of text indexes to improveperformance of text searches. These are created when the maxinstcommand is run as part of the installation. If maxinst fails to create textindexes for an Oracle database, errors like the following example in theCTGInstallTrace.log file occur:ORA-01031ORA-04045 with MDSYS.SDO_GEOR_TRUNC_TABLE

To resolve the issue, you must install Oracle Spatial:1. Connect to the database instance by specifying AS SYSDBA2. Create the MDSYS user with a command in the following format:

SQL> CREATE USER MDSYS IDENTIFIED BY <password>;

3. Grant the required privileges to the MDSYS user by running thefollowing procedure:SQL> @ORACLE_HOME/md/admin/mdprivs.sql

4. Connect as MDSYS.5. Install Spatial by running the following procedure:

SQL> @ORACLE_HOME/md/admin/catmd.sql

6. Connect as SYS and lock the MDSYS user account to preventunauthorized use.SQL> ALTER USER MDSYS ACCOUNT LOCK;

7. Rebuild the triggers by using the following command:@/<oracle_home>/rdbms/admin/utlprp.sql 0

Obsolete and prohibited property values

Deployment details are stored in the database and also on the administrativesystem in the install.properties and maximo.properties files.

Prohibited property valuesSystem users created by the installation programs must adhere to therequirements of the system. For example, the database user created by theinstallation program is an operating system user. The password you

194 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

provide for that user needs to match the operating system password rules.If it does not, you encounter an error message.

Ensure that you enter a password of the appropriate length on theinstallation panel for the DB2 user that is created. To verify that thepassword you entered for the database user is the appropriate length,before you click Install, search the CTGInstallTrace00.log for the followingmessage:The password does not meet the password policy requirements.Check theminimum password length, password complexity and password historyrequirements.More help is available by typing NET HELPMSG 2245.

If this message is present, then you did not create a user with the rightpassword length. You need to fix the operating system user password, andthe password in the maximo.properties file before you continue with theinstallation program.

“Remote configuration enablement” on page 10The Maximo Asset Management installation program can automaticallyconfigure middleware. You must enable a remote access protocol for eachsystem on which you intend to install the middleware.“Manually configuring Microsoft Active Directory” on page 79You can manually configure Microsoft Active Directory for use with MaximoAsset Management.“General troubleshooting of the product installation program” on page 186During product installation, you might need to troubleshoot errors that occurwithin the installation program.“Updating environment data” on page 168When you install a second product on the same administrative workstation, orupgrade a single product, the installation program uses values recorded fromthe previous deployment. These values are stored on the administrative systemin the install.properties and maximo.properties files, and also in thedatabase. If you made any environmental changes to any of the systems usedfor the original deployment, they must be recorded in the install.propertiesand maximo.properties files. They also must be updated in the database.Typically, these types of changes include changing a host name or updating apassword.

Troubleshooting the product uninstallation programUse the troubleshooting information to troubleshoot errors encountered whenusing the product uninstallation program.

Troubleshooting information is primarily found in log files

Error CTG00001 when performing an uninstallIn certain instances, while performing a product uninstall from the administrativesystem, you might encounter error CTG00001 The uninstall was unsuccessful.You must manually uninstall the Maximo product.

Exit the error message dialog box. To finish the uninstall, manually deleteinstallation directories located under C:\IBM\SMP\maximo. Afterward, verify registryentries for the product and process automation engine product are removed.Registry entries can be found under HKEY_LOCAL_MACHINE/SOFTWARE/IBM/processautomation engine and under the shortname of the ISM family product. Forexample,Maximo Asset Management. Also, depending on the failure, you might

Chapter 14. Troubleshooting 195

need to remove process manager information from the deployment database.

196 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Notices

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

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

IBM may have patents or pending patent applications covering subject matterdescribed in this document. The furnishing of this document does not grant youany license to these patents. You can send license inquiries, in writing, to:

IBM Director of LicensingIBM CorporationNorth Castle DriveArmonk, NY 10504-1785U.S.A.

For license inquiries regarding double-byte (DBCS) information, contact the IBMIntellectual Property Department in your country or send inquiries, in writing, to:

Intellectual Property LicensingLegal and Intellectual Property LawIBM Japan Ltd.1623-14, Shimotsuruma, Yamato-shiKanagawa 242-8502 Japan

The following paragraph does not apply to the United Kingdom or any othercountry where such provisions are inconsistent with local law: INTERNATIONALBUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS"WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFNON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULARPURPOSE. Some states do not allow disclaimer of express or implied warranties incertain 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 beincorporated in new editions of the publication. IBM may make improvementsand/or changes in the product(s) and/or the program(s) described in thispublication at any time without notice.

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

© Copyright IBM Corp. 2007, 2011 197

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

Licensees of this program who wish to have information about it for the purposeof enabling: (i) the exchange of information between independently createdprograms and other programs (including this one) and (ii) the mutual use of theinformation which has been exchanged, should contact:

IBM Corporation2Z4A/10111400 Burnet RoadAustin, TX 78758 U.S.A.

Such information may be available, subject to appropriate terms and conditions,including in some cases, payment of a fee.

The licensed program described in this document and all licensed materialavailable for it are provided by IBM under terms of the IBM Customer Agreement,IBM International Program License Agreement or any equivalent agreementbetween us.

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

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

COPYRIGHT LICENSE:

This information contains sample application programs in source language, whichillustrate programming techniques on various operating platforms. You may copy,modify, and distribute these sample programs in any form without payment toIBM, for the purposes of developing, using, marketing or distributing applicationprograms conforming to the application programming interface for the operatingplatform for which the sample programs are written. These examples have notbeen thoroughly tested under all conditions. IBM, therefore, cannot guarantee orimply reliability, serviceability, or function of these programs. The sampleprograms are provided "AS IS", without warranty of any kind. IBM shall not beliable for any damages arising out of your use of the sample programs.

TrademarksIBM, the IBM logo, and ibm.com are trademarks or registered trademarks ofInternational Business Machines Corp., registered in many jurisdictions worldwide.Other product and service names might be trademarks of IBM or other companies.A current list of IBM trademarks is available on the Web at “Copyright andtrademark information” at www.ibm.com/legal/copytrade.shtml.

198 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Java and all Java-based trademarks and logos are trademarks or registeredtrademarks of Oracle and/or its affiliates.

Linux is a registered trademark of Linus Torvalds in the United States, othercountries, or both.

Microsoft, Windows, and the Windows logo are trademarks of MicrosoftCorporation in the United States, other countries, or both.

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

Notices 199

200 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

Index

AACUINI0044E 173administrative workstation

backing up 157restoring 158

Bbackup 157

Ccompany related accounts

updating 129configure 126configure SMTP 126configuring

database server 65CTG00001 195CTGIN9042E 177, 179, 181CTGIN9061E 179currency codes

creating 126

Ddatabase

applying changes 128database server 65DB2

configuring existing server with themiddleware installationprogram 46

install on Solaris and HP-UX 152manual configuration, 9.x 65user password expiration 175

default insert sitecreating 130

deploying ear files 40, 60, 93deployment engine

backing up 12deployment plan

overview 16directory server

manually configuring 74

Ee-mail listener

configuring in WebLogic Server 30,50, 84

EAR filesbuilding manually 149manually deploying 149

environmental dataupdating 168

errorCTG00001 195

Ffonts

AIX 8

Ggeneral ledger account

creating 128general ledger account component

creating 128general ledger component type

authorizationupdating 129

group 25

Hhelp 125

IIBM Tivoli Directory Server 25

install on Solaris 154manually configuring 75segmentation fault 172

installautomatic middleware

configuration 15install silently 97installation

advanced topics 147automatically configuring existing

middleware 43deploying using manual middleware

configuration 65deploying with manually configured

middleware 63preparing 1product, automatically configured

middleware 33, 53product, manually configured

middleware 86properties 158

Installationpost installation tasks 125

installingprerequisite software products 16, 97silent 97

integration frameworkJMS options

configuring 28, 48, 83item and company sets

creating 127

JJ2EE server

manually configuring 82

JREconfiguring in Linux 9

Llanguages

deploying after database updatedeferral 42, 62, 95, 96

launchpadoverview 13starting 14

librariesLinux 9

logsmiddleware installation program 18,

20

MMaximo Application Server

starting 40, 60, 93MAXIMOSERVER domain

creating 28, 48, 82Media

Installation 1Microsoft Active Directory

configuring 79Microsoft SQL Server

manual configuration 72restoring 140

middleware 16, 97changing configuration

parameters 148install on Solaris and HP-UX 151,

152install preparation on Solaris and

HP-UX 151installing on HP-UX 151installing on Solaris 151remote configuration 10starting and stopping 145starting on UNIX 146starting on Windows 145uninstalling 26

middleware installationbefore you begin 1

middleware installation programerror ACUINI0044E 173error from DB2 installation failure on

AIX 182error improper configuration of DB2

or IBM Tivoli Directory Server 175error incorrect db2admin

password 173error incorrect idsccmdb user

password 177error incorrect service pack

requirement for AIX 179error Invalid DB2 password

value 181

© Copyright IBM Corp. 2007, 2011 201

middleware installation program(continued)

error when system directories cannotbe renamed 179

log reference 20logs 18troubleshooting 171

feature 171middleware installer

troubleshooting 172

Nnstallation

before you begin 1

Oonline help 125Oracle

manual configuration, 10g 70manual configuration, 11g 67restoring 139

Oracle WebLogic Serverconfiguring 147managing 147manually uninstalling 149post product installation 38, 58, 92setting the host name in the

application 41, 61, 95starting 147

organizationcreating 127

Pport availability

checking 7post installation 125post product installation

Oracle WebLogic Server 38, 58, 92prerequisite 16, 97product installation

before you begin 1troubleshooting, common

problems 190troubleshooting, general 186

product installation programoverview 32, 52

propertiesinstallation 158silent product installation 99

Rrecovery tool

uninstall 141restoration 157

Ssecurity

configuring 133shared memory

setting 10

signing in 125signing in and out 131silent install 97silent product installation

properties 99SMTP 126swap size

setting 10system password policy

considerations 12

Ttar command

AIX 7troubleshoot

middlewareuninstall 185

product installation program 186troubleshooting 171

DB2 175middleware installer 172product uninstallation program 195

Uulimit

setting 9uninstall

automatically configureddeployment 136

database configuration recover 138error

CTG00001 195manual 143manually configured

deployment 137manually configured

middleware 137manually removing files 143product 135

without uninstallationprogram 141

recovery tool 141uninstall program recovery tool 142

uninstallationautomatically configured

middleware 136user 25users

groupssynchronizing 131

synchronizing 131

Vverifying prerequisites

programmatically 3verifying the installation

manually 123programmatically 119

WWebLogic Server

manually configuring 27, 47, 82stopping 147

worktypescreating 130

202 IBM Maximo Asset Management: Installation Guide (Oracle WebLogic Server)

����

Printed in USA