Tag Archives: Apple

iPhone Mac OS X Mac OS X Server

My New Book on Apple Configurator

My next book, coauthored with Mr. TJ Houston, is now available. The rough draft was mostly complete the week of MacSysAdmin in Sweden. I announced the book at the conference and was busy at work after to get as much as possible complete. And after many an hour and month spent editing this book (props to TJ for doing a lot of the editing), it’s finally  available on Packt Publishing. To quote the site, this is what the book is on:

The Apple Configurator is an incredible piece of software which grants full control in mobile device management, but on a larger scale. The popularity of people taking their own devices to work has grown tremendously. However, valued professional and personal information is at risk, through loss, theft, or hacking. Instant Apple iOS Configuration Utility How-to is a hands-on guide that eliminates any worries that are associated with the deployment and security of iOS devices. This book provides practical, quick win solutions to combat these issues, with clear, concise, and informative examples providing solutions to secure, remote wipe, and encrypt devices. The book will further explore how to personalize iOS devices for configuration and deployment.

newcover

With the Instant Apple iOS Configurator Utility Book How-to, learn to build profiles with customised control settings, with examples on how to capture device information and use console logs for added protection. You will become skilled at tracking and installing provisional profiles for greater security. We will also explore developing workflows for successful deployment, installing software and applications whilst managing files on iOS devices, and how to deploy enrolment profiles for mobile device management solutions en masse. If you are looking for a complete guide that provides simple solutions to complex problems, look no further.

To buy, visit this link: http://www.packtpub.com/apple-ios-configuration-utility/book

Note: I think the title is a little off, that’s in progress for being fixed.

certifications iPhone Mac OS X Mac OS X Server Mac Security Mass Deployment public speaking

Penn State MacAdmins Back for 2013

Last year, I had a great time at the Penn State MacAdmins conference. There were tons of smart people to mingle with and everyone had plenty to discuss when it came to managing the Mac. There were a lot of people from education but also plenty from companies. The talks were well run and the conference location, the Penn Stater, was awesome. I love how it’s like a big winding maze.

Having gone to school in a town like State College (Athens, GA), I’ve always had a warm spot for cute college towns. And State College is clearly a special place. I’d recommend a trip there to anyone that loves places like Ann Arbor, Norman, Stillwater, Opelika, Corvallis, Blacksburg, Madison, Manhattan (Kansas), Ithaca, Iowa City, Ames, Morgantown, Lafayette (Indiana), Lawrence, Champaign, Logan, College Station and of course, Oxford Mississippi (Ole Miss is a truly special place).

So you’re lucky then, ’cause the Penn State MacAdmins Conference is back for 2013, being held in beautiful State College, PA at Penn State University. The Conference is May 22nd through 24th with a new introductory Boot Camp being held the day before (May 21st) to prep admins for the rest of the conference. And May is one of the best times to visit a place like this. Spring is in the air, kids are getting ready to graduate, the flowers are in bloom and of course, there’s no more snow to be shoveled. A month later and the school would practically be shut down, the town a ghost town.

But in late May, college towns are electric. So don’t just stay at the Penn Stater the whole time, go explore downtown and that Nittany Lion thing – and the spot where Joe Pa’s statue used to be. Take a carriage ride, swing by the Governor’s Pub, have some red meat at Otto’s and of course, perform the underclassmen ritual of throwing up on College Ave! And yes, there’s a College Ave, as there should be. Anyway, the social element of a conference like this is great. Meet those people you tell to RTFM on the ‘ole Enterprise List, the people whose feeds you read and the people whose feeds you deleted  ’cause they talk about college football too much…

The Call for Proposals is now open, so to submit a talk, use http://macadmins.psu.edu/conference/submit-proposals.

This year, there will also be sponsors. To sponsor, see http://macadmins.psu.edu/conference/sponsorships.

Or to attend, see http://macadmins.psu.edu/conference/registration.

To sign up for the conference newsletter, see http://psu.us4.list-manage.com/subscribe?u=acd8b6acc541596a7bdf8e517&id=d37a7e26fd.

And for an example of what you are in store for:

PS – There are 12 teams in the Big 10. While at State College, make sure to remind everyone wearing blue of this fact.

public speaking

MacTech Conference 2012 In Retrospect

I love going to conferences. MacTech Conference this year is a great example of why. The conference organizers and staff did a superb job, the attendees were top notch and the weather was just right. But it was the same last year in all three regards. What I felt really made MacTech special this year was the Disney pixie dust magic coming together with all of that. And I was only there for a day, regrettably…

The talent level at these events continues to be top notch. As Jeff, Nigel, Peter, Gary, now Zack and others have moved on to other platforms and other roles I have continually wondered whether the Mac community would stay as vibrant and talented. But what I forget is that there are more and more people joining us every year as well as tons that have been there all along and just not been as attention-deprived as those of us who tend to write a lot.

The talent has shifted, for sure. Once upon a time the OS X community offered an upgrade. Get good at the client and then the server. Now, it’s become more about get good at the client and then get really good at the client. This ends up involving getting good at automating things, scripting, 3rd party management tools such as JAMF and even going beyond scripting and writing things that we feel the OS should have. Ed Eigerman, from Google, with the first talk of the IT track really drove this home with an excellently thought out jab at the lack of Apple Remote Desktop development.

While the talent has shifted, the community has continued to get stronger. This is no more evident than when you get to see Rich Trouton, Derick Okihara, Armin Briegel, Aaron Freimark, Nathan Toups and others in one day. I’m sure I’d throw a lot of other names in that list, but either a) I have more to say about them later or b) I didn’t actually see them the day I was there.

I hope that I can continue to in some way help to grow and shape the community. Allister Banks, who practiced his talk the night before delivering it, has been a great addition to my team at 318. While his contributions to the community are his own, I’m glad that I’m able to give him the freedom to work on community projects and speak at conferences with company time (as well as what seems like plenty of his own time). I have also brought in a few more people recently that I hope will continue to contribute plenty to this community that has given me so much (and I will likely be hiring more soon if you’re interested!). But Allister deserves praise for a great presentation, assuming it went as well in front of the MacTech audience as it did for me.

