CUSTOMER Installing SAP Afaria



Similar documents
Configuration Guide. BES12 Cloud

Sophos Mobile Control Installation guide. Product version: 3.5

Server Software Installation Guide

WhatsUp Gold v16.1 Installation and Configuration Guide

CUSTOMER SAP Afaria Overview

Configuration Guide BES12. Version 12.3

Sophos Mobile Control SaaS startup guide. Product version: 6

NSi Mobile Installation Guide. Version 6.2

WhatsUp Gold v16.3 Installation and Configuration Guide

Architecture and Data Flow Overview. BlackBerry Enterprise Service Version: Quick Reference

Server Installation ZENworks Mobile Management 2.7.x August 2013

CA Mobile Device Management 2014 Q1 Getting Started

BlackBerry Enterprise Service 10. Version: Configuration Guide

Configuration Guide BES12. Version 12.2

Configuration Guide. BlackBerry Enterprise Service 12. Version 12.0

DameWare Server. Administrator Guide

Sophos Mobile Control Installation guide. Product version: 3


Configuration Guide BES12. Version 12.1

Installation Guide for Pulse on Windows Server 2008R2

System Administration Training Guide. S100 Installation and Site Management

Sophos Mobile Control Installation guide. Product version: 3.6

F-Secure Messaging Security Gateway. Deployment Guide

Product Manual. MDM On Premise Installation Version 8.1. Last Updated: 06/07/15

WhatsUp Gold v16.2 Installation and Configuration Guide

Kaspersky Lab Mobile Device Management Deployment Guide

BlackBerry Enterprise Service 10. Secure Work Space for ios and Android Version: Security Note

Copyright 2013, 3CX Ltd.

Upgrade Guide BES12. Version 12.1

Introduction to Mobile Access Gateway Installation

Installation Guide for Pulse on Windows Server 2012

Introduction to the EIS Guide

Introduction to the AirWatch Cloud Connector (ACC) Guide

WhatsUp Gold v16.2 MSP Edition Deployment Guide This guide provides information about installing and configuring WhatsUp Gold MSP Edition to central

Mobile Device Management Version 8. Last updated:

Installing Samsung SDS CellWe EMM cloud connectors and administrator consoles

Sophos Mobile Control Installation guide

Installation & Configuration Guide


Table of Contents. FleetSoft Installation Guide

Employee Active Directory Self-Service Quick Setup Guide

Reconfiguring VMware vsphere Update Manager

Installing and Configuring vcenter Multi-Hypervisor Manager

Installation Instruction STATISTICA Enterprise Server

Kaseya Server Instal ation User Guide June 6, 2008

AVG Business SSO Connecting to Active Directory

Mobility Manager 9.0. Installation Guide

Zenprise Device Manager 6.1.5

BlackBerry Enterprise Server for Microsoft Exchange Version: 4.1 Service Pack: 7. Installation Guide

Reconfiguring VMware vsphere Update Manager

BlackBerry Enterprise Service 10. Universal Device Service Version: Administration Guide

Synchronizer Installation

BlackBerry Enterprise Service 10. Version: Installation Guide

LifeSize Control Installation Guide

How To Install Powerpoint 6 On A Windows Server With A Powerpoint 2.5 (Powerpoint) And Powerpoint On A Microsoft Powerpoint 4.5 Powerpoint (Powerpoints) And A Powerpoints 2

Microsoft Corporation. Project Server 2010 Installation Guide

Setting Up SSL on IIS6 for MEGA Advisor

The SSL device also supports the 64-bit Internet Explorer with new ActiveX loaders for Assessment, Abolishment, and the Access Client.

Installing, Uninstalling, and Upgrading Service Monitor

Enterprise Manager. Version 6.2. Installation Guide

