How to setup restore from multiple datacenter nodes

staham

ADSM.ORG Senior Member
Joined
Mar 26, 2007
Messages
133
Reaction score
3
Points
0
Location
Lule
We want to setup a weekly backup that is retained for 6 months (for our VE backups). All other days, our normal backup will run, when the backups are retained for 21 days.

I found the following link, with info from IBM about this:
https://www.ibm.com/developerworks/...voli+Storage+Manager+for+Virtual+Environments

See "Q26 How do you create backups for long term data protection?", or read further down.

I have set up mgmtclass, copygroups and separate datacenter node. I have also set up a schedule, as well as made a manual backup.

Using the command line, I can see all backups:

# dsmc q vm testnode.test.com -ina -asnodename=vm_dcenter
...
Accessing as node: VM_DCENTER
Query Virtual Machine for Full VM backup

# Backup Date Mgmt Class Size Type A/I Virtual Machine
--- ------------------- ---------- ----------- ------ --- ---------------
1 2015-04-04 02:01:40 STANDARD 66,40 GB IFINCR I testnode.test.com
2 2015-04-05 02:15:16 STANDARD 66,40 GB IFINCR I testnode.test.com
3 2015-04-06 02:15:37 STANDARD 66,40 GB IFINCR I testnode.test.com
...
29 2015-05-04 02:24:29 STANDARD 66,40 GB IFINCR I testnode.test.com
30 2015-05-05 02:28:54 STANDARD 66,40 GB IFINCR I testnode.test.com
31 2015-05-06 02:28:59 STANDARD 66,40 GB IFINCR A testnode.test.com

# dsmc q vm testnode.test.com -ina -asnodename=vm_weekly
...
Accessing as node: VM_WEEKLY
Query Virtual Machine for Full VM backup

# Backup Date Mgmt Class Size Type A/I Virtual Machine
--- ------------------- ---------- ----------- ------ --- ---------------
1 2015-05-06 14:13:45 WEEKLY 66,40 GB IFFULL A testnode.test.com


Note that I have to specify -asnodename to get the backups for each datacenter node.

However, how do I get the TSM Recovery Agent or the TsmVMwareUI web interface to access these backups? I can restore from the command line, but it would be nice to be able to restore from the web GUI.

Am I missing something?

I tried adding a line to the /opt/tivoli/tsm/tdpvmware/common/scripts/vmcliprofile file:
VE_DATACENTER_NAME VMWARE::VM_DCENTER
VE_DATACENTER_NAME VMWARE::VM_WEEKLY

I even restarted the datamover, but the backups don't show up if I try the restore option in the web GUI.

How should I proceed?

See info from IBM (copied from URL above):
---
Use case - User wants long term data retention for virtual machines in
addition to daily backups. For example, the user wants to keep daily
backups for 30 days and a separate set of monthly backups for 5 years.

Solution with Data Protection for VMware V6.4 and 7.x

Create two nodes (namespaces) on the TSM Server associated with the
datacenter (data owning) nodes; we'll call them "DAILY" and "MONTHLY"

Create a managementclass MC_DAILY to keep data 30 days (VEREXISTS=30)
and MC_MONTHLY to keep monthly x 5 years (VEREXISTS=60)

Schedule a daily, incremental forever backup to node DAILY, e.g.,
BACKUP VM -MODE=IFINCR with mc configured for MC_DAILY

Schedule a monthly, full backup to node MONTHLY, e.g., BACKUP VM -
MODE=IFFULL with mc configured for MC_MONTHLY

You should also consider storage pool placement for node's DAILY and
MONTHLY. You can take advantage of TSM's deduplication efficiencies by
storing the data for both nodes in the same disk-based storage pool.
If there are requirements to have the MONTHLY backups on a different
storage type (e.g., tape) then you should consider different storage
pool destinations.
 
Back
Top