If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > TSM + DB2 Database + partially mirrored LV's

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-26-11, 09:08
sammiam sammiam is offline
Registered User
 
Join Date: May 2011
Location: St. Louis, MO
Posts: 1
Question TSM + DB2 Database + partially mirrored LV's

Man, did I ever inherit a mess... seems that the previous unix admin needed to add more hard disks for the TSM DB2 database, so he added just one physical hard dive, created the vg's and lv's, and then gave the additional space to TSM's DB2 DB.

The issues are:
1) I now have a horrible exposure since part of the DB2 DB is not mirrored.
2) The physical space allocated for the DB2 Data Base is larger than it needs to be...

My Questions:
1) I know that I can create new VG's and LV's that are the size that I need (smaller than the current ones). plus insure that they are mirrored.
2) I know that I can copy over the physical files that DB2 has created on these LV's
3) I know that I can mount the new LV's over the LV's that TSM's DB2 is using today..

What I don't know is:
1) Since DB2 thinks it has a larger size available today, if I move the files to a smaller filesystem... will DB2 choke?

My overall goal is to get the DB2 Database, Logs, etc onto smaller filesystems, and insure that they are mirrored...

Any help would be greatly appreciated, as TSM and DB2 are new items on my plate.

Last edited by sammiam; 05-26-11 at 09:09. Reason: clarification
Reply With Quote
  #2 (permalink)  
Old 05-26-11, 09:30
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by sammiam View Post
1) Since DB2 thinks it has a larger size available today, if I move the files to a smaller filesystem... will DB2 choke?
DB2 does not "think" outside its boxes (files, that is). The only problem might be if DB2 uses raw devices as containers; in that case you would need something like a redirected restore to move to smaller LVs. Otherwise, as long as you create the same filesystems on your new LVs and all DB2 files fit into these filesystems, I would not expect any trouble.

If you have DB2 Health Monitor enabled and the new filesystem utilization is above the set thresholds, you will get alerts, but that's about it.
Reply With Quote
Reply

Tags
db2, tsm

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On