content server installation in Linux
This guide contains step by step screenshots of SAP Content server installation in SUSE Linux for beginners.
CS installation involves in the below steps:
- User creation
- Apache installation
- Content server installation
- Post installation activities
- Content Repository creation in SAP server
Create the New user sapcs and group sapsys in the linux host.
create the new user with home directory /usr/users/sapcs
if you want install only content server login sapcs is enough, if you want to install cache server along with content server, we need to another login as same as sapcs with name of sapcsc
Apache server Installation:
There is inbuilt apache server available in Linux servers. But that is not suitable for sap content server installation. So download the apache binary file for Linux from the below link.
Copy the zip file to server in dump location. Login as sapcs user and Unzip the a folder. Goto the folder and execute the following commands
configure –prefix=/usr/users/sapcs/ –enable-mods-shared=most –with-mpm=prefork –with-expat=builtin
To create the make file
OS> make install
Check the below SAP note for apache server configuration
Note: as per sap recommendation, we need to install the apache server in the sapcs login home directory
Start the installation from swpm.
select Install database instance also. select Cache server if you want to install. in this document i explained only the installation of Content server alone.
use the default values here.
provide the password here for login control and superdba. use the same password what we provide earlier.
select File system. create the required file system before start the installation (/sapdb//SDB/log, /sapdb/SDB/sapdata) etc.
installation is completed.
To check content server whether working or not, use the below URL, and it give output as server details, start time and versions etc.
Post Installation Activities:
Change the cs.conf file permission to 777
change the permission of directory security to 777
Just ensure the below entry available in httpd.conf file in /usr/users/sapcs/conf
Finally the content server is ready, create the content repository in required SAPserver (t.code oac0)
please reply me if any changes required.
Assigned tags
Good document. Thanks a ton for sharing the information.
Hi Balaji, Good document and will benefit many others!
Do you know if the content server on Linux with maxdb or filesystem can allow check in large files (more than 2GB) from DMS?
This is a limitation with the Windows CS MAXDB system.
Check this Note:
Thanks for replying to my query. We are on the Windows Server OS and know the limitation with IIS with the 2GB limitation. I think at present, only UNIX has overcome this limitation.
If to make a switch from Windows to UNIX, how big effort is that. Any reference document in regards to the Windows 2 Unix will he helpful.
Do you know how to change the default password of sapr3, Once i changed the password, the content server is not accessible with below message:
serverType=»SAP HTTP Content Server»;serverVendorId=»SAP AG»;serverPatch=»1″;serverStatus=»running»;serverDate=»2015-03-19″;serverTime=»02:39:50″;startUpDate=»2015-03-19″;startUpTime=»01:08:45″;lastAccessDate=»2015-03-19″;lastAccessTime=»02:36:06″;
contRep=»ZZZ»;contRepStatus=»offline»;contRepStatusDescription=»SQLConnect failed, [SAP AG][LIBSDBOD SO][SAP MaxDB] General error;-4008 POS(1) Unknown user name/password combination, Error Code: -4008″;
why do you recommend to not use the built in apache of Linux?
Did you tried it and faced any issues?
In addition do you have a document which shows the installation purely with terminal commands?
Yes, we can use the built in apache, but we need to create some links to sap user ids and that home directories. Also sap recommended to install the apache in the home directory of content server user, not to create symbolic links. so only we manually compiled the apache distribution. below for your reference.
If you want to use an Apache installation that has been integrated into your system already, you have to either manually create or soft link the ./conf and ./libexec (./modules for apache 2.0/2.2) directories under $HOME for
Источник
DMS Step-by-Step instalation (SAP Content Server)
The instalation
The instalation of SAP DMS is a easy task if you came from infrastruture or see Linux servers as a buddy. But, if you aren´t a infra guy, or Linux isn´t your best friend, the instalation of the SAP DMS will not be too easy as the SAP manual tells it is. Of course, if you have background with Linux it will be easy, but, strong background with Operational Systems and Database as well, it is not a “pre-requisite” to be a Basis guy.
I buit this little and simple manual to help you to install SAP Content Server (called by the old school as “SAP DMS”) and turn your life more simple and easy. But do not forgeth: Always use the SAP networks, Forums and notes before start any instalation. Thousands of new notes are released every single day and maybe, the way you judge is the right, isn´t anymore.
Preparation
As part of a SAP product, the instalation must be prepared. If your infrasture guy is smart and he if he did any instalation for SAP products before, maybe the server will be ready to the instalatio. But belongs to the BASIS as normal activities, revision of the server instalation and if it is compliance with SAP requirements. Here I will describe the most importants:
Hostname
Check if the hostname has equal or less than 13 characters. Check SAP Note 611361 – Hostnames of SAP servers
Check if the server has enough SWAP configured. Check SAP note 1597355 – Swap-space recommendation for Linux
Linux
Check if the Linux is supported by SAP. Check SAP note 171356 – SAP Software on Linux: General information
Language
Check if the Linux is installed using English as default language.
Updates
Check if the server is updated.
Midias
Check if all midias for the instalation are available. It is better if it is copied to local folder/mount point. For the Content Server, it will be necessary:
- SWPM
- MAXDB RDBMS
- Files for install of the Apache webserver (available http://www.apache.org/dyn/closer.cgi)
Enough space
Of course, you need to check if there is enough space for the instalation and for mainly for save your documents in according of the Size done for the amount of the documents. A simple way to check it is using the command df-kh
This is an example of disks configuration for DEV server. For this landscape, it is not necessary large disks because that´s no reasons to use this server to save all documents, but for production servers, consider use scalable large disks
Instalation
The instalation procedure has three phases:
- Users creation
- Apache instalation
- SWPM
Following I will describe in details each one.
Users creation
For instalation of SAP Content Server over Linux, the first step is to create the credentials that Apache will use to run. Avoid run apache under root credentials due security issues.
These credentials that will be created now is for use of the Apache HTTP. The recommendation is create the user with home folders. Later, the Apache will be installed on these users Home. These credentials don´t need special PIDs or functions and the naming you decide that. For convenience, create the users in a way you can remenber the proposal for that. On this example, I created the user CSDCS. Let me explain the name:
- The first 2 letters refers to SAP Product
- D refers for development; Following this idea, Q for QAS and P for Production
- CS for Content Server. The Content Server product is compounded by Content Server and Cache Server. The both will have his own Apache and Databases.
This is just a way to create, but you deal.
If you plan to install cache server, you must create the user for cache server apache. Here an example for user creation for Content Server and Cache Server.
Apache instalation
Get the Apache instalation files from Apace foundation. Extract the source files and change the owner of it for the users you´ve created.
I decided to use the following folders structure
SRC_APACHE is the folder where resides the source of the Apache (in the future can be removed).
HTTP is the folder where the Apache will be installed and run.
Note that each one CSDCS and CCDCS have the same structure.
Once you have extracted the files, enter in the folder and run make and before make install
Check the results of these commands and if no error message occurs. If no error found, its time to install the Apache on the home folders. To do that, run the command:
./configure –prefix=/ –enable-mods-shared=most –with-mpm=prefork
Do that for the Cache Server user as the same way.
The SWPM is the tool developed by SAP to install his softwares. From now, you just ask the tool with the informations you have been collected for the install.