IBM License Metric Tool 7.5安装设定 ILMT

IBM License Metric Tool 7.5安装设定

安装ILMT比较繁琐,大致顺序如下

DB2 v9.7.0.9安装->

ILMT V7.5.0.0->

TIP2.2.0.0更新到2.2.0.3->

TIP2.2.0.3更新到2.2.0.7->

ILMT V7.5Fixpack1安装->

ILMTV7.5Interim Fix 9安装

 

硬件配置

安装的时候,
如果1G内存,512M paging space,会报内存不足
4Gn内存,512M PS 不会错误,大概需要1h内
1G内存,4.5G ps,也不会出错,不过时间会要3.5h以上
另外,SoftwareCatalog更新,一般要24h小时内。

 

安装顺序:

1.下载ILMT安装包

Download IBM License Metric Tool 7.5 for AIX platforms

Download IBM License Metric Tool 7.2.2 for AIX platforms

2.下载DB2 V9.7版本

Download DB2 Fix Packs by version for DB2 for Linux, UNIX and Windows

3.安装DB2 9.7

4.ILMT安装前提

硬盘空间需求:

Partition

Needed Space

Free Space

/opt

2376.4 MB

3915.8 MB

/usr

3.9 MB

7477.8 MB

/tmp

1584.7 MB

2384.2 MB

/opt/IBM/LMT

251.6 MB

4095.1 MB

/

748.0 kB

838.4 MB

/home/db2inst1

755.7 MB

1687.2 MB

/var

9.5 MB

3812.0 MB

/opt/netcool

412.5 MB

98.5 MB



 

5.ILMT安装文件设置

需要注意,TIP安装在LMT目录下,比如安装在/opt/IBM/LMT/TIP目录下,
最后安装FP0001的时候,会导致权限错误。

[shell]

RSP_LICENSE_ACCEPTED=true
RSP_TLM_ROOT=/opt/IBM/LMT
RSP_SETUP_TYPE=Production
RSP_ADMINDB_COMPONENT=true
RSP_ADMIN_COMPONENT=true
RSP_TLM_TLMSRV_PASSWD=xxxxxx
RSP_TLM_DB_PATH=/home/db2inst1
RSP_TLM_SERVER_FIPS_ENABLED=false
RSP_TLM_MIN_SEC_PORT=9988
RSP_TLM_MED_SEC_PORT=9999
RSP_TLM_MAX_SEC_PORT=9977
RSP_TLM_DB_HOST=localhost
RSP_TLM_DB_PORT=50000
RSP_INSTALL_TIP_INTO_WAS_HOME=false
RSP_TIP_HOME=/opt/IBM/TIP
RSP_TIP_ADMIN_NAME=xxxxxx
RSP_TIP_ADMIN_PASSWD=xxxxxx
RSP_TIP_WC_PORT=16310
RSP_TIP_WC_SECURE_PORT=16311
RSP_TIP_BOOTSRAP_PORT=16312
RSP_TIP_SOAP_CONNECTOR_PORT=16313
RSP_TIP_WC_ADMIN_PORT=16314
RSP_TIP_WC_ADMIN_SECURE_PORT=16315
RSP_TIP_DCS_UNICAST_PORT=16316
RSP_TIP_IPC_CONNECTOR_PORT=16318
RSP_TIP_ORB_LISTENER_PORT=16320
RSP_TIP_SAS_SSL_SERVERAUTH_PORT=16321
RSP_TIP_CSIV2_SSL_MUTUALAUTH_PORT=16322
RSP_TIP_CSIV2_SSL_SERVERAUTH_PORT=16323
RSP_TIP_REST_NOTIFICATION_PORT=16324

[/shell]

6.执行ILMT安装设定

[shell]
## UNIX/Linux:
## <ILMT/TAD4D>-server-7.5-.sh -f <full_path_to_response_file> -i silent
## Example:
## ILMT-server-7.5-linux-ppc64.sh -f /installResponseProduction.txt -i silent
##
## Windows:
## <ILMT/TAD4D>-server-7.5-.bat -f <full_path_to_response_file> -i silent
## Example:
## TAD4D-server-7.5-windows-x86_64.bat -f "c:\images\installResponseProduction.txt" -i silent
[/shell]