Now, there is already a ton of hero-worship for Greg Neagle in the OS X sysadmin community. But I’ve never really jumped on that bandwagon. So let me just tell you how I feel about that… It is obviously completely deserved. I could go on and on about his code and his website and his public speaking and even that book he did. But you probably know about all of that already. What impresses me the most is how much he loves where he works: Disney. The way he puts Disney movies into his presentations, the way he talks about the creatives he enables, he’s a Disney man through and through. And from others I know within Disney he’s as highly regarded as they come both at work and in the community. The ability to take that love for your employer and fuse it with the love for the community has a lot to do with the night he was able to help put together for the MacTech community. He is responsible for a lot of the good things that happen inside the Mac community and it is great to see the appreciation that community has for him!

Speaking of Greg’s book, Ed Marczak (who wrote it with him) was wearing a tie. He ran dozens of miles around the valley while managing to do a little of his day job and a lot of cat herding of the speakers delivering the presentations he pretty much selected and coached. He called me while I was still developing the idea for mine, checked in before the conference and then while we were there carved out a little time to talk to me. After doing that with everyone, I’m not sure how he managed to have any fun at all. But his hard work has a lot to do with the quality of the presentations and the direction of the IT portion of the MacTech conference. Ed is in every way a class act and someone I hold in the highest regard. AND he was able to pull off a tie with as busy as he was!

And then there’s Neil Ticktin. Neil is a speaker, but not on the speaker list. Namely due to the fact that he puts on the conference. When WWDC didn’t have an IT track any more, a lot of people were complainy complainersons. Neil responded not with cluttering my inbox with countless gripes to message lists. Instead he took his position as the publisher of MacTech Magazine. And now it’s a national traveling show for consultants and in depth as well as a national conference showing off the best and the brightest. Neil (and his team) worked hard to put MacTech Conference together and  their contributions to the Apple community are something to be proud of.

With MacTech, MacWorld/MacIT, MacSysAdmin, Penn State MacAdmins and others one could spend all of their time just preparing for and attending conferences. With JAMF Nation User Conference this week, the conference season is basically coming to a close. I wish I could have spent more time with everyone and hope that I am able take part again soon. You all give me such hope for the future of the community and the platform, and I thank you for that and for the friendship you’ve provided me over the years.

I really wish I could have stayed up there all 3 days. Thanks to everyone I spoke with for the time you took to hang out. And for those I didn’t get a chance to see, I look forward to hearing about how you’re doing next time our paths cross! Now, let’s go ahead and book our flights early for MacTech 2013: Nov 6-8, 2013.

Mac OS X Mac OS X Server Mac Security Mass Deployment public speaking

Goodbye & Thanks To MacSysAdmin

MacSysAdmin, a great conference in Gothenburg, Sweden, is now over. The conference went off without a hitch. There were many great presentations and speakers. But I just wanted to take a quick moment to thank the great people from Apoio and especially Patric and Tycho. Tycho, I hope, can now ride Sleipnir home and take his well deserved Odinsleep. Anyway, MacSysAdmin was a class act all round and something I’m proud to have been a part of for the past few years. Thanks, guys!

Untitled

Adding Last Minute Tweaks To My Slide Deck – Thanks to Luis Giraldo For Posting The Picture

Now to finish up my MacTech talk!

certifications Mac OS X

Apple Certified Associate For OS X 10.8 Mountain Lion

Apple has posted the first of the Mountain Lion certifications. Information about the Apple Certified Associate – Mac Integration 10.8 is available at http://training.apple.com/certification/macosx. This certification requires only one exam, 9L0-408, which can be taken online. There’s no word yet on the ACSP or ACTC for 10.8, although I am certain work on them is in progress.

The current table of certifications is as follows:

The test is relatively simple. I took it this morning and it focused completely on the client in a heterogenous environment. There were questions about AD binding, sharing files between Windows and OS X Mountain Lion clients, securing the OS (Gatekeeper, FileVault 2), Time Machine, Messages and Boot Camp. Overall, a quick one. I think it took me 35 minutes, including paying for the thing, fishing around for my credit card, etc. Good luck!

Active Directory Articles and Books iPhone Mac OS X Mac OS X Server Mac Security Mass Deployment Microsoft Exchange Server

Holy White Papers, Apple?!?!?

For those of you who say Apple doesn’t care about the enterprise, Apple has released a number of assets (technical white papers) on integrating Macs (Lion) into enterprise environments at http://training.apple.com/lion. This is also the page that you’ll find links to all of the official training and certification courses for Lion. The assets up on this page are about as close to a publicly accessible book on integrating OS X into the enterprise as you’ll to see for Lion…

The first covers the basics of integrating Macs into enterprise environments:

The second covers self support:

The third is on evaluating Macs in Enterprise environments:

The fourth is on deployment:

The fifth is on integrating with Active Directory:

The sixth is on managing Macs with Configuration Profiles:

The seventh is on OS X Security:

The last of the papers is on 802.1x authentication:

Mac OS X Mac OS X Server Mac Security Mass Deployment

WWDC Tickets On Sale

Apple has put tickets on sale for the WorldWide Developer Conference, from June 11th to June 15th in San Francisco’s Moscone Center. Last year, the conference sold out really quickly, so might want to jump on buying tickets if you want to go. One thing can be pretty easily assumed, there will be plenty of talk about Mountain Lion (and maybe a new beta/DP as well).

iPhone Mac OS X Mac OS X Server Mac Security Mass Deployment

Managing iOS Devices with Apple Configurator

