Afaria 7 – Update to SP6

Blogs with content referred to by this blog:

  1. Install Afaria Server
  2. Install Afaria API Service and Administrator
  3. Install Self Service Portal
  4. Install Enrollment Server
  5. Install Package Server
  6. Validation of Afaria 7 SP6

Afaria 7 SP6 update

Afaria 7 SP6 is available as of 11. September 2015 and can be downloaded from SAP Support Portal. The pre-requisite for installing SP6 is having SP5 installed. Its a 326MB download. The size already implies that you cannot install SP6 without having Afaria 7 already installed.

Download the file (AFARIA70006_0-21010386.zip) and copy it over to your Afaria 7 server. The ZIP contains all the files for all the components going to be updated.

Before starting installation check that your current Afaria 7 SP5 installation is working:

Start update

Run setup.exe

Choose language

Check your license key

Readiness check

If your license is OK, start the readiness check

Select what you want to test and start the test by clicking on “Test Now”.

The tests are executed. This can take some while to finish.

If the test finishes, you should see as a result that all requirements are satisfied.

Install/Upgrade to Afaria 7 SP6

From the setup, select the Install option.

This will show you a screen with all the components that can be upgraded with the installer.

From this screen on you`ll have to start the update process for each component you have installed on your server.

  1. Install Afaria Server
  2. Install Afaria API Service and Administrator
  3. Install Self Service Portal
  4. Install Enrollment Server
  5. Install Package Server

Additional Installations and Resources

Select what you need to install.

VALIDATE UPDATE

  1. Validation of Afaria 7 SP6

SAP Afaria 7 SP6 – Validation of Afaria 7 SP6 update

After updating from SP5 to SP6 it is a good idea to check that Afaria is capable to start and runs without errors. For a very basic check of the server, see here some examples on how to do this.

Check that all Afaria services are up and running

Check that the Admin console is running and connects to AD

Access the Afaria admin console & log in.

Check device data

Verify that the Afaria data about devices, groups, policies is still available.

Verify server status

The server status must be green.

SAP Afaria 7 SP6 – Install Enrollment Server

Next component to be updated is the enromment server.

Select the DB type.

Select where the DB server is running.

In case the setup program can connect to the DB server, it will show a list of databases available to the user. Select the Afaria DB. In case an error occurs, check with one of the previous blogs on how to solve this issue.

SAP Afaria 7 SP6 – Install Self Service Portal

Next component to be updated is the Self Service Portal. This will update the web site hosted by IIS.

Confirm the user credentials used to connect to the API server.

Possible error: API server cannot be reached

Solution: check if API server is up and running

If not, start the service

Confirm the HTTP path to EUSSP. Should be the same is with SP5.

SAP Afaria 7 SP6 – Install Afaria API Service and Administrator

The upgrade of the API service and administrator console is listed as one step, but will be executed as two steps:

  • 1st the API service and directly afterwards the
  • Administrator console

As both are bound together, you cannot install the admin console separately. As the API service is installed first, you can upgrade the API service and not the admin console. This should not be done! Run the installation and update both at once.

SAP Afaria API Service

Start the installation

Select DB

Keep account information

Installation finishes

Select if you want to start the services. If you want to continue with the installation, do not start them now. The installation will now continue with the Afaria Admin setup.

SAP Afaria Administration

Keep account information

Select how the admin user will authenticate. Here I am using my Active Directory.

Either way, you`ll have to configure the LDAP URL Afaria will use to authenticate the user.

Installation finishes

SAP Afaria 7 SP6 – Install Afaria Server

Start the Afaria Server update. First agree to the license agreement, of course, only when you have read the license and agree to it.

Afaria server update starts. First the currently running server service is stopped.

The setup program will stop the Afaria services. In case this is not possible, you are asked to do it manually or to restart the computer. In case the services are stopped successfully, the setup will start the Afaria Server installation.

Select DB server type

Select host where the DB server is running on and how to log on to the DB.

At this step, while testing the DB connection, I got an error message. The installer cannot connect to the Afaria DB. In my case, this was solved by starting the MSSQLServer process (for some reasons, SQL Server wasn`t started anymore).

Error: No connection to DB

Solution: Start SQL Server

Select the Afaria DB.

Confirm installation path

Confirm service account credentials

Start installation

This can take a while …

Installation finishes

Select if you want to start the services. If you want to continue with the installation, do not start them now.