IBM Support

Removing ISMP entries from the ODM

Question & Answer


Question

How do I remove ISMP entries from the lppchk output?

Answer

This technote is designed to assist with removing the 32 digit ISMP entries from the ODM. The 32 digit ISMP entries that show up are called Lexical Errors. These entries will show up in the output of the ‘lppchk’ command. The entries may manifest themselves as either a long string of numbers – or as an application product name.

# lppchk –v
lppchk: The following filesets need to be installed or corrected to bring the system to a consistent state:

9a33182fe26f1beae04e59e5cb6d3cdb 0.0.0.0 (COMMITTED)
WSPAA61LicensingComponent 0.0.0.0 (COMMITTED)

You will first want to create a backup of you ODM.

# /usr/lib/instl/saveodms

Once this is done, you will want to run the following commands to retrieve the lpp information from your odm for that ISMP entry.

# export ODMDIR=/usr/lib/objrepos
# odmget -q name=<32digit number> lpp --> take note of the lpp_id #

Once you have the lpp_id, you will be able to go ahead and remove the ISMP entry from the: lpp, product, history, and inventory classes of the ODM.

# odmdelete -q name=<32digit number> -o lpp
# odmdelete -q lpp_name=<32digit number> -o product
# odmdelete -q lpp_id=<the lpp_id number from above> -o inventory
# odmdelete -q lpp_id=<the lpp_id number from above> -o history

Now you will be able to switch over to the /etc part of the odm and run the same commands.

# export ODMDIR=/etc/objrepos
# odmget -q name=<32digit number> lpp --> take note of the lpp_id #
# odmdelete -q name=<32digit number> -o lpp
# odmdelete -q lpp_name=<32digit number> -o product
# odmdelete -q lpp_id=<the lpp_id number from above> -o inventory
# odmdelete -q lpp_id=<the lpp_id number from above> -o history

*You might not have any entries at all in the /etc part of the odm. That
is okay.

Once you have completed these steps, the ISMP entries in your ‘lppchk’ output should be gone.

ISMP software packages are registered in the AIX software ODM using a 32digit hexadecimal string. The packaged installer for this software uses a tool that uniquely auto-generates the hexadecimal string to reference the product name. This value is also used to differentiate the product when it is populated into the ODM when the package gets installed by the geninstall command. The hexadecimal value is not a value generated by AIX or AIX ISMP. AIX adding ISMP information into the ODM was a design decision to facilitate the 'lslpp' command to appropriately list all of the packages installed by geninstall.

The use of ‘odmdelete’ in this document is to be used only for this specific problem. Never use the ‘odmdelete’ command in lieu of properly removing filesets via the ‘installp’ or ‘smitty remove’ commands.

[{"Product":{"code":"SWG10","label":"AIX"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Installation- backup- restore","Platform":[{"code":"PF002","label":"AIX"}],"Version":"5.2;5.3;6.1;7.1","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
17 June 2018

UID

isg3T1011814