Home

Documentum integration with Commerce v7

 

+

Search Tips   |   Advanced Search


  1. Reports
  2. dctm file system mounts
  3. Create content directories on appserver
  4. Configure content on appservers
  5. Configure content on webservers
  6. Configure batch content on appservers
  7. Symbolic links for QA Stage on appservers
  8. Symbolic links for QT Stage on appservers



Reports

There are a couple of reports that will detail existing Documentum symbolic links integrated with WebSphere Commerce.

  1. dctm.sh

    Called by cron. Generates a status file that used by the Middleware validation report

  2. dctm.cgi

    Called interactively. Does not provide input for Middleware validation report

    All servers
        ad6a ad7a at2a at3a qa4a
        qa8a qp9a qp1a qp7b qp7c
        qp7d qp7e qp7f qp7g qp7h
        qp7i qp8a qp8b qp8c qp8d
        qp8e qp8f qp8g qp8h qp8i
        st5a st6a


dctm file system mounts

On both Commerce appserver and web server you should have something similar to...
s1ad7a:/ # df -k
Filesystem                             1024-blocks       Free %Used    Iused %Iused Mounted on
dctmhost01:/SSC_general_np/wsvr_dctm_2     21053440   21053440    0%  3237267     4% /opt/wsvr/dctm_nas2
dctmhost01:/SSC_general_np/wsvr_dctm      105697280   35830936   67%  3237267     4% /opt/wsvr/dctm_nas


Create content directories on Appserver

mkdir -p /opt/WAS70/MyCo
mkdir -p /opt/WAS70/MyCo/content
chmod -R 755 /opt/WAS70/MyCo/content


Configure content on appservers

Appserver symbolic links (symlinks). Substitute qp with your environment

### Checkout App:
cd $WC_PROFILE/installedApps/MyCoCell/WC_MyCo.ear/Stores.war/mcus/ShoppingArea/Content
ln -fs /opt/wsvr/dctm_nas2/wcs7_Cat/ad/active/DTCCOM/common/outbound/containers en_US
cd $WC_PROFILE/installedApps/MyCoCell/WC_MyCo.ear/Stores.war/mcus
ln -fs /opt/wsvr/dctm_nas2/wcs7_Cat/ad/active/DTCCOM/common/bizhtml_wcs7_Cat bizhtml

### Browse App:
cd $WC_PROFILE/installedApps/MyCoCell/OnlineCatalogEE.ear/OnlineCatalog.war/mcus
ln -fs /opt/wsvr/dctm_nas2/wcs7_Cat/ad/active/DTCCOM/common/bizhtml_wcs7_Cat bizhtml
cd $WC_PROFILE/installedApps/MyCoCell/OnlineCatalogEE.ear/OnlineCatalog.war/mcus/ShoppingArea/Content
ln -fs /opt/wsvr/dctm_nas2/wcs7_Cat/ad/active/DTCCOM/common/outbound/containers en_US

If you make a change to an Appserver symbolic link, you'll need to restart appserver for change to be picked up.

To find existing symbolic links...

find . -type l

..or...

ls -l $WC_PROFILE/installedApps/MyCoCell/WC_MyCo.ear/Stores.war/mcus/ShoppingArea/Content | grep en_US
ls -l $WC_PROFILE/installedApps/MyCoCell/OnlineCatalogEE.ear/OnlineCatalog.war/mcus/ShoppingArea/Content | grep en_US
ls -l $WC_PROFILE/installedApps/MyCoCell/WC_MyCo.ear/Stores.war/mcus | grep bizhtml
ls -l $WC_PROFILE/installedApps/MyCoCell/OnlineCatalogEE.ear/OnlineCatalog.war/mcus | grep bizhtml

To delete symbolic link

cd /opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/WC_MyCo.ear/Stores.war/mcus
unlink bizhtml


Configure content on webservers

To deploy static content, including *.js files, to a webserver...

cd /opt/WAS70/static/en_US
ln -s /opt/wsvr/dctm_nas2/ad/active/DTCCOM DTCCOM
unzip /opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/WC_MyCo.ear/static.zip

Static content files are NOT deployed to appservers. When deploying OnlineCatalogEE to appservers, we set the following WCBD parameter...

extract.onlineCat.static.web.content=false

...in the file...

extract-local-onlineCat.properties