How To Enable A Websphere To Communicate With Ssl On An Ipad From Aaya One X Portal On A Pc Or Macbook Or Ipad (For Acedo) On A Network With A Password Protected (

Installation and Configuration Guide

Vocera Messaging Platform Administration Guide. Version 4.8

Deploying EMC Documentum WDK Applications with IBM WebSEAL as a Reverse Proxy

WebSpy Vantage Ultimate 2.2 Web Module Administrators Guide

Deploying System Center 2012 R2 Configuration Manager

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

FileMaker Server 14. FileMaker Server Help

CA MDM MOBILE DEVICE MANAGEMENT

Enterprise Vault Installing and Configuring

Desktop Surveillance Help

App Orchestration 2.5

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

Administration Guide. BlackBerry Enterprise Service 12. Version 12.0

CA Mobile Device Management 2014 Q1 Installing

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

SMART Vantage. Installation guide

Networking Best Practices Guide. Version 6.5

Dell One Identity Cloud Access Manager Installation Guide

Mobility Services Platform Software Installation Guide

How To Manage Storage With Novell Storage Manager 3.X For Active Directory

Troubleshooting BlackBerry Enterprise Service 10 version Instructor Manual

Preparing for GO!Enterprise MDM On-Demand Service

Installation and Configuration Guide

Laptop Backup - Administrator Guide (Windows)

Tenrox. Single Sign-On (SSO) Setup Guide. January, Tenrox. All rights reserved.

A Guide to New Features in Propalms OneGate 4.0

Sophos for Microsoft SharePoint startup guide

MIGRATING TO AVALANCHE 5.0 WITH MS SQL SERVER

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

BlackBerry Enterprise Server Express for Microsoft Exchange. Version: 5.0 Service Pack: 4. Upgrade Guide

XenClient Enterprise Synchronizer Installation Guide

Installing and Configuring WhatsUp Gold

Acronis and Acronis Secure Zone are registered trademarks of Acronis International GmbH.

Sharp Remote Device Manager (SRDM) Server Software Setup Guide

BlackBerry Enterprise Server for Microsoft Exchange Version: 4.1 Service Pack: 7. Upgrade Guide

Filtering remote users with Websense remote filtering software v7.6

WHITE PAPER Citrix Secure Gateway Startup Guide

Quick Start Guide for VMware and Windows 7

VMware Identity Manager Connector Installation and Configuration

Transcription:

SAP Afaria Document Version: 7 SP05-2014-09-02 CUSTOMER

Table of Contents 1....3 1.1 Launching the Afaria Setup Program....3 1.2 Installing the Afaria Server....4 1.2.1 Configuring Afaria to use LDAP....6 1.2.2 Configuring Afaria to use Active Directory....7 1.3 API Service and Administrator....8 1.4 Installing the Enrollment Server.... 10 1.5 Installing the Self-Service Portal.... 11 1.6 Installing the Package Server.... 13 1.7 Installing SMS Gateway.... 14 1.8 Access Control.... 15 1.8.1 Access Control Filter Components....15 1.8.2 Installing Access Control Components on a Single Machine....16 1.8.3 Installing Access Control Components on Multiple Machines....17 1.9 Network Access Control Service.... 19 1.10 Server Farm.... 20 1.11 Installing Hotfixes....20 2 Uninstalling Afaria Components.... 21 2.1 Uninstalling Afaria Server....21 3 Upgrading Afaria to SP5....22 3.1 Supported Upgrade Paths.... 22 3.2 Upgrade Considerations....22 4 Preparing to Upgrade Afaria....24 5 Upgrading an Afaria Component....26 6 Afaria Single-Server Upgrade.... 27 7 Afaria Server Farm Upgrade.... 28 8 Afaria Self-Service Portal Upgrade....29 2 2014 SAP SE or an SAP affiliate company. All rights reserved. Table of Contents

1 Use the Afaria Setup program to install a new installation of an Afaria component such as an Afaria Server, Enrollment Server, Package Server, or Self-Service Portal. You must install the Afaria Server before you install any other Afaria components. You can install the Afaria Server as either a standalone server or as the master server in a server farm configuration. When installing Afaria components, use the same Windows account and database for all Afaria Servers. Install Afaria components in the following order: 1. Afaria Server 2. API Server and Admin Console 3. Enrollment Server 4. Any other required servers and software components including: Additional Afaria Servers as farm servers Package Server Self-Service Portal Access Control filter for Email SMS Gateway Network Access Control component Before you install Afaria, verifiy all requirements and complete all required tasks in Preparing to Install Afaria. To upgrade an existing installation to a later service pack or hot fix, see Upgrading Afaria. 1.1 Launching the Afaria Setup Program Extract Afaria software files and launch the Afaria Setup program. Use the Setup program to enter your license key, run the readiness checker, and install Afaria components. Most of the component installation options launch wizards that step you through the setup process. Context The Setup program is located in the root directory when you extract Afaria software files. When you launch it, you see a main Afaria 7 Setup screen that includes these options: License Key Readiness Checker Install Documents 2014 SAP SE or an SAP affiliate company. All rights reserved. 3

1. Copy the Afaria software package to a location that is accessible from your planned Windows Server, and extract the files to the server. 2. Launch the Afaria Setup program from the root directory. 3. Select a language (English or Japanese). You see the Afaria Setup screen. 1.2 Installing the Afaria Server Install the Afaria Server. During installation, you must specify the database you created during your preparation to install, and the user name and password for the Windows Domain account you created. Context If you are using SQL Anywhere, manually restart the database server to pick up the most up-to-date client drivers. 1. From the Afaria Setup menu, select Install, then Install Afaria Server to launch the Afaria Server Setup wizard. 2. Follow the instructions in the wizard. The following table describes all of the screens in the Afaria Server Setup wizard, however, depending on your installation selections, the wizard displays different screens. For example, if you select the Microsoft SQL Server database engine, the wizard displays the SQL Server Setup and SQL Server Database screens. Screen Select Database Engine SQL Server Setup Action Specify the type of database you are using: Microsoft SQL Server or SAP SQL Anywhere. If you selected SQL Server as your database engine, select the database server where you created your database, and set the authentication type for connecting to the SQL Server database. Options are: Windows Authentication use a Windows account with SQL Server privileges. You will select and configure the authentication type later in the installation. 4 2014 SAP SE or an SAP affiliate company. All rights reserved.

Screen Action SQL Server Authentication use a SQL Server account. Enter the user name and password of the SQL Server account you created previously. SQL Server Database SQL Anywhere Server Setup If you selected SQL Server as your database engine, select the database you created for use with Afaria. Use the same database for all instances of the Afaria server. If you are installing a farm server, you must select the database in use by the master Afaria server. If you selected SQL Anywhere as your database engine, specify the SQL Anywhere server and database name for the database you created for Afaria. The SA Server Name list includes only SQL Anywhere servers on the same subnet. To use a server outside the subnet, select Edit Host/Port and provide the host name and port of the server. The host name may be a machine name or IP address. The installation program validates the database you specify. If you type the database name incorrectly or type the name of the wrong database, you may see a Request to start/stop database denied error. You also use this screen to select a login type: Integrated login integrate your Windows login with your SQL Anywhere login. SA user login enter the login information for the database user with DBA authority that you created for your Afaria database. Confirm Master or Standalone Server Install Directory Selection Service Account Type of Authentication If you want to install a farm server for an existing Afaria installation, return to the previous screen and select the database in use by the master Afaria server. Specify where you want to install the Afaria Server. Enter the user name and password of the Windows Domain account you created for Afaria. Use the same account for all Afaria Servers and components you install. If you chose Windows Authentication during SQL Server setup, select an authentication type. Local authentication is always enabled. Options are: NT domain-based enter the domain. Use commas to separate multiple domains. As the administrator, you must also be a member of this domain. For local authentication, use "<none>" as the domain. Active Directory see Configuring Afaria to use LDAP. LDAP-based see Configuring Afaria to use Active Directory. Enable SSL Enable SSL for secure device communication using XNETS and HTTPS protocols. 2014 SAP SE or an SAP affiliate company. All rights reserved. 5

Screen Action You can enable SSL for device communication later using the Afaria Administration console. See Configuring Afaria. Ready to Start Installation Setup Complete Select Install. Select whether to start the service at this time. If you intend to install additional Afaria components, do not start the service. 1.2.1 Configuring Afaria to use LDAP Configure LDAP to support LDAP user authentication and channel assignments. 1. From the LDAP Server Login Information screen, enter LDAP server address and account information. Setting Server Address Port Number Server Type Use SSL Description Enter the fully qualified domain name or IP address of the LDAP server. Enter the port number of the LDAP server. This field defaults to the standard LDAP port of 389. If you enter another port number, you must enter a number greater than 1024. Select the LDAP server type: Microsoft Active Directory, Netscape Directory Server, or Novell NDS. Use SSL communication with your LDAP server. If you select this option, you must also import the root CA certificate to the trusted root store to continue. SSL Port Number Anonymous Login Enter the LDAP server port for SSL communications Allow the Afaria Server to communicate with the LDAP server without using a dedicated LDAP user account for that server. Ensure your LDAP server is configured to allow a search of the directory structure for users, user groups, and organizational units and all of their attributes. See Preparing to Install Afaria. User DN If you are not using anonymous login, enter the user DN (distinguished name) for the LDAP account the Afaria Server uses to communicate with the LDAP server. If you do not know the user name for the account, select Search User. You must have an LDAP proxy user configured for an anonymous login to be able to search for users. You can enter a name using a wildcard character to search for the correct user DN; for example, you can enter *mith or *mit* to search for Smith. 6 2014 SAP SE or an SAP affiliate company. All rights reserved.

Setting Password Description Enter the password for the LDAP account the Afaria Server uses to communicate with the LDAP server. 2. On the LDAP Root Directory screen, select a root directory that contains all of the groups, organizational units, and users the server requires for authentication and assignments. 3. On the LDAP User Characteristics screen, select a characteristic: LDAP Class Name for Users User Name Attribute select or enter the user name attribute to use in the LDAP environment. When client users connect to the server, they enter the user ID as the user name you specify. 4. In the LDAP Container Settings dialog box, select a membership basis for assigning channels to users: Support OU membership assign channels to users based on their organizational unit (OU). Support OU and group membership assign session policies to users based on both their OU and groups. 1.2.2 Configuring Afaria to use Active Directory Configure Active Directory settings to support user authentication and channel assignments. 1. In the Active Directory Server Login Information dialog box, enter the server address and Active Directory account information. Setting Server Address User Password Use SSL Description Enter your Active Directory server address as either a fully qualified domain name, such as Afaria.mycompany.com, or as an IP address. Enter the user name for the Active Directory account the Afaria Server uses to communicate with the Active Directory server. The user must have access rights to the directory structure. Enter the password for the Active Directory account. Use SSL communication with your Active Directory server. 2. In the Active Directory User Characteristics dialog box, select or enter a class name and user name attribute. Setting Active Directory Class Name for Users User Name Attribute Description Select or enter the Active Directory Class Name for Users. Select or enter the user name attribute to use in the Active Directory environment. When client users connect to the server, they enter the user ID as the user name you specify. 2014 SAP SE or an SAP affiliate company. All rights reserved. 7

1.3 API Service and Administrator Install the Afaria API Service and the Afaria Administration console. You can install these components on the same server as the Afaria Server or on a different server. 1. From the Afaria Setup menu, click Install and then Install Afaria API Service and Administrator to launch the Afaria API Service Setup wizard. 2. Follow the instructions in the wizard. Screen Select Database Engine SQL Anywhere Server Setup Description Select the SQL Anywhere or Microsoft SQL Server database you created for Afaria Select the database server and database used for Afaria and enter all required values. If the Afaria Server is installed on the same server, the wizard displays the values used for the Afaria Server. SQL Server Setup If you selected SQL Server in the SQL Anywhere Server Setup screen, select the database server where you created your database and choose the account Afaria server will use to connect to the database. You must have created either a Windows or SQL Server account with the appropriate permissions when you prepared your database. The authentication options are: Windows Authentication to use a Windows account with SQL Server privileges. If you select Windows Authentication, you will be prompted to select and configure the authentication type later in the install. SQL Server Authentication to use a SQL Server account. If you select SQL Server Authentication, enter the user name and password of the SQL Server account you created previously. SQL Server Database If you selected SQL Server in the SQL Anywhere Server Setup screen, select the database you created for use with Afaria. Use the same database for all instances of the Afaria server. If you are installing a farm server, you must select the database in use by the master Afaria Server. Directory Selection Specify where you want to install the Afaria API Service. 8 2014 SAP SE or an SAP affiliate company. All rights reserved.

Screen Service Account Description Enter the user name and password of the Windows account created for Afaria. Use the same account you used when you installed the Afaria Server. Ready to Start Installation Setup Complete Select Install. Select whether to start the service at this time. The Admin installation automatically stops the API Service automatically if required. Select Finish to close the Afaria API Service Setup wizard. Select Yes to acknowledge the SSL warning that appears and launch the Afaria Admin Setup wizard. 3. Follow the instructions in the Afaria Admin Setup wizard. Screen Select Virtual Directory Description Select the virtual directory for the Afaria Administration console. If you have not created a directory, type the name for the directory to create it. The directory appears in the IIS directory under Default Web Site. Select Physical Directory Specify where you want to install Afaria Administration console files. If you are installing the Afaria Administration console on the same server as the Afaria Server, choose a different directory. Service Account Enter the user name and password of the Windows account created for Afaria. Use the same account you used when you installed the Afaria Server. Authentication Method Select one of the following authentication methods: Windows Active Directory LDAP (Active Directory) Default Administrator Account Name Domain Selection Ready to Start Installation Setup Complete Enter a user name and password to create an administrator account for the Afaria Administration console. You will use this account to log in to the Afaria Administration console and create additional accounts. Enter the domain for selecting the Afaria Administration console users to administer the Afaria Server. To limit selection to only local users, keep <none> as the domain. Select Install. Select Finish. 2014 SAP SE or an SAP affiliate company. All rights reserved. 9

Screen Description A shortcut for the Afaria Administration console appears on the desktop. Note If you used a predefined virtual directory for this installation rather than allowing the setup program to create one for you, verify the API Service and Admin settings in the directory before operating the Afaria Administration console. 1.4 Installing the Enrollment Server Install the Enrollment Server which enrolls devices into device management and delivers MDM payloads to ios devices. 1. Click Additional Installations and Resources Enrollment Server to launch the Enrollment Server Setup wizard. 2. Follow the instructions in the wizard. Screen Directory Selection Specify Credentials Description Specify where you want to install the Enrollment Server. Enter the user name and password of the Windows account used to run the Afaria service on the Afaria Server. The Enrollment Server uses these credentials to contact the Afaria Server for database credentials. Specify Virtual Directory Names Enter authorized and unauthorized virtual directory names. The unauthorized directory accepts an initial device connection and processes any required user authentication. The authorized directory accepts device connections in the connection series after the device connects to the unauthorized directory. Specify SSL Certificate Specify Server Address Specify Certificates for Signing Select the SSL certificate and, if required, change the port for HTTPS. Enter the IP or fully qualified domain name of the Afaria Server Select Sign Messages sent to ios. 10 2014 SAP SE or an SAP affiliate company. All rights reserved.

Screen Description In the CA Certificate Filename field, browse to the location of the root certificate. In the Signing Certificate Filename field, browse to the location of the signing certificate. In the Signing Certificate Password field, type the password for the signing certificate. If you are a self-signing entity and managing ios devices, select the certificate that is bound to IIS for SSL. By selecting the certificate, the Afaria Server can traverse the certificate chain and ensure that ios devices that need an intermediate certificate for operations get them seamlessly from the enrollment server. Your APNs certificate is not valid for this step. Results The Enrollment Server installation is now complete. The service, Afaria iphoneserver, appears on the Windows service list. The installation process also populates the Enrollment Server configuration page with corresponding values if the Afaria Server is on the same server. 1.5 Installing the Self-Service Portal Install the Self-Service Portal to enroll Android, ios, Windows DM (Windows 8.1), Windows Phone, or Windows Mobile devices in Afaria management, view device information, and issue commands such as remote lock or remote wipe a device. Context Consider these items when installing the portal: The portal is for deployment inside the enterprise network in the DMZ configured to accept device connections and pass traffic to the portal. The portal can coexist with the Afaria server, Afaria Administration console, package server, or enrollment server. You can also install the portal on a server without any other Afaria components. If you plan to install using LDAP authentication, rather than other authentication options, the installing domain user account must have Active Directory access account permissions for ongoing operations. The server where you install and run the portal should be configured to use only HTTPS connections (SSL required). SSP connections will not go through a relay server or a load balancer. Only one Self-Service Portal installation hosts all Self-Service Portals in the enterprise network. The Self-Service Portal can coexist with the Afaria Server, Afaria Administration console, Package Server, or Enrollment Server on the same server. You can also install the Self-Service Portal on a server that does not host 2014 SAP SE or an SAP affiliate company. All rights reserved. 11

any other Afaria components, as long as the Self-Service Portal has the proper network access to the Afaria API services. Install the Self-Service Portal after you have installed the Afaria API services: during portal installation, the installer verifies that it can successfully reach the API services before it completes. Note If you are upgrading to SP5 from an earlier version of Afaria, you cannot install the SP5 SSP directly on top of an older Self-Service Portal installation or any other pre-existing virtual directory. If you attempt to do so, you will receive an error indicating that another application is already using the virtual directory. If you would like to use an existing virtual directory for the Afaria SP5 Self-Service Portal, you must first uninstall the application that is using the virtual directory, or manually delete the virtual directory entry in IIS prior to running the Afaria SSP installation program. Refer to the upgrade and migration instructions described in the topic Afaria Self- Service Portal Upgrade for more details. 1. Click Install Self-Service Portal to launch the Self-Service Portal Setup wizard. 2. Follow the instructions in the wizard. Screen Virtual Directory Description Enter the SSP root virtual directory name to be used for all Self-Service Portals. The SSP root directory must be new and cannot match any preexisting virtual directories, either from older-version Self-Service Portals or any other Web site. The SSP root directory value is part of each URL that accesses every Self-Service Portal, and uses the following format: http://[host]/ [ssp root dir]/[relative URL]. Once you have specified the root directory, you cannot change it, except by uninstalling and reinstalling every Self-Service Portal that uses it. Note By default, the root virtual directory name is "ssp" unless otherwise changed during the Self-Service Portal installation. The "Relative URL" uniquely identifies each portal, and is managed within the Afaria Administration console. See Configuring Afaria. Modify the physical path for the location of the Self-Service Portal files, if desired. You cannot install the Self-Service Portal in the same physical directory as a pre-sp5 Self-Service Portal. Afaria API Server Enter the user name, password, and address to access the Afaria API server for enrollment code information. The address is required but the port number is optional. When you select Next, the Setup program verifies that the portal has access to the API services. Ensure the services are running before continuing. If the 12 2014 SAP SE or an SAP affiliate company. All rights reserved.

Screen Description Setup program cannot reach the API services, then installation cannot continue. Resolve the connectivity issue between the SSP and the API services before continuing. Base HTTP URI Ready to Start Installation Enter a custom HTTP path to the Self-Service Portal virtual directory if it is needed for proxy support. This is only set for use with ios6 devices that will download a custom-signed Afaria Client IPA file through the Self-Service Portal during enrollment where the proxy server has a different base URI. Select Install. 1.6 Installing the Package Server Install the Package Server on the same computer as the Afaria Administration console or on a separate computer. 1. Click Additional Installations and Resources Package Server to launch the Afaria Portal Package Server Setup wizard. 2. Follow the instructions in the wizard. Screen Directory Selection Specify Credentials Specify Virtual Directory Name Specify Server Address Description Specify where you want to install the Package Server. Enter the user name and password of the Windows account used to run the Afaria service on the Afaria Server. The Package Server uses these credentials to contact the Afaria Server for database credentials. Enter a virtual directory name, or use the default value. Enter the IP or fully qualified domain name of the Afaria Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 13

1.7 Installing SMS Gateway Install the SMS Gateway on the Afaria Server to deliver outbound notifications and remote wipe commands. Prerequisites Ensure you have access to the Internet. Context You must download SMS Gateway software and resources from the Cygwin site. SMS Gateway operations use only some of the Cygwin product components. Therefore, these installation steps describe a manual process for installing only the component that the SMS Gateway requires, rather than using the Cygwin installation program. 1. Click Additional Installations and Resources Access SMS Gateway Resources. The Setup program opens the Afaria Third-Party Component Dependency Reference page on the SAP Web site in your browser. This page provides information about the required components as well as links to the Cygwin Web site. 2. Download the following components to a single folder on the Afaria Server: Unix Emulation Engine GNU character set conversion library and utilities XML C parser and toolkit OpenSSL runtime environment Zlib compression and decompression libraries GCC Release series 4 compiler: GCC compiler support shared runtime Encryption/Decryption utility and library 3. Unzip the downloaded installation packages. For each installation package, the decompression yields one extracted file with file extension.tar. 4. Extract the decompressed packages into the same download folder. 5. Modify the default system path on the server to include <download folder>\usr\bin. You can also do this by copying the following files from the \bin folder to the <AfariaInstallation>\bin \SMSGateway folder: cygcrypto-0.9.8.dll cygiconv-2.dll cygssl-0.9.8.dll 14 2014 SAP SE or an SAP affiliate company. All rights reserved.

cygwin1.dll cygxml2-2.dll cygz.dll The default value for <AfariaInstallation> is C:\Program Files\Afaria. 1.8 Access Control Access control regulates synchronization requests to email servers. Access Control can prevent synchronization requests that do not meet the the access control policies in SAP Afaria. Access control policies include a list of known devices, their associated policies, any remediation actions, and any defined polices for unknown devices. In addition to synchronization requests from devices, Access Control Filter can regulate synchronization requests from desktop and Web email clients. 1.8.1 Access Control Filter Components The Access Control Filter includes a filter, data handler services, and a filter listener. Filter (XSISAPI.dll) Data Handler Services (XSISAPIReversePipe.exe) Filter Listener (XISAPIServer.exe) The filter accepts inbound synchronization requests from devices and passes them to the data handler. The filter must reside on a server that can accept inbound requests. The Data Handler Services determine whether to allow or block incoming synchronization requests. The Filter Listener queries the SAP Afaria database for the access control list and sends it to the Data Handler Services. The filter listener resides on the SAP Afaria server. 2014 SAP SE or an SAP affiliate company. All rights reserved. 15

1.8.2 Installing Access Control Components on a Single Machine You can install access control components on one server behind the corporate firewall. Context If all components are installed on a single machine behind the corporate firewall, you can select the Filter and data handler option while running the Access Control for Email installation program on the IIS/ISA machine behind the firewall. If components are installed on multiple IIS machines behind the corporate firewall and load balancer, you can select the Filter and data handler option while running the Access Control for Email installation program on each IIS/ISA machine. 1. To install the Access Control filter, run the setup program (setup.exe) as administrator to launch the Afaria 7 Setup wizard. 2. From the first screen of the wizard, click Install. 3. From the second screen, click Additional Installations and Resources. 4. From the third screen, click Install Access Control for Email. Choose the appropriate version of the filter for your operating system: 32-bit (x86) or 64-bit (x64) as required. The setup wizard launches the Afaria 7 ISAPI Filter Setup wizard. 5. Click Next. 6. Select Filter and data handler and click Next. 7. From the Blocking Option screen, do the following, and then click Next: a) Select Allow all traffic but Microsoft-Active-Sync to allow all traffic to the email server except from handheld devices. If this option is selected, all traffic is allowed. If you do not select this option, only ActiveSync traffic is allowed and all other traffic is blocked. Any other Web sites on the same IIS are also blocked. b) Select an installation method Install ISAPI filter for IIS Server or Install ISAPI for ISA Server. Note The ISAPI filter affects Outlook Web Access (OWA) if the Allow all traffic but Microsoft-Active-Sync option is not selected and OWA is being accessed from Client Access System (CAS) on which the filter is installed. 8. From the Server Settings screen, enter the following and click Next: URL of the Afaria server 16 2014 SAP SE or an SAP affiliate company. All rights reserved.

