Thursday, 4 December 2014

Syndication in WCM8.0 websphere portal

Syndication :-  Syndication is nothing but replication the web content from one library to another library. For this we need to set a subscriber and a syndicator. Syndicator will be sending data to subscriber and subscriber will be receiving content from syndicator.


Live items:
Live item syndication is mostly used when syndicating to a staging or delivery server. The following items are syndicated:
  • Published
  • Expired
Draft items, projects and items in a project are not syndicated.
Live and projects:
The advantage of using "Live and projects" syndication is to gradually syndicate projects to a staging or delivery server rather that waiting to syndicate all the items in a project after they all achieve a published state. The following items are syndicated:
  • Published
  • Expired
  • Projects
  • Draft items in a project
Draft items outside of projects are not syndicated.
All items:
All item syndication is mostly used when syndicating between servers within an authoring environment. The following items are syndicated:
  • Published
  • Expired
  • Projects
  • Draft items in a project
  • Other draft items
  • Versions
  • Deleted items              

Steps to create syndicators :-
  • To syndicate a library that contains more than 10000 items, update the maximum Java heap size used by the portal application server on the subscriber server:
    1. In the WebSphere® Integrated Solutions Console, navigate to the Java virtual machine settings.
      Stand-alone server:
      Servers > Server Types > WebSphere application servers > WebSphere_Portal > Java and Process Management > Process definition > Java Virtual Machine
      Clustered server:
      System administration > Deployment manager > Java and Process Management > Process Definition > Java Virtual Machine
    2. Update the value in the Maximum Heap Size field. A value of at least 1024 MB is recommended.
    3. Click OK, and then save your changes.

Procedure

To set up a syndication relationship, complete the following steps:

  1. Ensure both the subscriber and syndicator are running and that they can access each other over a network.
  2. On your subscriber server, log in to IBM WebSphere Portal.
  3. Go to Administration > Access > Credential Vault and create a shared credential vault slot to allow you to access the syndicator
  4. Go to Administration > Portal Content > Subscribers.
  5. Click Subscribe Now.
  6. Enter the syndicator URL in the form of http://HostName:HostPort/WcmContextRoot. For example: http://authoring:10039/wps/wcm
    Note:
    When syndicating from a virtual portal:
    Using the URL context of a virtual portal:
    http://HostName:HostPort/wps/wcm/url_context
    Using the hostname of a virtual portal:
    http://VirtualHostName:HostPort/wps/wcm
  7. Enter a name for the syndicator item. This name is used for the syndicator item that is created on the syndicator server. Enter a name that helps identify the syndication relationship you are creating. This name must be unique and cannot be the same as an existing syndicator name.
    Note: To reuse syndicator names of previously deleted syndication relationships on a subscriber, you must also delete the same relationship on the syndicator.
  8. Enter a name for the subscriber item. This name is used for the subscriber item that is created on the subscriber server. Enter a name that helps identify the syndication relationship you are creating. This name must be unique and cannot be the same as an existing subscriber name.
  9. Select the credential vault slot you created previously.
  10. Click Next
  11. Select the libraries you want to subscribe to.
  12. To begin syndication, click either Update Subscriber or Rebuild Subscriber button.

No comments:

Post a Comment

Custom single threaded java server

 package com.diffengine.csv; import java.io.*; import java.net.*; import java.util.Date; public class Server { public static void main(Str...