Configure batch content on appservers

For ECR-452

On each batch server execute...

mkdir /opt/WAS70/AppServer/MyCo/content/productRefinerData
chmod 777 /opt/WAS70/AppServer/MyCo/content/productRefinerData
cd /opt/WAS70/AppServer/MyCo/content/productRefinerData
ln -s /opt/wsvr/dctm_nas2/wcs7_Cat/productRefinerData/<env>/live live
ln -s /opt/wsvr/dctm_nas2/wcs7_Cat/productRefinerData/<env>/stg stg
chmod 755 /opt/WAS70/AppServer/MyCo/content/productRefinerData/live
chmod 755 /opt/WAS70/AppServer/MyCo/content/productRefinerData/stg

For an example...

lrwxrwxrwx 1 wasadmin www 60 Sep 14 18:19 live -> /opt/wsvr/dctm_nas2/wcs7_Cat/productRefinerData/ST71/live
lrwxrwxrwx 1 wasadmin www 59 Sep 14 18:21 stg -> /opt/wsvr/dctm_nas2/wcs7_Cat/productRefinerData/ST71/stg

See: RefinerData.sh


Symbolic links for QA Stage on appservers

To create bizhtml symbolic link...

cd /opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/WC_MyCo.ear/Stores.war/mcus
ln -s /opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/bizhtml_wcs7_Cat bizhtml

To delete symbolic link

cd /opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/WC_MyCo.ear/Stores.war/mcus
unlink bizhtml

Create en_US symbolic link

cd /opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/WC_MyCo.ear/Stores.war/mcus/ShoppingArea
mkdir Content
cd Content
ln -s /opt/WAS70/MyCo/content/DTCCOM/common/outbound/containers en_US

To delete symbolic link

cd /opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/WC_MyCo.ear/Stores.war/mcus/ShoppingArea/Content
unlink en_US

For Browse App (OnlineCatalogEE.ear)...

cd /opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/OnlineCatalogEE.ear/OnlineCatalog.war/mcus/ShoppingArea/Content
ln -fs /opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/outbound/containers containers


Configure content on webservers for QA

Create symbolic links...

cd /opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/WC_MyCo.ear/Stores.war/mcus
ln -s /opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/commercestatic_wcs7_Cat bizhtml

cd /opt/WAS70/MyCo/static/en_US
ln -s /opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM DTCCOM

For more information on setting up symbolic links on the webserver, see Commerce Developer (770 433 8211 extn 81928)

Set aliases in httpd.conf...

$ grep wcs7_Cat httpd.conf
Alias /wcsstore/mcus/en_US/styles "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/commercestatic_wcs7_Cat/mcus/en_US/styles"
Alias /wcsstore/mcus/en_US/flash "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/flash"
Alias /wcsstore/mcus/docs "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/docs"
Alias /wcsstore/mcus/en_US/images "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/images"
Alias /webapp/wcs/preview/mcus/en_US/styles "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/commercestatic_wcs7_Cat/mcus/en_US/styles"
Alias /webapp/wcs/preview/mcus/en_US/flash "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/flash"
Alias /webapp/wcs/preview/mcus/docs "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/docs"
Alias /webapp/wcs/preview/mcus/en_US/images "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/images"
Alias /mcus/en_US/images "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/images"
Alias /mcus/en_US/DTCCOM "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/"
Alias /businessControlledFragments/htmls "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/bizhtml_wcs7_Cat"
Alias /wcsstore/mcus/en_US/styles "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/commercestatic_wcs7_Cat/mcus/en_US/styles"
Alias /wcsstore/mcus/en_US/flash "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/flash"
Alias /wcsstore/mcus/docs "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/docs"
Alias /wcsstore/mcus/en_US/images "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/images"
Alias /webapp/wcs/preview/mcus/en_US/styles "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/commercestatic_wcs7_Cat/mcus/en_US/styles"
Alias /webapp/wcs/preview/mcus/en_US/flash "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/flash"
Alias /webapp/wcs/preview/mcus/docs "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/docs"
Alias /webapp/wcs/preview/mcus/en_US/images "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/images"
Alias /mcus/en_US/images "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/images"
Alias /mcus/en_US/DTCCOM "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/"
Alias /businessControlledFragments/htmls "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/bizhtml_wcs7_Cat"
Alias /webapp/wcs/preview/mcus/en_US/styles "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/commercestatic_wcs7_Cat/mcus/en_US/styles"
Alias /webapp/wcs/preview/mcus/en_US/flash "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/flash"
Alias /webapp/wcs/preview/mcus/docs "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/docs"
Alias /webapp/wcs/preview/mcus/en_US/images "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/images"
Alias /mcus/en_US/images "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/images"
Alias /mcus/en_US/DTCCOM "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/"
Alias /businessControlledFragments/htmls "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/bizhtml_wcs7_Cat"
Alias /webapp/wcs/preview/mcus/en_US/styles "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/commercestatic_wcs7_Cat/mcus/en_US/styles"
Alias /webapp/wcs/preview/mcus/en_US/flash "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/flash"
Alias /webapp/wcs/preview/mcus/docs "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/docs"
Alias /wcsstore/mcus/en_US/images "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/images"
Alias /mcus/en_US/images "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/images"
Alias /mcus/en_US/DTCCOM "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/"
Alias /businessControlledFragments/htmls "/opt/wsvr/dctm_nas2/wcs7_Cat/qa/active/DTCCOM/common/bizhtml_wcs7_Cat"


