Automated AR System MidTier Instances Cache flusing

September 8th, 2010 by Venkat Leave a reply »

If you have a lot of Midtier Instances it is very cumbrous to flash all caches manually.

With this Windows batch script it is easy to flush all caches automatically.

Put the following content into a batch file and execute it. Windows XP don’t provide a sleep command, but you can download the Windows Resource Kit 2003 which will provide a sleep command.

Example for three Midtier instances:

start /B firefox.exe <url>/shared/config/config.jsp
sleep 10
start /B firefox.exe -new-tab <url>/shared/config/config.jsp
start /B firefox.exe -new-tab <url>/shared/config/config.jsp
sleep 10
start /B firefox.exe -new-tab
<url>/servlet/GoatConfigServlet?action=logon^&password=<password>
start /B firefox.exe -new-tab
<url>/servlet/GoatConfigServlet?action=logon^&password=<password>
start /B firefox.exe -new-tab
<url>/servlet/GoatConfigServlet?action=logon^&password=<password>
sleep 10
start /B firefox.exe -new-tab
<url>/servlet/GoatConfigServlet?action=Cache^&cache_flush=Yes
start /B firefox.exe -new-tab
<url>/servlet/GoatConfigServlet?action=Cache^&cache_flush=Yes
start /B firefox.exe -new-tab
<url>/servlet/GoatConfigServlet?action=Cache^&cache_flush=Yes

Note: Update the bat file if necessary, like the browser that being used and login credentials

Get the batch file here.

Credits: risbo710 (REM Boris, Noack@eon.com)

Related posts:

  1. BMC ARSystem Remedy Cache Purge Tool
  2. Escalation Timeline HTML generator
  3. Tip of the week!
  4. ARSmarts 2.1 release for BMC AR System Remedy
  5. Common Database Issues and Solutions with BMC Remedy AR Server
  6. Installation order of BMC AR System Remedy 7.1 and ITSM 7.0
  7. DDE Functionality in the AR System

Also check our Top posts of the week.


Advertisement

1 comment

  1. Raje says:

    Hi venkat ,

    Please post the similar automatic cache flusing file works in IE browser since my application runs in IE .

    Thanks .

Leave a Reply