Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does the AIX server query the versions of was, ihs, mq, and db2

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain in detail how to query the versions of was, ihs, mq and db2 on the AIX server. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

AIX server is equipped with was, ihs, mq, db2 and other software. it is an old server for a long time. If you want to know the version of these software, you can query them like this.

1 、 WAS

# ps-ef | grep java

Wasuser 360526 1 6 Jun 29-720 usr/was61/WebSphere/AppServer/java/bin/java 55 / usr/was61/WebSphere/AppServer/java/bin/java-Declipse.security-Dwas.status.socket=38771

First take a look at the process information, and then go to the / usr/was61/WebSphere/AppServer directory

# cd / usr/was61/WebSphere/AppServer

# cd bin

#. / versionInfo.sh execute this script to view the specific version information

WVER0010I: Copyright (c) IBM Corporation 2002, 2005; All rights reserved.

WVER0012I: VersionInfo reporter version 1.15.4.3, dated 11-12-08

IBM WebSphere Application Server Product Installation Status Report

Report at date and time June 11, 2013 4:34:01 PM GMT+08:00

Installation

Product Directory / usr/was61/WebSphere/AppServer

Version Directory / usr/was61/WebSphere/AppServer/properties/version

DTD Directory / usr/was61/WebSphere/AppServer/properties/version/dtd

Log Directory / usr/was61/WebSphere/AppServer/logs

Backup Directory / usr/was61/WebSphere/AppServer/properties/version/nif/backup

TMP Directory / tmp

Product List

ND installed

Installed Product

Name IBM WebSphere Application Server-ND

Version 6.1.0.45

ID ND

Build Level cf451235.03

Build Date 8-29-12

End Installation Status Report

2 、 IHS

IHS is generally consistent with the version of WAS. If you want to check it separately, you can check it this way.

$ps-ef | grep http

Root 405752 1 0 Jun 29-0:26 / usr/was61/HTTPServer/bin/httpd-d / usr/was61/HTTPServer-k start

Nobody 557170 405752 0 Jun 29-2:14 / usr/was61/HTTPServer/bin/httpd-d / usr/was61/HTTPServer-k start

Nobody 577732 405752 0 Jul 01-1:49 / usr/was61/HTTPServer/bin/httpd-d / usr/was61/HTTPServer-k start

Enter the / usr/was61/HTTPServer/bin directory

#. / versionInfo.sh execute this script to view the specific version information

WVER0010I: Copyright (c) IBM Corporation 2002, 2005; All rights reserved.

WVER0012I: VersionInfo reporter version 1.15.4.3, dated 11-12-08

IBM WebSphere Application Server Product Installation Status Report

Report at date and time June 11, 2013 3:16:50 PM GMT+08:00

Installation

Product Directory / usr/was61/HTTPServer

Version Directory / usr/was61/HTTPServer/properties/version

DTD Directory / usr/was61/HTTPServer/properties/version/dtd

Log Directory / usr/was61/HTTPServer/logs

Backup Directory / usr/was61/HTTPServer/properties/version/nif/backup

TMP Directory / tmp

Product List

IHS installed

Installed Product

Name IBM HTTP Server

Version 6.1.0.45

ID IHS

Build Level cf451235.03

Build Date 8-29-12

End Installation Status Report

3 、 MQ

If MQ is installed, you can switch to its default mqm account

Query under AIX

# su-mqm

$dspmqver executes this command to display version information

Name: WebSphere MQ

Version: 530.4 CSD04

CMVC level: p530-04-030617

BuildType: IKAP-(Production)

Query under linux

Tyzssq7:/home/mqm # su-mqm

Mqm@tyzssq7:~ > dspmqver

Name: WebSphere MQ

Version: 7.0.1.3

CMVC level: p701-103-100813

BuildType: IKAP-(Production)

Or under aix, you can also view it through the lslpp command.

# lslpp-ah mqm.server.rte

Fileset Level Action Status Date Time

Path: / usr/lib/objrepos

Mqm.server.rte

5.3.0.1 COMMIT COMPLETE 01/06/06 13:52:45

5.3.0.1 APPLY COMPLETE 01/06/06 13:52:45

5.3.0.4 APPLY COMPLETE 01/06/06 13:53:43

4 、 DB2

Users who switch to the database

# su-db2inst2

$db2level execute this command to see the specific version information

DB21085I Instance "db2inst2" uses "32" bits and DB2 code release "SQL08027"

With level identifier "03080106".

Informational tokens are "DB2 v8.1.1.128", "s061108", "U810098", and FixPak

"14".

Product is installed at "/ usr/opt/db2_08_01".

Or you can see the version when you connect to the database.

Tyzssq7:/home/mqm # su-db2inst1

Db2inst1@tyzssq7:~ > db2 connect to portaldb

Database Connection Information

Database server = DB2/LINUXX8664 9.7.6

SQL authorization ID = DB2INST1

Local database alias = PORTALDB

Or

Db2inst1@tyzssq7:/opt/ibm/db2 > db2licm-l

Product name: "DB2 Advanced Enterprise Server Edition"

License type: "Trial"

Expiry date: "02 Universe 19 Universe 2014"

Product identifier: "db2aese"

Version information: 9.7

Product name: "DB2 Connect Server"

License type: "Trial"

Expiry date: "02 Universe 19 Universe 2014"

Product identifier: "db2consv"

Version information: 9.7

This is the end of the article on "how to query the versions of was, ihs, mq and db2 on AIX servers". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report