Relay Server (RS) Prefix Relay Server (RS) Farm ID 9. From the Ready to Start Installation screen, click Install. The filter (XSISAPI.dll) and data handler (httpsclient.ps1 and PipeServer.exe) components are installed on one server behind the firewall. 1.8.3 Installing Access Control Components on Multiple Machines When installing access control components on multiple machines, you can install the Filter and Data Handler Proxy service (Query Forwarder) on an IIS or ISA box in the DMZ. You can then install the data handler (Query Processor) on one or more CAS boxes behind an enterprise firewall. 1.8.3.1 Installing the Filter and the Data Handler Proxy Service If an IIS or ISA machine is located in the DMZ and rest of the servers are hidden behind the inner firewall, you can select the Filter and Data Handler Proxy Service option while running the Access Control for Email installation program. This option installs XSISAPI.dll and XSISAPIReversePipe.exe on an IIS/ISA server. Context Run the procedure on each IIS/ISA box. 1. Run the setup program (setup.exe) as administrator to launch the Afaria 7 Setup wizard. 2. From the first screen of the wizard, click Install. 3. From the second screen, click Additional Installations and Resources. 4. From the third screen, click Install Access Control for Email. Choose the appropriate version of the filter for your operating system: 32-bit (x86) or 64-bit (x64) as required. The setup wizard launches the Afaria ISAPI Filter Setup wizard. 5. Click Next. 6. Select Filter and data handler proxy service and click Next. 7. From the Proxy Settings screen, type the host name and port for the PowerShell proxy server and click Next. 2014 SAP SE or an SAP affiliate company. All rights reserved. 17

