• 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.

Understand linux process ID related to a specific TSM session number

#1
Hi All,

is there a way to detect the PID of the linux process (on TSM client machine) related to a specific TSM session number (on TSM server machine)?
Every day, a lot of users execute transparent recall of migrated files and I would know how many TSM sessions have been caused by each user.

Thank you in advance,
Mauro T.
 

moon-buddy

ADSM.ORG Moderator
#2
There is no relationship with a system PROCESS ID vs SESSION ID.

However, you can see which users execute restores or backups manually through their USER ID - IF they have unique USER IDS. Also, they can only fire up one process at a time so looking at the TSM server side, you should be able to see the number of sessions from the TSM server side by USER ID.

Curiosity: If your intention is to determine the number of sessions, why are you going after the PID?
 
#3
Hi Moon-Buddy,

thank you for your support. I'll try to explain better my problem providing you an example.

In our HPC cluster have been defined a lot of user, each one with a unique user id (on login server side!)
From the cluster login node, each user can do a lot of different actions:

- user A recalls data from /path/to/data/1
- user B recalls data from /path/to/data/2 and /path/to/data/3 and /path/to/data/4
- user C recalls data from /path/to/data/5
and so on...

Running "q ses f=d" command on TSM server, I can see only a great number of "running" sessions, but I can't understand the exact session related to a specific action executed by a cluster user. For example, If I want to cancel only actions related to user B I don't know how to do it.

I could try to do it killing linux process related to the specific user, but, often, this interruption caused an incomplete recall of the file (wrong file size).

What is your opinion/suggestion regarding this kind of problem?

Thank you again
 

moon-buddy

ADSM.ORG Moderator
#4
Hi Moon-Buddy,

thank you for your support. I'll try to explain better my problem providing you an example.

In our HPC cluster have been defined a lot of user, each one with a unique user id (on login server side!)
From the cluster login node, each user can do a lot of different actions:

- user A recalls data from /path/to/data/1
- user B recalls data from /path/to/data/2 and /path/to/data/3 and /path/to/data/4
- user C recalls data from /path/to/data/5
and so on...

Running "q ses f=d" command on TSM server, I can see only a great number of "running" sessions, but I can't understand the exact session related to a specific action executed by a cluster user. For example, If I want to cancel only actions related to user B I don't know how to do it.

I could try to do it killing linux process related to the specific user, but, often, this interruption caused an incomplete recall of the file (wrong file size).

What is your opinion/suggestion regarding this kind of problem?

Thank you again
If user action is data related, why not just let these finish? After all, the role of a backup environment is to provide restore support when needed and I believe this one of such requirement.

If your issue is that there are so many sessions happening at the same time, why not create a process to queue each session so there order in the chaos? This will now be a procedural issue with a SLA in place.
 

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: 7 23.3%
  • Keep using TSM for Spectrum Protect.

    Votes: 16 53.3%
  • Let's be formal and just say Spectrum Protect

    Votes: 4 13.3%
  • Other (please comement)

    Votes: 3 10.0%

Forum statistics

Threads
30,889
Messages
131,422
Members
21,194
Latest member
jamesmacd40