In Part 1 of the Parallels Mac Management for SCCM series I installed the Parallels Configuration Manager Console Extension. I installed this on my site server ‘ConfigMgr’.

Part 2 focused on the installation of the Parallels Proxy which I installed on a remote server called ‘Parallels’ which I intend to use to install the Parallels roles.

Part 3 of the series concluded the ‘role’ installation, namely the NetBoot Server and OS X Software Update Service.

Part 4 of the Parallels series focuses on getting the Parallels Mac client onto a Mac OS X device.

There are various ways in which to get the Parallels Mac client installed on an end device.

  • Parallels Network Discovery – Discovers Mac computers on the network, push installs Parallels Mac Client on them, and then enrolls each Mac in Configuration Manager.
  • SCCM Active Directory System Discovery – Discovers domain joined Mac computers and adds them as resources to Configuration Manager. The Parallels Configuration Manager Proxy then identifies the discovered resources as Mac computers, push installs Parallels Mac Client on them, and enrolls Mac computers in Configuration Manager.
  • Running Parallels Mac Client installer on a Mac – Log into a Mac and manually install Parallels Mac Client on it by running the installation package.
  • Using an installation script – Use a script to install Parallels Mac Client on a Mac. The script can be executed manually on each Mac or it can be distributed to and executed on Mac computers using Apple Remote Desktop or a similar remote management software.
  • Push install or update Parallels Mac Client – If a Mac computer is already enrolled in SCCM or has been added to it as an unmanaged resource, you can push install or update Parallels Mac Client on it right from the Configuration Manager console.

I will be showing you the push install method in this blog post, however before I can proceed with the installation I need to activate my installation of Parallels Mac Management for SCCM.

Licence Parallels

To do this Parallels sent me a trial licence that I can use for 30 days from receiving it.

Head on over to https://account.parallels.com and register an account.

parallels-001

In the Dashboard click the ‘Register a Licence Key’

parallels-002

Enter the licence key details provided by Parallels.

parallels-003

You’ll get confirmation that the key was activated.

parallels-004

Next head over to the SCCM console. Navigate to the Administration>Parallels Mac Management>Licences node. Right click the Site Code in the main body and choose ‘Activate Licence’

2017-01-31-22_49_22-greenshot

Enter the licence key once again and select ‘Activate online’. Click Next.

2017-01-31-22_50_00-parallels-mac-management-activate-license

At the summary screen click ‘Activate’.

2017-01-31-22_58_34-parallels-mac-management-activate-license

Click Finish to complete the activation process.

2017-01-31-23_00_11-parallels-mac-management-license-information

Parallels will now report as being Activated

2017-02-04-20_15_48-greenshot

Discover the Mac devices

Parallels can leverage two methods to discover Mac devices in your environment. It can use the built-in ConfigMgr AD System Discovery, if the devices are domain joined or Parallels have their own Parallels Network Discovery. This can discover both AD join Macs and those that are not connected to a domain.

I will be using Parallels Network Discovery in this blog post since my Mac device is not installed in a domain.

Here’s a run through of the settings to get your Mac discovered.

Parallels Network Discovery is accessed from Administration workspace under Parallels Mac Management>Discovery Methods.

2017-02-04-20_22_13-greenshot

In the General tab ensure that ‘Enable network discovery’ is enabled. Ensure that ports to Mac client are open on one of the ports listed. The default Nmap settings provide the optimal balance between the quality of the results and the time it takes to scan the network.

2017-01-31-23_22_13-parallels-network-discovery-properties-for-site-cmr

The Accounts tab states that the client push installation will be used to install the client on to a Mac when a Network Discovery takes place. To configure this account go to Site Configuration>Sites. Right click your site and select ‘Parallels Mac Client Push Installation’

2017-01-31-23_34_29-greenshot

In the Accounts tab, click the Yellow starburst

2017-01-31-23_34_37-parallels-mac-client-push-installation-properties

Enter an account which has local admin rights on the Mac devices.

2017-01-31-23_55_23-mac-os-x-user-account

Back at the Parallels Network Discovery set up, in the Boundaries tab select the boundary in your ConfigMgr site  that contains the Mac device.