8. From the Blocking Option screen, do the following, then click Next: a) Select Allow all traffic but Microsoft-Active-Sync to allow all traffic to the email server except from handheld devices. b) Select an installation method Install ISAPI filter for IIS Server or Install ISAPI for ISA Server. 9. From the Ready to Start Installation screen, click Install. The filter and data handler proxy (XSISAPI.dll and XSISAPIReversePipe.exe) components are installed on an IIS or ISA box in the DMZ. 1.8.3.2 Installing Only the Data Handler After installing the filter and data handler proxy service on an IIS or IAS box in the DMZ, you can install the data handler on a CAS behind the firewall. Context If there are multiple CAS servers, run the procedure below on each CAS. 1. Run the setup program (setup.exe) as administrator to launch the Afaria 7 Setup wizard. 2. From the first screen of the wizard, click Install. 3. From the second screen, click Additional Installations and Resources. 4. From the third screen, click Install Access Control for Email. Choose the appropriate version of the filter for your operating system: 32-bit (x86) or 64-bit (x64) as required. The setup wizard launches the Afaria ISAPI Filter Setup wizard. 5. Click Next. 6. Select Data handler only and click Next. 7. From the Proxy Settings screen, type the host name and port for the PowerShell proxy server and click Next. 8. From the Server Settings screen, enter the following and click Next: URL of the Afaria server Relay Server (RS) Prefix Relay Server (RS) Farm ID 9. From the Ready to Start Installation screen, click Install. The data handler (httpsclient.ps1 and PipeServer.exe) files are installed on the CAS box behind the enterprise firewall. 18 2014 SAP SE or an SAP affiliate company. All rights reserved.

