Archive

Posts Tagged ‘server.ini’

D2 Best Practices and all about Widgets

August 27, 2019 Leave a comment

There are several best practices that we can follow and to list below are a few key important ones:

  • Improving Content Transfer Performance
  1. Enable compression of content:
  2. Navigate to and open <install path of D2 Client>/WEB-INF/classes/settings.properties
  3. Set the applet level properties parameters
  4. Increase the socket buffer size
  • Enabling Compression at the Application Server
  1. Navigate to and open <TOMCAT_HOME>/conf/server.xml
  2. Configure the threshold of the content size and the type of content to be compressed
  • Optimizing Performance for Widgets and Large Numbers of Content
  1. Navigate to and open <install path of D2 Client>/WEB-INF/classes/D2FS.properties
  2. Configure a maximum result size for the Doclist widget, User and Group widgets, Thumbnails widget , Repository Browser or Taxonomy widgets.
  • General Tuning Tips

On Oracle Server:

  • Modify the Oracle sessions and processes parameters.
  • Set CURSOR_SHARING to FORCE.

On the Content Server:

  • Modify server.ini and set the concurrent_sessions parameter.

On the web application server:

  • Modify the Java heap size, maximum threads, and GC policy.

Configuration Files

Navigate to <install path of web application server>/webapps/D2–Config/WEB-INF/classes for the D2 Config configuration files:

D2-Config.properties, dfc.properties & logback.xml

Navigate to <install path of web application server>/webapps/D2/WEB-INF/classes for the D2 Client and D2FS configuration files:

applicationContext.xml, settings. Properties, logback.xml, D2FS.properties, D2FS-trust. properties

Note: The names of configuration files are case-sensitive.


How do you configure a menu item for a Template Plugin?

We can configure a menu item using D2 Config to allow end users to call the custom action.

  1. Log in to D2 Config and navigate to Go to > Menu D2 to open the D2 Client menu configuration page.
  2. Add a new menu item to the menu in which you want the button to appear.
  3. We then fill out the form for the new menu item.
  4. Click Save.

Facet Search

The facets widget allows the search refinement in a dynamic facet list. Facets are grouped by category and ordered based on the configuration or advanced search settings.


D2 uses the EVENTS to communicate between widgets, Custom Widgets

1


Internal Widgets

2

3

4

56


How to set up an external Widget?

I used the D2 implementation of OAH, called D2-OAH.js which provides the binding between a web page and the surrounding D2 application. D2 Config refers to these web pages as external widgets, which are hosted in an iframe within the D2 Client web application. How to setup depends on which external widget we are trying to setup – like there is UpdateDoclist widget:

  1. Extract UpdateDocList folder from D2 SDK.zip.
  2. Stop the web application server.
  3. Copy the UpdateDoclist folder to the <web application server>/webapps/ folder.
  4. Start the web application server.
  5. Log in to D2 Config:
  6. Navigate to File > Import configuration from the menu bar.
  7. Import UpdateDoclist-Config.zip
  8. Navigate to Widget view > Widget from the menu bar.
  9. Select the UpdateDoclist widget.
  10. Modify the Widget url field to match the location of the web application server that we have deployed.
  11. Log in to D2 Client and add the new widget to your workspace.

This is pretty much the standard procedure.

7

8

9

A more detailed information about D2 Widgets can be found in the D2 Administrative Guide.

Happy Reading!!!

Changing the Installation owner in Documentum

October 30, 2010 Comments off

Although changing the installation owner is not recommended in Documentum but when need demand you can try the below steps to change the installation owner:

1. Log in as the Windows NT system administrator.

2. Stop Services for all Docbases and the DocBroker.

3. Edit the install_owner parameter in the server.ini file for each Docbase in the installation to reference the new installation owner.

a. The server.ini file is found in %DOCUMENTUM%\dba\config\Docbase_name\server.ini.

4. Change permissions on the data, dba, product, and share subdirectories under the eContent Server installation root directory (%DOCUMENTUM%). For each directory:

a. In Explorer, select the directory.

b. Right click to display a menu; choose Properties from the menu.

c. Select the Security tab on the Properties dialog box.

d. Click Permissions to display the Directory Permissions dialog box.

e. Click Add to add the new installation owner to the list of those with permissions on the directory.

f. You will be asked for the new owner’s domain.

g. Give the new owner Full Control permission.

h. Check “Replace Permissions on Subdirectories” and “Replace Permissions on Existing Files”.

i. Remove the old installation owner from the list of those with access permission on the directory.

j. Click OK.

5. If your content storage directories are not located under the %DOCUMENTUM%\data directory, change the permissions on each content storage directory also. Use the procedure in Step 4 to change their permissions.

6. Edit the Registry to reflect the change in ownership:

a. In the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Documentum\Server\version_no

i. Change the value of DM_DMADMIN_USER to the new owner.

ii. If needed, change the value of DM_DMADMIN_DOMAIN to the domain of the new owner.

b. In the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DmServer Docbase_name

Change the –install_owner parameter in the value for ImagePath to the new owner.

7. For each Docbase in the installation, use regedt32 to change the security permissions on the following Registry keys:

a. HKEY_LOCAL_MACHINE\SOFTWARE\Documentum\Docbases\Docbase_name

b. HKEY_LOCAL_MACHINE\SOFTWARE\Documentum\Server\version_no

c. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\Documentum

d. For each key:

I. Select the key and right click to display a menu.

II. Choose Security .Permissions.

III. Add the new installation owner user with Full Control

IV. Remove the old installation owner.

8. For each Docbase, set the appropriate start-up information:

a. Choose Control Panel .Services.

b. Select the Service: Documentum Docbase Docbase_name

c. In the Startup dialog, enter the new owner and the owner’s password under Log On As: This Account.

9. Move the Documentum-related Program Items in Start menu to the new owner.

Move:

Documentum

Documentum Docbase Docbase_name

From:

WinNT\Profiles\old_owner\Start Menu\Programs\

To:

WinNT\Profiles\new_owner\Start Menu\Programs\

10. Update the r_install_owner and r_install_domain in the server_config object to reflect the new installation owner.

11. Restart Windows NT

%d bloggers like this: