1 / 22

TSM EXPORTS

TSM EXPORTS. Kicking the kids out of the House. Resources. TSM 6.1 Administrators Guide, Chapter 22 Allen S. Rout’s paper, “Fifty Ways Summary” http://open-systems.ufl.edu/tsm/-whitepapers/50ways.html Examples from Legg Mason. What is an export?.

rafal
Download Presentation

TSM EXPORTS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. TSM EXPORTS Kicking the kids out of the House

  2. Resources • TSM 6.1 Administrators Guide, Chapter 22 • Allen S. Rout’s paper, “Fifty Ways Summary” • http://open-systems.ufl.edu/tsm/-whitepapers/50ways.html • Examples from Legg Mason

  3. What is an export? Exporting (and Importing) is a copy and paste operation. It is a tool for performing heavy housekeeping and maintenance on the overall backup/archive environment.

  4. Why Export? • Decommission and/or replacement of an old TSM server • Transition from an old library or media • Load Balancing • Moving outsized nodes to a new server • Separating a large or distinct business unit from other clients • TSM Server level upgrade • Organizational indecisiveness

  5. Types of Export Several kinds and shades of Export • Server Control Information • Export Admin - Administrator definitions • Export Node - Client node definitions • Export Policy - Policy and scheduling definitions • Client Node Data • Export Node - Some or all of the backed up, archived, space managed data • Combined Information • Export Server – Policy, Admin, Node, & Node Data • Incremental Export – A little off the top • The Non-Export export – For things that can not be exported.

  6. Export Node Characteristics • Node Definition Information EXP Node some_node FSID=* FILEData=None • User ID, password and contact info • Name of the Node’s policy domain • File compression status • Whether the user has delete authority for backed up or archived files • Whether the client node ID is locked • File Data EXP Node some_node FSID=* FILEData=ALl • Filespace definition and authorization rules • Any combination of Active or Inactive versions of backed up files, archives, and space managed files

  7. FROMTime=00:00:00 FROMDate=date TOTime=00:00:00 TODate=date TOTime=time EXPORTIDentifier= export_identifier PREVIEWImport=No/Yes TOServer=servername PREVIEWImport=No/Yes MERGEfilespaces=No/Yes -Replacedefs=No/Yes PROXynodeassoc=No/Yes ENCryptionstrength=AES/DES ALLOWSHREDdable=No/Yes The entire syntax >>-EXPort Node- -node_name- FILESpace=file_space_name-' FSID=file_space_ID-' UNIFILESpace=file_space_name-' DOmains=domain_name-' FILEData=+-ALl+-' +-None-+ +-ARchive+ +-Backup-+ +-BACKUPActive-+ +-ALLActive+ '-SPacemanaged-'

  8. Planning • Planning is important to identify and deal with bottlenecks • Develop a reliable idea of how long the processes will take and what resources are required. • Once you begin you will want to be able to monitor progress effectively and be positioned to deal setbacks...Exports don’t always go smoothly • Once the project, or portions of it, are done, you will want to be able to verify success with a minimum of effort. • For a large export project of many nodes, record keeping is important in tracking progress

  9. Planning Considerations • Need a compatible TSM Server • Are matching Policy and Administrator definitions in place on the destination server? • Time • Time allowed to export/import and resume backup • Time required to export • Can the network support the additional load • Adequate number of drives...plus some • Adequate supply of media • Impact on other processes

  10. Planning Considerations cont’d • What is the scope of the effort? • How much data has to be moved • When is the best time to run the export • Need to close access to the Export node • The effect of versioning on the destination server • Tolerance of project complexity

  11. Methods to Export Node Data • Serial media only • These options involve discrete Export and Import processes. • Still valid, but why bother. • If you ever need to do this, read the commands • Network based options • These options combine the Export and Import process into one event

  12. Generic Export steps... Preparation - Preview • Serv1> EXport Node Some_Node FILEData=all Preview=Yes TOServer=Serv2 Execution • Lock the Client Node from changes: stop backups and do not make administrative changes • dsmadmc –consolemode –outfile=somenodeimport • Serv1> EXport Node Some_Node FILEData=all TOServer=Serv2 Changeover and Cleanup • Point the Client Node to the new server and resume backups • Check your results • Clean up at the old server.

  13. Export with Mergefilespaces Mergefilespaces=yes (not the default) • Export to an active node: • Continue backups to the Export source, begin backups to the Import destination • When the initial “Full” incremental backup completes • Serv1>Export Node node_name FSID=3 filedata=all toserver=Serv2 Mergefilespaces=yes • Export node one filespace at a time to an active node • Continue backups to the source, begin one filespace backup at the destination • Wait until the initial “Full” filespace backup completes • Stop backup of that filespace at the source • Export the source to the destination.

  14. Example - Quick Export Move a TSM Client, NODEXYZ, from SRCSERVER to the new TSM Server (DESTSERVER) reserved for XYZ Clients.Step 0Coordinate with NODEXYZ Client AdministratorStep 1Save schedule association info in case back out of CR is required. Step 2 Lock Client NODEXYZ on SRCSERVER and disassociate it from its backup schedule. Step 3 Register Node_Name NODEXYZ in Domain XYZ on DESTSERVER

  15. Quick Export, continued Step 4Export all filedata for node NODEXYZ to DESTSERVER in the normal XYZ domain (with 3 year retention)To export from SRCSERVER to DESTSERVER **AFTER NODEXYZ has been defined on DESTSERVER and assigned to the desired domain** On SRCSERVER TSM command line: >EXPORT NODE NODEXYZ filespace=* filedata=all toserver=DESTSERVER previewimport=no merge=yesrecord the process number on both SRCSERVER and DESTSERVER to view the results in the activity log

  16. Quick Export, final steps Step 5 (Must be performed by XYZ admininistrator on the Client Server NODEXYZ) Alter the dsm opt or dsm sys file to point to DESTSERVER so that it looks to the correct TSM server for a backup schedule.Step 6XYZ admin can independently verify that data migrated using "dsmc q backup /migrated/file". Step 7After the options file is changed, XYZ administrator can start backup of NODEXYZ.Step 8In a week, if all is verified, delete NODEXYZ and all of its data from SRCSERVER.

  17. “Problem Child” Export Example • Load balancing • Cutting filespaces from large nodes • Exporting them piecemeal to the same server as a new Node name • Restartable Exports • To pause the export issue Suspend Export, do not Cancel Process! • Restart Export to resume • Query Export to see all running and suspended restartable export operations

  18. Export to FILE devclass on NFS “...for the special case of temporary storage, especially for transport, there are some enticing aspects to the idea.” “To make use of remote-mounted space for this purpose simply requires that your organization have enough space "somewhere". It's not even necessary that you have the same namespace. “

  19. Export to FILE thru NFS, A. Rout • root@server_a# mount REMOTE:/export/reallybig /mnt/a • root@server_a# dsmadmc • [...] • SERVER_A> def devc reallybigfile FILE maxcap=100G dir=/mnt/a • SERVER_A> export node NODE_1 devc=reallybigfile filed=all

  20. Export to FILE thru NFS, A. Rout • At this point, either on the command line or in the activity log, you will find a list of volumes (files) that were used for the export. Say it's one file, 0001111.exp • root@server_b# mount REMOTE:/export/reallybig /mnt/b • root@server_b# mkdir /mnt/redherring • root@server_b# dsmadmc • [...] • SERVER_B> def devc irrelevant FILE dir=/mnt/redherring • SERVER_B> import node NODE_1 devc=irrelevant vol=/mnt/b/0001111.exp

  21. The Non-Export • The non-export is a data base restore. • Build a new server Server_B and use the most recent database backup to restore Server_A to it. • Delete everything on Server_B that duplicates Nodes on other TSM servers and clean up Server_A • You are left with impossible to export data on a new server.

  22. Non Export variant, Siamese Twins Consider two huge, unacceptable to export nodes on one server. You wish to separate them, but because you are not doing a true Export, there is no “Copy” operation as far as the media is concerned. • It is necessary to COMPLETEY Collocate the nodes. • One the collocation is complete, restore the DB to each of two new boxes. • Checkin the media for Node_A into Server_A. • Delete all of Node_B from Server_A • Checkin the media for Node_B into Server_B. • Delete all of Node_A from Server_B • The twins are separated.

More Related