1.9 Network Access Control Service Install Afaria Network Access Control (NAC) services to respond to NAC router requests to enforce device compliance. Prerequisites Install the NAC service on the same server that hosts the Afaria API service and Afaria Administrator. This service can also be installed on the same server that hosts the enrollment server and package server, as long as the Afaria Administrator and API service are installed. The Afaria NAC web service will only respond to https connections; ensure that IIS is configured with a valid SSL certificate to support https traffic. 1. On the Afaria Administrator server, start the Network Access Control setup program (setup.exe) located in the NetworkAccessControlService folder of the Afaria installation media. Alternatively, on the overall Afaria system setup menu and click Install Afaria Support for Network Access Control. 2. Click Next on the Welcome dialog. Additional Installations and Resources 3. On the Directory Selection page, accept the default location, or click Browse to navigate to a different location. Click Next. If the directory you specify does not exist, the setup program creates it. 4. Enter an account name and password the same you used to install the Afaria API to set up the service. Click Next. 5. Click Install. When the installation process is completed, you see the Setup Complete screen. In Afaria 7 SP5, NAC is now IIS-hosted. After installing NAC, the setup program creates two virtual directories in IIS: \CiscoISE and \NetworkAccessControl. These directories point to the same code; you can use either directory to obtain the same functionality. 2014 SAP SE or an SAP affiliate company. All rights reserved. 19

