{"id":4718,"date":"2020-06-21T22:53:29","date_gmt":"2020-06-21T22:53:29","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=4718"},"modified":"2020-06-21T22:53:29","modified_gmt":"2020-06-21T22:53:29","slug":"how-to-compact-the-imanageworksite-indexer","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/how-to-compact-the-imanageworksite-indexer","title":{"rendered":"How to Compact the iManage\\Worksite Indexer"},"content":{"rendered":"<p>The compact is the recommendation from iManage Support. Ideally, you can stop connector and the ingestion due to it not being used anymore and start the services after DRECOMPACT<\/p><p>You will need 30% free disk space to run DRECompact Successfully.<\/p><p>&nbsp;<\/p><p><strong><u>STEPS TO RESOLVE<\/u><\/strong><\/p><ol><li>Stop Worksite Connector and Work Ingestion Server services<\/li><li>Expand Content Engine disks to a point that there is more than 30% capacity free\u00a0<\/li><li>Run a DRECOMPACT task against both engines<br \/><br \/><a href=\"http:\/\/127.0.0.1:11001\/DRECOMPACT\" data-auth=\"NotApplicable\">http:\/\/127.0.0.1:11001\/DRECOMPACT<\/a><br \/><a href=\"http:\/\/127.0.0.1:12001\/DRECOMPACT\" data-auth=\"NotApplicable\">http:\/\/127.0.0.1:12001\/DRECOMPACT<\/a><br \/><br \/>Make a note of the INDEXID number returned to your browser.<\/li><li>Wait until completed<br \/><strong><u><br \/>YOU CANNOT STOP THIS PROCESS AND IT MAY TAKE A CONSIDERABLE AMOUNT OF TIME<\/u><\/strong><br \/><br \/><\/li><li>You can monitor the status from the IndexerBrowser<br \/><br \/>\u201cThe compaction is complete when the IndexerGetStatus action reports that the job (INDEXID number) is finished (status=-1, description = Finished).\u201d<br \/><img loading=\"lazy\" decoding=\"async\" width=\"642\" height=\"298\" class=\"alignnone size-full wp-image-4720  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2020\/06\/img_5eefe3aacb3f0.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2020\/06\/img_5eefe3aacb3f0.png 642w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2020\/06\/img_5eefe3aacb3f0-300x139.png 300w\" sizes=\"auto, (max-width: 642px) 100vw, 642px\" \/><\/li><\/ol><p>&nbsp;<\/p><ol><li>Restart the Connector and Ingestion Server services once the job has completed and the content engine disks are looking a little emptier<\/li><\/ol><p>&nbsp;<\/p><p><strong><u>To set up a schedule for compaction<\/u><\/strong><\/p><ol><li>Open the Content server configuration file in a text editor.<\/li><li>Find the [Schedule] section. If the configuration file does not contain a [Schedule] section, add one.<\/li><li>Set the following parameters in the [Schedule] section:<\/li><\/ol><p>&nbsp;<\/p><p style=\"padding-left: 80px;\">Compact: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p><p style=\"padding-left: 80px;\">Type true to enable a compacting schedule.<\/p><p style=\"padding-left: 80px;\">\u00a0<\/p><p style=\"padding-left: 80px;\">CompactTime: \u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p><p style=\"padding-left: 80px;\">The time (hh:mm) when you want the Compact operation to start.<\/p><p style=\"padding-left: 80px;\">\u00a0<\/p><p style=\"padding-left: 80px;\">CompactInterval: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p><p style=\"padding-left: 80px;\">The number of hours between DRECOMPACT operations. Specify the time in the 24-hour clock and the format hh:mm. When you start WorkSite Indexer, the specified CompactInterval must elapse (after the specified CompactTime) before the first \u00a0DRECOMPACT<\/p><p style=\"padding-left: 80px;\">operation takes place. Type 0 to schedule daily compactions.<\/p><p style=\"padding-left: 80px;\">\u00a0<\/p><p style=\"padding-left: 80px;\">For example:<\/p><p style=\"padding-left: 80px;\">[Schedule]<\/p><p style=\"padding-left: 80px;\">Compact=true<\/p><p style=\"padding-left: 80px;\">CompactTime=01:00<\/p><p style=\"padding-left: 80px;\">CompactInterval=168<\/p><p style=\"padding-left: 80px;\">\u00a0<\/p><p style=\"padding-left: 80px;\">This configures a compaction every 168 hours (once a week) at 1:00 a.m.<\/p><p style=\"padding-left: 80px;\">\u00a0<\/p><ol><li style=\"list-style-type: none;\"><ol><li style=\"list-style-type: none;\"><ol start=\"4\"><li>Save and close the configuration file.<\/li><li>Restart the Content server for your changes to take effect.<\/li><li>Repeat Step 1 to Step 5 for all your Content servers.<\/li><\/ol><\/li><\/ol><\/li><\/ol><p style=\"padding-left: 80px;\">\u00a0<\/p>","protected":false},"excerpt":{"rendered":"<p>The compact is the recommendation from iManage Support. Ideally, you can stop connector and the ingestion due to it not being used anymore and start the services [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3301,3302,622,912,623],"class_list":["post-4718","post","type-post","status-publish","format-standard","hentry","category-research","tag-compact","tag-drecompact","tag-imanage","tag-indexer","tag-worksite"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=4718"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4718\/revisions"}],"predecessor-version":[{"id":4721,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4718\/revisions\/4721"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=4718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=4718"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=4718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}