Automate the purging of the repository cache (Exalytics Linux)

So we have created a ram disk and you are now storing the repository cache, how can we automate the purging. 1.  First we will create a file that we can run that will 1st load the BI environment, then we will clear the cache : -          Create a file called purge.txt with the following contents: Call SAPurgeAllCache(); -          Create a file called purge.sh with the following contents cd /u01/app/oracle/product/fmw/instances/instance1/bifoundation/OracleBIApplication/coreapplication/setup . ./bi-init.sh cd /u01/app/oracle/product/fmw/Oracle_BI1/bifoundation/server/bin ./nqcmd -d "AnalyticsWeb" -uweblogic –p<place the password here> -s/home/oracle/TT_INSTALLERS/purge.txt   2. Update crontab to execute the file everyday: 00 23 * * * /home/oracle/TT_INSTALLERS/purge.sh > /home/oracle/TT_INSTALLERS/purged.log 2>&1 You now have automated purging of your cache.
Posted in Blog

Affiliations

Engagements

  • Oracle OpenWorld 2014
  • Gartner BI Summit 9/3/15-10/3/15
  • UKOUG Business Analytics SIG 12/3/15
  • UKOUG Conference 7/12/15-9/12/15
  • Oracle Ireland Conference 2016 3/3/16-4/3/16
  • UKOUG Systems 2016 12/5/16
  • Oracle OpenWorld 2016
  • POUG 2016 7/10/16
  • DOAG 2016 15/11/16
  • UKOUG 2016 5/12/16

Videos

Posts

  • 2017 (8)
  • 2016 (22)
  • 2015 (22)
  • 2014 (8)
  • 2013 (2)