260 pts.
0
Q:
Copying user profiles from a partition to another
We have 2 partitions and need to copy all user profiles from one to another. What is the best way (also fastest)? Thanks for the help!
John
ASKED: Mar 4 2008  6:52 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
4785 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
You normally would save the *USRPRFs using SAVSECDTA or the QSRSAVO API and then restore the profiles using RSTUSRPRF. This would generally be a one time effort.

To keep the profiles in synch across the partitions you can use various APIs and exits which allow you to know when a profile has changed (or a new one created) and then propogate the changes to one or more other system/partitions. The Security related APIs and exits can be found here and the Save Object API here. The book APIs at Work Second Edition (which I do have a financial interest in) also discusses this very scenario in Chapter 12 - Security APIs.

Another possible way to keep the profiles synchronized is with Management Central.

Bruce Vining
http://www.brucevining.com/
Integrated solutions for the System i user community
Last Answered: Mar 5 2008  2:44 AM GMT by Bvining   4785 pts.
Latest Contributors: Jlees   5320 pts., Buddyfarr   6835 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Jlees   5320 pts.  |   Mar 5 2008  1:20AM GMT

Bruce is correct. Robocopy is a windows tool and won’t work with the i5. (sorry buddyfarr)

 

Buddyfarr   6835 pts.  |   Mar 5 2008  1:26AM GMT

You both are correct. I had my windows brain on at the time. sorry for the misleading information. I need to get more sleep and read the information more thouroughly before answering. Thanks for the correction.

 

JAC   260 pts.  |   Mar 5 2008  2:51PM GMT

Thanks everyone….

John

 

Gilly400   23625 pts.  |   Mar 5 2008  3:40PM GMT

Hi,

If you use the SAVSECDTA route, you could save the *SECDTA to a *SAVF, then FTP or SNDNETF from one partition to the other to restore (depending on how you have the partitions setup for comms.

Regards,

Martin Gilbert.

 
0