Performing Post Service Layer Installation Checks

Objective

After completing this lesson, you will be able to check that the Service Layer installation is functioning as expected

Steps to Check if the Service Layer is Functioning

Once you have installed the Service Layer, you must make sure the services are working as expected. There are four checks that you can perform to verify that the Service Layer is functioning.

Check 1: Is Service Layer service registered in the System Landscape Directory (SLD)?

  1. Open the SLD Control Center link https://<sldaddress>:<sldport>/ControlCenter/ in your browser.
  2. Log in with the Landscape Administrator user ID, for example, B1SiteUser.
  3. Choose the Services tab.
  4. Check if there is an entry for Service Layer. There should be a Service Layer link and Service Layer Controller link.

The System Landscape Directory showing the Service Layer option highlighted.

Check 2: Is Service Layer Accessible?

  1. Open the Service Layer URL in https://<servicelayeraddress>:<servicelayerport> in your browser.
  2. If the link is accessible, the page titled Documentation for SAP Business One Service Layer will open.

The Documentation for SAP Business One Service Layer page, which indicates that the Service Layer is accessible.

Check 3: Are all Service Layer nodes active?

  1. Open the link https://<servicelayeraddress>:<servicelayerport>/balancer-manager/ in your browser.
  2. If the Service Layer nodes are active, the Status column will display Init Ok.

The Load Balancer Manager page showing the Status column displayed as Init Ok.

Check 4: Does Service Layer respond to login request?

  1. Open the link https://<servicelayeraddress>:<servicelayerport>/b1s/v1/Login in your browser.
  2. When the Sign in pop-up appears, carry out the following actions:
    • Input the information using the JSON format: Username: {"CompanyDB": "XXX","UserName": "YYY"}.
    • Change the 'XXX' to your CompanyDB and 'YYY' to your Username which is applicable for your environment.
    • Input the password of your CompanyDB.
    Sign in pop-up window showing the username and password fields filed out.
  3. Choose Sign in. If the login is successful, Service Layer responds with the session information as shown in the following image.

The session information screen indicating the login was successful.

If any of the checks fail, refer to the following SAP notes on https://me.sap.com (account required):

  • 3064927 - Troubleshooting Service Layer on Windows.
  • 2607373 – Troubleshooting Service Layer on Linux.

Log in to track your progress & complete quizzes