ecmday2015 - kim oppalfens – microsoft system center configuration manager: hints, allegations and...
TRANSCRIPT
Hints, Allegations and Things Left Unsaid
Speaker(s): Kim Oppalfens #ECMDay2015
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
#ECMDay2015
Introduction: Kim Oppalfens• 10 years ConfigMgr Mvp• Consultant OSCC• [email protected] • SCUG member• Self-proclaimed quiet shy guy• Wmiguy blog http://scug.be/thewmiguy• The Wmi Guy twitter http://twitter.com/thewmiguy• Quizmaster Extra-Ordinaire • Owner of the Technet Library search providers
http://www.oscc.be/tn-library-searchpage
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
Agenda
#ECMDay2015
Session history Bing Maps integration (T) IP Range boundaries (H) URL Rewrite & DFS + Dedup for Definitive
MediaLib (H) Software Update fallback to Microsoft (A) Collection updating details (T) Using ConfigMgr support center log viewer (T) When time permits UI++ (H)
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
Bing Maps integration
#ECMDay2015
• Monitoring workspace• Site Hierarchy• Configure view settings• Enter GPS coordinates• Open geographical view
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
Bing Maps integration
#ECMDay2015
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
BoundariesAD Site
IP RangeIP Subnet
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
The problems with boundariesIP Subnet
• Cannot use “Super-nets”• Based on Subnet/Network
ID• Are subjective
– Subnet IDs are based on IP Address + Subnet Mask
AD Site
• “Converted” to IP Subnet IDs– 192.168.14.0/23 = 192.168.14.0
• Cannot use “Super-nets”• Workgroup clients aren’t part
of an AD Site
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
Why Subnet IDs are EvilClassful
• IP Address:10.0.151.17– Subnet ID: 10.0.0.0– Subnet Mask: 255.0.0.0
• Subnet ID: 192.168.18.0– Subnet Mask: 255.255.255.0– Valid IPs: 192.168.18.1 –
192.168.18.254
Classless Internet Domain Routing (CIDR)
• IP Address:10.0.151.17– Subnet ID: ?– Subnet Mask: ?
• Subnet ID: 192.168.18.0– Subnet Mask: ?– Valid IPs: 192.168.18.1 – ?
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
Super-net example
IP Address: 10.0.1.27/24
AD Site Subnet: 10.0.0.0/8Subnet ID: 10.0.0.0
Subnet ID: 10.0.1.0
IP Subnet: 10.0.0.0Subnet ID: 10.0.0.0
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
Discovery example
IP Address: 192.168.15.27/24
AD Site Subnet: 192.168.14.0/23Subnet ID: 192.168.14.0
Subnet ID: 192.168.15.0
Discovered IP Address: 192.168.15.27Discovered Subnet ID: 192.168.14.0
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
Boundaries
• IP Address Ranges FTW– Do not rely on AD Sites– “Super-netting” is fine– No ambiguity– What you see is what you get– Very granular and exact– No subnet calculator needed
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
DFS + Dedup
• All content in ConfigMgr 2012 R2 needs to be on UNC path– Enforce CM07 best practice
• UNC path != SiteServer share• Use DFS over DNS alias aka CNAME• Add Dedup to save on storage
– Add filesystem role service– Configure in server manager ui
#ECMDay2015
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
URL Rewrite Download URL Rewrite and install it (http://www.iis.net/downloads/microsoft/url-rewrite)
Open IIS and navigate to the servernode
Select URL Re-write, add a new rule
Use url pattern maching ^$ Use {HTTP_HOST} condition
pattern matching Action redirect to
/CMApplicationCatalog Action type 301 permanent Create DNS Cname record#ECMDay2015
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
Software Update fallback to Microsoft
#ECMDay2015
New SP1 feature If software updates are not available on the
preferred distribution point or remote distribution point, download content from Microsoft updates.
Fully works as designed != works as most people think
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
COLLECTION UPDATING DETAILS (1)
#ECMDay2015
Collection updating & Collection limiting
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
Collection updating details (2)
#ECMDay2015
Collection updating & Include collections Primary evaluator Express evaluation Single evaluation Auxiliary evaluation
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
COLLECTION UPDATING DETAILS (3)
#ECMDay2015
Collection updating & Exclude collections
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
COLLECTION UPDATING DETAILS (4)
#ECMDay2015
Collection updating & Include + Exclude collections
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
Collection updating details (5)
#ECMDay2015
Collection updating & Direct membership vs Query based membership Select * from sms_r_system where netbiosname
in (‘hostname1’,’hostname2’)
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
Using ConfigMgr support center log viewer
#ECMDay2015
PS C:\Program Files (x86)\Configuration Manager Support Center> .\CMLogViewer.exe '\\configmgr01\e$\Program Files\SMS_CC
M\logs\InventoryAgent.log','\\ConfigMgr01\e$\program files\Microsoft Configuration Manager\Logs\dataldr.log', 'v:\SMS_CC
M\Logs\MP_Hinv.log', 'w:\sms_ccm\logs\mp_hinv.log'
HINTS, ALLEGATIONS AND THINGS LEFT UNSAID
UI++
#ECMDay2015
Display info to interactive user Solicit feedback from interactive user Choose apps to install List of variables to use throughout the
tasksequence Populate regkeys using regwrite Populate wmi http://blog.configmgrftw.com/uiplusplus/
Main Sponsor
Event Sponsors
Special thanks to our sponsors!