1.10 Server Farm You can install an Afaria Server as a farm server in a farm environment after installing the main Afaria Server and the Afaria Administration console. Prerequisites Ensure that all farm servers are in the same domain, and that the domain user name and password matches the ones specified for Afaria Administration console and API services. 1. Start the Afaria Setup program. 2. Enter the license key. 3. Install the Afaria Server using the same domain user account, database, and options as the main Afaria Server. 4. Start Afaria Server service on the main server, then on the farm servers. 1.11 Installing Hotfixes Once you have installed the base Afaria software, run any available hotfixes to ensure you have the latest version of Afaria. Refer to the Afaria Release Notes for information about available hotfixes. 1. Copy the Afaria software package to a location that is accessible from your planned Windows Server, and extract the files to the server. 2. Launch the Afaria Setup program from the root directory. 3. From the Afaria Setup menu, select the required component to launch the installation wizard. 4. Follow the instructions in the wizard. 20 2014 SAP SE or an SAP affiliate company. All rights reserved.

2 Uninstalling Afaria Components Remove Afaria software components using the Microsoft Add/Remove Programs utility. Uninstalling the Afaria Administration console, Enrollment Server, and Package Server, also uninstalls all Self- Service Portal instances. 2.1 Uninstalling Afaria Server Uninstalling an Afaria Server also uninstalls the Afaria Administration console, if installed on the same server. Removing the Afaria Server deletes the software component, but preserves the Afaria database. 1. If you are uninstalling a farm server, on the Afaria Administration console go to Server > Configuration > Server Farm and set the state to hidden. Hiding the farm server removes it from the server selector list. 2. Close all Afaria programs on the server you are uninstalling. 3. Stop all Afaria-related services. 4. Using the Microsoft Add/Remove Programs utility, select the component and remove it. The most common reasons for this step to fail include: An Afaria program or related service is still running. Stop the programs and related services and retry the step. Windows Explorer or some other program is using the Afaria installation directory. Close all programs, then restart the machine and retry the step. Afaria system folders are shared with device users. Remove the share from the folder and retry this step. 5. If you are uninstalling a farm server, delete the server entry from the A_SERVER database table. If you do not delete this server from the database, it continues to appear on Farm page as an available server. Server > Configuration > Server Uninstalling Afaria Components 2014 SAP SE or an SAP affiliate company. All rights reserved. 21

