Technical Articles
SAP Content Server 7.53 Installation and Connectivity with ERP using SSL
SAP Content Server 7.53 has been released in October 2019. It includes important features such as as per the note 2856736 – SAP Content Server 7.5: Support for large documents Content Server 7.53 can process documents that are larger than 4 GB with proper parameter tuning. As SAP Recently released this new version of Content Server after Content Server 650, this blog post helps you to install Content Server 7.53 and establish connectivity with ERP using SSL.
1. Database and Operating system requirements:
Database: We are going to install Content Server 7.53 in which File System will be used as the storage of the documents, if you are planning to install MaxDB 7.9 as database for Content Server 7.53, then you can do that as Content Server 7.53 also supports MaxDB 7.9 as Database.
Operating system: Below are the supported operating systems for SAP Content Server 7.53:-
- AIX 64
- LINUX ON X86_64
- SOLARIS/SPARC 64
- WINDOWS FOR X86_64
You can get the above information in details from PAM
Here we are using WINDOWS SERVER 2019 LTSC 64BIT Operating System to Install and configure SAP Content Server 7.53
Please refer below notes for more information:
2786364 – SAP Content Server and Cache Server 7.5 (and higher)
Also, please refer SAP installation guide by clicking here for more details.
2. Download Media:
Installation media can be downloaded from below path:
https://launchpad.support.sap.com/#/softwarecenter
2.1 SWPM:
SAP strongly recommends to download and use latest SWPM, we are using Software Provisioning Manager 1.0 SP28 as from SP28 SAP provides the option to install SAP Content Server 7.53.
INSTALLATIONS & UPGRADES -> By Alphabetical Index (A-Z) -> S -> SL TOOLSET -> SL TOOLSET 1.0 -> INSTALLATION -> 51054279_15 (SOFTWARE PROVISIONING MGR SP28 SWPM10_IM_WINDOWS_X86_64)
2.2 Content Server Package:
Download SAP Content Server 7.53 installation package
SUPPORT PACKAGES & PATCHES -> By Alphabetical Index (A-Z) -> C -> SAP CONTENT SERVER -> SAP CONTENT SERVER 7.53 -> SAPCS_SP_522-80004899.SAR
2.2 SAP Host Agent:
Download latest SAP Host Agent
INSTALLATIONS & UPGRADES -> By Alphabetical Index (A-Z) -> H -> SAP HOST AGENT -> SAP HOST AGENT 7.21 -> SAPHOSTAGENT45_45-20009417.SAR
3.Technical Prerequisite:
3.1 Minimum Disk Space:
Disk space can be calculated with the help of SAP Sizing tool , as this is Test Landscape hence we are considering 50 GB of space.
Space can be checked on OS using below powershell command and check for SizeRemaining:-
get-volume
The output looks like the following:
3.2 Minimum RAM:
RAM requirement can be calculated with the help of SAP Sizing tool , as this is Test Landscape hence we are considering 8 GB of RAM:-
RAM can be checked on OS using below powershell command and check for TotalPhysicalMemory:-
Get-WmiObject Win32_ComputerSystem
The output looks like the following:
3.3 Paging File Settings:
Paging File requirement can be calculated with the help of SAP Sizing tool , as this is Test Landscape hence we are considering 1 GB of PageFile size
SAP doesn’t support automatically managed page file sizes, to check the if page file sizes is automatic is not, use below powershell command-
(Get-WmiObject Win32_Pagefile) -eq $null
If Automatic manage pagefile size for all devices is enabled, the output value is True.
To disable Automatic manage pagefile size for all devices with the following command:
$sys = Get-WmiObject Win32_Computersystem –EnableAllPrivileges
$sys.AutomaticManagedPagefile = $false
$sys.put()
Check the size of the paging files with the following command:
Get-WmiObject WIN32_Pagefile | Select-Object Name, InitialSize, MaximumSize, FileSize
The output looks like the following:
3.4 Back-end SAP ERP Requirement:
According to Installation guide, Release 4.5B or higher of the SAP system as certificates can only be used together with an SAP system release 4.6B or higher.
In order to be able to perform administrative tasks using transaction CSADMIN, you may need at least Release 4.6C version of the SAP system.
Here we are using SAP ERP 6.0 EHP 8
3.5 File System Type:
We need to check that we are using the Windows file system NTFS on hosts where we want to install the SAP system and database. NTFS supports full Windows security and long file names.
File System Type can be checked on OS using below powershell command and check for FileSystemType:-
get-volume
The output looks like the following:
4. Installation:
Extract the SWPM using latest SAPCAR downloaded at step 2.1 using below command:
<Full Path of SAPCAR> -xvf <Full Path of SWPM> -R <Full Extraction Path>
D:\sapcar.exe -xvf D:\SWPM10SP28\SWPM10SP28_0-20009707.SAR -R D:\SWPM
The extraction looks like the following:
Start sapinst with below command from SWPM directory:-
.\sapinst.exe
this will open SWPM home page for the installation options.
Choose the SAP Content Server installation option in the SWPM menu, then “Generic Options” (at the very bottom of the list)-> “SAP Content Server”-> “SAP Content Server and SAP Cache Server (7.5 and later)”
and Click Next
Select Option Custom and Click Next
Put SID of the Content Server and the Drive to install Content Server application
Put complex master password and click Next
Selected option Different Domain in my case and enter the domain host, you can use as per your requirement and Click Next
Put complex password of <Domain>\<SID>adm and <Domain>\SAPService<SID> and Click Next
Browse the path of SAP Content Server Installation Package downloaded at Step 2.2 and Click Next
Browse the path of SAP Host Agent downloaded at Step 2.3 and Click Next
Select Local Domain for SAP Host Agent and Click Next
Put Password for <Domain>\sapadm and Click Next
Select SAP Content Server and Click Next
Check Instance Number and Hostname and then Click Next
Enter all relevant values and Click Next
Check all the Parameters again and then Click Next
Execution Phase Continues
Execution Finished Successfully and Click Exit
Login to Content Server Host and check for status of Content Server instance using SAP MMC
Content Server instance as been started and working.
5. Post-Configurations:
Make sure Content Server is responding with http and https links:
http://<hostname>:<httpport>/sapcs?serverInfo
https://<hostname>:<httpsport>/sapcs?serverInfo
Below output should be displayed:
Goto Tcode OAC0 in SAP ERP system and Create new repository as below and Click CS Admin:-
Add the below parameters in Content Repository settings and Click Save.
Note: These Parameters are for FileSystem as Storage, so parameters are different for MaxDB as database.
You also need to create location D:\contrep on Content Server host.
Goto Certificate Tab –> Click on Send Certificate –> Activate the Certificate
Make Sure Repositories are running in tab Overview
Test the repository using report RSCMST and make sure results are as per 2888195 – Content Server 7.53 and report RSCMST i.e. Report RSCMSTH0, RSCMSTH1 and RSCMST2 should be GREEN
6. Setting Up SSL:
Goto Content Server from OS level and login with <sid>adm
and execute the below command to generate server certificate:
this will generate a certificate file in the location as below:
Copy this certificate to your local desktop.
Login to ERP and goto tcode STRUST and add this Certificate in System PSE:-
Do the same for SSL Server Standard(ICM restart may be required to take effect)
Goto Tcode OAC0 and Add HTTPS port to configruation.
Select HTTPS possible for HTTPS on frontend(if option doesn’t appear then use %https in tcode area)
Click Save
Do the tests again using report RSCMST:-
Now SAP Content Server 7.53 is ready to use with SSL. BEST OF LUCK!!
7. Conclusion:
In this blog post we have discussed the SAP Content Server 7.53 installation with SSL connectivity with ERP.
THANK YOU..
Hello, I'm Installing the Content Server like you, without MaxDB.
the installation finished succesfully but I cant check the url
http://localhost:1090/sapcs?serverinfo
If I open the windows IIS manager I can't find the website( like older installation of sap content server)
Did you have any issue about that?
Thanks.
Hello,
SAP Content Server 7.53 no longer uses windows IIS for hosting content server website. ICM has been introduced in Content Server 7.53 which takes care of the website.
About the URL, it seems you are accessing link from same host where Content Server is installed, have you checked accessing url with hostname instead of localhost from remote host?
Can you please share contents of hosts file from location (C:\Windows\System32\drivers\etc)?
Thanks
problem solved the correct url for test the connection is
http(s)://<hostname>:<port>/sapcs?serverInfo
thi letter i for info is in uppercase.
Hello Jaskirat Singh,
SAP IQ database connected to the SAP Content Server 7.53 allows you to store all kind of files when you created a content repository based on SAP IQ.
See the Blogs - https://blogs.sap.com/2021/02/17/sap-ilm-store-based-on-sap-iq-database and https://blogs.sap.com/2020/05/07/sap-sybase-iq-the-hidden-treasure-.../
Best Regards Roland
Hello,
ILM/IQ are nice solutions for KPRO, but in case of restore of 1 corrupted/deleted document, you need to restore whole DB/TS/Container + produce GLOBAL outage for whole ILM/IQ for all having DATA there, which is big disadvantage ;).
If you don't want to have GLOBAL outage, you need to have additional SERVER/Sandbox, to extract the DATA from the IQ DB after restore/recovery of the Original DB/TS/Container. Time/work for configuration TMP repositories from which you can move the data to Original repositories. => Next delay/effort in this restore case as well.
+
License for IQ/DB is additional fee (in terms of SAP contract).
Vs.
For KPRO without DB (filesystem based only), you can easily restore only 1 file (FS backup/restore methodology) and then re-upload it via SAP transactions without producing GLOBAL outage for all other repositories without need of additional server for restore.
BR
DXC
Hello Kira Cornelius
that is the reason why ILM and KPRO will never be together in one Implementation. Furthermore, even you would try, the ILM Store had to be configured as HTTP dues to the issues from KPRO and HTTPS.
Never the less, even that SAP developed ILM and KPRO in any fashion, the usage of an column compression based Database was never considered in the past and what we see today what SAP (Sybase) IQ can archive brings rather fear into these eyes then joy ...
SAP (Sybase) IQ – the hidden treasure …
Best Regards Roland
Hi,
thank you for your explanation.
I installed the ContentServer like you and everything finished succesfully.
Check the url via HTTPS works:
https://<hostname>:<port>/sapcs?serverInfo
But with HTTP i cant get connection. DNS Error
http://<hostname>:<port>/sapcs?serverInfo
Also oac0 doenst work: error: NIECONN_REFUSED
Did you have any issue about that?
Hello,
Have you selected 'Yes' for the HTTP port while installing the CS?
Please check if HTTP value is there for parameter icm/server_port_1 in instance profile of Content Server.
if yes, can you please post your instance profile here
Hello,
yep thank you didnt selected 'YES' for the HTTP Port while installing.
Can i change it without deinstalling?
Hello,
Yes, you need to add below parameter in instance profile...
icm/server_port_1 = PROT=HTTP, PORT=1090
Please take Content Server restart after changing the parameter.
then try to access with http link
Hi,
thank you for your help..
How can i add the parameter in instance profile? In transaction RZ10?
I did it but doesnt work yet.
Hello,
You need to goto profile location from OS which is for windows <Drive>:\usr\sap\<SID>\SYS\profile\<SID>_C<NR>_<HOSTNAME> and for unix /usr/sap/<SID>/sys/profile/<SID>_C<NR>_<HOSTNAME> and open file in notepad and add line to that file.
Hi,
thank you it helped. Now i both connectiontests works fine.
Connection test in oac0 also OK.
But when i go to csadmin i receive HTTP Error: 401 Unauthorized
Do you have an idea?
Hello,
Please try to add parameter Security=0 in the settings of repository in CSADMIN tcode.
then try to do steps again.
I tried it, it doesnt work same error. I have to enter user and password for ICM_Authori
if i do so.. same error again.
Hi Jaskirat,
Really useful blog. Could you provide the steps needs to be done, if I need to use MaxDB as storage.
Hello Anjan,
I am working on this, will let you know.
Hi Jaskirat,
Thanks. I managed to find it in SAP Note 2786364.
Hi Jaskirat,
is it possible to use the Content Server without an HTTP Port? Only HTTPS on Port 1091?
br
Hello Patrick,
Yes, you can.
You just need to change HTTPS on frontend and HTTPS on backend settings in OAC0 to HTTPS Required:-
Thanks for your reply, but there are no HTTPS on frontend and HTTPS on backend settings in OAC0 for my repositories.
Hi Patrick,
While in transaction OAC0, type in %https in the Command Window. You will then see HTTPS on frontend and HTTPS on backend option.
Jaskirat has mentioned this in section "Setting up SSL", about a page into it.
Cheers
Gurpreet
Thanks for detailed information.
when we do connection test in OAC0 does it take default of 1090 or both 1091 ?
where else https configuration is checked ? i mean when you run the report RSCMST and do test execute everywhere i see log with http 1090 port.
Can you help me understand where else this SSL configuration is used
Hi Jaskirat,
Thank you for your helpful blog. I followed your steps and the connection test for content repository was successful. But running the report RSCMST gives an error for RSCMSTH2.
UPDATE:
The problem has been solved after implementing the note 0002586332
Thanks
Hi Jaskirat
Kindly reply to my above queries, which is more urgent.
Thanks
Ahmed
Hi Jaskirat,
thank you for this documentation. I just finished mine and it looks nearly the same. =)
The only thing missing where the "websites" to check the health.
The site for the content server
http://127.0.0.1:1090/sapcs?serverInfo
is working fine. I only miss the list of the defined repositores like in the "old" contentserver info site.
The site for the cache server doesn't work.
http://127.0.0.1:1095/sapcs?serverInfo
Both instances are running.
Do you have more information?
Kindly
Massimo
Hi.
I found the solution in the deep of the SAP Help Portal. For the cache server you need a "c" more. =)
http://127.0.0.1:1095/sapcsc?serverInfo
Still missing the disc space usage and the repositories.
Hello Jaskirat,
Thanks for the excellent documentation.
I followed the setup and now in the last step I get an error when testing the archive:
Do you have a idea what I did wrong?
Kind regards,
Erik Leemans
Hi.
Should the customer buy a product license for Content Server?
Regards
Hi Jorge
You do not need separate license for SAP Content Server. I am assuming you have license(s) for other SAP products (ERP, SRM etc).
Cheers
Gurpreet
Hi I have a qouple of questions
Regards Sigurdur
Hello Sigurdur,
Yes it is always better to use MaxDB over filesystem as database stores the data in more structured way which results in better performance even with huge data.
Yes, both way it is possible, for more details you can check below links which has much more details on this:-
https://blogs.sap.com/2019/12/09/content-repository-migration-in-mind/
https://blogs.sap.com/2019/12/12/content-repository-migration-in-mind-part-ii/
https://blogs.sap.com/2019/12/25/content-repository-migration-in-mind-part-iii/
https://blogs.sap.com/2020/05/06/content-repository-migration-in-mind-part-iv-error-in-migration/
Hi,
In our case it's better to have FS based Content server. as it's better to manage unexpected situations.
When only 1 end user delete some DATA/Documents (see comments in ILM/IQ upper).
BR
DXC
Hi Jaskirat Singh,
Neat explanation it helps a lot
Thank you Jaskirat Singh,
We managed to install, configure all communications seems ok for Content Server MaxDB.
The only thing that we are having issues with is the verification, how do we check the database to verify that documents are stored correct in the database as well as documents being migrated.
(Checks between the before and after – with File server that was easy)
We found this link but the commands seems outdated and i cannot find an updated document.
infospire.net/keep-your-sap-database-lean-and-mean
Alhough all connections work and I am able to store and retrieve I am getting an error on program “RSHTTP52″”Connect Error: Connect to Host 199.19.199.19 Port 1090 error: NIECONN_REFUSED”
Then how do we verify in the database that the document is stored?
Your advice / help will be much appreciated,
Regards,
Linda Allison
Hello Linda,
I mostly use report DMS_KPRO_CHECK1 to count number of documents which are stored in the Content Server.
If we want even to check if we are able to open the document or not, then we need to open the documents from ABAP layer itself(depends on how Content Server is configured).
Regards,
Jaskirat Singh
Hi Jaskirat,
I seem to have worked out a system to verify, thank you for your feedback.
regards,
Linda
Dear Jaskirat,
Many thanks for the detailed blog. Had a query, was wondering if you could provide your inputs regarding the same.
Can we connect the content server with sap po to access the files from the sap cs repositories, if we want to send the files to third party SFTP server ?
// Thanks
Tapas Tarun
thanks for the information
could you help me with this error below:
Microsoft][ODBC SQL Server Driver][Shared Memory]SQL Server does not exist or access denied.
the stutus of the ropositry : offline
i really appreciate your help .
Is it possible to connect multiple SAP ECC systems (Dev & Quality) with same SAP Content server? Or do I need to install separate Content server for each SAP ECC systems connectivity?
Thank you.
Hi Chandresh,
We have installed a few clients and we have normally 2 content servers, one for Dev & Quality and one for Production.
Hope this helps,
Regards,
Linda
Hi Linda,
Thank you for prompt response. This is what I was looking for, I will check for process from my end to connect Dev & Qty both with single content server.
Regards,
Chandresh.
Hi,
I am now trying to activate HTTPS. Port 1091 is open on our system we did a test from SAP back end, but when I enter the SSL Port number in OAC0 I can send the certificate but when I want to test I get the error:
Error in HTTP Access: IF_HTTP_CLIENT->RECEIVE 1 SSL handshake with (IP):1091 failed: SSSLERR_PEER_CERT_UNTRUSTED (-102) The peer's X.509 Ce
Message no. CMS166
Any idea what / where the issue is?
Regards,
Linda
Hi Linda Allison,
This error occurs due to your backend not being able to verify the SSL certificate, being used by Content Server.
if the certificate is a self-signed one then in STRUST on the backend system add the certificate to the Certificate list of SSL Client SSL Client (Standard), if it has been signed by a CA (internal or public) ensure the root and all intermediate certificates have been added to the list, that where used to issue the certificate.
Regards
Sunny
Hi Sunny,
Thank you for the quick response, much appreciated.
Regards,
Linda
Hi Sunny Ghataura,
Just want to say thank you, adding the certificate sorted out the issues.
regards,
Linda
We are currently on CS 6.5 Where can we find documentation to upgrade to 7.5?
Good day T. Debackere,
We have done an installation on Windows for MaxDB, I will share some links that assisted us, hope it helps:
https://itsiti.com/steps-to-install-configure-sap-content-server-7-53-file-system-on-linux-suse/
https://maxdb.sap.com/training/expert_sessions/SAP_MaxDB_Content_Server_Architecture.pdf
Regards,
Linda
Hi.
Kindly help on this issue..
SQLConnect failed: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, ec=0, rc=-1";
Hello Palanichamy,
SAP has provided solution to this error under sap note 2036696 - Connection to a repository is not possible
Please try the note.
Regards,
Jaskirat Singh
Hello,
what would the requirements be, if i want to Monitor a Content Server with a Solution Manager? Just install the DAA and be happy? or are special steps needed in order to connect properly with the Solman?
Thank you very much for your time!
Have a nice Day
Hello Alessandro,
You can monitor SAP Content Server and MAXDB separately from SAP Solution Manager 7.2.
Check SAP note 2773751 - Technical Monitoring for Content Server with MaxDB for further details.
Regards,
Jaskirat Singh
Dear Jaskirat Singh,
Dear Jaskirat,
Thanks for the excellent blog related to CS 7.53.
I am unable to find any document related to configuring the HTTP Content server 7.53 using MaxDB as storage type.
Could you please share the post steps to configure Content Server using MaxDB as storage.
Thanks,
Mahendra R
Hello Mahendra,
There is a SAP note with many useful information about it, you can use it to configure your repository settings from OAC0 and CSADMIN
https://launchpad.support.sap.com/#/notes/329473
Hi Sir,
Can you please share the same installation for SUSe Linux 15.
Best Regards,
Pankaj
Hi Jaskirat,
I assume all documents are stored in one directory/share on the filesystem or does Content Server also use subdirectories?
When stored on the filesystem, does Content Server provide a specific name for that document? I'm trying to find out how easy it is for the customer to recognize a document because they want to be able to open the documents from OS-level as well.
Regards,
Rob
Thanks for the good explanation , what is the recommended backup strategy for content server 7.53 with filesystem storage .
Thanks for the blog. When I installed content server 7.53, it doesn't really need a DB. If I install MaxDB, it is a different installation. My question is how CS 7.53 is related to MaxDB? How do they work together? Can you explain more and I have yet to find any blog that explains this.
Does MaxDB only come into play when you define the respository in CSADMIN/OAC0? It looks to me that CS 7.53 and MaxDB are totally unrelated to each other.
Thanks for the Blog.
I have lost 2 hours to try to find a sapnotes about SSL configuration, until I read the post (thank you Google, not Launchpad search), every transaction (sapgui cv02n or fiori survey attachment document) continue to try to use HTTP with only SSL port configured in CSADMIN (!?)
The "easter eggs" with %https to mask/unmask SSL requirements was certainly fun for ABAPer but just innappropriate in this place !
Many thanks for the guide installation!
It helps a lot!
After the installation, what is the next step ?
- How to store document in the content Server ?
- How to store SAP office document in the content server ?
I have a problem with a cache server installed on the same server. Configured for port 1096 and want to use only https.
How do I send certificate from ERP system to cache server? The defined way for content server does not work for cache server because there no button for sending the necessary certificate.
Any idea? OK-Code %HTTPS does not help in this situation
Hello,
Chapter 6 is wrong.
add this Certificate in SSL Client.
Very helpful article and great engagement answering all the questions in the comments. Thank you!
Thank you for the detailed documentation.
I have a query, currently, our landscape has Content Servers and Content Cache servers on the 6.50 version. For one of the contact cache server the Windows OS needs migration from WS 2012 to WS 2019, so we must install the content cache server newly on the new OS WS 2019.
Is it possible to Install Content cache server 7.5 on a new server (Win OS 2019) and connect it to the existing setup of Content servers version 6.50?
Is the content cache server downward compatible with content servers? If yes are there any specifics one must take care of.
Hi,
It was a very helpful article. But I have a question to ask. We have configured the SAP Content Server in our SAP Landscape and moved all the data from the SOFFCONT1 table to the content server. We tested the scenario that what happens once the content server is down or not available somehow, does the document still get uploaded? It turns out that yes documents are still stored in SAP HANA DB even if the content server is not available. So the new question which arises is where that attachments or documents stored then? In which SAP table? How can we move those attachments which are stored in sap tables back to the content server after the content server is turned on?