Completely deleting services from Riverbed Cascade Profiler

When you delete services from Riverbed Cascade they’ll sit in the list when running reports and so forth - which can be seriously painful over time. There’s a way to clear it out though!

  1. ssh to the profiler as the “mazu” user
  2.  The following command will show you all deleted service policies:

    policycleaner –get-policies

  3.  To clean the DB of these policies

    policycleaner –purge-policies

You’ll probably have to contact Riverbed or your reseller to find out what your mazu password is.

[mazu@profiler ~]$ policycleaner --get-policies
Found 374 policies for service_production.services (<servicename> id=110000).
Found 122 policies for service_production.services (<servicename> id=4647).
Found 494 policies for service_production.services (<servicename> id=1496).
Found 122 policies for service_production.services (<servicename> id=39501).
Found 122 policies for service_production.services (<servicename>id=181317).
Found 13 policies for service_production.services (<servicename> id=100761).
Found 376 policies for service_production.services (<servicename> id=108304).
Found 320 policies for service_production.services (<servicename> id=222364).
Found 372 policies for service_production.services (<servicename>id=184255).
Found 646 policies for service_production.services (<servicename> id=231214).
Found 21 policies for service_production.services (<servicename> id=270907).
Found 1205 policies for service_production.services (<servicename>id=200487).
Found 470 policies for service_production.services (<servicename> id=224917).
Found 261 policies for service_production.services (<servicename> id=220283).
Found 335 policies for service_production.services (<servicename> id=290004).
Found 371 policies for service_production.services (<servicename> id=324298).
Found 685 policies for service_production.services (<servicename> id=324775).
Found 287 policies for service_production.services (<servicename> id=327856).
Found 374 policies for service_production.services (<servicename> id=256178).
Found 245 policies for service_production.services (<servicename> id=346516).
Found total=7215 policies for 20 deleted services in service_production.services.
[mazu@profiler ~]$ policycleaner --purge-policies
Purged 374 policies for service_production.services (<servicename> id=110000).
Purged 122 policies for service_production.services (<servicename> id=4647).
Purged 494 policies for service_production.services (<servicename> id=1496).
Purged 122 policies for service_production.services (<servicename> id=39501).
Purged 122 policies for service_production.services (<servicename>id=181317).
Purged 13 policies for service_production.services (<servicename> id=100761).
Purged 376 policies for service_production.services (<servicename> id=108304).
Purged 320 policies for service_production.services (<servicename> id=222364).
Purged 372 policies for service_production.services (<servicename>id=184255).
Purged 646 policies for service_production.services (<servicename> id=231214).
Purged 21 policies for service_production.services (<servicename> id=270907).
Purged 1205 policies for service_production.services (<servicename>id=200487).
Purged 470 policies for service_production.services (<servicename> id=224917).
Purged 261 policies for service_production.services (<servicename> id=220283).
Purged 335 policies for service_production.services (<servicename> id=290004).
Purged 371 policies for service_production.services (<servicename> id=324298).
Purged 685 policies for service_production.services (<servicename> id=324775).
Purged 287 policies for service_production.services (<servicename> id=327856).
Purged 374 policies for service_production.services (<servicename> id=256178).
Purged 245 policies for service_production.services (<servicename> id=346516).
Purged total=7215 policies for 20 deleted services in service_production.services.

 

This is what it looked like on our profiler:



#Riverbed Cascade #Riverbed Profiler #Work