Sunday, 10 February 2013

ConfigMgr 2012 / SCCM 2012 SP1 Step by Step Guide Part 3: ConfigMgr 2012 SP1 Installation

Back to main menu

Part 3 describes the installation of Config Mgr 2012 SP1

A single server was required for all roles in a Primary Site. Note that a Central Administration Site (CAS) is generally not required for site of under 100,00 devices.

1. NO_SMS_ON_DRIVE

Create a blank file on root of C: drive and rename it NO_SMS_ON_DRIVE.SMS

If this file is present Config Mgr will not attempt to use this drive as a Distribution Point


2. Install Config Mgr



Install Stand-Alone Primary Site (not typical)


Accept License Terms


Accept License Terms as required


If you have Internet access choose to download the Config Mgr Pre-Requisite files to a location on the server - they are required for the installation. If the server does not have internet access you may use previously downloaded files.



Choose English


Configure 3-character Site Code (P01 is default)
Specify a name that will identify the site


Choose to install a Primary Site as a Stand-Alone Site


Accept Warning


Enter FQDN of SQL server - in our case the same server.
Enter instance name - in our case blank for default



Edit 21st November 2013: ConfigMgr 2012 R2 has one additional configuration screen


It allows you to configure the location of the CM database and log files. I just choose the folder that I have already configured while installing SQL.


End of Edit: Continue

Enter FQDN of Config Mgr server


Configure to use http rather than https


Install Management Point and Distribution Point
Enter FQDN of Config Mgr server



Review Summary



Watch Progress



3. Verify Config Mgr Installation

Verify that database has been created



Verify that Config Mgr Site has been published to Active Directory. This is crucial so that Config Mgr clients can find their Management Point.


Verify Config Mgr Site Status


Verify Config Mgr Component Status