3 Upgrading Afaria to SP5 To upgrade Afaria to SP5, download Afaria 7 SP5 software and run the Afaria Setup program for each Afaria Server and component in your installation. Do not upgrade the Afaria Server without upgrading all other components including all farm servers, the Enrollment Server, and the Package Server. To complete the upgrade, ensure all managed devices upgrade to the latest version of the Afaria client application. Before you continue, ensure that all servers and network devices hosting or interacting with Afaria meet the system requirements. See Preparing to Install Afaria. You should also ensure your installation is on the supported upgrade path. You may need to upgrade to an intermediate service pack before you can upgrade to SP5. 3.1 Supported Upgrade Paths Upgrade to Afaria 7 SP5 is supported from Afaria 7 SP3 and Afaria 7 SP4. 3.2 Upgrade Considerations SP5 includes a number of new features as well as changes to existing features that may affect your installation during or after an upgrade. Review the following feature changes to determine if any action is required. Android Scheduling Improvements in SP4 Android scheduling improvements allow you to set a schedule based on a rate, date range, repetition, and randomization. During upgrade from SP3 to SP5, the Afaria Setup program creates a default Android schedule based on your existing heartbeat settings. After upgrading to SP5, it is recommended that you review Android scheduling settings to determine if changes are required. Authentication Changes in SP4 When upgrading from SP3 to SP5, Afaria automatically enables authentication in the server configuration for each tenant. This authentication requires that users provide credentials when devices connect to Afaria. This might cause devices to prompt users for credentials in situations when devices did not prompt for credentials in SP3. You can configure the authentication settings on the Server Configuration Security page in the Afaria Administration console. Enrollment and package servers that required authentication in SP3, still require authentication after the upgrade. 22 2014 SAP SE or an SAP affiliate company. All rights reserved. Upgrading Afaria to SP5

The upgrade should not affect authentication for the clients that connect to the Afaria Server because authentication is configured at the policy level in addition to on the server. For example, if an administrator does not want Android xcomms sessions authenticated and the administrator did not previously have any channels configured for authentication, then enabling the authentication setting will not change this. If an administrator configured a channel to require authentication and enabled authentication at the server, but later disabled the authentication on the server prior to upgrading from SP3, Afaria automatically enables authentication at the server configuration. As a result, Afaria starts authenticating after the upgrade. Discontinued Support for BlackBerry in SP5 BlackBerry support has been dropped in SP5. Before upgrading to SP5, it is recommended that you delete BlackBerry devices and configuration policies from Afaria. Database Schema Changes in SP5 Afaria introduces database changes in SP5 to improve performance, scalability, and usability. User intervention is not required to update the database; the Afaria Server Setup program handles the changes to the Afaria database. Depending on the size of your database, data conversion during an upgrade can take more than 30 minutes. During this time, the setup program displays a "Data Conversion in progress" message. Do not interrupt the upgrade process during data conversion. Doing so may result in a corrupted database and an inoperable system. If the server installer upgrade is interrupted, restore your database and restart the upgrade. If you must roll the entire system back to a previous version of Afaria after interrupting the server installation process, you will need to restore both your database as well as your Afaria server file system and registry. All database changes made to your Afaria database during the upgrade process are stored in the Afaria database table A_LOG_DB_UPGRADE. Refer to the contents of this table to view details regarding all database changes performed during upgrade. In addition, any orphaned data purged from the database tables during the upgrade process is stored in a corresponding backup table in the database with the B_ prefix in front of the affected table name. Upgrading Afaria to SP5 2014 SAP SE or an SAP affiliate company. All rights reserved. 23

4 Preparing to Upgrade Afaria Before beginning an upgrade, validate all prerequisite and system requirements, create a system backup, and close all browsers that are currently logged in to the Afaria Administration console. If you are using a relay server, shut down the relay server (rsoe) before beginning an upgrade. Context A system backup includes the database, application software, and application data. Afaria only stores data in the database and on the Windows server hosting the Afaria Server. It is not necessary to back up data on servers hosting other Afaria components such as an Enrollment Server and Package Server. Note You may also want to delete devices, policies, and server settings for a platform for platforms and features no longer supported by Afaria. For example, support for BlackBerry was dropped in SP5. It is recommended that you delete BlackBerry devices and configuration policies prior to upgrading. 1. Back up your Afaria database. 2. Stop the Afaria Server services on each Windows server hosting an Afaria Server using the following commands: net stop Afaria Server /y net stop AfariaIPhoneServer /y net stop Afaria Backend Portal Package Server /y net stop Afaria API /y net stop Afaria Client Service /y 3. Stop any Relay Server Outbound Enabler services. The names of these services are customized by the installer and may vary by environment. 4. Record the installed Afaria hot fixes and services packs listed in the registry at the following locations: HKEY_LOCAL_MACHINE\SOFTWARE\AFARIA\AFARIA\PATCH\ 5. Export all Afaria Channels. Ensure that the option to include the content and assignments for each channel are selected: c:\program files (x86)\afaria\bin\xaexport.exe \ c:\backup.cmx /r This process can be accomplished by executing the following command through a Session Manager channel or by using a simple batch file. Optional automation of channel export can be done by creating a Windows Task Scheduler task that executes the Channel Exports on a daily basis. More information about the xaexport and xaimport tools can be found by using the /? option. 6. Export HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432node\Afaria to a registry file (.reg). This preserves the unique Server ID (Transmitter ID) and server settings that stored in the registry. 7. Back up the following directories: 24 2014 SAP SE or an SAP affiliate company. All rights reserved. Preparing to Upgrade Afaria

