University of Southern California
How to publish a collection

 

Publish a Collection

 

1.  Check for the correct number of renditions.  The total number for each category must be the same (TIFFs, sid, 64, 100, 256, 1024, etc.).  Use the following DQL:

 

     select i_full_format, page_modifier, count(*) from dmr_content where any parent_id in (select r_object_id from <CollectionName> where r_is_virtual_doc = 0) group by i_full_format,page_modifier;

 

2.  Check for the number of links=2, where links = [catalogued | publish ].  Use the following DQL:

 

select count(*) from <collection> where r_link_cnt  = 2;

 

3.  Login to Docu1 - source of publishing job

    - cd /var/local/documentum/product/5.3/webcache/bin/

    - dm_scs_source_start.sh   (or dm_webcache_stop.sh to stop source webcache)

 

4.  Login to Docu2 - target of publishing job

    - check status:

    1. http://docu2.usc.edu:2787
    2. ps -auxwww | grep java | grep scs

    - cd /var/local/documentum/scs/admin/

    - dm_start_2787 (or dm_stop_2787 to stop target webcache) 

 

o  Database tables:

1.        3 database tables per publishing job (dm_webc_*).

2.        cis_data,

3.        cis_collection

 

o  Check to make sure that you have enough disk space (double your collection size, since it's for both source + target).

Select sum(content_size) from dmr_content where any parent_id in (select r_object_id from <collection_name>) and r_modified_date =<???>

 

o  Check and clean temp disk space (If not enough space, create/copy directory where needed space is available.)

- Soure: /var/local/documentum/share/temp

                rm  *.out

                rm  -r web_publish

- Target: /var/local/documentum/scs/data/9001

                rm -r webcache*

                               

o  Login to Documentum Administration (DA)

á         >Site Publishing

á         selecteither (cis_collection or cis_data) and Tools > Publish

o        Two options:

¤         test(end to end test)

¤         publish

á         refresh entire site (DO NOT TOUCH)

á         recreate property schema (DO NOT TOUCH)

á         launch the process asynchronously (yes)

á         TRACE(0=silence, 5=progress, 10=all)

o        Note:for cis_collection, set to DISPLAY_STATUS=TRUE before publish?

á         Check log files $DM_HOME/webcache/temp

á         Delete log files if necessary 

 

1.  To change a field to USCDOC type

á         Alter in uscdoc & change the field length

á         Publish attribute into dictionary; see publish_dd.txt

á         Check database tables to see if field length is correct

o        Dmi_type_info

o        Dmi_type_object

á         Check& change source & target tables in Oracle

o        Dm_webcache_*

á         Check account password for publishing

o        //docu1/~dmadmin/dba/config/cisprod/webcache.ini

á         restart Tomcat

 

2.  Final sanity check:

o        Go into Oracle, and check table count

o        Go into file system, and check object count

 

3.  Monitor by going to the Site Caching Services Administration page:

        http://docu1.usc.edu:6677/webcache/Admin.jsp