2019-05-16 SAP Content server 6.5

Symptom
Apache 2.4.xx version was not supported with SAP Content Server / Cache Server.

Other Terms
SAP Content server, SAP Cache server, 6.50, Apache 2.4

Reason and Prerequisites
Please compile and install the Apache 2.4 as per the steps 2648298.

Solution
Please refer to the note 514500 and download the latest build of SAP Content Server.

After the succesfull installation of Apache and Content Server, do the below manual changes in the httpd.conf file.

httpd.conf is usually located in the directory ./conf under your web server root directory. Only the points in the file that may be subject to a modification are listed here. Locate the lines in question using your editor’s search function.

  1. Port Number: The default port for the Apache installation is 80. During the installation, you are asked for port numbers for the Content and Cache Servers. The default ports are 1090 and 1095 respectively. So the port line reads: Port 1090.

  2. Module Loader: Apache has to load the Content Server and Cache Server modules during startup. The corresponding Apache command is LoadModule. Apache loads all specified modules in reverse order. The Content Server and Cache Server module load lines appear first in the list, therefore they are loaded last.

LoadModule sapcs_module modules/mod_sapcs24.so

or for Cache Server

LoadModule sapcsc_module modules/mod_sapcsc24.so

For AIX:

LoadModule sapcs_module modules/mod_sapcs24.o

or

LoadModule sapcsc_module modules/mod_sapcsc24.so

  1. Module Configuration: Almost every module has its own a specific configuration section in httpd.conf. This allows an administrator to influence the way this module behaves while it is being used in a particular HTTP request. Both the Content Server and the Cache Server require such a section. The configuration sections for the Content Server and the Cache Server are not part of the standard httpd.conf file, so they are simply added to the end of the file. Both configurations are very similar, and differ only in a few (but important) lines. These sections are shown below.

Content Server configuration section:


<IfModule mod_sapcs.cpp>
CSConfigPath /usr/users/sapcs/conf/cs.conf
<Location /sapcs>
SetHandler sapcs_module
Allow from all
</Location>
<Location /ContentServer/ContentServer.dll>
SetHandler sapcs_module
Allow from all
</Location>
<Location /contentserver/contentserver.dll>
SetHandler sapcs_module
Allow from all
</Location>
</IfModule>

 

Cache Server configuration section

<IfModule mod_sapcsc.cpp> 
CSCConfigPath /usr/users/sapcsc/csc.conf 
<Location /sapcsc>
SetHandler sapcsc_module Allow from all 
</Location> 
<Location /CacheServer/CacheServer.dll> 
SetHandler sapcsc_module Allow from all 
</Location> 
<Location /cacheserver/cacheserver.dll> 
SetHandler sapcsc_module Allow from all 
</Location>  
<Location /Cache/CSProxyCache.dll> SetHandler sapcsc_module 
Allow from all 
</Location> 
<Location /cache/csproxycache.dll>
SetHandler sapcsc_module Allow from all 
</Location>  
</IfModule>

配置底层存储驱动

StorageDriver
Type: Text
Range: SAPDBStorage, FSStorage

Each module configuration consists of a generic “header” block and a handler directive. The header block consists of the variable CSConfigPath/CSCConfigPath, which points either to the Content Server or Cache Server configuration profile.

