Purpose
The purpose of this document is to enable you to install a copy of the S&OP Golden Demo System into your On Premise Landscape / or any hosted system such as AWS that meets the pre requisites below.
Pre Requisites
SAP Hana Installation Rev 69 version 1.0069.01.000000 with latest Rev 69 AFL and Optimizer Library installed. These files are available on the SAP Service Marketplace
AFL and Optimizer Installation
- As root user call AFL installer hdbinst and install AFL
- Copy the optimizer lib libo10n.so to the following path: /usr/sap/<SID>/HDB<instance no>/exe/plugins/afl
- Restart Hana
Download Golden Demo Files
Download the Golden Demo backup File from SAP at the following location. Backup file is approx. 1.8 GB so it will take some time to download.
- Please contact S&OP_Support@sap.com for user credentials
Recover database into your OnPremise System
For OS level recovery
- Switch to <sid>adm use
- Run the command HDBSettings.sh recoverSys.py --command "recover data using file (<path to backup file>/<backup file prefix name>')clear log"ex: 20140224-164110_databackup_0_1 (if the backup files is like this backup file prefix would be (20140224-164110)
- Provide <sid>adm password
For HANA studio recovery
- Please access the recovery wizard as System User
- Select the option recover database to a specific Data backup.
- Chose the backup path and enter the backup prefix name
Golden Demo User Credentials
Please note that after DB recovery your system will contact the following users with the passwords below. The <SID> adm user credentials will remain the same on your OS.
User | Password |
---|---|
SOPADMIN | Abcd1234 |
SYSTEM | Abcd1234 |
JSMITH | Abcd1234 |
SOPITADMIN | Abcd1234 |
SOPBGADMIN | Abcd1234 |
Install Hana Client Tool and Set DB Connection Key
To use the REGI command line tool, please download the Hana Database client tool and install on a Linux server first, and make sure to add the HDB Client tool installed path to the PATH environment variable, such as “export PATH=$PATH:/usr/sap/hdbclient”,
Create HDBUSERSTORE keys for background framework using below as an example:
hdbuserstore SET <SID>key <Your FQDN>:30015 SOPBGADMIN Abcd1234
Configure Background Processing Framework:
SOP background processing framework contains a set of shell scripts that calls certain stored procedures in Hana DB. The shell scripts are triggered via CRON jobs periodically. To setup the framework:
Download the bgframework.zip from the URL below
Unzip it in a folder such as “bgframework”.
Set a Hana DB connection key using SOPBGADMIN user as described in the section below
Change the shell scripts to use the key just created, and set the proper path to hdbsql executable.
Add the shell scripts to CRON table using crontab -e and set the jobs to run every 2 minutes in following format:
*/2 * * * * /usr/sap/LM1/home/bgframework/bg_operator.sh
Additional Info can be found here https://websmp130.sap-ag.de/sap/support/notes/1901852
Post Recovery Steps
- Restart Hana DB
- Logon to S&OP Web UI as SOPITADMIN user and execute Postinstall Script
- Download and install the S&OP Add in from SAP Service Marketplace
- Integrate to Jam per Jam Configuration Guide if you have a Jam and BizX Enterprise license.