My traditional interpretation of Apple’s vision on how iOS devices are used is that everyone has an AppleID. That AppleID enables them to access their apps from any iOS device they own or Mac that they own. That AppleID enables them to access mail, contacts, calendars and even files through iCloud. That AppleID also allows users to remotely wipe their device through Find iPhone and track their friends iOS devices (as in social networking via breadcrumb tracking) through Find Friends. All of this “Just Works” in a consumer sense. And it even allows for a little sharing of content across devices you own. However, larger organizations need more. They need centralized management, content distribution and most other things you find that you rely on traditional desktop computers for.

Over the years, Apple has added tools for centralized control of devices. This started with ActiveSync compatibility and early forms of Mobile Device Management and has grown into a pretty robust, albeit disconnected, set of tools. Of these, Apple Configurator is the latest. Apple Configurator was released about a week ago and since, I’ve been trying to figure where it fits into the solutions architecture that surrounds iOS integrations. There are a number of other tools already available that can aid in the deployment and management of iOS devices, and Configurator is a great addition.

To me, there are 3 classes of management tools for iOS. These were roughly broken up into Over the Air (OTA), cradled (USB) and content management. Apple Configurator ends up fitting into all of these scenarios in some way. Let’s start by looking at the traditional uses of these three and then look at how they are impacted by Apple Configurator.

Mobile Device Management

Over the Air tools, such as Profile Manager, allow for Mobile Device Management (MDM) without cradling, or syncing a devices. These tools allow you to configure policies via profiles. There is also a bit of App pushing built into most MDM solutions. Apple’s Profile Manager can push applications written in-house, but no content from the App Store. 3rd party solutions, such as JAMF’s Casper Suite, Absolute Manage MDM, AirWatch and about 15 others are able to push apps from the App Store as well, leveraging the Volume Purchasing Program (VPP) to issue apps to devices. However, when an app is pushed through one of these tools, the app becomes associated with the AppleID for the user who owns the device.

Note: While we use the term push, the user has to accept all App installations on the device.

For large environments, MDM is a must as it allows for centralized command and control. Pushing apps is one aspect of such control. Policies enforceable through MDM include disabling cameras, configuring passcode policies on devices (not pushing passcodes), disabling YouTube, silencing Siri, unstreaming photos, disabling iCloud Backup, forcing encrypted backups, disabling location services, controlling certificates, blocking pop-ups, controlling cookies, disabling access to the iTunes and App Stores,  and controlling what kind of media can be accessed on devices.

Additionally, MDM can be used to push SSIDs for wireless networks (and their passwords/802.1x configuration information), setup mail, setup Exchange ActiveSync, configure VPN connections, configure access shared calendars (iCal shared files, CalDAV and Exchange), configure access to shared contacts (LDAP, CardDAV, Exchange and Exchange Global Address Lists), deploy Web Clips and manage certificates (either with cert files or via SCEP). In short, whether you’re using the practically free Profile Manager from Apple, Mobile Iron, Casper, AirWatch, FileWave or one of the many other tools, there are a lot of things that MDM can configure on devices.

Reporting can also play a major role in how MDM tools are used. iOS Apps are owned by AppleIDs, not devices. MDM does not manage AppleIDs, but you can trigger fields in MDM databases to report back unauthorized AppleIDs being used. Reporting can also identify when devices join non-approved wireless networks (which cannot be blocked through MDM), identify devices that have been jailbroken (a major security concern for many organizations) and report on device use.

Because devices can fall outside of our control, MDM also plays an important role in being able to wipe and lock devices. While some of these types of features are available via Exchange, not all people use ActiveSync. Users and administrators alike can wipe, lock and de-enroll devices at will, potentially crippling what any device with an Enrollment Profile can do.

There are really 3 kinds of MDM tools: those that can push apps, those that can’t and Apple’s Profile Manager. The reason I put Profile Manager into its own class, is that it can push some kinds of apps, it’s cheap ($49.99 one time as opposed to per device per month or per device per year billing) and it’s great for some things. But Profile Manager should be used in very specific environments unless the price is the only decision making factor behind a tool. In larger environments, choosing a MDM solution is one of the most important aspects of managing mobile devices and the iOS platform is no different in that manner than other mobile platforms.

MDM has some limitations, though. A good MDM solution can manage the infrastructure side of device configuration. However, content requires a completely separate tool. Additonally, MDM is a completely opt-in experience. If a user wants, they can remove their device from the MDM solution at any time. Rather than a limitation, think about the opt-in experience this way: if a user removes themselves from MDM then all content that was given to them via MDM is then taken away, except that which they have moved to the local device. Therefore, if an administrator pushes an Exchange configuration then all content from that Exchange profile is forbidden fruit, removed alongside the de-enrollment.

MDM also works with Lion. Policies, centralized management, etc can be integrated with Lion. You can’t do app distribution per se, but you can push out a policy to change where the dock is on the screen, add a printer to a Mac and configure a login hook through a Profile Manager-based policy. Many of the MDM providers have begun adding functionality to their tools to allow for Mac management as well as iOS and I would expect that to become the standard in years to come. iOS is a single-user device and OS X is a multi-user device, which completes that paradigm, but Apple has made it no secret that policy-based management for Mac OS X is moving to the realm MDM (even if that is enforced through a traditional lens of directory services based policy-based management).

Content Management

One of the unique aspects of the iOS platform is that it doesn’t have a file system that is exposed to users. There’s no /Volumes, no C: drive and no home folders. The devices don’t log into a server, because there’s no way to interpret a server connection. The file system that is exposed to iOS devices is through the lens of each application. Sandbox is a technology that limits each application’s access in terms of memory, hard drive, etc. Each application can only communicate with resources outside of itself if there is an API to do so, APIs mostly reserved for Apple (e.g. photos, contacts, etc). Therefore, when you discuss content management from the perspective of building a large iOS solution, you’re talking about apps.

The apps used for content management come in a few flavors. There are those that allow you to edit content and then there are those that allow you to read content. One way to look at this is through Safari. Sharepoint, WebDAV and various document management portals allow users to access data through the Safari browser on an iOS device. Safari will let you view various file types. But to edit the data, you would need to send it to an app, or copy it to the clipboard and access it in an app. Pages is an example of an app that can browse a file tree via WebDAV and edit content. However, planning how each type of file is accessed and what type of editing can be done on each file type or what type of resources need to be accessible can be difficult (e.g. there are a number of transitions in Keynote presentations that do not work in iOS).

