Top Banner
Profile Manager Arek Dreyer [email protected] macsysadmin.se 2011
83

Profile Manager Managing Mac Clients by Arek Dreyer

Oct 30, 2014

Download

Documents

GereonB

A slideshow going into detail on the Profile Manager Apple ships with Mac OS 10.8 Server.
by Arek Dreyer
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Profile Manager Managing Mac Clients by  Arek Dreyer

Profile ManagerArek Dreyer

[email protected] 2011

Page 2: Profile Manager Managing Mac Clients by  Arek Dreyer

OS X Lion Server Recap

• Connect

• Share

• Manage

Page 3: Profile Manager Managing Mac Clients by  Arek Dreyer

• Connect

• Share

• Manage

Page 4: Profile Manager Managing Mac Clients by  Arek Dreyer

The eBook

• Profile Manager

• iOS Device focus

• For iBooks, Kindle, Safari

• Under 5 USD

Page 5: Profile Manager Managing Mac Clients by  Arek Dreyer

• Managed Preferences & Profile Manager

• Interesting Corners of Profile Manager

• Strategies for Mixed Management Models

75 Minutes about Profile Manager

Page 6: Profile Manager Managing Mac Clients by  Arek Dreyer

MCX vs Profile Manager

Part 1 of 3

Page 7: Profile Manager Managing Mac Clients by  Arek Dreyer

MCX vs Profile Manager

• Initial Confguration

• Enroll Devices

• Apply Changes

• Troubleshooting

Page 8: Profile Manager Managing Mac Clients by  Arek Dreyer

Initial Configuration: MCX

• Precedence:

User

Computer

Computer Group

Workgroup

• Never, Once, Always

• Combine, Inherit, Override

• dsimport, dsexport, dscl

Page 9: Profile Manager Managing Mac Clients by  Arek Dreyer

Initial Configuration: Profile Manager

• iPCU *

• Profile Manager web app

• Variables possible!

• Device > user

• Profile overlap not documented

Page 10: Profile Manager Managing Mac Clients by  Arek Dreyer

Profile Manager with iPad

• Ever run Workgroup Manager on your iPad? *

• Profile Manager Web App rocks!

Page 11: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 12: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 13: Profile Manager Managing Mac Clients by  Arek Dreyer

"Rotate your iPad to useProfile Manager."

Page 14: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 15: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 16: Profile Manager Managing Mac Clients by  Arek Dreyer

Precedence

• Not documented

• Devices take precedence over users

Page 17: Profile Manager Managing Mac Clients by  Arek Dreyer

Enroll Devices: MCX

• Bind to directory node

• Anonymous bind is preferred for DHCP clients

Page 18: Profile Manager Managing Mac Clients by  Arek Dreyer

Enroll Devices: Profile Manager

• User-enrolled

• Administrator-enrolled

• A third way

Page 19: Profile Manager Managing Mac Clients by  Arek Dreyer

User-Enrolled

• Use User Portal with network account credentials

• Local admin credentials required for Lion

• All user's devices appear in User Portal

• Use User Portal to Lock, Wipe, Reset Passcode

• Best for one-to-one

Page 20: Profile Manager Managing Mac Clients by  Arek Dreyer

Just Because You Can...

• Multiple users can enroll the same device!

• Duncan can enroll using Alan's MacBook

• Consider SACLs for Profile Manager

Page 21: Profile Manager Managing Mac Clients by  Arek Dreyer

Admin-Enrolled

• Admin Uses Enrollment Profile

• Create

• Download

• Install

• Use Profile Manager web app to Wipe, Lock, Clear Passcode

Page 22: Profile Manager Managing Mac Clients by  Arek Dreyer

Kind of a Hassle, Right?

Page 23: Profile Manager Managing Mac Clients by  Arek Dreyer

Imaging and Enrollment

• Create Enrollment Profile

• Download Trust Profile

• Include Trust Profile in Image

Page 24: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 25: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 26: Profile Manager Managing Mac Clients by  Arek Dreyer

"Restrict use to devices in the libary"

Page 27: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 28: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 29: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 30: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 31: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 32: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 33: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 34: Profile Manager Managing Mac Clients by  Arek Dreyer

Imaging and Enrollment

• /var/db/ConfigurationProfiles/

• Setup

• SetupCompleted

• Store

Page 35: Profile Manager Managing Mac Clients by  Arek Dreyer

Placeholders

• Configure profiles for devices BEFORE they enroll

Page 36: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 37: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 38: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 39: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 40: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 41: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 42: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 43: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 44: Profile Manager Managing Mac Clients by  Arek Dreyer

Apply Changes: MCX

• Update record in directory

• Client updates at network transition, reboot

Page 45: Profile Manager Managing Mac Clients by  Arek Dreyer

Apply Changes: Profile Manager

• Update with web app

• APNS dance

• DIY: distribute .mobileconfig, use profile command

Page 46: Profile Manager Managing Mac Clients by  Arek Dreyer

Apple Push Notification Service

• Client regularly checks in with APNS

• Profile Manager change: notify APNS

• APNS tells client to call home

• Client calls home for the change

Page 47: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 48: Profile Manager Managing Mac Clients by  Arek Dreyer

