I have already shared all I have done. PLEASE check out my previous messages.
PLEASE let me know what steps I need to go through, in order to run "q vm"? how to run dsmc? I don't know.
I did read your previous post which suggested to me you logged into dsmadmc and then ran dsmc from within dsmadmc.
Apologies if you are already aware of this, dsmadmc and dsmc are two different programs. The former allows you to perform day to day admin jobs, for example, checking tapes in and out of the library, performing reclamation. dsmc is the program you use to perform backups and archives, query backups and archives and perform restores from backups and archives. You can run both of these from the TSM server its self. However to run `q vm` to query your vm backups you must run the query from dsmc on the data mover, not the TSM server itself.
So in our environment, our TSM server runs on Linux and our VMs are stored on a type 2 hypervisor which is Windows server 2012 running Hyper V. Lets look at a real-world scenario. Say I want to query when the domain controller was last backed up. I'd take the following steps:
1. SSH onto the TSM server and log in to dsmadmc to run `q file` to check the VM names. For this case, let's call the VM `DC-001`
2. Log out of dsmadmc and close my SSH session.
3. RDP onto the hypervisor what is running the VM `DC-001`. I'd then load up dsmc on the hypervisor. Since it is windows, I can find the `Backup and Archive command line program` in `C:\Program Files\Tivoli\TSM\baclient\dsmc.exe`
4. In the command line, I'd run `q vm DC-001 -detail`. This will show me the details of DC-001including the last backup on the VM. I post a link in a previous reply on this thread to IBM docs showing the different options available to you.
Note that dsmadmc is not needed to query the VM backups. When I use dsmc on the Windows hypervisor I loaded up the dsmc.exe program so I did not need to type in `dsmc q vm DC-001 -detail`.