Cradling Devices

Then there’s iTunes. iTunes allows you to backup and restore devices, update devices, etc. iTunes allows you to drop content into each application. If you look into the ~/Library/Mobile Documents, you can drop content, edit default documents and other tasks that can be done through a command line, then perform a cradled sync to an app. If networking is built into an app then you don’t have to plug a device into a computer. If an app can leverage iCloud, SMB or AFP then you can access data over the air. If you are trying to replace computers with iOS devices (a la post-PC) then you would need to plan each business task that needs to be performed and make sure not only that there is an app for that (or an app you build for that) but also make sure that you can round trip data from a shared repository and back to the network storage that the data resides on.

You can also access many of the benefits of MDM without having an OTA element. This can be done with iPhone Configuration Utility. iPhone Configuration Utility can configure the same policies available through Profile Manager but relies on either a cradled or email/web server/manual way of getting policies onto devices and updating. MDM automates this, but iPhone Configuration Utility is free and can be used as well. Additionally, profiles can be exported from Profile Manager and installed in the email/web server/manual way that iPhone Configuration Utility profiles are installed.

This is all probably starting to seem terribly complicated. Let’s simplify it:

  • OTA policies and custom app deployment: MDM
  • OTA content distribution: Apps
  • Cradled policies and custom app deployment: iPhone Configuration Utility (free)
  • Cradled content and app distribution: iTunes (free)
  • OTA App distribution: AppleID/iCloud
  • Backup and restore: iCloud or iTunes

Basically, there’s a few holes here. First, AppleIDs cannot be centrally managed. Second, you need to use gift cards or the Volume Purchasing Program (VPP) to distribute apps, and Third, even when you push an app to an AppleID, the app follows the AppleID to their next organization (which causes many organizations to treat apps like consumables). Fourth, synchronizing content is done primarily through iTunes, which only syncs a device at a time, making preparation of large numbers of systems terribly complicated.

Apple Configurator

Enter Apple Configurator, a free tool on the Mac App Store. This tool basically fixes all of the problems that we reference, but does so over USB. This means that Apple Configurator is not necessarily a replacement for MDM. In fact, you can deploy Trust and Entrollment profiles for MDM and automate the MDM enrollment for a device through Configurator. Instead, Apple Configurator is a tool that can either Prepare or Supervise an iOS deployment and do so in a manner that is easy enough that you don’t need a firm background in IT to manage devices on a day-to-day basis.

Here is what Apple Configurator can do:

  • Update iOS devices to the latest version of iOS.
  • Rename devices using a numbered scheme (e.g. iPad 1, iPad 2, etc).
  • Erase (wipe) iOS devices.
  • Backup and Restore iOS devices.
  • Deploy profiles/policies (e.g. no Siri for you, disable cameras, setup wireless, etc) to iOS devices.
  • Export profiles.
  • Activate devices (after all a restore of a freshly activated device is an activation).
  • Push any kind of app to devices.
  • Track Volume Purchase Program (VPP) codes used on devices.
  • Revoke VPP codes used on “Supervised” devices (more on supervision later).
  • Assign users from directory services to devices.
  • Load non-DRM’d content to apps on devices.
  • Can work with up to 30 devices simultaneously (think big USB hubs or carts on wheels here).

Apple Configurator has some caveats:

  • Paid apps need to use VPP codes to DRM apps. These VPP codes are purchased through a centralized program for an entire organization. To enter the VPP, you need to be a business with a DUNS number or an educational institution. You also basically need to be in the United States.
  • Free apps can be deployed but the AppleID is in the IPA, meaning that to do an OTA update through App Store requires entering the password for the Apple ID the app was purchased with.
  • In order to push apps through Apple Configurator, the system running Configurator needs access to Apple’s servers and Apple Configurator needs an AppleID associated with it that is not the VPP facilitator if you are leveraging any paid apps.
  • You can use Apple Configurator “off-line” or without an AppleID to Prepare devices with Profiles, just not to
  • If you push Trust and Enrollment profiles to automatically join Profile Manager (or another MDM vendor) the device isn’t associated with a user unless the MDM has been prepped to designate each UDID or Serial Number to a given user.
  • Apple Configurator doesn’t work with Video or Music due to different DRM limitations.
  • If you accidentally plug in your iPhone to a machine you’re using Apple Configurator on it and you’ve chosen to Erase in the application, then it will wipe your phone along with the 30 iPads you’re wiping. It’s awesome and scary like that (yes, I’ve accidentally wiped my phone).

I see a number of uses for Apple Configurator. Some of these use cases include:

  • Company and education labs: manage devices end-to-end (no MDM, iTunes iPhone Configuration Utility or other tools needed), managed by the lab manager.
  • One-to-One environments (schools): Manage the distribution of infrastructure settings (mail, wireless networks, etc) for devices as well as Trust Profiles to make it faster to enroll in MDM environments and Web Clips to manage the links for enrollment.
  • Device distribution: Pre-load applications (that can’t be updated unless they’re cradled again), renaming, profiles, activation, iOS software updates, etc.
  • Backup and Restore only stations where you don’t interfere with later iTunes use.

These can enhance practically every environment I’ve worked with. But unless it’s a small environment (e.g. the labs), Apple Configurator isn’t a replacement for the tools already in use in most cases. Instead, it just makes things better. Overall, Apple Configurator is a welcome addition to the bat belt that we all have for iOS management and deployment. Now that we’ve looked at the when/where of using it, let’s look at the how.

There are two ways to use Apple Configurator. The first is to Prepare Devices. You would use this mode when you’re going to perform the initial setup and configuration of devices but not when the devices won’t be checking back into the computer running Apple Configurator routinely. Preparation settings do not persist. And while applications can be pushed through Preparation, updates for those applications will be tied to the AppleID that purchased the app.

