sql for configmgr - · pdf filesql for configmgr santos martinez sqlforconfigmgr_ebook 1...

160
Santos Martinez 3/6/2013 SQL FOR CONFIGMGR Cluster Configuration in Windows Server 2012 and SQL Server 2012 Version 1.0

Upload: ngoduong

Post on 30-Jan-2018

236 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

Santos Martinez 3/6/2013

SQL FOR CONFIGMGR Cluster Configuration in Windows Server 2012 and SQL Server 2012 Version 1.0

Page 2: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

1

About the Author

Santos Martinez was born in Caguas, Puerto Rico in 1982. Santos have over 12 years of experience in the IT Industry,

joined Microsoft in January 2011 as Premier Field Engineer for ConfigMgr and Databases in the Central Region.

Santos has been married for 12 Years now to his Wife Karla (Pastry Chef), has a son Bryan of 11th Years old and a

Daughter Naomy of 9th. Santos is a 4th Degree Black belt in Martial Arts, like playing chess and enjoy vacations with

the family. Santos is the author of Mastering System Center 2012 Configuration Manager and Author of System

Center 2012 Configuration Manager Pocket Consultant.

Page 3: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

2

Contents BUILDING WINDOWS SERVER 2012 FAIL OVER ....................................................................... 3

INSTALLING AND CONFIGURING SQL SERVER 2012 IN WINDOWS SERVER 2012 CLUSTER ................... 38

STEP UPDATING THE SQL CLUSTER NODES. ......................................................................... 75

INSTALL AND CONFIGURE SYSTEM CENTER 2012 CONFIGURATION MANAGER ON CAS. ..................... 82

CONFIGURING A GOOD MAINTENANCE PLAN. .................................................................... 148

Page 4: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

3

Building Windows Server 2012 Fail Over

First lest outline how my lab setup will be, all this virtual machines are going to be hosted on my Windows 8 Hype V.

On this virtual machine after installing the Windows Server 2012, I configure it as Domain Controller. Once I finish

configuring the OS the next step is to create a new Volume of 500GB.

On the Volume H, we are going to host the VHD Files that we are going to use on the rest of our virtual machines.

To do this you need the role of iSCSI added to the Windows Server 2012, once this role is added you should be able

to create this drives.

Page 5: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

4

Follow the wizard, click on new iSCSI Virtual Disk to repeat the steps. Remember to add the volumes to the same

Target, on this case I named my target as CMSQL.

The next Virtual Machines are going to be the SQL Cluster Virtual machines, this machines will be very similar to

avoid any conflict.

Machine Name: CMSQL1 and CMSQL 2

Memory: 2048, since I don’t have much memory on my lab machine all my virtual machines will have 2048.

However I recommend you using 8GB of ram minimum for each of this SQL Cluster Machines or 16GB for optimal

performance.

Disk: 100GB IDE

Network: 1 Internal & 1 Heartbeat.

OS: Windows Server 2012

Once the computer is joined we will add the volumes to the server so we can configure it, before we finish

configuring this server we have to make sure both node servers are ready for the clustering configuration.

On this Virtual Machine we have to click on iSCSI Initiator, in order to connect to the volumes.

Page 6: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

5

When you click on the iSCSI initiator the following message, will be displayed. Then Click Yes to start the service.

When the iSCSI launch enter the ip address of the target, in this case is 192.168.5.1 and click Quick Connect.

If the screen don’t show the Connected status like this screen you will need to go to the CMDC and check the

initiator there.

Page 7: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

6

Click on the CMSQL Target and click on Initiators, click ADD to add the initiator of the CMSQL1 and repeat the

same step for CMSQL2

Page 8: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

7

Page 9: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

8

Once the initiator is configured, go back to the CMSQL1 and click Quick Connect. Now you should be able to see

the target, once you perform this step click on Volumes and Devices. Click on Auto Configure and you will now be

able to see the LUN Volumes on the Volume List:

Page 10: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

9

Perform this steps as needed, depending on the amount of nodes you will be using for your lab cluster. On my case is

only 2.

Now that our iSCSI Initiators are Configured, lets configure the servers for clustering. On this process we must click

on Failover Clustering, on the Add roles and features wizard.

Page 11: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

10

Once the role is added, Launch Failover Cluster Manager. One of the first thing we must do is validate the cluster

nodes are ready and compatible to support this new Cluster.

Click on Validate Configuration.

Page 12: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

11

Let’s validate Configuration. Enter both Node servers and Click Next

Page 13: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

12

Run all test to ensure the nodes are good.

Page 14: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

13

This process may take some time, depending on how much resources you have.