sapcs@dms-prd01:/usr/sap/sapcs/conf> cat cs.conf
;----------------------------------------------------------------------------
; This is the configuration profile for the
; SAP HTTP Content Server/Content Server Cache on UNIX
; $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ind/contentServer/6.40/unix/cs.conf#1 $
;----------------------------------------------------------------------------
;
; GENERAL INFORMATION
; -------------------
;
; This file is made up of several sections in which a number of
; parameter/value pairs are defined.
;
; Each section starts with a heading enclosed in square brackets.
;
; For each server type there must be exactly one global section
; defined, named either [ContentServer] or [ContentServerCache].
;
; Any number of repository sections may follow, each headed by
; [contRep-<NAME>]. <NAME> identifies the repository name.
; Repository names are case sensitive.
;
; IMPORTANCE OF BACKUP
; --------------------
;
; As this file defines the access profiles for all of your repositories.
; SAP stronly recommends you make a backup after each modification.
;
;----------------------------------------------------------------------------
;
; PARAMETERS
; ----------
;
; Parameters that have been defined under the global section either
; define the overall behaviour of the server (such as tracing or security),
; or define default values that are merged into all subsequent
; repository sections (such as StorageDriver). All globally defined
; parameters can be redefined in any repository section. Then the
; redefinition is valid only for that repository, all other repositories
; remain unaffected. All parameters as well as the values specified
; in "range" are case sensitive.
;
; VALUES
; ------
;
; Two types of values can be used depending on the type of parameter.
; BOOLEAN: The values true and false are indicated by the value "1" or "0".
; TEXT:    Any number of ascii characters.
;
;----------------------------------------------------------------------------
;
; GLOBAL PARAMETERS
; -----------------
;
; AdminSecurity
; -------------
; Type: BOOLEAN
; Purpose: enables or disables basic authentication for the restricted use
; of commands that deal with the administration of repositories, certificates
; exports and traces.
; Behaviour: A "401 (Authorization required)" response together with an
; appropriate realm is passed back to the client.
;
;
; AdminSecurityGroup
; ------------------
; Type: TEXT
; Purpose: Restrict the number of users with administrative rights to
; members of this group. AdminSecurityGroup is only evaluated if AdminSecurity
; is enabled. AdminSecurityGroup is a mandatory parameter together with
; AdminSecurity.
;
; AuthService
; -----------
; Type: TEXT
; Range: NIS, Local
; Default: Local
; Purpose: Change password verification from local /etc/passwd to Network
; Information Service (aka Yellow Pages). If turned to NIS, only NIS maps
; will be used to check user authorizations. This requires that a properly
; maintained NIS environment is available. Please read the security notes
; of your NIS provider to avoid security leaks.
;
; TraceLevel
; ----------
; Type: TEXT
; Range: emergency, alert, critical, error, warning, notice, info, debug
; Purpose: Set the trace level from very informative to runtime critical.
; All traces are written into the web server's trace.
; To receive a trace entry the corresponding Web server's trace level must
; be at least the same or higher.
; WARNING: If you set a very high level, the trace file probably grows
; to an extent that consumes all of your free blocks in the file system.
;
; TraceOverride
; -------------
; Type: BOOLEAN
: Purpose: If set all trace messages will appear in the log file regardless
; of the current server log level.
;
; WARNING: THIS SWITCH IS INTENDED FOR SUPPORT REASONS ONLY AND SHOULD
; NEVER BE TURNED ON FOR PRODUCTION. The trace file very likely grows
; to an extend that consumes all of your free blocks in the file system.
;
; REPOSITORY PARAMETERS
; ---------------------
; All repository relevant parameters could also appear in the global section
; as the default for all repository sections.
;
; StorageDriver
; -------------
; Type: Text
; Range: SAPDBStorage, FSStorage
; Purpose: Sets the storage device for this repository. Although the backward
; compatibility "Storage" parameter could be used, it is recommended to define
; the storage type with this parameter.
;
; Storage
; -------
; Type: Text
; Range: ContentStorage.dll, FileSystemStorage.dll
; Purpose: Backward compatibility parameter to keep MS Windows content server
; configurations compatible with Unix configurations.
;
; ContRepRoot
; -----------
; Type: Text
; Range: Any valid system path
; Purpose: Sets the root directory for the repository. This parameter is
; mandatory if StorageDriver=FSStorage is set, otherwise ignored.
; Make sure that the server has full permissions to that directory and that
; the directory exists. The server does not create this directory.
;
; ContentStorageName
; ------------------
; Type: Text
; Range: Any valid SAP DB instance name
; Purpose: Sets the SAP DB instance name to which the server connects, in
; case this repository is being accessed. This parameter is mandatory if
; StorageDriver=SAPDBStorage is set, otherwise ignored.
;
; ContentStorageHost
; ------------------
; Type: Text
; Range: valid hostname, IP-Adress
; Purpose: Sets the hostname on which the SAP DB instance may be found that
; is specified with ContentStorageName. This parameter is mandatory if
; StorageDriver=SAPDBStorage is set, otherwise ignored.
;
; SQLTrace
; --------
; Type: BOOLEAN
; Purpose: Sets or unsets the tracing of all sql traffic to the
; database server.
; This parameter is required only for support reasons by SAP support
; personnel. Setting sqltrace to 1 produces very large trace files.
;
;
; ContRepDescription
; ------------------
; Type: Text
; Purpose: Descriptive repository text
;
; UncompressedMimes
; -----------------
; Type: Text
; Range: all, <empty>
; Purpose: Disables compression of objects. Only all or no objects at all
; could be compressed. Be careful: If set in the global all repositories
; store uncompressed. There is no switch to turn on compression for
; individual repositories again. So this parameter should be used on a
; repository level, unless uncompressed storage for all repositories is
; intended.
;
; Security
; --------
; Type: BOOLEAN
; Purpose: If set, the server checks signatures for all URLs that access
; this repository. All unsigned URLs will be rejected.
; To use repository security, a certificate has to be issued from the SAP system.
;
; DefaultDocProt
; --------------
; Type: TEXT
; Range: c,r,u,d
; Purpose: Restriction of the access rights to this repository.
; The letters may be concatenated (e.g. "c", "cr", "crud").
; See the KPRO HTTP Protocol Definition for further details.
;
;
;----------------------------------------------------------------------------
; Content Server Cache Parameters
;----------------------------------------------------------------------------
;
; CacheThreshold
; --------------
; Type: INTEGER
; Range: 0 - 100
; Default: 70
; Purpose: Maximum storage usage ratio in percent. Cache server starts cache
; reorganisation if this threshold limit is exceeded or storage space is
; insufficient for the next document.
; Setting the ratio to 100% is not a good idea since this increases not
; only the number of reorganization jobs but can also lead to a system lock
; down in case the cache repository is located in a file system.
;
; MaxReorgProcs
; -------------
; Type: INTEGER
; Range: 1-20
; Default: 5
; Purpose: Limit the number of concurrent cache reorganisations. However,
; this parameter works only on file system caches. The number of concurrent
; database cache reorganisations cannot be changed by a parameter. The
; default of 5 concurrent reorganisations should be sufficient even under
; very heavy load conditions.
;
;----------------------------------------------------------------------------
;----------------------------------------------------------------------------
[ContentServer]
TraceLevel=warning
AdminSecurity=1
AdminSecurityGroup=sapsys
ContRepRoot=/usr/sap/sapcs/contrep
ContentStorageHost=yccsraps
ContentStorageName=GCS
StorageDriver=SAPDBStorage
PSEDir=/usr/sap/sapcs/security
[contRep-CS]
ContentStorageHost=172.16.120.121
ContentStorageName=GCS
Storage=ContentStorage.dll
Security=0
DefaultDocProt=rucd
ContRepDescription=SRM content server

