Functionality
You can prevent data from being written to the Portal Content Directory (PCD) by activating write-protect mode. For example, you can activate write-protect mode when migrating data from an old portal system to a new one in order to prevent data from being written to the old system during this time. Described below are all the different ways that you can activate the write-protect mode for PCD.
Procedure 1:
1. Start the Visual Administrator.
2. Choose Global Configuration ® Server ® Services ® com.sap.portal.pcd.gl.
3. The properties of the service are displayed:
a. Pcd.Pl.WriteProtectActivated defines whether or not write-protect mode is
activated. By default it is set to false.
b. Pcd.Pl.WriteProtectCause describes the reason that write-protect mode is
activated. This information appears in the log files.
4. Activate write-protect mode by entering true as the value for Pcd.Pl.WriteProtectActivated.
5. Click Update and then click Save.
A confirmation dialog box opens.
6. To apply the changes to all cluster elements, click yes.
The Reset dialog box opens.
7. To restart the service, click yes.
8. To reset the default values, click the Reset Default Global Properties icon
Procedure 2:
Use SAP NetWeaver Administrator to update the following properties: 1. Pcd.Pl.WriteProtectActivated defines whether write-protect mode is activated. By default it is set to false. This has to set to true
2. Pcd.Pl.WriteProtectCause specifies an explanation why write-protect mode was activated. This information appears in log files. This has to set to true
To change a setting, open the Java System Properties of the NetWeaver Administrator, select the Services tab, and modify the settings for PCD Generic Layer (com.sap.portal.tc.pcd.gl.srv)
Components affected by the change
Component | Effect |
Portal | Object editors are either not available at all or have limited functionality. For example, portal administrators cannot import or export packages using the Package Transport Editor. They also cannot create new objects, delete objects, or edit objects using the object editors. Personalization of the portal themes is not available. When the portal is in write-protect mode, error messages appear when you attempt to call functions that are not available. |
Collaboration | You cannot create new rooms, or edit or delete existing rooms. |
User Management Engine | You cannot create portal roles, but you can create and change UME roles since they are not stored in the PCD. You cannot assign portal roles to actions, neither in the user management administration console nor in the Role Editor. |
Further information:
1. Write-protect mode can only be configured for the entire cluster, and the properties should be set for all the cluster instances.
2. It is not necessary to switch on write-protect mode in order to create an online backup.
3. You do not set write-protect mode from the PCD configuration file PCDStartup.Properties, rather you set it as shown above in the Procedure.
Reference links http://help.sap.com/SAPHELP_NW70/helpdata/EN/7f/2a39420142b46be10000000a155106/content.htm