IBM Support

REMOVE NODE may fail with ANR2152E

Troubleshooting


Problem

Removing a Client node using the REMOVE NODE Server command could fail reporting ANR2152E

Diagnosing The Problem

The REMOVE NODE command could fail as in the following example:


remove node TSMNODE1
Do you wish to proceed? (Yes (Y)/No (N)) y
ANR2152E REMOVE NODE: Inventory references still exist for node TSMNODE1
ANS8001I Return code 13.

As for IBM Knowledge Center message explanation, the ANR2152E message's recommendations consists in , before removing the node, delete all of its file spaces and any virtual file space mapping definitions from the server.

Resolving The Problem

Verify by the following Server commands if any references still exist in the database for the node that is to be removed:

  • q filespace <nodename>
  • query occupancy <nodename>
  • select * from backups where node_name='<NODENAME>'
  • select * from archives where node_name='<NODENAME>'
  • QUERY BACKUPSET node_name
  • select * from filespaces where node_name='<NODENAME>'

For example, it could be possible that a reference to a filespace of "type=server" is found.

Example::

tsm: TSM01>select * from filespaces where node_name='TSMNODE1'

NODE_NAME: TSMNODE1
FILESPACE_NAME: ADSM.SERVER
FILESPACE_ID: 1
FILESPACE_TYPE: ADSM_FS
CAPACITY: 25300.00
PCT_UTIL: 100.00
BACKUP_START:
BACKUP_END:
DELETE_OCCURRED: 2015-05-15 11:15:14.000000
UNICODE_FILESPACE: NO
FILESPACE_HEXNAME: 4144522D2E534552564552
LAST_REPL_START:
LAST_REPL_COMP:
BK_REPLRULE_NAME: DEFAULT
BK_REPLRULE_STATE: ENABLED
AR_REPLRULE_NAME: DEFAULT
AR_REPLRULE_STATE: ENABLED
SP_REPLRULE_NAME: DEFAULT
SP_REPLRULE_STATE: ENABLED

If this is the case, remove the references with the command:

DEL FILESPACE <NODENAME> * TYPE=SERVER

Then retry the REMOVE NODE command.

Related Information

[{"Product":{"code":"SSSQWC","label":"Tivoli Storage Manager Extended Edition"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Server","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
17 June 2018

UID

swg21982493