• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

Howto check if all data in primary pool is copied to copypool

dojabergen

ADSM.ORG Member
#1
Hi,
I have a script running daily which copies primary pool data to copypool.
I am wondering if there is a cmd or a 'select statement' to check of all data in a specific primary pool has the copied / is in sync with the copypool?

Thank you in advance!
 

marclant

ADSM.ORG Moderator
#2
If you run backup stgpool a 2nd time and it has nothing to copy, you know it has copied everything. Now, if there was new data backed up between your 1st and 2nd backup stgpool, then that would get picked up.

You could also use this to check the CONTENTS table to count how many objects are copied and not copied by primary storage pool.

SQL:
select v.stgpool_name,c.copied,count(c.copied) as "Number of objects" -
from contents c, volumes v where v.stgpool_name in (select stgpool_name -
from stgpools where pooltype='PRIMARY') group by v.stgpool_name,c.copied
 

dojabergen

ADSM.ORG Member
#3
Hi,
thank you for your answer! Yes, this works. It gives an overview of all the primary pools. I ran it on a test tsmserver and it works ok. But when running it on our production tsmserver, it 'never ends'. I think it is a resource intensive script.
Is it possible just to select ONE primary pool and then see the result?
Thanks in advance!
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 18 18.4%
  • Keep using TSM for Spectrum Protect.

    Votes: 60 61.2%
  • Let's be formal and just say Spectrum Protect

    Votes: 12 12.2%
  • Other (please comement)

    Votes: 8 8.2%

Forum statistics

Threads
31,685
Messages
135,065
Members
21,703
Latest member
agent0810
Top