locked
psctrl reset vs nctrl restart procserver_[...n] RRS feed

  • Question

  • Hi,

    We have a requirement where we have input coming from an external xml file to update the index during content processing.

    Now the doc procs would load this xml and cache it for future reference & a refresh of the xml would only happen if we reset the container or restart all doc procs.

    We are considering to use ContentAPI to do partial updates to the index & not depend on the document processing stage for this.

    However, what we came across were 2 options of refreshing the doc procs cache i.e. pstrl reset and nctrl restart procserver_[...n].

    The documentation say that psctrl reset refreshe's the processors without restarting it.

    Now, does that mean that we do not necessarily need to stop feeding when using psctrl reset, which normally is recommended before doing such refreshes to the doc procs ?

    We would like to hear on the recommended approach when there is a need to add new stage, update pipeline or update some MAP in the stage while the cluster is up. We want to minimize stopping of the feeding as there are quite a few different type of connectors running in production.

    Kindly advise.

    Thanks,

    Ashwani

    Monday, May 16, 2011 10:31 AM

Answers

  • Hi Ashwani,

     

    You have two possibilities:

    - Using an out of the box or already existing  stage and only configure it, add it to the pipeline, submit the change. internally there is a pipeline reloading but the  changes are already active and you do not need to makee nctrl restart or psctrl explicitely. The new documents that are going trough the pipeline will have the changes but not the already indexed one. In this case you do not need to shut down the  cluster. Stopping the feeding will depend on my oppinion on your sutiation. If you need to reindex the existing content first it will be not a bed idea. Your index can reindiex only the configured nuber of documents per time unit.

    - You are writing your own custom stage or you are changing the code of an existing stage then you will to reload the code to see the changes. This is also true for dictionaries or xml mapping files or other xmls.

     

    BR

    • Marked as answer by Rob Va - MSFT Tuesday, June 7, 2011 6:05 PM
    Wednesday, May 25, 2011 3:32 PM