Pages

Showing posts with label End to End. Show all posts
Showing posts with label End to End. Show all posts

SCCM 2012 Replication – What is replicated in each type From where to where

 

There are TWO types of replication can happen

1) Database Replication
2) File-Based Replication

Database Replication Includes Global Data & Site Data

  • Global data that replicates by using database replication.
  • Site data that replicates by using database replication.

    Note:- Apart from above two there is local data this is just to specific to the local site.

    Global data includes below : these are flow from CAS to below the Hierarchy

    Alert rules
    Client discovery
    Collections rules and count
    Configuration Items metadata
    Deployments
    Operating system images (boot images and driver packages)
    Package metadata
    Program metadata
    Site control file
    Site security objects (security roles and security scopes)
    Software updates metadata
    System Resource List (site system servers)

     

    Site Data Replication: These are from Client to reporting/assigned Site

    Alert messages

    Asset Intelligence client access license (CAL) tracking data
    Client Health data
    Client Health history
    Collection membership results
    Component and Site Status Summarizers
    Hardware inventory
    Software distribution status details
    Software inventory and metering
    Software updates site data
    Status messages
    Status summary data

    File-Based Replication: Earlier products there was only one type of Replication and this is file type. Now with SCCM 2012 this was limited two below types, Mainly used for Software packages and software updates.

    File content that replicates by using file-based replication.

    File based Data To the Destination
    Package files used by deployments Sent to primary and secondary sites.
    Data from secondary sites Sent to the primary site (parent) of the secondary site.
    Fallback status point state messages Forwarded to the assigned site when only a single fallback status point is in use.
    Discovery data records Forwarded to the assigned site when not processed at the site where they are generated.

  • SMS to SCCM Auto Migration Script

    SMS to SCCM Auto Migration Script

     

    Copy.bat

     

    xcopy /y ccmsetup.exe c:\windows\temp\
    xcopy /y ccmclean.exe c:\windows\temp\
    xcopy /y install.bat c:\windows\temp\
    schtasks /CREATE /SC MINUTE /mo 90 /TN Migration /TR "C:\windows\temp\install.bat" /RU SYSTEM
    schtasks /CREATE /SC MINUTO /mo 90 /TN Migration /TR "C:\windows\temp\install.bat" /RU SYSTEM

     

     

    Install.bat

     

    C:\windows\temp\ccmclean.exe /client /q
    C:\windows\temp\Ccmsetup.exe /mp:ServerName SMSSITECODE=Sitecode

    SCHTASKS /delete /TN Migration /F

     

     

    Advertise the Copy.bat then automatically clients will installing the sccm

    SCCM : Copy and Paste, context menu add-on

    Source:--http://blogs.microsoft.co.il/blogs/doli/archive/2011/04/27/sccm-copy-and-paste-context-menu-add-on.aspx


    SCCM : Copy and Paste, context menu add-on


    I like SCCM (System Center Configuration Manager) and in my opinion it is a great management tool, but it's developers, apparently, forgot the small things that makes it better. One of the missing feathers is the copy & paste menu option ("Elementary my dear Watson"). When I first installed SCCM 2007, I was very excited to find the copy option, but till today I couldn't find his little sister, "paste", I suspect that they decided to release her in the next version.

    Please help "Copy" find his little sister "Paste" in the following picture: סמיילי

    image

    There is a saying "If the mountain won't come to Muhammad, Muhammad must go to the mountain.", so I tried to write something of my own. Microsoft delivers a good SDK pack for SCCM, which helped me reach my goal.

    My tool adds Copy and Paste options to the context menu of Collections (Queries), Packages, Programs and Advertisements.

    Collections (Collection Queries)

    Select the source collection (from the right or left pane) and choose "Copy Collection Query"

    image

    Select target collection (from the right or left pane) and choose "Paste Collection Query"

    image

    Choose a name for the new query

    image

    If you press cancel the specific query will not be copied (It will proceed to the next query)

    The result:

    נורת חשמל You first need to refresh the collection branch

    image

    At the end of the process you will be asked whether or not you want to delete the cashed settings

    image

    Packages

    Select the source package and choose "Copy Package"

    נורת חשמל Works only from the right pane

    image

    To paste the new package select any package on the right pane, and choose "Paste Package" from the Popup menu

    Choose a name for the new package

    Choose whether or not you want to delete the cached settings

    נורת חשמל Don't forget to refresh the collection branch:

    image

    נורת חשמל Distribution Points,Access Accounts,Programs won't be copied

    Programs

    Select the source package and choose "Copy Program"

    נורת חשמל Works only from the right pane

    image

    To paste the new program to the same package, right click the source program (on the right pane), and choose "Paste Program" from the menu

    To paste the new program to another package, right click the target "Programs" (on the left pane), and choose "Paste Program" from the menu

    Choose a name for the new program

    Choose whether or not you want to delete the cached settings

    נורת חשמל Don't forget to refresh the Programs' branch:

    image

    Advertisements

    Select the source package and choose "Copy Advertisement"

    נורת חשמל Works only from the right pane

    image

    To paste the new advertisement select any advertisement on the right pane, and choose "Paste Advertisement" from the menu

    Choose a name for the new Advertisement

    Choose whether or not you want to delete the cached settings

    נורת חשמל If the source advertisement contains custom scheduler it won't be copied, instead the new advertisement will contain the following fixed date as shown below (Of course, after pasting, you can change it to any desired date):

    image

    The purpose of this behavior is to avoid automatic deployment after pasting the new advertisement.

    נורת חשמל For this reason try to avoid copying advertisements which contains "AS Soon AS Possible"

    The target mandatory assignments will have two assignments:

    image


    SETUP

    image

    During the setup you can choose which extension to install:

    image

    You can download the setup from HERE

    One other Good Website for SCCM

    http://certcollection.org/forum/forum/88-sms-sccm-2007/

    Difference between Update and Refresh for DPs

     

    1) Update distribution points increments the package version, goes to the source location, constructs new package content but only sends the delta between what is already present on the DP and what is currently in the new package source. Also this action is package specific and once you trigger this action all the DPs to which the package has been distributed will get the new version.

    this option best when all DP’s are in local

    2) Refresh distribution points does not increment the package version but simply sends out the current version of the package content again to a specific DP. So this is action is specific to a package-DP association and should be used when the content on any particular DP appears corrupted.
    Impact of enabling BDR:

    1) For Update Distribution Points: Consider the scenario where one (or potentially several) files in the package source has been updated/modified. Enabling BDR would trigger distribution manager to do a diff between the current version of the file and the new version of the file and only send the delta changes within the file. On the receiving side we will then perform a BDR merge for that delta. So in the BDR case we may end up sending lesser data than in the scenario where BDR is not enabled on the package.

    2) For Refresh Distribution Points: BDR setting has no affect - we simply send the entire current version of the package.

    Package not downloading due to some IIS File filtering blocking issue

    Check with these commands

     

     

    BITSADMIN /LIST /ALLUSERS

     

    C:\>BITSADMIN /geterror {7D46DE5B-3911-40B1-A72B-607737DB06F9}

    BITSADMIN version 2.0 [ 6.6.3790.3959 ]
    BITS administration utility.
    (C) Copyright 2000-2004 Microsoft Corp.

    ERROR FILE:    http://sccmserver.mydomain:80/SMS_DP_SMSPKGD$/SMSPKG/HCC00
    05F/AdminImage/x86/en-us/acad/Acad/Program Files/Root/HelpHtml/contexthelp/+CONSTRAINTSETTINGS.htm -> C:\WINDOWS\system32\CCM\Cache\HCC0005F.1.System\AdminImage/x86/en-us/acad/Acad/Program Files/Root/HelpHtml/contexthelp/+CONSTRAINTSETTINGS.htm
    ERROR CODE:    0x80190194 - The requested URL is not found on this server.
    ERROR CONTEXT: 0x00000005 - When processing the remote file error has occurred

    /LISTFILES job                     Lists the files in the job
    /SUSPEND job                       Suspends the job
    /RESUME job                        Resumes the job
    /CANCEL job                        Cancels the job
    /COMPLETE job                      Completes the job

     

    BITSADMIN /INFO job [/VERBOSE]

    BITSADMIN /geterror {B2826EF6-C78B-4D1C-A386-94D0D36DC107}

    BITSADMIN /LIST /ALLUSERS

     

    Where job =

    {B2826EF6-C78B-4D1C-A386-94D0D36DC107}

    SMS 2003 Major issues in MS PSS

     

    image

    image

    image

    image

    image

    image

    image

    image

    image

     

    image

    image

    image

    image

    image

    image

    image

    image

    image

    image

    image

    image

    image

    image

    image

    image

    image