2017-01-31-23_22_30-parallels-network-discovery-properties-for-site-cmr

You can also enter a Subnet to discover devices in.

2017-01-31-23_41_36-parallels-network-discovery-properties-for-site-cmr

In the schedule tab enter a relevant schedule for discovery.

2017-01-31-23_56_41-custom-schedule

When discovery runs a pma_discovery.log will be created in the Windows\Logs folder on the proxy server.

If devices are discovered they will appear in the ConfigMgr console.

2017-02-01-00_01_33-system-center-configuration-manager-connected-to-cmr-sccm-2012-r12-cmr-netw

Parallels Mac Client Install

Now that we have a Mac object discovered in ConfigMgr we can push the Parallels Mac client to the device. To achieve this however, the following must be enabled on the Mac device.

Grant Administrative Privileges on a Mac to a Domain User or Group

If you want to use a domain account to push install Parallels Mac Client, you need to grant administrative privileges to it on a Mac. You can do this as follows:

  1. Open System Preferences > Users & Groups and click Login Options at the bottom of the left pane.
  2. In the right pane, click Network Account Server: Edit… Please note that if the button says “Join…” (not “Edit”) then this Mac is not a member of a domain, so the following instructions will not work.
  3. In the dialog that opens, click Open Directory Utility.
  4. On the Services tab page of the Directory Utility dialog, select Active Directory and then click the pencil icon to edit the settings.
  5. In the dialog that opens, click Show Advanced Options and then click the Administrative tab.
  6. Select the Allow administration by option and add the desired domain user or group to the list. The username password is used to configure the client push installation.
  7. Click OK to save the changes and then close all dialogs.

Parallels Mac Client Deployment Grant Administrative Privileges to a Local Mac User

If you have Mac computers that are not members of a domain (or if you don’t want to use a domain account for any reason), you need to create a local OS X user with administrative privileges.

To add a user, open System Preferences > Users and Groups, click the plus-sign icon, select Administrator and specify the user information. The username password is used to configure the client push installation.

Enable SSH Access on a Mac Parallels

The Configuration Manager Proxy will connect to Mac computers over SSH, so you need to enable SSH access on each Mac. To do so:

  1. On a Mac, open System Preferences > Sharing.
  2. Enable the Remote login service.
  3. If you have granted permissions on this Mac to a domain account, add it to the list of users who are allowed remote access. If you’ll be using a local user, add that user to the list.

After enabling SSH access on a Mac and granting a local or a domain user SSH access, you should verify that you can actually establish an SSH connection. The Mac should allow SSH connection with password authentication.

Once the above configuration is enabled on the Mac right click the discovered Mac object in the ConfigMgr console. Select Parallels Management Tools>Install Parallels Mac Client.

2017-02-01-00_02_44-greenshot

Click Next.

2017-02-01-00_02_50-push-install-parallels-mac-clients

Click ‘Install Parallels Mac Client even if it is installed’ and click Install.

2017-02-01-00_05_01-push-install-parallels-mac-clients

The client will being to install.

2017-02-01-00_03_07-parallels-mac-management-for-microsoft-sccm

Once complete the device will report back to ConfigMgr and be assigned to the site.

2017-02-01-00_14_43-system-center-configuration-manager-connected-to-cmr-sccm-2012-r12-cmr-netw

You’ll also be able to check out HINV details of the Mac in Resource Explorer.

2017-02-01-00_15_06-system-center-configuration-manager-resource-explorer

and the Mac will be added to the All Mac OS X Systems collection.

2017-02-01-00_15_29-system-center-configuration-manager-connected-to-cmr-sccm-2012-r12-cmr-netw

On the Mac device you will see that a Parallels Mac Management applet is now available in System Preferences.

parallels-007

When opened you’ll notice this appears similar to the ConfigMgr control panel applet. It gives information on the site code, proxy it is connected to and more. The ‘Connect’ button allows you to run something similar to a Machine Policy Retrieval.

parallels-008

 

In the Part 5 of the series, I will show you how to deploy software applications to the managed device.

Advertisements