cFolders/cProjects contents storage on HTTP Content Server
I am sharing this document since I could not find all these information in a single place to configure external ‘Content Server’ for the contents stored in cFolders & cProjects.
SAP provides content servers as a standard technology for storing files. The cFolders application uses content servers for two reasons:
- To avoid mass traffic and storage on the cFolders base server: Files are very big compared to HTML communication. This applies both to the mass transfer via HTTP for uploading or downloading and to the file storage itself, for which the content server is optimized. The Web Application Server (WAS) is not optimized for this.
- cFolder users can be in different geographical locations: For example, SAP has three main locations in Germany, America, and India. To optimize network traffic and speed, files can be stored on different content servers directly associated with the locations
cFolders is shipped with a predefined set of content categories (CFFCONTENT and CFFURL) and associated storage repositories (CFF and CFFURL).
But these content categories are linked to SAP WAS database directly & all cFolders/cProjects contents will be stored in the SAP WAS database.
If a separate storage server has to be set-up to store all cFolders / cProjects contents, then the following procedure has to be followed.
1) Content server installation, RFC connection between Content Server & cFolder system.
2) Configuration in cFolder/cProject system
I am skipping step no.1, since it is more of common BASIS related activities.
In step no.2, there are few activities which are to be carried out in sequence.
a) Creation of ‘Content Repository’
b) Content administration
c) Creation of ‘Storage Category’ for content repository
d) Change of ‘Storage category’ in Document Model workbench
a) Creation of Content Repository:
In Customizing, select SAPNetWeaver –> Application Server –> Basis Services –> Knowledge Provider –> Content Management Service –> Define Content Repositories.
T-Code –> OAC0
1. Choose Content Repository –> Display/Change.
2. Choose Content Repository –> Create.
3. Enter a name and a description for the content server.
4. Enter CFF in the Document Area field and HTTP in the Storage type field.
5. Enter Version number, HTTP Server, Port number, HTTP Script & Physical path of the Content server.
b) Content administration:
To navigate to ‘Content administration’ either click ‘csadmin’ button in the content repository created or use
T-Code –> CSADMIN
1. Create the repository settings in ‘Settings tab’ and change the security to ‘0’
2. Send certificate & activate in ‘Certificate tab’
3. And ensure user ‘SAPCS’ is having root access(UNIX).
c) Creation of Storage Category for Content repository:
In Customizing, select SAP NetWeaver –> Application Server –> Basis Services –> Knowledge Provider –> Define Content Categories.
T-Code –> OACT
1. Create a Storage category
2. Enter a category and description and then enter CFF in the Document Area field.
3. Enter the name of the newly created content repository in the Content Repository field.
c) Change of document storage category in Document model workbench:
This step is very important & has to be done carefully since we are repairing the original settings and this is the step which leads to linkage of content server to cFolder/cProject system.
T-Code –> DMWB
1.On the Document Modeling Workbench, drill down to CFF area and then PHIO classes.
2. Double click the below classes to view the default storage category and change it to the newly created Storage category “ZCFF”.
|Classes||Default Storage Category||New Storage Category|