C:\PROGRAM FILES(X86)\AFARIA C:\PROGRAM FILES(X86)\AFARIAAPISERVICE C:\PROGRAM FILES(X86)\AFARIA COMMON C:\PROGRAM FILES(X86)\AFARIAEUSSP C:\PROGRAM FILES\AIPS C:\PROGRAM FILES\PACKAGESERVER Backing up the Afaria server installation directory preserves all Channel IDs, Channel worklists, any worklist assignments, worklist priorities, an so on. 8. Restart the Afaria Server service by running the following commands: net start Afaria Server /y net start AfariaIPhoneServer /y net start Afaria Backend Portal Package Server /y net start Afaria API /y net start Afaria Client Service /y 9. If required, log in to the Afaria Administration console and delete devices, policies, and settings for discontinued platforms and features. Preparing to Upgrade Afaria 2014 SAP SE or an SAP affiliate company. All rights reserved. 25

5 Upgrading an Afaria Component Upgrade Afaria using the Afaria Setup program. When you run a setup wizard on a Windows server hosting an Afaria component, the wizard displays your current settings in the wizard screens. Click Next on each screen to accept the settings or make changes to the settings as required. Context Extract Afaria software files and launch the Afaria Setup program to upgrade Afaria components. 1. Copy the Afaria software package to a location that is accessible from your Windows Server and extract the files to the server. 2. Launch the Afaria Setup program (setup.exe) which is located in the root directory. 3. From the Afaria Setup menu, select the appropriate option to launch the required wizard. The wizard displays your current Afaria settings. 4. Make any changes to the selections and settings as required. See for descriptions of the Afaria Setup wizards. 5. Select Install on the Ready to Start Installation screen to begin the upgrade. The Afaria Server upgrade process may take more than 30 minutes to complete. Caution Do not interrupt the upgrade process. Doing so may result in a corrupted database and an inoperable system. If the upgrade is interrupted, restore your database and restart the Afaria Server setup. 26 2014 SAP SE or an SAP affiliate company. All rights reserved. Upgrading an Afaria Component

6 Afaria Single-Server Upgrade Upgrade an installation with one Afaria Server. 1. Stop all Afaria services including Afaria Server, iphone, back-end portal, and API services. 2. Upgrade the Afaria Server, but do not start the service. 3. Upgrade the Afaria Administration console application. 4. Start Afaria Server service. 5. Upgrade additional servers, such as the Enrollment Server. 6. Connect devices for upgrade. Afaria Single-Server Upgrade 2014 SAP SE or an SAP affiliate company. All rights reserved. 27

7 Afaria Server Farm Upgrade Upgrade a farm installation with a master Afaria server and one or more farm servers. 1. Stop all Afaria services on the master (main) Afaria Server and on all farm servers. Do not start the master and farm servers until after you have upgraded all components. 2. Upgrade the main Afaria server, but do not start the Afaria Server service. 3. Upgrade the farm servers. Do not start the Afaria Server service. 4. Upgrade the Afaria API and the Afaria Administration console application. 5. Upgrade additional servers, such as the Enrollment Server, Package Server, and Self-Service Portal. 6. Start Afaria Server service on the master server, then start the server service on the farm servers. 7. Start the remaining services on all servers. 8. Verify Afaria Client Service is running on all farm servers and replication is successful. 9. Connect devices for upgrade. 28 2014 SAP SE or an SAP affiliate company. All rights reserved. Afaria Server Farm Upgrade

8 Afaria Self-Service Portal Upgrade There is no direct upgrade path from earlier versions of Afaria Self-Service Portal to SP5. Instead, you must migrate each Afaria SP4 Self-Service Portal to the new SP5 Self-Service Portal model by running the SP5 Self- Service Portal installation once, then applying some migration steps to existing Self-Service Portal records. Context Beginning with SP5, there is only one Afaria Self-Service Portal Web site installation in IIS to serve all portals in the Afaria system. In earlier versions of Afaria, each Self-Service Portal had its own Web site installed in IIS. Due to these changes, you cannot perform an in-place upgrade of an SP4 or earlier Self-Service Portal to SP5; instead, the SP5 Self-Service Portal Web site is installed once, in a single new virtual directory in IIS, and this one installation then serves all Self-Service Portals in Afaria. After installing SP5, perform a one-time migration process to convert SP3 and SP4 Self-Service Portal records to the new SP5 SSP format. Note Upgrading to SP5 is not supported for Afaria versions earlier than SP3. Afaria SP5 also introduces a new attribute for each Self-Service Portal called the Relative URL. The Relative URL value is how one Self-Service Portal is distinguished from another in Afaria, and replaces the old model of installing separate Self-Service Portal Websites. This value is used as the new tail end of the full URL that is used to browse to the Self-Service Portal record, and comes after the [ssp root dir] that was specified when running the SP5 SSP installation. The new SSP URL format is http://[host]/[ssp root dir]/[relative URL]. For more information on the use of the new "Relative URL" value and how to configure Afaria Self-Service Portals in the Afaria Administrator, refer to Self-Service Portal section in the Configuring Afaria Guide. 1. Upgrade Afaria SP5 components (server, API, and so on). 2. Install the SP5 SSP component as a fresh installation, specifying the [ssp root dir] value. You cannot install the SP5 Self-Service Portal on top of a preexisting IIS virtual directory, including any SP4 or earlier SSP virtual directories. If you install SP5 Self-Service Portal on top of a preexisting IIS virtual directory, an error message "The virtual directory name you chose is already in use by another service. Please use a different name." will be displayed. 3. For migrating from SP4 Self-Service Portal: In the Afaria Administrator Self-Service Portal management page ( Server Configuration Self-Service Portal ), edit each pre-existing SSP record to add a new Relative URL value that is unique for each Self-Service Portal. For more information on the use of the new "Relative URL" value and how to configure Afaria Self-Service Portals in the Afaria Administrator, refer to Self-Service Portal section in the Configuring Afaria Guide. For migrating from SP3 Self-Service Portal: In the Afaria Administrator Self-Service Portal management page ( Server Configuration Self-Service Portal ), create a new Self-Service Portal record to match Afaria Self-Service Portal Upgrade 2014 SAP SE or an SAP affiliate company. All rights reserved. 29