Install the SAP MaxDB software on all servers in the cluster using identical parameters/settings. Refer to the SAP MaxDB Installation Guide for details. The following are additional recommendations to ensure that LifeKeeper will work with SAP MaxDB:
- A non-root system user (OS User) must exist on all servers as follows:
- This OS User should be designated as the owner of the SAP MaxDB software installation and subdirectories or have adequate permissions on the software installation path and subdirectories as required to manage a database instance.
- This OS User must have authority to use the DBMCLI and x_server utilities. The OS User must be able to start and stop the vserver using the x_server commands.
- The OS User name should contain alpha-numeric characters only.
- The User ID and Group ID of this OS User must be identical on all servers.
- This OS User should be designated as the owner of the SAP MaxDB software installation and subdirectories or have adequate permissions on the software installation path and subdirectories as required to manage a database instance.
- The SAP MaxDB client software packages must be installed. These packages must include the SAP MaxDB DBMCLI client utility, and the SAP MaxDB x_server utility.
- Each LifeKeeper server containing an SAP MaxDB resource hierarchy must have identical service entries in the /etc/services file for the SAP MaxDB instance.
The steps to install the software on your systems is as as follows:
Before completing these steps create a shared folder mounted onto where the /sapdb/programs will be installed to. This can be completed with DataKeeper or iscsi. To create shared storage with DataKeeper follow the steps here:
- unzip the folder in the location of the SAP installation. For a MaxDB zip file titled “SAP MaxDB 7.9 SP10-20240523T173636Z.zip” run the following command.
unzip SAP\ MaxDB\ 7.9\ SP10-20240523T173636Z-001.zip
- cd into
cd SAP\ MaxDB\ 7.9\ SP10
unzip sap-maxdb-79-sp10.ZIP
- cd into MaxDB_7.9__SP10_Build_05
SAP MaxDB 7.9 SP10]# cd MaxDB_7.9__SP10_Build_05_/
- cd into DATA_UNITS then cd into MAXDB_LINUX_x86_64/
MaxDB_7.9__SP10_Build_05_]# cd DATA_UNITS/
DATA_UNITS]# cd MAXDB_LINUX_x86_64/
- Install SAP (Press enter to accept defaults)
SAP MaxDB Installation Manager 7.9.10.04 **************************************** Please enter GlobalData [/sapdb/data]: Please enter GlobalPrograms [/sapdb/programs]: Please enter GlobalOwner [sdb]: Please enter GlobalGroup [sdba]:
- Once install completes change the login shell of the maxdb user from /bin/false to /bin/bash
- vi /etc/passwd
vi /etc/passwd
sdb:x:1003:1006:MaxDB User:/home/sdb:/bin/bash
Verify the user ID and group ID. These values will need to be recorded for implementation when the software for MaxDB is installed on target systems
Post your comment on this topic.