Revision as of 22:16, November 12, 2015 by Sschlich (talk | contribs)
Jump to: navigation, search

Reset Mailbox Counters

You can run a python script to correct an error that caused Feature Server to display incorrect totals for the number of messages in a mailbox. Feature Server release 8.1.201.64 includes two python scripts for you to run:

  • Script for mailbox counters renewal or reset: renewMailboxcountersColumnFamily.py
  • Script for checking mailbox counters: getAllMailboxCountersInfo.py

Procedure: Reset Mailbox Counters

  1. Verify that:
    • Your Cassandra database is backed up. See Backing Up and Restoring Cassandra Data.
    • All Feature Servers are up and running.
    • There is no voicemail activity (for example: no one depositing, reading, or listening to voicemail).
  2. Run the renewMailboxcountersColumnFamily.py script, collecting the log and console output.
  3. Stop all Feature Servers (all FS nodes)
  4. Restart the master FS node, and then each of the other FS nodes one at a time.

Sample Command Line

java -jar jython-2.7b1.jar renewMailboxcountersColumnFamily.py -H localhost -p 9160 –o ./ renewMailboxcountersColumnFamily.log
Comments or questions about this documentation? Contact us for support!