question

matteu31400 avatar image
2 Votes"
matteu31400 asked FionaYan-MSFT edited

SCCM consolidation migration

Hello,

I need to do migration of SCCM environment and I would like to be sure about what I will do.

Source :
SRV1 : SCCM 1910 with W2012OS
SRV2 : SQL 2012 with W2012 OS (sql + repport role)
ADK : I don't know v.X

Target :
SRV1 : SCCM 2010 with W2019 OS and SQL 2019 + ADK updated.

Step to do :
In place upgrade SRV1 2012 -> 2016
In place upgrade SRV1 2016 -> 2019
Backup Reporting server key + custom report from SRV2
Remove Reporting service role from SRV2 with SCCM console.
Install SQL 2019 on SRV1
backup ALL sql database from SQL2012
restore maintenance task database on SRV1 to restaure SRV2 SCCM + wsus database
Install reporting 2019 + restore custom report + key
Update ADK


Is it correct ?


mem-cm-site-deployment
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

FionaYan-MSFT avatar image
1 Vote"
FionaYan-MSFT answered

@matteu31400

Thank you for posting in Microsoft Q&A forum.

The Backup/restore is the easier way I would recommend otherwise you will have a lot of work to do. As agreed with YoussefSaad, the backup/restore method need to use same name for the server.

There are two excellent blogs we may need to refer to:
configmgr-site-backup-restore
migrate-sql-server-database-from-one-server-to-another
Note: This is non-official Microsoft article just for your reference.

Have a good day!


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

YoussefSaad avatar image
2 Votes"
YoussefSaad answered

Hi @matteu31400,

Doing much in-place upgrades may impact your production, I would suggest to you to either prepare a separate new ConfigMgr platform with another site code, then do side by side migration from the old platform to the new one. Or, doing a backup and recovery site, more details:

Regards,


Youssef Saad | New blog: https://youssef-saad.blogspot.com
Please remember to “Accept answer” for useful answers, thank you!


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

matteu31400 avatar image
1 Vote"
matteu31400 answered YoussefSaad commented

If I want to avoid upgrade in place, what should I do ?

Restore site only reinstall sccm application on new server and update all AD information for this new server and restore DB restore all data sccm uses right ?
If I do both, all my application are integrated in sccm, all my updates too ?
I don't know what steps I have to follow exactly if I use this method...

There is SUP , report , endpoint, OSD roles.
how this can be recovered ?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

YoussefSaad avatar image
2 Votes"
YoussefSaad answered

You said in your post that you've deleted that you have 2 days to achieve this upgrade, I don't think if you can achieve all of those upgrades especially if you have a large park, but as I've mentioned, doing much in-place upgrade may impact the production with eventual errors, you have to try with a similar TEST environment.

If you want to use the backup/recovery ConfigMgr site, you have to keep the same hostname, and other prerequisites that are mentioned in the link above.

In case if you plan for a side by side migration, you have to reinstall the SCCM client into your devices or change their site code, migrate all applications/packages/collections/Boundaries and boundary groups/ADR etc.

Regards,


Youssef Saad | New blog: https://youssef-saad.blogspot.com
Please remember to “Accept answer” for useful answers, thank you!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

matteu31400 avatar image
0 Votes"
matteu31400 answered matteu31400 edited

Hello,

Thank you for your answer.
I test in my lab environment today with this link you provide me : https://home.memftw.com/configmgr-site-backup-restore/
My lab is :
1 server : SCCM + sql +endpoint + MP + DP + SUP + Report.

I create new server 2019 and install all prerequesite and SQL 2019

I think I did it correctly to migrate all with backup / restaure but I have some questions :

When I reinstall DP role on the new server, I have all my package to redistribute on it. IS there a fast way to do it or I just need to select all application -> distribute conte, all my package -> distribute content , all my DCM -> distribute content, all my package update -> distribute content ... ?


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

YoussefSaad avatar image
1 Vote"
YoussefSaad answered

You can use the Start-CMContentDistribution Powershell cmdlet to distribute multiple application to a DP, DP group or a device collection.

For more details:

Regards,


Youssef Saad | New blog: https://youssef-saad.blogspot.com
Please remember to “Accept answer” for useful answers, thank you!



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

FionaYan-MSFT avatar image
0 Votes"
FionaYan-MSFT answered FionaYan-MSFT edited

@matteu31400

  • The easier way was to use the following script to distribute the package to new DP:

distribute-packages-or-applications-in-configmgr-2012-sp1-with-powershell
Note: This is non-official article just for your reference.

  • We could also open the SCCM console and do this distribute action by GUI image, it's also a good way to execute:

  1. Go to the Packages or Applications node , click in the search bar and make sure that we click "All Sub folders" in the ribbon(For the search context, otherwise it will just search in the current folder and will miss packages in nested folders under the "Packages" node)
    56487-search-subfolder.png

  2. Add search criteria for the filter condition such as Package Name or Package ID and so on. Change the boolean on the search query to "is not empty" and then click search.
    56370-search-condition.png

  3. A full list of all packages in the system. And we can Ctrl-A to select all, and right click "Distribute Content" and push all packages at once to a DP, multiple DPs, or a DP Group.



Have a good day!


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

matteu31400 avatar image
1 Vote"
matteu31400 answered FionaYan-MSFT edited

Hello and thank you both for your answer.

I will probably use this method and not upgrade in place. I think I can do it in 2 days, I just hope I will not have any issue.
Here I had 2 issue on my lab :
-Need to redistribute all content to my dp (but I think it don't redistribute really all because I always have my content library) and there is no other possibility (I see we can prestage it but it's the same result as detach and attach again vdisk).
-I had to restart because all my client trying to download content from DP stucked at 0% with error in datatransferservice with error logon and after restart IIS it's ok.

I think I can validate it's working now, I can deploy application, I have all my update, I have endpoint back, I receive new policy, and all components and site are green :)

Thank you very mutch

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@matteu31400

Thank you very much for the update and we're glad the problem is solved now. If you have any questions in future, we warmly welcome you to post in this forum again.

Thanks a lot.

0 Votes 0 ·