Symbolic links and Web Aliases for QT Stage

Symbolic links - CheckOut App

$ cd /opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/WC_MyCo.ear/Stores.war/mcus
$ ls -l
lrwxrwxrwx 1 wasadmin www 77 Aug 16 16:06 bizhtml -> /opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/bizhtml_wcs7_Cat
/opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/WC_MyCo.ear/Stores.war/mcus/ShoppingArea/Content
$ ls -l
lrwxrwxrwx 1 wasadmin www 75 Aug 16 16:06 en_US -> /opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/outbound/containers


Symbolic links - Browse App

$ pwd
/opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/OnlineCatalogEE.ear/OnlineCatalog.war/mcus
$ ls -l
lrwxrwxrwx 1 wasadmin www 77 Aug 16 15:03 bizhtml -> /opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/bizhtml_wcs7_Cat
$ pwd
/opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/OnlineCatalogEE.ear/OnlineCatalog.war/mcus/ShoppingArea/Content
$ ls -l
lrwxrwxrwx 1 wasadmin www 75 Aug 16 15:03 en_US -> /opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/outbound/containers


Web Aliases

<VirtualHost *:80>
  Alias /wcsstore/mcus/en_US/styles        "/opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/commercestatic_wcs7_Cat/mcus/en_US/styles"
  Alias /wcsstore/mcus/en_US/flash         "/opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/flash"
  Alias /wcsstore/mcus/docs                "/opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/docs"
  Alias /wcsstore/mcus/en_US/images        "/opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/images"
  Alias /mcus/en_US/images                 "/opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/images"
  Alias /mcus/en_US/DTCCOM                 "/opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/"
  Alias /wcsstore                          "/opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/WC_MyCo.ear/Stores.war"
  Alias /wcs                               "/opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/WC_MyCo.ear/Stores.war"
  Alias /businessControlledFragments/htmls "/opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/bizhtml_wcs7_Cat"
  Alias /static                            "/opt/WAS70/webcontent/static"
</VirtualHost>

<VirtualHost *:443>
  Alias /wcsstore/mcus/en_US/styles        "/opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/commercestatic_wcs7_Cat/mcus/en_US/styles"
  Alias /wcsstore/mcus/en_US/flash         "/opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/flash"
  Alias /wcsstore/mcus/docs                "/opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/docs"
  Alias /wcsstore/mcus/en_US/images        "/opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/images"
  Alias /mcus/en_US/images                 "/opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/images"
  Alias /mcus/en_US/DTCCOM                 "/opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/"
  Alias /wcsstore                          "/opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/WC_MyCo.ear/Stores.war"
  Alias /wcs                               "/opt/WAS70/AppServer/profiles/MyCo/installedApps/MyCoCell/WC_MyCo.ear/Stores.war"
  Alias /businessControlledFragments/htmls "/opt/wsvr/dctm_nas2/wcs7_Cat/qp/active/DTCCOM/common/bizhtml_wcs7_Cat"
  Alias /static                            "/opt/WAS70/webcontent/static"
</ VirtualHost>


See also

  1. DCTM shares