The second is Supervise.  Supervising devices is an option when preparing and allows you to have persistent changes to devices, to layer new settings the next time devices are plugged in, to add applications and the most intriguing aspect of iOS management here is reallocating VPP codes to new devices when a user or device is retired. Supervising devices also allows for assigning a given user to a device and thus pushing data into an application.

Setting Up Apple Configurator

Apple Configurator is installed through the Mac App Store. When installed, you are presented with three options. The first (going from left to right) is to Prepare Devices.

Apple Configurator

Apple Configurator

Before we get started, we’re going to add our AppleID. The computer running Apple Configurator needs to be able to connect to the App Store and it needs to have an AppleID associated with it if you’re going to use VPP codes. So let’s set that up before moving on. To do so, from Apple Configurator, click on the Apple Configurator menu and click on Preferences… From the Preferences menu, click on Set for the Apple ID and provide an AppleID (not the VPP Program Facilitator).

Configuring AppleIDs with Apple Configurator

Configuring AppleIDs with Apple Configurator

Then, when prompted, provide the credentials for your AppleID. If you have any problems with this, try Authorizing the computer in iTunes, if you can’t do one it stands to reason you can’t do the other and it’s either an invalid AppleID or that the computer cannot communicate with Apple’s servers (ports, DNS, Internet connectivity, etc might be the issue).

Configuring AppleIDs with Apple Configurator

Configuring AppleIDs with Apple Configurator

Also, let’s configure the Lock Screen settings, which is what’s displayed to users when you’re supervising devices. If you have user pictures in Open Directory, this will show each user’s photo at the lock screen (we will discuss device supervision later).

Configuring Lock Screen Settings In Apple Configurator

Configuring Lock Screen Settings In Apple Configurator

Using Apple Configurator to Prepare Devices

In this example, we’re going to prepare some devices for deployment. Before we do anything, we’re going to do a backup of the iOS device to use for testing. To do so, simply click Prepare Devices to bring up the main Apple Configurator screen and then click in the Restore field.

Apple Configurator's Prepare Devices Screen

At the Restore menu, click Back Up…

Then choose the device to backup and click on Create Backup… to bring up the screen to select where to save your backup to (by default it should be your Documents but you can save them anywhere, like /iOSBackups). Click Save to make the first backup.

Saving Backups in Apple Configurator

Saving Backups in Apple Configurator

