How to migrate older SMF data to a new location
search cancel

How to migrate older SMF data to a new location

book

Article ID: 224633

calendar_today

Updated On:

Products

JARS SMF Director

Issue/Introduction

How to migrate older SMF data to a new location.

Environment

Release : 12.7

Component : CA SMF Director

Resolution

Here are the steps you will need to migrate your older SMF data to the new location.  The data is being migrated in a volume to volume copy for the tapes, so the file sequence numbers will remain constant. 

 

1) Run a LISTH report.  The control statement you will need is LISTH ALL.  This will get you a list of every entry in your production SCDS and what they look like.

2) From the LISTH, you'll be able to gather the information to construct the UPDTX records needed to point SMF Director to the new volume serial.  The UPDTX control statement directs SMF Director to change an index entry.  For the UPDTX statements, you'll need to provide these operands: 

LOW, HIGH, SID, UNIT, FILESQ, VOLUME  

For the first five operands, copy them from the LISTH report, for VOLUME, set the value to the new tape volume being used in your volume to volume copy. 

3) Run a BACKUP of the production SCDS, and then use that BACKUP to run a RESTORE (or MIRROR restore) to another test SCDS file (DSORG=DA,RECFM=F,LRECL=4096,BLKSIZE=4096). 

4) Run the UPDTX statements using the test SCDS created in step 3 as the SCDS in the job.  This will ensure your UPDTX statements will work.  Also make a note of the time it takes to run the UPDTX statements, as your production SCDS will be locked when the UPDTX statements are being run on the production SCDS.

5)  Run one or more EXTRACTs to gather some older SMF data from some of the files that were migrated, again using the test SCDS as the SCDS to ensure that the UPDTX statements are correct. Do as many as you like.  I'd recommend running at least one EXTRACT per SID.

6) Ideally, you will want to do the actual update to the production SCDS when your systems are not very busy.  First take a BACKUP of the production SCDS.  Then run the UPDTX statements using the production SCDS. If you like, re-run some of your EXTRACTs in Step 5 to ensure you get the same results for the old data using the production SCDS. 

7) Once you are satisfied that the entries in the SCDS are correct, take one last BACKUP, so you have a copy of where you have been.

 

We also recommend that all SMF Director customers run a nightly BACKUP to ensure that there is a fallback position in case the SCDS has a problem.