Version User Scope of changes
Feb 25 2009, 5:14 AM EST (current) phil.jin
Feb 25 2009, 5:12 AM EST phil.jin 21 words added, 15 words deleted

Changes

Key:  Additions   Deletions
Software Versions
  • Inside an Oracle VMOracle Enterprise Linux 5 Update 2
  • Apache 2.2
  • UCM 10.1.3.3.3
  • IBR 10.1.3.3.2
  • ImageMagick 6.2 (comes pre-installed with OE Linux)

Install UCM
Follow the instructions located here: Installing UCM 10gR3.
Review install settings. . .
Content Server Core Folder: /u01/oracle/ucm
Java virtual machine: Sun Java 1.6.0 JDK
Content Server Native Vault Folder: /u01/oracle/ucm/vault/
Content Server Weblayout Folder: /u01/oracle/ucm/weblayout/
Proxy authentication through another server: no
Install admin server: yes
Web Browser Path: /usr/bin/firefox
Content Server System locale: English-US
Content Server Port: 4444
Admin Server Port: 4440
Incoming connection address filter: 127.0.0.1
Web Server Relative Root: /idc/
Company Mail Server: mail
Administrator E-Mail Address: sysadmin@mail
Web Server HTTP Address: linux1.hk.oracle.com
Server Instance Name: idc
Server Instance Label: idc
Server Description: Content Server idc
Web Server: Apache
Content Server Database: Oracle
Manually configure JDBC settings for this database: false
Oracle Server Hostname: vl-db1.hk.oracle.com
Oracle Listener Port Number: 1521
Oracle User: idc_dam2_user
Oracle Password: JIESmScgsxX9bCOa/XpwTu12wQAG/H9FbCAk/zayq60=
Oracle Instance Name: orcl
Configure the JVM to find the JDBC driver in a specific jar file: false
Attempt to create database tables: yes
Components:

Proceed with install


Download DAM from eDelivery
http://edeliver.oracle.com

Install IBR
IBR is located in the Dam and Conversion Server download from eDelivery. Run through a standard install. Once donee, begin configuraiton.

Add an entry to the httpd.conf like the following:
[root@linux1 conf]# tail /etc/httpd/conf/httpd.conf
IdcUserDB ibr /u01/oracle/ibr/data/users/userdb.txt
Alias /ibr /u01/oracle/ibr/weblayout
<Location /ibr>
DirectoryIndex portal.htm
IdcSecurity ibr
Allow from all
</Location>


Restart Apache
[root@linux1 conf]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[root@linux1 conf]#


Test the page and login with username/password: refadmin/idc
http://linux1.hk.oracle.com/ibr

Add the required components:
Refinery Administration > Admin Server > Click 'ibr' button > Component Manager

Install the component DAMConverter found at:
<install_root>/components
Enable the component and restart the server.

Configure UCM to work with DAM
Install the DAM components on the UCM instance, goto the component manager on content server:
http://linux1.hk.oracle.com/idc/
login > Administration > Admin Server > Click 'idc' button > Component Manager
Add the following components:
  • DamConverterSupport
  • DigitalAssetManager
  • ZipRenditionManagement
  • ContentBasket
Create an outgoing provider to the IBR
Administration > Providers > add and Outgoing Provider
Fill out the details for the provider specifying the hostname, port, web-relative root, etc..., also check off the box that indicates this is going to an IBR server:Handles Inbound Refinery Conversion Jobs.

Add the IP addresses of IBR to UCM and UCM to IBR in their respective <root>/config/config.cfg files for the SocketHostAddressSecurityFilter parameter. Restart both of them.

Goto: Administration > Refinery Administration > File Formats Wizard. Select the formats you want to convert.

Use these files:
<ibr_root>/custom/DAMConverter/DAMConvert.hda add this into it:
[root@linux1 DAMConverter]# diff DAMConverter.hda.old DAMConverter.hda
29c29
< resources/damconverter_basedefinitions.hda
---
> resources/extraRendition_definitions.hda

Add in the file below the format is: <conversion_app_name>=<path_to_conversion_app>
[stellent@vl-ucm1 dam]$ pwd
/u03/oracle/ibr/data/configuration/dam
[stellent@vl-ucm1 dam]$ cat extraRendition_definitions.hda
@Properties LocalData
ImageMagick=/usr/bin/convert
@end
[stellent@vl-ucm1 dam]$

Setup checkin page to show 'Image Rendition Set' as a checkin field.
Administration > Admin Applets > Configuration Manager > Information Fields > Packaged Conversions > Edit > Select: 'Enable on user interface'


You may want your content id to be automatically generated to save time on checkins:

Administration > Admin Server > 'idc' > General Configuration > Automatically assign a content ID on check in


Debugging:
On the ucm instance do:
Administration > System Audit Information > add: refinery, then look at:
IBR > Home > Console Output
You should see the command issed to image magic here.

More verbose log can be found from Inbound Refinery Admin > Logs, choose '<CMS_INSTANCE_NAME> Logs', select the latest file.
http://vl-ucm1.hk.oracle.com/ibr_foxtel/groups/secure/logs/idc/IdcRefLog.htm


ImageMagick
The ImageMagick conversion executable is called 'convert', to find where the ImageMagick executable location is, type in command
[root@linux1 oracle]# which convert
/usr/bin/convert


Now put windows fonts into the linux box.
# mkdir /usr/share/fonts/default/TrueType
Copy true type fonts from a windows machine: c:\windows\fonts into /usr/share/fonts/default/TrueType

You'll want to ensure that ImageMagick is setup to convert the formats you are interested in, like JPG and PNG. Try converting a couple images with commands like the following:
[root@linux1 tmp]# cat im.sh
#!/bin/bash
convert car2.jpg -resize 64x64 car_resize.jpg
convert site_logo.png -resize 64x64 logo_resize.jpg