80 comments:

  1. Thanks for the tutorials. In my installation of SCCM 2012 SP1, the wizard is completely different. am I missing somthing?

    ReplyDelete
  2. I don't really understand. What you see above is the Config Mgr 2012 SP1 installation wizard.

    ReplyDelete
  3. Hello I don't see the images, is it me or something wrong with site?

    ReplyDelete
  4. Hi Gerry, I have Windows server 2012R2 with SQL 2012sp1. So can I install SCCM 2012 R2 on these platform? also I have WSUS server.

    ReplyDelete
  5. Yes you can. See here for supported configurations.

    http://technet.microsoft.com/en-us/library/gg682077.aspx#BKMK_SupConfigSQLDBconfig

    ReplyDelete
  6. Thanks for the tutorials, but I have one issue; in site status "Distribution Point" shows "Critical"
    Can you please help me.

    ReplyDelete
  7. You need to look in the Component Status, right click > Show Messages.
    See if you can establish what is wrong from the errors.

    ReplyDelete
  8. i need one help from you please im going to do one lab as this configuration :-
    1- sccmp01 (primary site +Mangment point +server locator point + fall-back satus )
    2- sccmdp01 (distribution point)
    3- sccmr01 (reporting point )
    4- sccmup01 (udate point +PXE point )
    also i have DR Site (it will be Mangment point + Distrbution point )
    i have 11 site as secoundrey site ( proxy mangmet point + distrbution point + fall back status )
    how can i configure each role in saprete server as this design ? i need your replay urgent please

    ReplyDelete
  9. Hi Mustafa,

    I don't quite understand. You seem to know your design already. What do you need from me?

    ReplyDelete
  10. My install appears to have completed successfully, all green check boxes. However, when reviewing the log I see the error, "omGetServerRoleAvailabilityState could not read from the registry on ; error = 5." Everything appears to be working and based on the reserach I've found on the web it seems harmless. Has anyone else experienced this?

    ReplyDelete
  11. Hi Gerry
    Nice Forum. It has helped me a lot. I have one question. I have a single forest, multiple domains scenarios. For political reason I need two separate Stand-Alone Primary Site. One of this will cover all our clients in Europe and the other will cover all our clients in America. Is there any way in which a could install two Stand-
    Alone Primary Site without installing a CAS or it's absolutely neccesary to install a CAS in order to have more than one Primary Site?

    ReplyDelete
  12. It's actually not strictly necessary to deploy a CAS in this case and you will have two independent hierarchies. You just need to be careful with your boundaries. Obviously you will not have the advantage of centralised management and reporting. However, in my opinion, very few companies in the world actually REQUIRE more than one Primary Site.

    ReplyDelete
  13. Thanks a lot for your answer.

    ReplyDelete
  14. Excellent walkthrough for getting my lab up and running! Thank you so much.

    Now I have 2 days to master it before a job interview!

    ReplyDelete
  15. Dear Mr. Gerry could you please include hardware requirment for your SCCM 2012 SP1 Step by Step Guide. ( Hardware and OS used for the complete installation )

    ReplyDelete
  16. Hi Gerry, First of all I would like to tell you one thing I am complete new to sccm. But
    I have successfully installed Windows server 2012 R2, SQL 2012sp1 with SCCM2012 R2. After that I try to configure Client Push installation on my client system. But nothing happen. Please help me.

    ReplyDelete
    Replies
    1. Have you configured a client push installation account and a network access account? Have a look in the ccm.log file on the server for errors.

      Delete
  17. Your highlighted component in the Verify Config Mgr Component Status picture is not present at my configuration? Is this going to be an issue? There you have 56 components and I have 55...

    ReplyDelete
  18. No issue. That component is created after you enable Active Directory System Discovery.

    ReplyDelete
  19. Hi Gerry, Many thanks for your very useful articles. I currently use SCCM 2007, mainly for imaging and rely on it a lot, using a SQL 2012 DB with DP's located on shares on the server storage. I was planning on copying the DB, building a new separate 2012R1 SCCM server and linking to the copy DB to prevent any issues corrupting the existing DB. Is this a good way of migrating to 2012 (most of the MS\TN documentation on migration is very technical)? Will this affect my AD SCCM configuration adversely? Will this necessitate creating a primary site and will it affect my existing 2007 setup? Your help is much appreciated....

    ReplyDelete
    Replies
    1. You cannot do the migration this way Cameron. Side-by-side migration is the only possible path. See the procedure here:

      http://www.gerryhampsoncm.blogspot.ie/2013/07/configmgr-2012-sccm-2012-sp1-step-by.html

      Delete
  20. Hi Gerry, in my AD I am not seeing the object that is in this steps. Any advise please. thanks!

    ReplyDelete
    Replies
    1. Did you delegate the permissions to the System Management container?

      Delete
    2. Hi Gerry,

      I had a same problem as Rem above.
      I set Full Control permission for CM Computer on System Management container but it still not work. Please advise, Thank you!

      Delete
    3. You must have mis-configured something. Can you describe what you have done?

      Delete
  21. Hi Gerry - I noticed in another post (SQL) you mentioned a drive for OS/programs, another for DB, another for Logs, another for TempDB, and then another for SQL Backup. Would the Prereq downloads files and maybe DP files be placed on yet another drive again? I ask because in the other post you had used E: and you use it for the downloads again here. I think this would probably only be recommended or needed for larger installs. If you have less than 1000 items, would it be OK to use D: for SCCM and E: for SQL data/logs/etc.? Thanks for clarification.

    ReplyDelete
    Replies
    1. Absolutely. You only need to worry about separate drives for larger sites.

      Delete
    2. I separated all my drives, but we are well under 1000 devices. How do you define larger site?

      Delete
    3. It's no problem that you've separated out your drives. "Large site" is difficult to define. It's not just a question of numbers. It also depends on what you are managing and doing (eg OSD project, EndPoint Protection, inventory every 15 mins) as all activities require processing.
      However, under 1000 is not a large site.

      Delete
  22. Thanks for the tutorials Gerry!

    I'm stuck on the checking of the component status. I have installed SCCM 2012 R2 following your instructions. I have critical (red) warning on SMS_Site_Component_Manager and two yellow warnings on SMS_Endpoint_Protection_Manager, SMS_Hierarchy_Manager. I had a little trouble early on with the NO_SMS_ON_DRIVE but rolled my VM back and reinstalled with better results. I'm lost on why these items are showing errors.

    ReplyDelete
    Replies
    1. Right click on each of the components and look at the messages. Your problem(s) should be revealed Scott.

      Delete
  23. Hi Gerry I have a problem when I see the monitor after installation I got an error because the container in the Active Driectory doesnt have the right name , I fix it but dont know if I have to run all the installation program or how could I Re-Run to take the changes made in the container Thanks..

    ReplyDelete
    Replies
    1. Delete the container Cristina and re-create it. Delegate full control to the Primary Site server computer account. Then restart the Primary Site server to apply the permissions. You should see your site published to AD.

      Delete
  24. hi gerry,
    my Config- sccm 2012 r2 , windows 2012, sql 2012 sp1
    1.) I disabled the entire firewall on server. So i dont have to configure those ports and all ,. right ?
    2.) If i dont select the MP and DP options in that window during sccm install, does that mean tht i want to install DP and MP on other machines ? By selecting those two options, I am actually making the same pc as PS, MP and a DP too ??
    3.) Once we configure WSUS, we shud see "SUSDB" appearing in SQL server. Right ? I configured WSUS correctly but SUSDB doesnt appear in SQL. can i skip this ? I just want to learn sccm and preparing lab for me!!!

    ReplyDelete
    Replies
    1. 1. You shouldn't disable the Firewall service. You should just turn the Firewall off.
      2. That's right. You don't have to install the MP and DP on the Primary Site Server (but you must install them somewhere). This depends on your infrastructure. I always install the MP on the Primary Site server (and sometimes an additional MP elsewhere). Often I don't install the DP on the Primary Site server.
      3. You will see the SUSDB database if you configured WSUS to use SQL. If you do not see it then you have configured WSUS to use the Windows Internal Database.

      Delete
  25. Thx for reply..!!!
    I also have some basic questions.
    Please tell me , actually why Active Directory is needed for SCCM to work ?
    And why we have to create containers for SCCM and why to extend the schema?
    For SCCM server to work with a SCCM client, is it compulsary that both shud be in same network and in same domain?
    Every blog mentions abt these steps but they dont explain why these steps are needed. Thx for ur time.

    ReplyDelete
    Replies
    1. 1. ConfigMgr cannot be installed on a Workgroup server. It must be installed on a domain server. It relies heavily on DNS and Active Directory. ConfigMgr Site information is published to Active Directory during installation. In this way clients can easily find their Management Point in order to retrieve policy.
      2. You create the System Management container so that the site can be published to AD. ConfigMgr will search for this container during installation - the name is hard-coded, you cannot give it another name.
      3. Extending the schema adds some new attributes to the Active Directory database (new objects that are used by ConfigMgr only). You don't have to extend the schema but it's recommended to do so.
      4. ConfigMgr server and clients do not have to be in the same domain or network (not 100% sure what you mean by network).

      Delete
  26. Thx for the reply.
    When we need to create a domain then we install AD on a server. And then we add clients to the domain. Now before adding a client to the domain, the client and server shud b able to communicate and hence they shud in same network i.e connected to each other over lan , wan etc. Now isnt the above things mandatory to make SCCM work ??? A SCCM site has a server and clients hence isnt it necessary tht b4 using sccm , we shud make sure that the server and clients r in same domain !!!!

    ReplyDelete
    Replies
    1. No, your logic isn't quite correct. ConfigMgr must be installed on a domain member server - that much is true. However ConfigMgr can manage clients in multiple domains. It much easier if a trust relationship exists between the domains. However ConfigMgr can manage clients in un-trusted domains and even workgroups (this is more complicated to implement).

      Delete
    2. Gerry,

      Assume a simple scenario, In an organisation, there will be a domain. One AD server and rest all clients. Now for a domain to be created, isnt it necessary that first the server and clients are in same network i.e connected to each other over lan wan etc. ?

      Without a connection , how SCCM can handle clients ? there must be communication bw them. Without connection, how we will b able to push SCCM client to the Client pc!!!!!

      why nowhere its mentioned tht a domain has to be created b4 setting up SCCM !!!! a sccm server , a sccm client !!! both shud b in same domain or atleast both shud b in same network ( keeping aside the thing tht sccm can work over diff domains)

      if i have 2 PCs , not connnected to anything !!! one win server and other win 7 , can i make sccm to work in this environment ? there is no connection bwt those 2 pcs

      Delete
    3. You seem to want to over-complicate this. You MUST install ConfigMgr into a domain. It's understood. The first pre-requisite is to create a System Management container in Active Directory. You can't do that without a domain. I hope that part is clear.

      Now you will now be able to manage clients that are connected via LAN or WAN (ie there is network connectivity). This is the BASIC ConfigMgr scenario. Note that these clients do not have to be in the same domain as the ConfigMgr server. In fact, they do not have to be in a domain at all. You can configure ConfigMgr to manage Workgroup computers.

      Finally, you can use ConfigMgr to manage computers with no network connectivity. These clients will be Workgroup computers and will be managed via https over the Internet. This is called Internet Based Client Management (IBCM) and is one of the advanced features of ConfigMgr.

      I hope this helps.

      Delete
    4. thank u so much Gerry..Gotchaa..!!!!

      Delete
    5. Gerry,
      At an org level, ideally SCCM server is installed on how much RAM pc ?

      Delete
    6. Gerry, thx for bearing till now and I have got one last query !!!

      Say I have 100 pcs in my org and i setup one pc as the domain controller.. And add 98 pcs to the domain as clients..!!! and the last pc is a workgrp pc , not connected to any network...Does AD allow me to add this pc to the current domain without any connectivity ? will this pc be able to retreive policies and work as per the rules set by the DC for its lifetime not connected to any network?

      Delete
    7. I couldn't even begin to advise you on resources until I know more about your environment and what features of ConfigMgr you wish to deploy.

      No, the last PC will not receive any policies or be managed by your Domain Controller, whether it has network connectivity or not.

      Delete
  27. Hi Gerry,

    I am a starter in SCCM 2012.I have got one physical machine with 8GB RAM .I have installed VM workstation 10 and created 3 seperate machines. first one with server 2012 for AD/DNS and DHCP installed up and running. Second one just server2012 where i am planning to Install SQL 2012 which has total space of 100gb c drive and 2 GB RAM. I was wondering can i install SCCM 2012 r2 too in the same server because i will be having 2 or 3 clients maximum to report and test all the features.

    ReplyDelete
    Replies
    1. You just don't have enough resources here to set up a working lab. In particular, you cannot install SQL 2012 and SCCM 2012 on a VM with 2GB RAM.

      Delete
    2. Gerry,

      I have installed SQL 2012 and sccm 2012 r2 on same build wid 2 Gb RAM and i am using Oracle Virtualbox!!!!!

      Delete
    3. OK, let me re-phrase that. You should not install SQL 2012 and SCCM 2012 on a VM with 2GB RAM.

      Delete
  28. Hi Gerry,
    I have a installed fresh SCCM 2012 R2 according to the steps in this blog. Now when I open the site status in monitoring pane, I notice that the Management point role is of 0 Bytes, whereas rest of the roles are like around 120GB. Is there a problem with that??
    Hoping to hear from you soon.
    Thanks in advance,
    Jose

    ReplyDelete
    Replies
    1. That doesn't seem normal. Are there any errors?

      Delete
    2. i have the same problem,,,management point status is ok but at free space shows 0 bytes

      Delete
  29. Hi Gerry, one quick question, have you tried to use a SQL instance with another collation rather than the required, with a previously created CM database and this database changed to the right collation? You think it could work?

    ReplyDelete
    Replies
    1. Sorry for the late response Puma. I've been on vacation. I've never done that. It's easier to get it right first time. The product can be complicated enough to deploy and manage without messing about at the beginning.

      Delete
  30. Config Mgr Site has not been published to Active Directory. Everything else completed successfully though. What should I do?

    ReplyDelete
    Replies
    1. Review the permissions on the System Management container. You Primary Site Server computer account should have Full Control. You may have to start the Site Server after you apply the correct permissions.

      Delete
  31. Hey Gerry, why does everytime I install sccm2012 ans sp1, in the site status, it writes critical near to distribution point? Do you have any idea why does it keep happenning?
    Thank you

    ReplyDelete
    Replies
    1. You need to look at the status messages and logs. Right click the DP component and look at the messages for errors. Examine the distmgr.log file.

      Delete
    2. I have a screenshot of the error, maybe do you have an email so i can send it to you?
      (I tried everything in the list of the solutions, and it still doesn't work)

      Delete
  32. Rarely do I see a tutorial so complete. It worked out to the letter. The only thing was set the SQL service to start from a network account. Thanks again.

    ReplyDelete
  33. Hi Gerry I keep getting this error on the pre reqs Client version on management point computer “you cannot install the management point on a computer with an earlier version of config manager installed upgrade the client to a current version, remove or select a different computer for the management point install” nothing else is/has been installed on this server - 2007 sccm is on another server so im not sure whats happening

    ReplyDelete
    Replies
    1. The 2007 client is probably installed on the server. Have a look in Control Panel. Is there a ConfigMgr applet? If so you need to uninstall it.

      Delete
  34. Hi Gerry thanks for the reply no theres no applet in control panel I used ccmclean to remove any further problems and the warning went away but now

    im having a few issues with a sccm2012 install its missing out monitoring components and server installation and the management point control manager and setup management point on the core installation they're shown as the usual blue whilst the rest is green ticked and also the it allows me to continue but clearly there is an issue any ideas?

    I also looked at the ccmsetup log and this error occurs constantly "omGetServerRoleavailabilitystate could not read from the registry on ......
    This server is 2008 r2 and was created with sccm2007 so I figured the client would be installed I used ccmclean and it says its removed everything but its not working it seems and the MP is still on 2007 and i need to migrate at some point but firstly I need to get this install working any ideas?

    ReplyDelete
    Replies
    1. My advice would be to start again but this time build the server manually, not with SCCM 2007.

      Delete
  35. Hi Gerry you took the words out my mouth rebuilding manually is what I've chosen to do that on for your help really appreciated

    ReplyDelete
  36. Hi Gerry,

    Is the NO_SMS_ON_DRIVE.SMS still needed in the R2 version?

    ReplyDelete
  37. Hi Gerry,
    I got the error of "Failed to configure [clr enabled] $$". I run the script "clr enabled" below:
    USE master
    GO
    EXEC sp_configure 'show advanced options', 1
    GO
    RECONFIGURE WITH OVERRIDE
    GO
    EXEC sp_configure 'lightweight pooling', 0
    GO
    RECONFIGURE WITH OVERRIDE
    GO

    But also got the error:
    Msg 5846, Level 16, State 1, Line 5
    Common language runtime (CLR) execution is not supported under lightweight pooling. Disable one of two options: "clr enabled" or "lightweight pooling".
    Msg 15123, Level 16, State 1, Procedure sp_configure, Line 68
    The configuration option 'lightweight pooling' does not exist, or it may be an advanced option.
    Msg 5846, Level 16, State 1, Line 9
    Common language runtime (CLR) execution is not supported under lightweight pooling. Disable one of two options: "clr enabled" or "lightweight pooling".

    Please help me!

    ReplyDelete
    Replies
    1. Sorry, I can't help you. I don't know what you are doing. You should know that it not supported to manually manipulate the ConfigMgr database. You need to do it through the console.

      Delete
  38. Hi Gerry, I thought I had completed a good install of SCCM from the guide you created but I am faced with a few errors and warnings, could you advise please?
    Critical - SMS_SITE_COMPONENT_MANAGER - Compoment not installed by site component manager

    Warning - SMS_SITE_SQL_BACKUP
    Warning - SMS_HIERACHY_MANAGER
    Warning - SMS_DATABASE_NOTIFICATION_MONITOR

    Thanks
    Peter

    ReplyDelete
    Replies
    1. You need to look at the status messages for more details Peter.

      Delete
  39. My SCCM Installation is complete but at the end it is giving me error that "re setup has completed setup has encountered fatal errors during database initialization sccm 2012" can you please help me.

    ReplyDelete
    Replies
    1. You should examine the ConfigMgrSetup.log file for details.

      Delete
  40. Hi Mr Gerry,

    I have 1 primary site and 12 distribution points. I want the clients of each distribution point site to use only that particular distribution point. How can i configure this in the boundary? Or is there any other settings required?

    ReplyDelete
  41. Hi Gerry, I forgot to create the no_sms_on_drive.sms folder before SCCM installation. Now i can see distribution point on all my drives. how can i just use my dedicated drive and remove content from other drives?

    ReplyDelete
    Replies
    1. You could just remove the DP role and start again.

      Delete
  42. Hello Garry,
    Thank for your detailed LAB tutorial.
    I have installed configuration manager 2012 without any error and final check for AD and SQL also successful but when check for system center configuration application under start I don't see it, instead I see configuration manager setup when i click on it start MS system center 2012 configuration manager setup wizard, where I have only option to perform site maintenance or rest this site and uninstall a configuration manager site.

    Could you please advice here.

    Thanks in advance.
    Sathya.

    ReplyDelete
  43. can anyone provide me sccm 2012 configuration manager iso for my test lab?

    ReplyDelete