Page 15: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

14

The results are ready and the cluster is ready to be build.

Page 16: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

15

Let’s create the Cluster, on this screen click Next to begin.

Page 17: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

16

Enter the Name of the cluster, CMSQL and the IP address for each network card that will be in the cluster.

Page 18: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

17

Now that we are ready lest click Next

Page 19: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

18

Cluster has been successfully completed. Click Finish to close the Wizard.

Page 20: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

19

The next step is to configure the Disk, for this process you must create the volumes on the CMSQL. Format and

assign drive letters to them, once you do this process just Add them to the Cluster Manager and rename them as

needed.

Page 21: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

20

Here are some examples of the volume creation, to complete this step.

On the Server Manager, click on Disk. Select the volume you want to create and right click New Volume.

Page 22: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

21

The new Volume Wizard will launch, and will guide you through the steps needed.

Page 23: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

22

Make sure to select Cluster Available Storage and select the Disk.

Page 24: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

23

Follow the Wizard.

Page 25: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

24

Page 26: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

25

Now that our Disk is created, repeat this step as needed. Depending on how many drives you will assign to your

cluster.

Here is a sample of my final Disk Configuration.

Page 27: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

26

Configure the server Quorum.

Page 28: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

27

Page 29: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

28

Page 30: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

29

Page 31: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

30

Page 32: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

31

Page 33: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

32

In a side note I have a small problem with the Network on the Cluster Name, was not able to update DNS or PTR.

“Cluster network name resource ‘Cluster Name’ failed registration of one or more associated DNS name(s) for the

following reason: The handle is invalid.”

To ensure that your cluster is ready and will not have any problems on the future, I suggest to update the cluster.

Launch Failover Cluster Manager and click on Cluster Aware updating.

Page 34: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

33

Before you continue you must add CAU Cluster Role.

Page 35: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

34

Page 36: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

35

Page 37: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

36

Once this process is completed you are ready to apply the updates to your cluster.

Page 38: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

37

Before we do anything else on the cluster, we must ensure the cluster have all the necessary updates to install the

product without any problems.

Now that you have the cluster updated, is time to do a few basic configuration on the drives.

Create a no_sms_on_drive.sms and drop it on the C: Drive and any other drive where you don’t want ConfigMgr to

install any sort of component. Since this cluster is for SQL I suggest this file will be on almost all drives except the

drive where you want the ConfigMgr to install the Monitoring component for ConfigMgr. If you want to do this on

the Cloud check this cool video, and follow the instructions.

Page 39: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

38

Install ing and Configuring SQL Server 2012 in Windows Server 2012 Cluster

For this steps we will use SQL Server 2012 Standard Edition.

Log on to CMSQL1, and Launch the SQL installer. Click on Installation and then Click New SQL Server failover

Cluster Installation.

Click OK

Page 40: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

39

On the Next Screen enter your license # or choose evaluation. Click Next to go to the Next Screen. Click I Accept

the license terms and click next.

Page 41: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

40

Uncheck SP1, at this moment System Center 2012 Configuration Manager don’t support SP1 of SQL Server 2012.

Please check documentation for updates or System Center Team blog. Click Next to continue.

Page 42: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

41

Ensure that there are no errors on this section and click Next.

Page 43: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

42

On my lab I have decide to turn off the Firewall, this to avoid any issues with my configuration. If you want to leave

Firewall On, please make sure to create some rules for port 1433 and 4022.

Select all exempt Reporting Services.

Page 44: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

43

Click Next.

Page 45: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

44

This must be different than the Cluster Name, Enter the desired name and click next.

Page 46: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

45

Click Next. Note* Ensure that you have good space on your drives for this installation.

Page 47: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

46

Page 48: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

47

Page 49: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

48

Note Keep count of the static IP that you are using, if you enter an invalid ip address the installation will FAIL.

Page 50: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

49

Page 51: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

50

Page 52: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

51

Page 53: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

52

Page 54: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

53

Page 55: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

54

Page 56: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

55

Page 57: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

56

Page 58: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

57

Page 59: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

58

Page 60: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

59

Page 61: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

60

That’s it for node 1 in CMSQL1, lets configure CMSQL2.

Page 62: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

61

Make sure you click on Add node to a SQL Server Failover cluster.

Page 63: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

62

Page 64: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

63

Page 65: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

64

Page 66: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

65

Page 67: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

66

Page 68: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

67

Page 69: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

68

Page 70: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

69

Page 71: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

70

Page 72: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

71

Page 73: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

72

Page 74: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

73

Page 75: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

74

Page 76: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

75

