EJ,
Just so we are on the same page about this, my understanding is that you
want only the nodes that have ZERO data (backup, archive, or copy). Under
normal circumstances, there would be two ways that would happen within
TSM, if you are running Spectrum Protect (SP)(version 7.1.3 and above)
there would be three ways, and they are;
1. The node never performed a backup
2. All of the nodes filespaces have been deleted
3. If node was decommissioned using the SP decommission command
The only time a file within TSM/SP is deleted from the TSM/SP database, is
if it was modified or deleted, at that time you data retention setting
kick in. With the SP decommission command, SP marks all of the files as
inactive thereby applying the assigned data retention setting to all data,
which would allow for all data to be deleted and once that has completed,
removes the decommissioned node.
That said, you can try this:
audit lic (ensures that the latest totals are recorded for each node)
select node_name from auditocc where total_mb=0
That command will validate there is no data (archive, backup, copy) for
the node
Best Regards,
Ronald C Delaware
Master IT Certified Open Group
IBM IT Plus Certified - level 2 Expert
IBM Solution Advisor - Spectrum Products v4
IBM Spectrum Protect Administrator/Implementor
IBM Certified Exam Developer
IBM Spectrum Scale 4.1 Certified
From: "Loon, EJ van (ITOPT3) - KLM" <Eric-van.Loon AT KLM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: 02/29/16 01:36
Subject: [ADSM-L] Identifying empty nodes
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
Hi guys!
I'm trying to query the occupancy table to identify nodes with no more
data store, but I can't find the proper syntax. I thought of this one:
select node_name from occupancy where physical_mb is null
But it returns no nodes, while I know for sure there are several of
them...
Thanks for any help in advance!
Kind regards,
Eric van Loon
AF/KLM Storage Engineering
********************************************************
For information, services and offers, please visit our web site:
http://www.klm.com. This e-mail and any attachment may contain
confidential and privileged material intended for the addressee only. If
you are not the addressee, you are notified that no part of the e-mail or
any attachment may be disclosed, copied or distributed, and that any other
action related to this e-mail or attachment is strictly prohibited, and
may be unlawful. If you have received this e-mail by error, please notify
the sender immediately by return e-mail, and delete this message.
Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its
employees shall not be liable for the incorrect or incomplete transmission
of this e-mail or any attachments, nor responsible for any delay in
receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch
Airlines) is registered in Amstelveen, The Netherlands, with registered
number 33014286
********************************************************
|