Hello.
Could someone share a thought what the best automatic way of deploying a project on a system where Windows user administration (from Active Directory) is used?
We have an environment with AD and Windows user administration on. But in our development environment, we are using a simple WinCC OA user administration.
We want to make a full copy of a project from development while keeping all users already created from AD.
The idea was to make ASCII-export of _Users, _Areas and _Groups and then import that into the copied project.
Also, we found _WinUserAdmin datapoint which seems to store Windows administration settings (and should be exported/imported as well)
Is that enough to achieve the goal? I tested that and it seems to work but I'm a little bit afraid of internal WinCC OA classes being modified behind WinCC OA User Administration panel (on switching auth method from Standard to Windows).
WinCC OA 3.15, P011.
BR
Leo
Deploy a project keeping all created users from Active Directory
- LIGO
- Posts:27
- Joined: Tue Aug 02, 2016 1:57 pm
Deploy a project keeping all created users from Active Directory
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Deploy a project keeping all created users from Active Directory
If you want to have a full copy for the database you can
-- copy the db-directory while the project is stopped
-- use the WinCC OA Online Backup functionality to make a backup of the database while the project is running
Best Regards
Leopold Knipp
Senior Support Specialist
-- copy the db-directory while the project is stopped
-- use the WinCC OA Online Backup functionality to make a backup of the database while the project is running
Best Regards
Leopold Knipp
Senior Support Specialist
- LIGO
- Posts:27
- Joined: Tue Aug 02, 2016 1:57 pm
Re: Deploy a project keeping all created users from Active Directory
Hello Leopold and thanks for your reply.
That's exactly what we are doing but after copying the full project to a new system we need to change auth method to use AD (instead of default WinCC OA user auth) and restore all users created from AD before (with all correct and unchanged settings, like UserID's, OSID's etc.).
With doing that manually (user management panel -> change auth method) all users would be deleted and operators would need to create their accounts again on the first login (which would lead to a possible history loss because of different UserID's). If there is a way of doing that via ASCII for example?
Best Regards
Leonid Solovev
That's exactly what we are doing but after copying the full project to a new system we need to change auth method to use AD (instead of default WinCC OA user auth) and restore all users created from AD before (with all correct and unchanged settings, like UserID's, OSID's etc.).
With doing that manually (user management panel -> change auth method) all users would be deleted and operators would need to create their accounts again on the first login (which would lead to a possible history loss because of different UserID's). If there is a way of doing that via ASCII for example?
Best Regards
Leonid Solovev
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Deploy a project keeping all created users from Active Directory
In your description you have written that you want to deploy the database for a new project. If it s a new project there is no loss of user information as an old project is not existing.
Can you please describe the use case more detailed.
What do you really want to do?
Best Regards
Leopold Knipp
Senior Support Specialist
Can you please describe the use case more detailed.
What do you really want to do?
Best Regards
Leopold Knipp
Senior Support Specialist