smpolicysrv -flushcache command does not flush the policy server cache

book

Article ID: 15362

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) AXIOMATICS POLICY SERVER CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction



Policy server cache flushing from the command line by running command : smpolicysrv -flushcache doesn't work.

While running this command , it gives following error in the smps.log :

 

[CServer.cpp:7668][INFO][sm-Server-04520] Server 'flushcache' command received. 

[CServer.cpp:7669][INFO][sm-Server-04750] Server 'flushcache' command is disabled.Please contact CA Technologies Customer Support for further information 

Note : 

 

  • Cache update is already enabled on the policy server by running command :smpolicysrv -enablecacheupdates.
  • Cache flushing from Administrative UI is working.

Environment

Policy server : r12.5, r12.51, r12.52, r12.6, r12.7 (inclusive of all SP & CR)Policy server OS : Any

Resolution

Policy server cache flushing functionality from the command line is deprecated.

The cache can now be flushed only from Administrative UI.