aixlogician
Active Newcomer
- Joined
- Feb 19, 2014
- Messages
- 14
- Reaction score
- 0
- Points
- 0
Hello All,
I was doing a pre DR and after few hurdles, I was able to successfully restore my DB and data on TSM. But, I am not sure if that is the right approach, any inputs are highly appreciated. Below is how I did the DR
1. Defined the LPAR, and attached it to TS3200 tape library
2. Installed AIX OS using CD/DVD (customized the mksysb as per our TSM server and took the backup on DVD). (created file systems using restvg).
3. Installed tsm using "6.3.4.200-TIV-TSMALL-AIX.bin", (./6.3.4.200-TIV-TSMALL-AIX.bin, it expanded and then I used "./install.bin")
4. After the completion, I went to "/opt/tivoli/tsm/server/bin" and ran "./dsmicfgx", configured the db2 instance and DB.
5. Entered the tsm server using "dsmadmc"
6. Configured Library, drives and devclass and check 'in the DB backup tape.
7. Ran halt command
8. Imported my devconf.dat and volhist.dat files to instance home directory and modified them accordingly ( removed all the library and drives info from devconf file).
9. ran "dsmserv restore db"
10. The DB restored successfully ( I tried using my own DB directory and logs by adding different flags for each and also I used savevg and restvg commands to restore file systems) In both cases I was able to restore DB successfully.
11. I logged in and deleted the vols from tape pool "upd vol <volname> acc=destroyed wherestg=tapepool"
12. Inserted copy tapes.
I was told, I must run "db2 drop db tsmdb1" after I completed (./dsmicfgx) process. I did and I cannot run "dsmadmc" after that.
I was told to do so as the existing tsmdb1 will be used between those two DB and we have to get rid of 1st one.
Should I use the existing TSM server OS image for DR? I tried this and I cannot drop the DB as it is on a different VG.
Help me out with the correct DR procedure.
Thanks,
I was doing a pre DR and after few hurdles, I was able to successfully restore my DB and data on TSM. But, I am not sure if that is the right approach, any inputs are highly appreciated. Below is how I did the DR
1. Defined the LPAR, and attached it to TS3200 tape library
2. Installed AIX OS using CD/DVD (customized the mksysb as per our TSM server and took the backup on DVD). (created file systems using restvg).
3. Installed tsm using "6.3.4.200-TIV-TSMALL-AIX.bin", (./6.3.4.200-TIV-TSMALL-AIX.bin, it expanded and then I used "./install.bin")
4. After the completion, I went to "/opt/tivoli/tsm/server/bin" and ran "./dsmicfgx", configured the db2 instance and DB.
5. Entered the tsm server using "dsmadmc"
6. Configured Library, drives and devclass and check 'in the DB backup tape.
7. Ran halt command
8. Imported my devconf.dat and volhist.dat files to instance home directory and modified them accordingly ( removed all the library and drives info from devconf file).
9. ran "dsmserv restore db"
10. The DB restored successfully ( I tried using my own DB directory and logs by adding different flags for each and also I used savevg and restvg commands to restore file systems) In both cases I was able to restore DB successfully.
11. I logged in and deleted the vols from tape pool "upd vol <volname> acc=destroyed wherestg=tapepool"
12. Inserted copy tapes.
I was told, I must run "db2 drop db tsmdb1" after I completed (./dsmicfgx) process. I did and I cannot run "dsmadmc" after that.
I was told to do so as the existing tsmdb1 will be used between those two DB and we have to get rid of 1st one.
Should I use the existing TSM server OS image for DR? I tried this and I cannot drop the DB as it is on a different VG.
Help me out with the correct DR procedure.
Thanks,