Monday, 24 September 2012

Clean way to restart your livelink services

Sometimes you would like to restart your livelink services for adding patches, upgrading modules or just like that. The best practice to do a restart is listed below.

  1. First we Log-in to server where the web server is installed (In this case : IIS)
  2. We take Livelink server out of load balanced pool by changing the HTTP port (Lets put  a no. like 9191 which is not used)
  3. We then check if there are any requests pending with the Livelink server we want to restart.
    So let check the thread status - http://IPAddress:port/cgi/livelink.exe?func=admin.threadstatus
    If there is something running, we wait till those processes are over and then proceed further
  4. Apply the patch or do the module upgrade that you want and restart the server.
  5. Now we put the Livelink server back into load balancer by changing the port back to original. (i.e. 80).
  6. Repeat the above for all servers.