This documentation supports the 1.5 version of Remedy with Smart IT.

To view the latest version, select the version from the Product version menu.

Clearing the Smart IT cache

The Smart IT server stores certain types of configuration data from BMC Remedy ITSM in cache for quick access. After you change configuration options, such as the list of allowed attachments, the Smart IT cache must be reinitialized for the changes to take effect. The cache is initialized during server startup, or whenever the cache is cleared.

By default, the cache is cleared automatically every 30 minutes, or when the Smart IT server is restarted. Alternatively, you can use the following procedure to clear the cache immediately.

To clear the Smart IT cache

From the Smart IT installation directory/tenant-config directory on the primary Smart IT server, issue the following command:

../java -jar ../tenant-config-<version>-jar-with-dependencies.jar -server server/ux -username username -password password -tenantName tenant_ID clearSmartITCache global

The placeholders in the command are defined as follows:

ParameterDescription
serverThe fully qualified domain name of the Smart IT server, such as http://server1.ourdomain.com:80
username

The AR System administrator user name

Note: This user must belong to the BMC MyIT Administrator group.

passwordThe AR System administrator password
tenant_ID

The tenant ID such as 000000000000001 (default) or 000000000000002

In a single tenant environment, use 000000000000001

Example:

/opt/bmc/jre8/jdk1.8.0_45/jre/bin/java -jar /opt/bmc/MyIT/Smart_IT_MyIT/tenant-config/tenant-config-3.2.00.000-jar-with-dependencies.jar -server http://123.456.789.000/ux -username admin01 -password pwadmin01 -tenantName 000000000000001 clearSmartITCache global

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments

  1. Phindiwe Moshoele

    Hello 

    I am trying to clear my smart it cache however I am not sure that I understand the script provided. I am not sure how to run this script, do i first do the Java part and join it to 

    Option 1

    /opt/bmc/jre8/jdk1.8.0_45/jre/bin/java -server http://123.456.789.000/ux -username admin01 -password pwadmin01 -tenantName 000000000000001 clearSmartITCache global

    Option 2

    /opt/bmc/MyIT/Smart_IT_MyIT/tenant-config/tenant-config-3.2.00.000-jar-with-dependencies.jar -server http://123.456.789.000/ux -username admin01 -password pwadmin01 -tenantName 000000000000001 clearSmartITCache global


    Or how exactly must i do this


    Nov 09, 2016 03:52
    1. Nilay Agambagis

       

      Hello Phindiwe,

      Thanks for your comment. Sorry for the delay in replying your comment.

      It’s a java program inside the jar file which needs to be executed. You need to run the full command with java – jar as given in the example.

      Regards,
      Nilay

      Jul 19, 2017 06:29
      1. Phindiwe Moshoele

        Hi Nilay

         

        I eventually got it right,  thanks for replying.

        BMC needs to consider doc for 'dummies'  with picture ilustrations (big grin) for people like me.

        I am sure there are many like me, they just dont say it out loud.

         

        Regards,

        Phindi

        Jul 19, 2017 06:49
  2. Maria Blajevitch

    The script drop a lot of errors and Not really doing anything...

     

    May 24, 2017 04:22
    1. Nidhi Das

      Hello Maria,

      I will discuss this with the concerned SME and will write back to you.

      Thanks,
      Nidhi

      May 25, 2017 01:19
    1. Nilay Agambagis

      Hello Maria,

      Thanks for your comment.

      It’s a java program inside the jar file which needs to be executed. You need to run the full command with java – jar as given in the example.

      Regards,
      Nilay

      Jul 19, 2017 06:32