Re: Dirmaint : cards ordre
I've used a variation of this technique for many years as well. It works well for both DIRMAINT and VM:Secure/VM:Direct. This also makes sure that the user management product is internally consistent and at current release data formats at all times. From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of gclo...@br.ibm.com Sent: Wednesday, April 13, 2011 5:16 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Dirmaint : cards ordre Alain, Normally, this kind off migration is done on few hours. My technique (resumed): 1- Install a new VM and enable DIRMAINT, with the supplied directory. 2- Split the old direct to a TEMP disk, using one homemade EXEC (DIRSPLIT). The exec reads the old USER DIRECT, and create a new -userid- DIRECT, for each machine. Based on the "USER " card. Each "USER " finish the previous. Also test if each -userid- exist (CP QUERY USER -userid-). If exist then rename the file to -userid- EXIST. 3- DIRM ADD for all the -userid- DIRECT created. 4- Manually inspect the "EXIST" files and create a batch file for the divergences: ACCOUNT, ACIGROUP, new MDISK, etc. A "DIRM GET" followed by "COMPARE" can help. 5- Make the adjusts: DIRM BATCH batch file 6- If needed, move the old machines to new dasds: DIRM CMD (depending on the number of machines to move, eventually I create additional DATAMOVs...) 7- Fine adjust (less than 2%) for not covered situations. I worked this way for years... __
Re: Dirmaint : cards ordre
Alain, Normally, this kind off migration is done on few hours. My technique (resumed): 1- Install a new VM and enable DIRMAINT, with the supplied directory. 2- Split the old direct to a TEMP disk, using one homemade EXEC (DIRSPLIT). The exec reads the old USER DIRECT, and create a new -userid- DIRECT, for each machine. Based on the "USER " card. Each "USER " finish the previous. Also test if each -userid- exist (CP QUERY USER -userid-). If exist then rename the file to -userid- EXIST. 3- DIRM ADD for all the -userid- DIRECT created. 4- Manually inspect the "EXIST" files and create a batch file for the divergences: ACCOUNT, ACIGROUP, new MDISK, etc. A "DIRM GET" followed by "COMPARE" can help. 5- Make the adjusts: DIRM BATCH batch file 6- If needed, move the old machines to new dasds: DIRM CMD (depending on the number of machines to move, eventually I create additional DATAMOVs...) 7- Fine adjust (less than 2%) for not covered situations. I worked this way for years... __ Clovis From: Alain Benvéniste To: IBMVM@listserv.uark.edu Date: 04/07/2011 03:30 PM Subject: Re: Dirmaint : cards ordre Sent by: The IBM z/VM Operating System Dave Ok I got it, thanks ! I would like to know how long does it take for you and others to migrate a directory ? Alain Le 07/04/11 19:40, « Dave Jones » a écrit : > Hi, Alan. > > The order in which the directory statements for a given user entry in > the USER DIRECT file must appear is given in the CP Planning and > Administration publication, Chapter 17. > > The *DVHOPT statement is an artifact used by DIRMAINT, and is ignored by > the DIRECTXA command. As such, it's not really a part of the user > directory entry. > > DJ > > On 04/07/2011 11:53 AM, Alain Benveniste wrote: >> I m trying to develop a tool to make directory migration easier and >> faster. At this time i would like to know if a doc references the order >> of the cards in a directory : USER card must precede the INCLUDE >> cardetc. and the last card should be *DVHOPT An other sequence would >> a serious problem ! Any idea ? Alain
Re: Dirmaint : cards ordre
Alain, The "CP Planning and Administration" manual, have a paragraph for each command, saying where to code each. For INCLUDE, by example, says "MUST follow the USER card". No other cards are allowed between them. Personally, I prefer to use DIRMAINT to do the changes. Example: A "batch file" with all the ACCOUNT cards is more easy to create than edit the source USER DIRECT. Like it: FOR USER1 ACCOUNT ACCT1 FOR USER2 ACCOUNT ACCT2 FOR USER3 ACCOUNT GRP001 ... FOR USER999 ACCOUNT GRP600 Only one command can process all the entries in this file: DIRM BATCH batch file All are correctly positioned. If you really need to change the USER DIRECT manually, see this Chapter: "Making Multiple Updates to a Directory", into "z/VM V6R1 Directory Maintenance Facility Tailoring and Administration Guide SC24-6190-01" Regards, __ Clovis From: Alain Benveniste To: IBMVM@listserv.uark.edu Date: 04/08/2011 03:44 AM Subject: Re: Dirmaint : cards ordre Sent by: The IBM z/VM Operating System Yes Dave i mean that. I tested from what i found in the doc cards order. I put a account card before a include and dirmaint did not validate this order. I didn't find in the doc a more fine sequence card explanation... Alain Envoyé de mon iPhone Le 8 avr. 2011 à 00:14, Dave Jones a écrit : > Hi, Alan. > > I'm not sure I understand your question.are you asking how long it > would take to merge a working, say 5.3, USER DIRECT file, with a number > of service and end user virtual machines defined, with a newly installed > z/VM 5.4 USER DIRECT file? > > DJ > > On 04/07/2011 01:29 PM, Alain Benvéniste wrote: >> Dave >> >> Ok I got it, thanks ! >> >> I would like to know how long does it take for you and others to migrate a >> directory ? >> >> Alain >> >> >> >> Le 07/04/11 19:40, « Dave Jones » a écrit : >> >>> Hi, Alan. >>> >>> The order in which the directory statements for a given user entry in >>> the USER DIRECT file must appear is given in the CP Planning and >>> Administration publication, Chapter 17. >>> >>> The *DVHOPT statement is an artifact used by DIRMAINT, and is ignored by >>> the DIRECTXA command. As such, it's not really a part of the user >>> directory entry. >>> >>> DJ >>> >>> On 04/07/2011 11:53 AM, Alain Benveniste wrote: >>>> I m trying to develop a tool to make directory migration easier and >>>> faster. At this time i would like to know if a doc references the order >>>> of the cards in a directory : USER card must precede the INCLUDE >>>> cardetc. and the last card should be *DVHOPT An other sequence would >>>> a serious problem ! Any idea ? Alain >> > > -- > Dave Jones > V/Soft Software > www.vsoft-software.com > Houston, TX > 281.578.7544
Re: Dirmaint : cards ordre
Yes Dave i mean that. I tested from what i found in the doc cards order. I put a account card before a include and dirmaint did not validate this order. I didn't find in the doc a more fine sequence card explanation... Alain Envoyé de mon iPhone Le 8 avr. 2011 à 00:14, Dave Jones a écrit : > Hi, Alan. > > I'm not sure I understand your question.are you asking how long it > would take to merge a working, say 5.3, USER DIRECT file, with a number > of service and end user virtual machines defined, with a newly installed > z/VM 5.4 USER DIRECT file? > > DJ > > On 04/07/2011 01:29 PM, Alain Benvéniste wrote: >> Dave >> >> Ok I got it, thanks ! >> >> I would like to know how long does it take for you and others to migrate a >> directory ? >> >> Alain >> >> >> >> Le 07/04/11 19:40, « Dave Jones » a écrit : >> >>> Hi, Alan. >>> >>> The order in which the directory statements for a given user entry in >>> the USER DIRECT file must appear is given in the CP Planning and >>> Administration publication, Chapter 17. >>> >>> The *DVHOPT statement is an artifact used by DIRMAINT, and is ignored by >>> the DIRECTXA command. As such, it's not really a part of the user >>> directory entry. >>> >>> DJ >>> >>> On 04/07/2011 11:53 AM, Alain Benveniste wrote: I m trying to develop a tool to make directory migration easier and faster. At this time i would like to know if a doc references the order of the cards in a directory : USER card must precede the INCLUDE cardetc. and the last card should be *DVHOPT An other sequence would a serious problem ! Any idea ? Alain >> > > -- > Dave Jones > V/Soft Software > www.vsoft-software.com > Houston, TX > 281.578.7544
Re: Dirmaint : cards ordre
Hi, Alan. I'm not sure I understand your question.are you asking how long it would take to merge a working, say 5.3, USER DIRECT file, with a number of service and end user virtual machines defined, with a newly installed z/VM 5.4 USER DIRECT file? DJ On 04/07/2011 01:29 PM, Alain Benvéniste wrote: > Dave > > Ok I got it, thanks ! > > I would like to know how long does it take for you and others to migrate a > directory ? > > Alain > > > > Le 07/04/11 19:40, « Dave Jones » a écrit : > >> Hi, Alan. >> >> The order in which the directory statements for a given user entry in >> the USER DIRECT file must appear is given in the CP Planning and >> Administration publication, Chapter 17. >> >> The *DVHOPT statement is an artifact used by DIRMAINT, and is ignored by >> the DIRECTXA command. As such, it's not really a part of the user >> directory entry. >> >> DJ >> >> On 04/07/2011 11:53 AM, Alain Benveniste wrote: >>> I m trying to develop a tool to make directory migration easier and >>> faster. At this time i would like to know if a doc references the order >>> of the cards in a directory : USER card must precede the INCLUDE >>> cardetc. and the last card should be *DVHOPT An other sequence would >>> a serious problem ! Any idea ? Alain > -- Dave Jones V/Soft Software www.vsoft-software.com Houston, TX 281.578.7544
Re: Dirmaint : cards ordre
The *DVHOPT statement is an artifact used by DIRMAINT, and is ignored by the DIRECTXA command. As such, it's not really a part of the user directory entry. Since it starts with a '*', it's ignored by DIRECTXA.. I think it contains some checksum so that dirmaint can ensure the directory wasn't tempered with. (but it's a wild guess). --Ivan
Re: Dirmaint : cards ordre
Dave Ok I got it, thanks ! I would like to know how long does it take for you and others to migrate a directory ? Alain Le 07/04/11 19:40, « Dave Jones » a écrit : > Hi, Alan. > > The order in which the directory statements for a given user entry in > the USER DIRECT file must appear is given in the CP Planning and > Administration publication, Chapter 17. > > The *DVHOPT statement is an artifact used by DIRMAINT, and is ignored by > the DIRECTXA command. As such, it's not really a part of the user > directory entry. > > DJ > > On 04/07/2011 11:53 AM, Alain Benveniste wrote: >> I m trying to develop a tool to make directory migration easier and >> faster. At this time i would like to know if a doc references the order >> of the cards in a directory : USER card must precede the INCLUDE >> cardetc. and the last card should be *DVHOPT An other sequence would >> a serious problem ! Any idea ? Alain
Re: Dirmaint : cards ordre
Hi, Alan. The order in which the directory statements for a given user entry in the USER DIRECT file must appear is given in the CP Planning and Administration publication, Chapter 17. The *DVHOPT statement is an artifact used by DIRMAINT, and is ignored by the DIRECTXA command. As such, it's not really a part of the user directory entry. DJ On 04/07/2011 11:53 AM, Alain Benveniste wrote: > I m trying to develop a tool to make directory migration easier and > faster. At this time i would like to know if a doc references the order > of the cards in a directory : USER card must precede the INCLUDE > cardetc. and the last card should be *DVHOPT An other sequence would > a serious problem ! Any idea ? Alain -- Dave Jones V/Soft Software www.vsoft-software.com Houston, TX 281.578.7544
Dirmaint : cards ordre
I m trying to develop a tool to make directory migration easier and faste r. At this time i would like to know if a doc references the order of the cards in a directory : USER card must precede the INCLUDE cardetc. and the last card should be *DVHOPT An other sequence would a serious problem ! Any idea ? Alain