Installing SAP Business One Service Layer

Objective

After completing this lesson, you will be able to install SAP Business One Service Layer

Service Layer Load Balancer

Service Layer installs Apache Multi-Processing Modules (MPMs) and is configured as a load-balancing cluster. Service Layer Load Balancer accepts only https requests and distributes HTTP loads amongst its node members.

If the load balancer detects that one of its nodes has failed, it forwards subsequent requests to another valid node. The receiving node validates the session through the shared session info stored in the database and processes the request further.

A diagram showing an example of the Service Layer Load Balancer distributing loads to its node members.

Service Layer Deployment

You can deploy SAP Business One Service Layer in two different modes.

An Integrated Mode

  • An integrated mode allows you to install the Service Layer on the same database server, keeping the system landscape as simple as possible.
  • The load balancer and all load balancer members are installed on the same machine where database and System Landscape Directory (SLD) are installed.
  • Using the integrated mode reduced the total cost of ownership.

The following diagram shows an example of an integrated mode, where some of the SAP Business One components are installed on one server.

A diagram displaying an example of an integrated mode, showing SAP Business One components, such as System Landscape Directory (SLD) and Database installed on one server.

A Distributed Mode

  • A distributed mode allows you to install the Service Layer on separate machines. This gives you more computing power for higher concurrent throughput. To achieve even higher availability and scalability, it is recommended to deploy multiple Service Layer instances with a load balancer in the front.
  • The load balancer and load balancer members are all installed on different physical machines. And at least one load balancer member must be installed on the same machine as the load balancer.
  • The benefits of the distributed mode include the following:
    1. Client requests can be dispatched to different Service Layer instances and executed in parallel.
    2. If there is a hardware failure in one host machine, Service Layer redispatches client requests to another live instance without asking users to log in again.

The following diagram shows an example of a distributed mode, where there are some SAP Business One components distributed across multiple servers.

A diagram displaying an example of a distributed mode, showing how some SAP Business One components can be installed and distributed across multiple servers.

You’ll learn more about deployment best practices in Unit 3 of this course.

How to Install SAP Business One Service Layer for SAP HANA

Before you install SAP Business One Service Layer for SAP HANA, you must install the SAP HANA Client. Refer to the SAP HANA Client Installation and Update Guide for more information.

Once you’ve installed the SAP HANA Client:

  1. Log in to the Linux server as root.
  2. Navigate to the installation directory …/Packages.Linux/ServerComponents where the install script is located.
  3. Start the setup program from the command line by entering the following command:./install

Then watch the following video on how to install SAP Business One Service Layer for SAP HANA.

Note

To upgrade the Service Layer to a higher patch level, run the server components setup wizard for the required patch level. For more information, refer to the Upgrading Server Components page on the SAP Help Portal.

Note

For information on how to uninstall the Service Layer on your device, refer to the Uninstalling SAP Business One, version for SAP HANA page in the SAP Help Portal.

For information on how to reconfigure the system, refer to the Reconfiguring the System page.

How to Install SAP Business One Service Layer for MSSQL

Prior to installing the Service Layer for MSSQL, you must install MS Windows PowerShell 5 or a higher version to your device.

Once you’ve installed this:

  1. Log in to the Windows Server as an administrator user.
  2. Navigate to the installation folder…\Packages.x64\ComponentsWizard and run the install.exe file.

Then watch the following video on how to install the Service Layer for MSSQL using the Components Setup Wizard.

Note

To upgrade the Service Layer to a higher patch level, run the components setup wizard for the required patch level. For more information, see Upgrading SAP Business One Databases and Components.

Note

For information on how to uninstall the Service Layer on your device, refer the Uninstalling SAP Business One page in the SAP Help Portal. For information on how to reconfigure the system, refer to the Reconfiguring Server Tools, Service Layer, Web Client, Electronic Document Service and SLD Agent page.

Installation Questions

You may have the following questions when deploying the Service Layer.

Can load balancer members be installed remotely?

Remote installation of the Service Layer is not supported. For example, if you intend to install the load balancer on server 2 and two load balancer members on server 4 and 5, you must run the server components setup wizard on each server separately.

Can I use the Service Layer on Microsoft SQL Server for SAP Business One, version for SAP HANA?

No, you cannot use MSSQL installers for SAP HANA implementations or vice versa.

Can I update the Apache tomcat version of the Service Layer service manually?

No, each version and patch are compatible only with specific version of tomcat.

Can I expose the Service Layer to the internet directly?

No, it’s strongly recommended to use a reverse proxy to expose the service layer to the internet.

Can the Service Layer be installed across networks?

No, all SAP Business One components should be part of the same LAN (local area network).

Log in to track your progress & complete quizzes