View previous topic :: View next topic |
Author |
Message |
djf Beginner
Joined: 06 Feb 2007 Posts: 68 Topics: 27
|
Posted: Mon Jan 28, 2008 11:48 pm Post subject: SMS volume control |
|
|
We are moving to a new SAN, 3390's only.
I have a storage pool on 80's but have added into the pool some 90's.
When the new SAN is installed, we will do full volume copies 90's to 90's which is the easiest way.
I need to allocate 300+ datasets on the 90's but SMS just LUVS to get involved and putting some on the 80's. because the datasets are DA format (3rd party) I am allocating them with the TSO ALLOC DS('ABC.XYZ.COPY') LIKE('ABC.XYZ') UNIT(3390) VOL(NEWVOL)
So is there any way to quiesce the 80's so that he WILL put them on the 90's? |
|
Back to top |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Tue Jan 29, 2008 2:56 am Post subject: |
|
|
Very simple, go into ISMF, enter the storage group processing, enter the storage group in question and use the volumes processing, use the alter volumes processing to set the volumes to quiesce or quinew (only used for new datasets if the system does not have enough room on other disks that are enabled). Don't forget to activate the SMS afterwards.
Code: |
LINE VOLUME % DEV USE DASD FW STORAGE PROD
OPERATOR SERIAL FREE NUM ATTR STATUS GRP NAME SMS
---(1)---- -(2)-- (4)- (13) (15) --(17)-- --(23)-- --(25)---
MVSnnn 71 7027 PRIV ACTIVE GPWORK QUINEW
MVSnnn 49 7028 PRIV ACTIVE GPWORK QUINEW |
|
|
Back to top |
|
 |
djf Beginner
Joined: 06 Feb 2007 Posts: 68 Topics: 27
|
Posted: Tue Jan 29, 2008 11:19 am Post subject: |
|
|
Thanks!
I admit I got desperate and inactivated the volumes then reactivated them after the datasets were created. |
|
Back to top |
|
 |
djf Beginner
Joined: 06 Feb 2007 Posts: 68 Topics: 27
|
Posted: Wed Jan 30, 2008 1:00 pm Post subject: |
|
|
I have another question for anyone who knows.
There is one particular 3380 that might give me problems... it is a volume that has about ten catalogs on it. (but not the master)
When the system was originally set up, they defined an SMS volume with storage group name PRIMARY and had the ACS routines put anything that started with CAT or CATALOG on that volume.
A few years ago I got somewhat fed up with that, as I like the catalogs that control things to be on or near the volumes they generally manage (for instance the DB2 catalogs, one for the DB2 system stuff and another for the DB2 data, are on the DB2 distribution volumes).
Anywaze I need to move these catalogs living on this 80 to a 90 that either is or is not under SMS, I can do it either way, I just have to do something that is guaranteed to work.
Ideas?
Suggestions?
TIA.
djf |
|
Back to top |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Wed Jan 30, 2008 5:14 pm Post subject: |
|
|
Get rid of the generic check for 'CAT' or 'CATALOG' so the non-SMS catalogs can be allocated where you want them.
For the ones that will reside on SMS-controlled volumes, change the ACS routines to have an entry for each assigning the correct pool (Ex. 'CATALOG.PROD.DB2' ) . Be sure it will allow for the CATINDEX, too. _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
 |
djf Beginner
Joined: 06 Feb 2007 Posts: 68 Topics: 27
|
Posted: Wed Jan 30, 2008 6:03 pm Post subject: |
|
|
Done that. But how do I move them? |
|
Back to top |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Thu Jan 31, 2008 1:51 am Post subject: |
|
|
You can do it step by step, for example one HLQ after another. Here is an example: Code: |
//LISTCAT EXEC PGM=IDCAMS
//DD1 DD VOL=SER=MVSS1P,UNIT=3390,DISP=SHR
// DD VOL=SER=MVS001,UNIT=3390,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
REPRO INDATASET(UCAT.ISP.VMVSS1P) -
OUTDATASET(UCAT.TBLABL.VMVS002) -
LVL(TIS99O) -
MERGECAT -
FILE(DD1)
DELETE TIS99O ALIAS
DEFINE ALIAS ( +
NAME(TIS99O) +
RELATE(UCAT.TBLABL.VMVS002) +
) +
CAT(MCAT.OS39012.VOS2C1P)
REPRO INDATASET(UCAT.ISP.VMVSS1P) -
OUTDATASET(UCAT.PBLABL.VMVS001) -
LVL(PIS99O) -
MERGECAT -
FILE(DD1)
DELETE PIS99O ALIAS
DEFINE ALIAS ( +
NAME(PIS99O) +
RELATE(UCAT.PBLABL.VZZZ001) +
) +
CAT(MCAT.OS39012.VOS2C1P) |
|
|
Back to top |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Thu Jan 31, 2008 9:25 am Post subject: |
|
|
warp's method will move entries to a different catalog.
Our IDCAMS process to move an entire catalog:
1. EXPORT TEMPORARY two times (in case one can't be read later)
2. ALTER LOCK the catalog to prevent new activity
3. DELETE RECOVERY (delete UCAT but retain ALIAS entries in MCAT)
4. DEFINE the catalog on a new volume
5. IMPORT INTOEMPTY from the REPRO file above
6. ALTER UNLOCK
For more details and sample JCL, see the DFSMS Managing Catalogs manual section on Moving Catalogs. _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
 |
djf Beginner
Joined: 06 Feb 2007 Posts: 68 Topics: 27
|
Posted: Thu Jan 31, 2008 10:56 am Post subject: |
|
|
Thank you guys both very much. I admit I was about to post and say the first method wouldn't seem to work for me because I have about a dozen catalogs and hundreds, if not thousands, of aliases.
The second method is much more along the lines of what I need. I can do some non-destructive testing and make it foolproof.
Of course an old friend of mine said you can never make anything foolproof, because fools are such geniuses!
Regards,
djf |
|
Back to top |
|
 |
djf Beginner
Joined: 06 Feb 2007 Posts: 68 Topics: 27
|
Posted: Sat Apr 12, 2008 10:30 am Post subject: |
|
|
Bill Dennis wrote: | warp's method will move entries to a different catalog.
Our IDCAMS process to move an entire catalog:
1. EXPORT TEMPORARY two times (in case one can't be read later)
2. ALTER LOCK the catalog to prevent new activity
3. DELETE RECOVERY (delete UCAT but retain ALIAS entries in MCAT)
4. DEFINE the catalog on a new volume
5. IMPORT INTOEMPTY from the REPRO file above
6. ALTER UNLOCK
For more details and sample JCL, see the DFSMS Managing Catalogs manual section on Moving Catalogs. |
Thanks! Had all the JCL set up ahead of time. Took less than ten minutes to move the 5 remaining catalogs off 3380's to 3390's. Migration to new SAN was completed in less than 3 hours, |
|
Back to top |
|
 |
expat Intermediate

Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Sun Apr 13, 2008 4:21 am Post subject: |
|
|
Bills method of moving catalogs is probably the best one.
For allocating datasets on specificvolumes in a pool, don't forget to use a STORCLAS with the Guaranteed Space attribute. _________________ If it's true that we are here to help others,
then what exactly are the others here for ? |
|
Back to top |
|
 |
|
|