Notice how fast that went (assuming you didn’t load it up with 10 Gigs of crap)? The reason is that we’re not backing up iOS, just the data. This will become a little more obvious the first time we go to restore a device. In the meantime, if you look at your target directory, you’ll see a file with the name you provided followed by .iosdevicebackup. If you aren’t supervising you would need to delete these from the filesystem to remove them from the menu of available backups. If you are supervising then you’ll have a menu to manage the backups. You can also use the Other option in the selection menu to browse to another location and select another backup (e.g. you’re pulling them from other machines, etc.

Now that we have a backup, let’s do some stuff to the device. Let’s join the wireless network, change the wallpaper, create some contacts, make some notes and in general do some of those things that you might do on a base image of a computer, aside from of course configuring local admin (it’s not a multi-user device), installing anti-virus (to date, AV companies for iOS are snake oil salesmen) and other things you might not do. But as with imaging, if you can do something in Profile Manager or Apple Configurator, let’s reserve doing it there. In fact, I would probably try to set everything in Profile Manager or your MDM provider that you can (if you have one) and use Apple Configurator for as little as possible. That goes with imaging as well, do as much in directory services/managed preferences/profiles as you can and keep the image as simple as possible…

Anyway, once you have the device as you want it, make another backup. This is akin to baking an image with DeployStudio or System Image Utility. We can’t asr them out yet, but we’re in a much better place than we were.

Once you have a good backup, let’s leverage Apple Configurator to tell the device erase, update to the latest version of iOS, restore our image, join the SSID of our enrollment network (let’s consider this similar to a supplicant network in 802.1x). Then, let’s add a profile that will throw a Web Clip to our MDM solution and even add a Trust Profile to cut down on the number of taps to enroll (and the confusion of tap here, tap there, etc). From the Prepare screen in Apple Configurator, click on Settings and type the naming convention for your devices (in this case we’re going to call them krypted 1 and up) in the Name field. Then check the box for Number sequentially starting at 1 so it’s going to name them from 1 to 1,000,000 (which is how many iPads my krypted company is going to end up writing off at the testing rate I’m on now). Leave Supervision set to OFF (we’ll look at that later) and set the iOS field to Latest. Then, check the box for Erase all contents and settings and choose your image from the Restore menu.

Preparing Devices in Apple Configurator

Preparing Devices in Apple Configurator

Now for something that users of iPhone Configuration Utility, Profile Manager and Casper MDM will find familiar, click on the plus sign in the Profiles field and select Create New Profile. Here, we see what is the standard policy sheet (apologies to HIG if that’s not what those are officially called but I’ve not been able to find the right term) and give it a name in the Name field. This is how it will appear in the Profiles section of Apple Configurator. Because you can deploy multiple profiles, I’m just going to configure the SSID and Web Clip and call it MDM Enrollment. Optionally, give it some notes, organization name, etc.

Naming Your Profile in Apple Configurator

Naming Your Profile in Apple Configurator

Click on Wi-Fi and then click on the Configure button. Here, enter the SSID of the deployment network (MDMEnroll in this example). We’ll use the Hidden Network field to indicate the SSID is suppressed and we’ll use the network type of WEP and throw the password into the Password field as well. Now, before we move on, notice that there’s a plus and minus sign in the top right of the screen? You can deploy multiple of each, so if you have 10 wireless networks, 4 Email accounts, 9 VPN connections, 29 SSL Certs etc, you could deploy them all easily with multiple entries of each.

Adding Wireless Networks with Apple Configurator

Adding Wireless Networks with Apple Configurator

Scroll down in the sidebar a little and then click on Web Clips. Click on the Configure button. The Label is how the web clip’s name will appear on the device. We’re going to enter Enroll Here. In the URL field, provide the URL for your MDM server (e.g. When using a Profile Manager server called mdm.krypted.com the URL would be https://mdm.krypted.com/MyDevices). Not to get off topic, but did anyone else notice that Profile Manager in 10.7.3 now requires SSL certs? Anyway, you’ll also choose whether the web clip should be Removable (I think it should if it’s to enroll) and optionally choose an Icon. We’ll skip that (if we were using a 3rd party tool, I’d throw their logo in here; otherwise I usually like to use the company logo. I also like enrollment links to be Full Screen.

Go ahead and click Save and you’ll see MDM Enrollment listed in the Settings. If you notice, you can also click on the profile and then click on the export menu to export the profile or under the plus sign (“+”) you can Import Profile…, which is how we’ll bring in our Trust Profile from Profile Manager. From Profile Manager we already downloaded the Trust Profile. Now we’re going to click on Import Profile… and browse to it on the desktop, clicking on Trust profile.mobileconfig (or whatever name yours may have). Click Open.

Importing a Trust Profile Into Apple Configurator

Importing a Trust Profile Into Apple Configurator

We could go a step further and actually enroll the device by exporting the enrollment profile as well, but again, I want each user to provide their username and password so I as an administrator don’t have to go through and attach each device to a user in this scenario. I’ve been looking at importing devices and associating them with users via postgres, but that’s going to be another 3am article, on another night…

Next, check the box for each profile and click on Apps. This is where things start getting kinda’ cool. For this you’re going to need some app ipas. Each app in iTunes is stored as an .ipa file. We’re going to look at two different kinds of apps. The first is a free one and the second is a paid for app, both we’ll pull from iTunes. To do so, open iTunes and click on an app (iBooks in our example) and click on Show in Finder.

Show Apps in iTunes

Show Apps in iTunes

Note: Not all app .ipas are called the same thing as the filename. If you Show in Finder from the contextual menu of an app in iTunes it will automatically highlight the correct app in the Finder when it opens a Finder screen.

From the Finder you can either copy the app to the machine running Apple Configurator or if you’re using iTunes on that machine, you can go ahead and drag it to the Apple Configurator apps list. We’re also going to add an App that we used a purchase code from the VPP store to buy. You’ll get an error when you drag the paid app in (or browse to it if you so choose) that indicates the app is paid and in order to deploy it you’ll need to use VPP codes. Once added, you’ll notice it has an error indicator and the number 0 beside it.

Install Apps in Apple Configurator

Install Apps in Apple Configurator

Click on the numerical indicator beside the app name and you’ll be able to import redemption codes. These are emailed to you when you buy apps through the Volume Purchasing Program. BTW, no drag and drop in this screen, use the Important Redemption Codes button to browse to the XLS files.

Adding VPP Codes in Apple Configurator

Adding VPP Codes in Apple Configurator

Once the codes are imported, you’re ready to configure a device.
App Indicator Counts

App Indicator Counts In Apple Configurator

When you import an application, you are creating a file with a GUID in /Users/admin/Library/Application Support/com.apple.configurator/Resources. These files represent applications that have been prepared for distribution. When importing, it will take as long as it takes to copy from the source to that directory. The entry in that directory is roughly the same size as the app. Therefore, you likely don’t want to copy every app you have in there, just the ones you plan to distribute.
Now for the dangerous part. Make sure you don’t have any devices plugged into the computer. I love to start with a device at the activation screen. That thing requires so many taps I jump at any 0 touch deploy type of options I can get my hands on to skip it (not that you’re going to get 0 touch if you have profiles). The reason we want to make sure there aren’t any devices plugged in is that they’ll be wiped if they are… Provided there aren’t any, click on the Prepare button and any devices plugged in wills tart configuring immediately. The application count will go down for VPP apps as each device is configured. It can do 30 in parallel.
Imaging Devices in Apple Configurator

Imaging Devices in Apple Configurator

You’ll see a green checkmark when each device is done. When you’re ready to stop configuring devices, click on Stop. The only other way to do any in parallel is through Xcode Organizer’s restore feature, but that was never very stable for this type of purpose and this is a much more object oriented approach to device imaging. The caveat for these apps is that the password for the AppleID is needed to update them, so this is not a means to deploy paid apps to BYOD or self-managed types of devices (IMHO). Also, the iOS version for devices is downloaded at this point from Apple. If you notice that the first time each type of device is imaged that it takes awhile, this is why. The second time this step is skipped (another reason we need Internet access on our Apple Configurator computer). These are located in /Users/admin/Library/Application Support/com.apple.configurator/IPSWs and if you need to run a beta version of iOS you can do so by dropping their ipsw versions in here manually, but I haven’t gotten device supervision to work when doing so.

Using Apple Configurator to Supervise Devices

Now, supervising devices may seem more complicated, but it isn’t. Back at the Prepare screen, we set Supervision to OFF. Change the iOS field to No Change. Now, let’s turn it ON. When you do so, the iOS field automatically switches to Latest. This means that supervision is going to require updates (which is fine in my book as updates have yet to break a single app for me). Get all the same settings the same as they were previously.

Supervising Devices in Apple Configurator

Supervising Devices in Apple Configurator

Once you enable Supervision, click on Prepare in Apple Configurator and connect a device again. The device will then be imaged as with the same settings that you’ve given it from before. However, once it’s done, you’ll be able to click on the Supervise tab and see devices (Note: You supervise devices rather than users).

Device Supervision in Apple Configurator

Device Supervision in Apple Configurator

The subsequent Starts and Stops will now allow you to enable and disable profiles and apps on the fly, as well as restore backups, update devices and as you can see in this screen, reclaim those valuable VPP codes!

Do a Get Info on a device and you’ll also see a bevy of information about that device.

Get Info on Devices in Apple Configurator

Get Info on Devices in Apple Configurator

You can also click on Assign, once you’ve enabled Supervision. Assigning devices requires directory services. When you click on Assign, click on the plus sign (“+”) to add the first user. Type the first few letters of the users name and they should appear in the list. Click on them and they’ll be added. You can then use the right panel to assign content to the apps that you assign to that user’s devices.

Pushing Content in Apple Configuration Utility

Pushing Content in Apple Configuration Utility

Once added, the user will by default have no device. To assign a device to a user, use the Check Out box at the bottom of the screen and then match the users with the devices you want them to have.

Checking Devices Out To Users

Checking Devices Out To Users

The final piece of this application is to assign content to users. As I mentioned earlier in this article, the file system of an iOS device is through the lens of the applications that the device has installed. Therefore, we’ll be associating files to applications. DRMd content is not distributed through Apple Configurator. So iBooks, etc, aren’t applicable. The various third party applications can open and therefore host file types that they support, as with iTunes. From the Assign pane of Apple Configurator, click on a user and then click on the plus sign (“+”) to add documents. At the Choose A Target Application screen, choose the application you’ll be loading content into.

Choosing An App For Content

Choosing An App For Content

When you click Choose, you’ll then be able to select files to use with that application.

Selecting Content

Selecting Content

Then just dock the iOS device, sync and viola you’ve got content distribution over USB all handled. You can also add groups of devices and groups of users and distribute content to groups of users rather than to one at a time.

Conclusion

Apple Configurator is really a great tool when used in the right scenarios. In learning how it works and interacts I actually learned a lot about both iOS and Mac OS X that I didn’t know before. I hope I did the tool justice with how easy it is to use. This is a fairly long article and it’s probably more complicated than it needs to be in parts, but that’s more my method of trying to figure out what it’s doing than the tool being complicated. It’s not hard to figure out at all. I am sure I could teach any non-technical iOS admin to use it in less than an hour.

My wish list includes logs and OTA. You can’t use iPhone Configuration Utility while you’re using Apple Configurator and therefore, you can’s see up-to-the second logs about things like key bags to figure out why this isn’t working or that. This makes it kinda’ difficult to figure out why a profile doesn’t get installed with an image if you’re not using an AppleID with the tool or other weird little things like that. I’d love to see a little more logging. Obviously, if you could run this thing Over the Air then it would be nerd nirvana. I guess the OTA isn’t as much as wish list for this tool, but features that could be imported into Profile Manager and other tools.

One of the more important aspects is the impact on AppleID use and app ownership. I started this off by saying “My traditional interpretation of Apple’s vision on how iOS devices are used is that everyone has an AppleID.” Well, when using this tool an AppleID is no longer necessary for app deployment.

Overall, we have a new, powerful tool in our arsenal that makes up the iOS administration ecosystem. I hope that I’ve managed to dispel a few rumors with this article and look at some great uses for where this tool should and should not be used. I also hope that no matter what, if you manage iOS devices, that you’ll take a look at it. I expect you’ll find it useful in some part of your management toolkit!

Mac OS X Mac OS X Server Mac Security public speaking

MacTech, Slides and Conference Goodness

MacTech Day 1

My MacTech experience started last night. I flew into Los Angeles and was picked up at the airport by my coworker, Zack Smith. Given that I lived in Santa Monica for over a decade, I drove the Mini Cooper that 318 bought recently from LAX to Studio City. On the way, I got to get caught up with Zack’s stories from a month of vacation (living vicariously through others definitely has its moments).

We got to the Universal City Sheraton in less than an hour during rush hour. Given the 405 being all messed up, we dodged a few bullets and cut through South Central Los Angeles on our way to the valley (my apologies to the 2 or 3 guys I ran over when passing the needle exchange at Highland and Romaine). I have to give it to the Sheraton: we were checked in and back downstairs on our way to dinner within 10 minutes. We had dinner at Wasabi and were back at the hotel bar within about an hour, and that’s when the conference began in earnest for me.

In the hotel bar, I ran into friends from conferences past and met new people as well. We discussed refining upcoming presentations, deploying iOS in Lion Server-based environments and troubleshooting various problems with Lion Server. It was just the kind of evening that causes my wife to not travel to conferences with me any more, but an evening that I really enjoyed.

Luckily, I was in bed by midnight (due to a bit too much caffeine I didn’t actually fall asleep ’till after 4, but I did manage to write at least 3 scripts and a chapter of a book in my head, none of which made any sense when I woke up). The next day I woke up, ran through mine and Zack’s presentations with him and started the day with a great keynote by Guy Kawasaki. His take on Apple, innovation and lessons he learned while there contained at least a few insights I can’t wait to bring home and implement at 318.

Next, I sat it on James Wilson’s presentation. Despite technical difficulties, James was able to explain sanely integrating gestures into iOS applications better than I have heard of it to date. I was also really excited that my 3 year old isn’t the only toddler who has mastered the iPad!

Then I got to sit through a great presentation by Randy Saeks and Justin Rummel. They covered changes to Lion Server. I was a bit disappointed reading the tweets through that presentation from people that don’t see themselves having a future with Lion Server. I find that despite a few flaws, Lion Server is a new, interesting perspective that has a chance to innovate the future of servers. I thought Justin and Randy did a great job with the presentation and look forward to seeing more from them at MacWorld in January.

At 318, we’ve developed a tool that allows our customers to sign work orders from an iPad. I ended up getting to also sit through a presentation by Justin Esgar, the man behind SignMyPad, which I guess I could have used instead of building our own (taking a page out of his outsourcing slides). I learned of a few new sites to leverage for crowd sourcing and social networking, always useful.

Then Zack went on. And as usual, I was reminded of why he’s one of my favorite people ever. He managed to teach a number of complicated ideas in a presentation on Cocoa development for SysAdmins. While Zack only had a limited amount of time, I thought he did a good job of keeping the attention of the audience, making people laugh and imparting some complicated technical concepts all at the same time: public speaking skills made to be emulated. Zack showed a bit more of the 318 internal code than I was expecting, but given that most of it is bound for open source projects, it’s timely to do so!

The last talk of the day was Scott Neil, who took the stage to talk about automating tasks and scripting in OS X. There were examples in a number of different languages and as usual, Scott did a great job (thanks for the mention, btw)! At night, we were able to network, meeting lots of new people (many of whom we’ve been interacting with in various social networks). Everyone else went off to the tour of Universal while I stayed behind and worked on fine tuning my presentation.

MacTech Day 2

The next day had a lot of content as well. It kicked off with Greg Neagle, looking at doing Software Update services without OS X Server, a topic I’ve been looking into a lot for OS X, Mac App Store and iOS App Store. Then Rich Trouton did a great job covering FileVault 2 and looking a bit past the article that he published in MacTech last month.

After that, the Google guys took the stage to look at weaponizing Munki for the masses using Simian Server, which I had missed at MacWorld last year because I was in the same speaking slot as them. It was great to see what they’re doing and what parts could be borrowed into a Managed Services type of environment. Then I got to see Harald Wagener do Life After the Xserve. Having done some articles for MacTech with a slightly different take on this topic, it was great to see that others are looking at which services that require rack density can or should be moved to other platforms.

After lunch, Zach Williams did a great talk on version control. He has a command line ledger. I mean, how cool is that?!?! Then Larry Jordan gave a good talk about media and IT. His history of where various video idiosyncrasies comes from was entertaining to say the least (good, clean, old school video humor, if there is such a thing, is hard to come by!).

Then Nathan Toups did a great talk on building up a good sysadmin team (good to see how important documentation is to others) and Harald Monihart, one of the smartest guys I’ve had the opportunity to meet in a long time, showed some of his great work in doing something similar to what we’ve been doing, thin imaging with self-service-style overlays to automate the final piece of user setups. Really great stuff. Allen Hancock then gave a talk near and dear to my heart (and wallet) on managed services and freeing oneself from the hourly mindset.

Finally, Gary Larizza gave a great presentation about mCollective. A picture of me made a small cameo in his presentation. As usual, his demos were spot on and his presentation skills prove that even if you break all the rules for color schemes and amount of content per slide (per Guy Kawasaki at least), that presentation skills and technical chops trump parlor tricks. My talk was last and went pretty well (it’s amazing just how much rehearsing a presentation helps).

MacTech Day 3

On the last day the developers and systems administrators joined up in the same room and watched presentations from Jan Monsh on OS X Security, Daniel Jalkut (of Red Sweater Software) on effectively bypassing the Mac App Store for developers and then I kinda’ got pulled in a lot of different directions and had to miss the next two. I did, though, get to sit in on the Code42 talk, covering the new CrashPlan PROe software. All I can say about that is that the new PROe stuff is just awesome. The ability to automate clustering and unclustering of CrashPlan servers alone is one of the coolest features I’ve seen, and the simplicity with which new nodes are added is pretty unparalleled in enterprise-class scalable solutions of this type. And the fact that you can decommission nodes as easily as they are added to the cluster is pretty rad as well.

Then I got home to the cold and got super-busy on a bunch of other stuff, before attending the JAMF User Conference here in Minneapolis, which is why this is a bit delayed. I had the luck of attending MacSysAdmin a few weeks ago and I wish I had written up a long diatribe about that as well. But it is really the combination of the 3 that has me being so verbose here. You see, MacTech is one of three and happened to be the one I was taking notes at during the show. But being able to see the number of people writing code, cranking out scripts, figuring out how to make little things work in OS X Server, regression testing, charting new courses for 1-to-1 deployments and just being awesome people all around that has me thinking that in the +10 years that I’ve been a pretty active member of the Apple community that we have never had this massive a talent pool before.

And the talent is interwoven and interconnected, due to the various social networking mediums, in ways that I have never seen before for any platform. The next few years will be interesting times. Armed with the super powers that these types of events are giving systems administrators, I think that more tools are going to be coming out in a much higher frequency than ever before. People like Greg Neagle, the good folks at JAMF software and others are posting more, github’ing more and in general putting more information out in the community than ever before, and this information is being digested in ways that are more far reaching and even competitive in some ways than I’ve seen within the Apple community.

My talk at MacTech revolved around the changing dynamic between iOS and Mac OS X, looking at a potential unification of the operating systems. It is a good thing that the pool of talent is now so large. We’re going to need a lot of new tools to meet the deployment, integration and management challenges that iOS will pose to our community over the upcoming 5 years, as the zenith of the Mac community is hopefully eclipsed by the community of an increasingly iOS-centric world.  Now, I’m looking forward to MacWorld and the introduction of their new MacIT conference, coming up in January in San Francisco. Hope to see you there!

Hopefully, I’ll be able to see you at all of the conferences in the future. You really can’t go wrong with MacIT, MacTech, MacSysAdmin or any of the others that are spinning up. But if you can’t attend, you can often access slides and videos. The MacTech slides, being posted recently at http://www.mactech.com/conference/presentations-speaker.

Mac OS X Mac OS X Server Mass Deployment

The Lion Recovery Disk Assistant

In OS X Lion, Apple has released a tool called Lion Recovery, that lets you repair disks or reinstall OS X Lion without the need for a physical disc. But a lot of administrators and other users have had concerns over how to build a custom recovery disk so they can have physical media handy to perform such restores. Today, Apple has released Lion Recovery Disk Assistant, which allows administrators to build such physical media.

Lion Recovery Disk Assistant will install a recovery partition on a USB-attached volume (you can always clone from USB later if you really want it to be a SCSI or Fibre Channel volume). This partition doesn’t mount by default when booted into a functional Lion client and is invisible except when booting holding down the option key. Many of us have been creating recovery disks manually with Disk Utility. However, Apple performs a little magic with their Recovery Disks and they boot way faster than the rigged volumes we’ve been creating.

Anywho – get it here.