[contRep-ZTEST_DMS]
ContentStorageHost=172.16.120.121
ContentStorageName=GCS
Storage=ContentStorage.dll
Security=1
ContRepDescription=ZTEST_DMS

[contRep-ZGCP_CR]
ContentStorageHost=localhost
ContentStorageName=GCS
ContRepDescription=GCP Content Server
Storage=ContentStorage.dll
Security=0
DefaultDocProt=rucd


SAP Content Server
General Architecture

General Architecture

Knowledge Provider is a component of SAP Web Application Server and provides the general infrastructure for storing and administrating documents. The Content Server and the Cache Server are server components that interact with the Knowledge Provider.

SAP Content Server

The SAP Content Server is a stand-alone component in which a large quantity of electronic documents of any format and with any content can be stored.

The documents can be saved either in one or more MaxDB instances or in the file system.

Applications can access Content Server for uploading/downloading documents via Knowledge Provider APIs or directly by providing HTTP URLs

API-RFC

SAP Cache Server

The SAP Cache Server serves the following purposes:

• To provide a seamless and transparent caching facility for existing Content Server landscapes

• To drastically reduce client response times

• To ensure that caching requires as little administration work as possible

Cache servers are used in distributed environments to store documents at a location close to the relevant client, and thus to allow faster access to document content. To do this, the Cache Server creates and stores “working copies” of documents from the Content Server. This also reduces network load, as no remote content server has to be accessed when a client requests read access to a document. Cache servers are similar to content servers. However, with cache servers, little administrative input is required, and access protection is maintained. The central document management functions in the SAP System make sure that out-of-date document versions that are still in the cache are no longer accessed and are eventually deleted.

If the client and the Content Server have the same location, the documents do not (usually) need to be cached. In these cases, the requested URL is sent directly to the Content Server and the content is obtained directly from the Content Server.

The current version of SAP Content Server is 6.40 which will be phased out. The new version of SAP Content Server is 6.50 and this will be made available from May 2014.

Please find more information regarding SAP Content Server 6.50 here.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 204,189评论 6 478
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 85,577评论 2 381
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 150,857评论 0 337
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 54,703评论 1 276
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 63,705评论 5 366
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,620评论 1 281
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 37,995评论 3 396
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,656评论 0 258
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 40,898评论 1 298
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,639评论 2 321
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,720评论 1 330
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,395评论 4 319
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 38,982评论 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,953评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,195评论 1 260
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 44,907评论 2 349
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,472评论 2 342

推荐阅读更多精彩内容