Step Updating the SQL Cluster Nodes.

After this we are ready to Install CU 3, Download the CU from the following link

http://support.microsoft.com/kb/2723749.

Extract and execute the install on Node1 CMSQL1.

Page 77: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

76

Page 78: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

77

Page 79: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

78

Page 80: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

79

Page 81: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

80

Repeat this steps on every node.

Finish Configuring SQL Server to Support ConfigMgr, let’s begin with the Maximum amount of memory to use on

SQL Server.

Page 82: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

81

The Minimum for a production should be 8192, and the Maximum should be more than 8GB.

Max Server Memory

• 50%-80% of memory if SQL co-exist with site server,

• 80%-90% if SQL is dedicated

• NOTE: Max Server memory only controls the Buffer Pool Memory

Min Server Memory

• 8GB for CAS and Pri, 4GB for Sec

• SQL does not allocate Min Server Memory at start up

• Once Buffer Pool hit Min Server Memory, SQL will not release the memory

• NOTE: Min Server memory only controls the Buffer Pool Memory

Page 83: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

82

Install and Configure System Center 2012 Configuration Manager on CAS.

This Machine will be named, CMCAS.

Install all the Pre-Requirements on the server, also let’s install SQL Reporting Services.

Page 84: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

83

Page 85: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

84

Page 86: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

85

Page 87: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

86

Page 88: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

87

Page 89: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

88

Page 90: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

89

Page 91: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

90

Page 92: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

91

Page 93: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

92

Page 94: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

93

Page 95: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

94

Page 96: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

95

Page 97: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

96

Page 98: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

97

Page 99: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

98

Page 100: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

99

Page 101: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

100

Page 102: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

101

Page 103: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

102

Page 104: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

103

Page 105: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

104

Page 106: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

105

Now SQL Reporting Services is configured.

Installation of a CAS (Optional), I just document this process to show the areas where you need to configure the

Cluster Name.

Page 107: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

106

Page 108: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

107

Page 109: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

108

Page 110: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

109

Page 111: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

110

Page 112: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

111

Page 113: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

112

Page 114: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

113

Page 115: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

114

Page 116: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

115

Page 117: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

116

Page 118: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

117

Page 119: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

118

Page 120: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

119

Page 121: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

120

Page 122: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

121

Page 123: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

122

Remember to Create the System Management OU and give the necessary rights.

Page 124: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

123

Page 125: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

124

Page 126: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

125

Page 127: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

126

Page 128: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

127

Page 129: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

128

Page 130: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

129

Page 131: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

130

Page 132: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

131

Page 133: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

132

Page 134: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

133

Page 135: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

134

Page 136: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

135

Page 137: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

136

Page 138: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

137

Page 139: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

138

Page 140: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

139

Page 141: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

140

Page 142: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

141

Page 143: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

142

Page 144: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

143

Page 145: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

144

Page 146: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

145

Page 147: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

146

Page 148: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

147

Hope you enjoy looking at this screen shots, sorry I haven’t complete the wording of all of them. However I hope you

figure it out by now.

Page 149: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

148

Configuring a Good Maintenance Plan.

Thursday, February 28, 2013 11:42 AM

1. Log in to SQL Management Studio 2. Log in the database server 3. Expand Management 4. Right click on Maintenance Plan Wizard

Click Next

Page 150: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

149

Enter the name of the task. Note* Do not use spaces as this is not supported on this area Select Separate schedule for each task.

Page 151: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

150

Select Check Database integrity Reorganize Index Rebuild Index Updates statics and Click next

Page 152: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

151

Move as needed, however this will not make any difference on this task. Click Next

Page 153: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

152

Select Databases and enter all Databases, if you have this maintenance task for just ConfigMgr Database just select the CM_XXX database or SMS_XXX, instead of all databases.

Page 154: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

153

Select a schedule to perform each maintenance task.

Page 155: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

154

Select All databases, click Schedule as instead of 12AM you should select another like Example 1AM.

Page 156: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

155

Select All Databases and select a specific schedule, example 2AM.

Page 157: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

156

Select All Databases and the schedule to3AM.

Page 158: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

157

Click Next.

Page 159: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

158

Page 160: SQL for ConfigMgr -   · PDF fileSQL FOR CONFIGMGR SANTOS MARTINEZ SQLforConfigMgr_Ebook 1 About the Author Santos Martinez was born in Caguas, Puerto

SQL FOR CONFIGMGR SANTOS MARTINEZ

SQLforConfigMgr_Ebook

159

Do you want more information read more here: http://technet.microsoft.com/en-us/magazine/2008.08.database.aspx