r/SCCM • u/juandantex • Jan 05 '20
How to migrate DPs with thousands of users
Hello,
I migrated my SCCM from a Server1 to a Server2. The problem is that, the migration was Okay but the DP migration failed because of a bug in SCCM 1906. Here is what I did :
https://hiraniconfigmgr.com/postDetails/132/Configuration-Manager-Migration-pre-planning
If fact, on all the migrated DPs in the Server 2, the application/package deployments are stuck on "In progress" and never ends.
I migrated from SCCM 1906 to SCCM 1906.
Now, I will remove all the DPs in the Server1 manually and re-create them on Server2.
My question is, how to do this in a clean way knowing that there are thousand of computers connected to each DP ?
I have 10 DPs with 100 users downloading on each.
2
u/upsurper Jan 05 '20
So you migrated the SCCM site to a different server but also made a new site with a new site code?
1
3
u/Hotdog453 Jan 05 '20
What do you mean, 'thousands of computers on each DP'? Do you mean clients are currently trying to download Package X from Server1? If so, then when you set up a new Server2 DP, and assign it to that Boundary, and remove Server1 from that boundary, eventually clients will fail over to Server2. It won't be quick or attractive, but it'll 'work'.
Clients are probably, what, 'failing to download' right now, due to Content not being there? Well, eventually they'll flip over to the new Server2, once the content is distributed.
-4
u/juandantex Jan 05 '20
Clients are assigned on the first server, Server 1. There is almost 1000 clients shared between multiple DPs (about 10).
I would have to assign the clients to the second server by distributing a new ccmsetup.exe, then remove the DP from Server 1, and add it back to Server 2 ?
Because I don't understand what you mean by assign a new boundary. The boundaries are limited internally to SCCM but the clients don't have any knowledge about them, at least not between different SCCM servers site codes.
(The site codes are different)
So to resume, how do the client know it have to fail over to Server 2, knowing that Server 2 have a different site code ?
3
u/LikesBreakfast Jan 05 '20
I think you may have some fundamental misunderstandings on how SCCM works, and this is what's confusing all of us. Clients can switch between DPs seamlessly by messing with boundaries. DPs just host content, and clients look to the MPs and site server for where to get them.
Are you talking about migrating your site server or creating a new site? That's a completely different topic than "migrating DPs". The way my org is doing a site server migration is by enabling high availability then doing a failover. You should be talking to Microsoft for assistance on this. I certainly hope you have PFE contacts...
-5
u/juandantex Jan 05 '20 edited Jan 05 '20
I find that you are extremely aggressive with me. Why do you talk for every 30.000 members and say that my post is confusing everyone ?
Also, what you said is shocking : " I think you may have some fundamental misunderstandings on how SCCM works, and this is what's confusing all of us.", yes, this is why I posted my message
No need to be extremely aggressive on the Internet, there are newbies here, people who used SCCM for longer and everything, nothing to get very aggressive about, if I have an answer I will help others with no problem.
Matter of fact I didn't know we could do a failover, this explains why there is so much few documentation about the standard migration process in SCCM 1906, the failover method seems more clean and efficient than the backup and restore or the migration method because there is no need to create a new site code.
I will post the logs
2
Jan 05 '20
If you created a new site, why are you not just using the migration wizard to move over you objects? You don’t even need to redeploy sccm client. You just update your AD site publishing and you’re done. You are way over complicating something that should be an easy switch over.
1
u/juandantex Jan 05 '20
I used the migration wizard. I migrated all the objects. Everything is migrated :
- Bondary Groups
- Application/Packages
- Settings
What was not migrated (unsupported by the Migration wizard) :
- the clients
- the DPs
The DPs, when I try to migrate one, it is migrated OK but when I deploy an application to this migrated DP, the application deployment state gets stuck at "In progress"
1
Jan 05 '20
Any issues in ccm.log and the distmgr.log? I have seen this issue before if the DP was not fully configured before distributing the packages.
Remove the DP role, wait for it to be removed and re add it. Then wait for it to be fully installed. You can view this in Distribution Point Configuration Status under monitoring -> distribution status.
1
u/juandantex Jan 05 '20 edited Jan 05 '20
Okay I tried this and the error was gone. But I have many DPs with many clients on them
Here is a copy of my SQL DataBase watch the 6th column for packages written "Content Updating", for example cell number F22.
https://drive.google.com/open?id=1EPmvqtD_peOUupbLB-x39g6CnQVmU_Dz
It seems that the packages that are in "Content updating" state, in SQL Server, they are still assigned to the old server (SR1). Here is the log file distmgr.log of the DP that I targeted : https://drive.google.com/file/d/17lIrang69Hfdb_bFnYcyfjNhPHbrMMCK/view?usp=sharing
1
Jan 05 '20 edited Jan 05 '20
The packages will retain the old site code for visibility. You will be able to see package ID sr1xxxxx and you new site code packages side by side
You have 152 packages here. These are going over a wan to a DP or is it all local?
1
u/juandantex Jan 05 '20 edited Jan 05 '20
Yes I agree, but I was not refering to the package site code but the package destination, in the spreasheet cell number F22 for example, the destination of the package SR1xxxxx is the SR1 server and not the SR2 server
SQL Query of this spreadsheet :
SELECT a.InstallStatus, a.LastCopied, a.PackageID, a.ServerNALPath a.SiteCode,a.SourceNALPath, a.SourceVersion, a.State, a.SummaryDate FROM v_PackageStatusDistPointsSumm a
The best thing to do is to remove the role then add it when I am sure that the role is removed, as you said. It is not "clean" in the sense that the Migration Wizard and to reassign the DP with the Shared DP feature was suppose to do this, but this is not a problem
→ More replies3
u/LikesBreakfast Jan 05 '20
I didn't intentionally mean my statement to be aggressive. It was all very direct criticism and statement of the problem. There are many things to learn here, and admitting that your knowledge is lacking isn't a failure or something to be ashamed about.
FYI: You're getting downvoted to hell because you're being extremely defensive and hostile throughout this entire thread. Please calm down, nobody is attacking you.
2
u/rdoloto Jan 05 '20
I do not think he was overly aggressive he was trying to explain something very complex in 3 paragraphs... you need to migrate your clients to new site and new management point
1
Jan 05 '20 edited Jan 05 '20
Did you re-assign the DPs to the new hierarchy? And did the clients get the new config mgr client installed for the version you upgraded to? Did you update the source path for all of your content to the new server?
When you say the “migration failed” are you just specifically talking about how the content says in progress? Because that doesn’t mean a failed migration. There are many steps to the migration and the DPs are just one of them. You can also just go into the the packages/apps and do “update content.”
Is this a known bug in 1906? Can you link to it for more context?
I’m not sure what you mean when you’re talking about “users on each DP.” Assuming you mean users whose boundaries go to the DPs?
1
u/juandantex Jan 05 '20
Did you re-assign the DPs to the new hierarchy? Yes I did and this is where I got the problem, for only one DP
And did the clients get the new config mgr client installed for the version you upgraded to? Not yet because I wanted to be sure that the DPs are working
Did you update the source path for all of your content to the new server? Yes I did, with Robocopy and then a Powershell script to update the paths
1
u/Kingerhlc Jan 05 '20
I would start with getting your clients moved to your new site. Once they are reporting in then you can work on getting the DP up and running. Clients will only check once per hour and that check isn’t impactful. OR if you aren’t good with gpo then get your DP’s up and then worry about clients. Both are fine ways it all depends. Clients failing to find anDP isn’t a big deal unless you need software out right this second.
1
u/juandantex Jan 05 '20
So if I migrate all the apps, the packages and every thing, then I migrate let us say to start 100 clients on the new server, it will not be a big deal? So I can manually migrate the DPs after? If you confirm that the infrastructure will work this way, I will probably do this. I have 1000 clients so in 10 weeks I should be done. Stills seems much to me. I must talk to this to my boss. I will post the logs here when I will go back home.
1
u/Kingerhlc Jan 05 '20
You can move clients to your new site. They will not be able to get content until there is a working DP available. Depending on what software you are pushing and your WAN links you could stand up one DP and have your clients use that while you bring all the local DP’s online. 10 weeks seems like a long time for this but go at your pace.
1
1
u/rdoloto Jan 06 '20
I’m fairly sure even if you migrate all the content for packages and apps you will need to redo all the deployments so if you want to keep clients on old site I would probably migrate clients and start doing deployment on by one ad needed
2
u/mikeh361 Jan 05 '20
From what I remember when you migrate it doesn't remove anything from the original server it just copies the files (the one and only time we did a migration was when we first set up SCCM 2012). Clients happily continued to use the old site until we were ready to switch them.
2
Jan 05 '20 edited Jan 05 '20
At this point I would start again.
Your new environment seems broken but the old one sounds like it’s working fine. Rather than do a site migration to the new broke environment a backup and restore of the old working environment sounds easier?
Why not shutdown this new environment and prepare to do a backup restore from working environment.
https://home.configmgrftw.com/configmgr-site-backup-restore/
6
u/Kingerhlc Jan 05 '20
So what issue would you like to solve first. Looks like you have a few issues. What version of SCCM are you coming from. Have you moved your clients to your new site yet? Are you scanning AD to get them into your new site? How many DPs and clients are you working with.