[shell]
#./ILMT-server-7.5-aix-ppc64.sh -f `pwd`/installResponseProduction.txt -i silent
Running installation wizard for AIX
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Preparing SILENT Mode Installation...

===============================================================================
IBM License Metric Tool                          (created with InstallAnywhere)
-------------------------------------------------------------------------------

===============================================================================
Installing...
-------------

 [==================|==================|==================|==================]
 [------------------|------------------|------------------|------------------]

Installation Complete.
All logs can be found in: /opt/IBM/LMT/LMT_7.5_20140521-122847_12583022_logs.tar.gz

[/shell]

7.几个常见错误:

[shell]
#./ILMT-server-7.5-aix-ppc64.sh -f `pwd`/installResponseProduction.txt -i silent
Running installation wizard for AIX
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
 Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Preparing SILENT Mode Installation...

===============================================================================
IBM License Metric Tool                          (created with InstallAnywhere)
-------------------------------------------------------------------------------

cp: /opt/IBM/TIP/profiles/TIPProfile/logs: No such file or directory
The following file/directory could not be copied: /opt/IBM/TIP/profiles/TIPProfile/logs
All logs can be found in: /tmp/LMT_7.5_20140521-120347_6029368_logs.tar.gz
ERROR: 52
##
[/shell]

这些一般都是内存不足导致的错误,
如果不能追加内存,请扩展Page Space。