Troubleshooting

• MCX

• mcxquery

• System Profiler

• PM

• Profiles preferences

• System Information

Page 49: Profile Manager Managing Mac Clients by  Arek Dreyer

• Managed Preferences Compared against Profile Manager

• Interesting Corners of Profile Manager

• Strategies for Mixed Management Models

75 Minutes

Page 50: Profile Manager Managing Mac Clients by  Arek Dreyer

Image thanks to MrNoded at http://www.flickr.com/photos/jrnoded/3340607045/

Page 51: Profile Manager Managing Mac Clients by  Arek Dreyer

Interesting Corners

• 802.1X

• Passcodes for Lion

• Trust Profile

• Removing Profiles

• Profile Manager must be ODM

Part 2 of 3

Page 52: Profile Manager Managing Mac Clients by  Arek Dreyer

802.1X10.6 10.7

Page 53: Profile Manager Managing Mac Clients by  Arek Dreyer

10.6

Page 54: Profile Manager Managing Mac Clients by  Arek Dreyer

10.7

Page 55: Profile Manager Managing Mac Clients by  Arek Dreyer

Passcodes for Lion

• Pretty obvious for iOS

• But what about for Lion?

Page 56: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 57: Profile Manager Managing Mac Clients by  Arek Dreyer

• Remote Lock = Immediate Reboot

• Changes EFI Password to PIN

Page 58: Profile Manager Managing Mac Clients by  Arek Dreyer

Trust Profile

• OD CA

• OD Intermediate CA

• SSL Certificate

Page 59: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 60: Profile Manager Managing Mac Clients by  Arek Dreyer

Signed by yourCode Signing Certificate

Your OD CA

SSL Certificate

Page 61: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 62: Profile Manager Managing Mac Clients by  Arek Dreyer

Removing Profiles

• Preferred ways:

• User Portal

• Web App

• Profiles preferences doesn't tell Profile Manager service anything

• Don't forget authorization password

Page 63: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 64: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 65: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 66: Profile Manager Managing Mac Clients by  Arek Dreyer
Page 67: Profile Manager Managing Mac Clients by  Arek Dreyer

Profile Manager Must Be ODM

• Don't use the same Directory Administrator short name

• Import Users/Groups from upstream node

• Imported Group membership periodically refreshed

Page 68: Profile Manager Managing Mac Clients by  Arek Dreyer

• Managed Preferences Compared against Profile Manager

• Interesting Corners of Profile Manager

• Strategies for Mixed Management Models

75 Minutes

Page 69: Profile Manager Managing Mac Clients by  Arek Dreyer

Managing Mixed Management

Part 3 of 3

Page 70: Profile Manager Managing Mac Clients by  Arek Dreyer

Quick Poll - Left Hand

• Do you manage "legacy" devices?

• Mac OS X before Lion

Page 71: Profile Manager Managing Mac Clients by  Arek Dreyer

Quick Poll - Right Hand

• Will you manage "new" devices?

• iOS 4 devices

• Macs with Lion

Page 72: Profile Manager Managing Mac Clients by  Arek Dreyer

Image thanks to portobeseno at http://www.flickr.com/photos/portobeseno/2673925463/

DO NOTSURRENDER

Page 73: Profile Manager Managing Mac Clients by  Arek Dreyer

Mixed Managing

• Reconsider Why You Manage

• Use Duplicate Systems

• Separate MCX and Profile Manager

• Use Change Management

• Third Party Solutions

Page 74: Profile Manager Managing Mac Clients by  Arek Dreyer

Reconsider Why You Manage

• Do changing models require less management?

• Can users be admins? *

Page 75: Profile Manager Managing Mac Clients by  Arek Dreyer

Use Duplicate Systems

• Who manages Windows and Macs the same way?

• Who manages Macs and iOS in the same system?

• Transition from Managed Preferences to Profile Manager

Page 76: Profile Manager Managing Mac Clients by  Arek Dreyer

No Collisions Please

• Don't manage Dock in MCX and in Profiles

Page 77: Profile Manager Managing Mac Clients by  Arek Dreyer

Document

• Want to manage it?

• Write it down.

• Configure it in your management systems.

Page 78: Profile Manager Managing Mac Clients by  Arek Dreyer

Use Change Management

• Play with test systems.

• Don't play with production systems.

Page 79: Profile Manager Managing Mac Clients by  Arek Dreyer

Third Party Solutions

• "That is an excellent third-party developer opportunity"

Page 80: Profile Manager Managing Mac Clients by  Arek Dreyer

More Challenges

• Users move between legacy and new devices

• Lion bind script has to answer the trust question

• Trackpad madness

Page 81: Profile Manager Managing Mac Clients by  Arek Dreyer

• Managed Preferences & Profile Manager

• Interesting Corners of Profile Manager

• Strategies for Mixed Management Models

75 Minutes about Profile Manager

Page 82: Profile Manager Managing Mac Clients by  Arek Dreyer

Profile Manager

• Your questions, please.

Arek [email protected] 2011

Page 83: Profile Manager Managing Mac Clients by  Arek Dreyer

Profile ManagerArek Dreyer

[email protected] 2011