8.安装成功后,可以访问
https://www.ibmer.info:16311/ibm/console/
查看ILMT的登录界面
[caption id="attachment_97" align="alignnone" width="781"][![ILMT登录界面](http://115.29.220.91/wp-content/uploads/2014/05/1.jpg)](http://115.29.220.91/wp-content/uploads/2014/05/1.jpg) ILMT登录界面[/caption] 关于ILMT登录端口,大家会比较迷惑,其实和was一样,可以通过AboutThisProfile.txt文件查看。 [shell] root@localhost:# cat /opt/IBM/TIP/profiles/TIPProfile/logs/AboutThisProfile.txt Application server environment to create: Application server Location: /opt/IBM/TIP/profiles/TIPProfile Disk space required: 200 MB Profile name: TIPProfile Make this profile the default: True Node name: TIPNode Host name: loopback Enable administrative security (recommended): True Administrative console port: 16314 Administrative console secure port: 16315 HTTP transport port: 16310 HTTPS transport port: 16311 Bootstrap port: 16312 SOAP connector port: 16313 Run application server as a service: False Create a Web server definition: False Performance tuning setting: Standard [/shell]   9.版本查看 [shell] root@localhost: # ./opt/IBM/LMT/cli/lmtcli.sh xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x Licensed Materials - Property of IBM x 5724-T40 IBM License Metric Tool x 5725-C68 IBM Tivoli Asset Discovery for Distributed x Command line version 7.5 for AIX . x (C) Copyright IBM Corp. 2002, 2010. x All Rights Reserved. US Government Users Restricted Rights - Use, x duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. x For more detailed help, refer to product manual. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx lmt>login -u username -p password CODCL0033I: The command has been successfully performed. lmt>info Server version: IBM License Metric Tool 7.5 Installation date: May 21, 2014 Database name: TLMA Build version: 201112061421 The start day for the next report: May 21, 2014 CODCL0033I: The command has been successfully performed. lmt> [/shell] 通过 TLMA database查看版本 [shell] root@localhost:/)# su - db2inst1 db2inst1@localhost:/home/db2inst1)# db2 connect to TLMA Database Connection Information Database server = DB2/AIX64 9.7.9 SQL authorization ID = DB2INST1 Local database alias = TLMA db2inst1@localhost:/home/db2inst1)# db2 "select * from adm.control" NAME VALUE ---------------------------------------- ------------------------------------------------------------ ID1 5d4f80e2403a4f6e9437a12986d23cca ID2 1cd397a5014610009d097f000001 DB_CREATION 2014-05-21 04:38:42.0 FIRST_TO_AGGREGATE_DAY 2014-05-21 FIRST_TO_CLEAN_USAGE_DAY 2014-05-21 LAST_AGGREGATE_STEP 0 MAX_WAITING_TIME_FOR_LATE_DATA 14 MAX_WAITING_TIME_FOR_STDALONE_LATE_DATA 183 DATABASE_VERSION 7.5 DATABASE_SCHEMA_VERSION 7.5.0.0 VUT_VERSION 2011-10-05 ADMIN_ID 854238 MIGRATION_TIME 2014-05-21 04:38:42.0 FIRST_AGENT_ID_NOT_ASSIGNED 1 LAST_INVENTORY_EXEC_TIME 2014-05-21 05:53:46.715 INV_BUILD_STEP_FIELD 0 LIC_USAGE_RETENTION_TIME 180 COMPUTER_GUID_RULE None LAST_NOTIFICATION_TIME 2014-05-21 05:54:00.541 LATEST_PURGED_DATE 2014-05-20 AGGR_REC_BLOCKED false MAX_NUMBER_OF_HOSTNAMES_IN_EMAIL 1000 BUILD_VERSION 201112061421 HW_SCAN_CONFIG_TIME 2014-05-21 04:38:42.0 FULL_HW_SCAN_CONFIG_TIME 2014-05-21 04:38:42.0 TIER_TABLE_VERSION 2010-10-05 SW_SCAN_CONFIG_TIME 1970-01-01 00:00:00.0 REMOTE_SW_SCAN_CONFIG_TIME 1970-01-01 00:00:00.0 LAST_SOFT_INV_MQT_UPDATE_TIME 2014-05-21 05:53:53.241183 CATALOG_UPDATE_SEQ_NUMBER 1 MAX_SELECTED_ROWS_COUNT 200 CATALOG_FILE_READY true 32 record(s) selected. db2inst1@localhost:/home/db2inst1) [/shell] 10. 升级TIP2.2.0.0->2.2.0.3,[参考](http://pic.dhe.ibm.com/infocenter/tivihelp/v53r1/index.jsp?topic=%2Fcom.ibm.lmt75.doc%2Fcom.ibm.license.mgmt.planinconf.doc%2Ft_updating_server_silently.html) [shell] ./patch_installer-aix-ppc64.sh -silent -patchHome `pwd` -response `pwd`/tip-update.txt vi tip-update.txt ./patch_installer-aix-ppc64.sh -patchHome `pwd` -response `pwd`/tip-update.txt -silent [/shell] 升级TIP2.2.0.3->2.2.0.7 [shell] #./install.sh -i silent -f response.txt [/shell] [升级2.2.0.7错误处理:](http://www-01.ibm.com/support/docview.wss?uid=swg21641413) CTGWA0058E The current prerequisites of Tivoli Integrated Portal are not satisfied. See detailed logs in /opt/IBM/TIP/logs/validatePrereqs.out. Checking Installation Requirements Passed Operating system validation check 15:49:49 Passed System memory prerequisite check 15:49:49 Passed Accessibility prerequisite check 15:49:49 freespace=1685344 tmpfree=1456664 Passed Disk space prerequisite check 15:49:49 Failed ! System available memory (1 MB) does not meet minimum requirements (128 MB). 15:49:49   为什么要升级TIP到2.2.0.7?如果不升级TIP,会有CODIN0501E错误,[详细参考](http://www-01.ibm.com/support/docview.wss?uid=swg21616758)
升级ILMT7.5.0.0->7.5.0.1 (ILMT Fixpack1)
./ILMT-server-7.5.0.10-aix-ppc64.sh -f `pwd`/upgradeResponse.txt -i silent

升级ILMT7.5.0.1->7.5.0.19

下载资料

链接:http://pan.baidu.com/s/1i3FWorN 密码:k9q3

参考资料:

IBM License Metric Tool 7.5導入・設定ガイド(Tivoli-14-04)