Aging policy

how can i define aging policy on any cache group?
my cache group consists of one table only.
I've followed these steps:
Command> call ttaginglruconfig (0.75,0.90,60);
< .7500000, .9000000, 60 >
1 row found.
Command>
Command>
Command> call ttaginglruconfig();
< .7500000, .9000000, 60 >
1 row found.
Command>
Command> call ttagingschedulenow ('tblradiuscdr');
2996: Cannot start aging on table without aging policy
The command failed.

Absolutely - time-based aging is covered in the Operations Guide under "Implementing aging in a cache group". Here's an example taken from the Create Cache Group section I mentioned before:
Example 5.47
Create a cache group with time-based aging. Specify AgeTimestamp as the column for aging. LIFETIME 2 hours, CYCLE 30 minutes. Aging state is not specified, so the default setting (ON) is used.
CREATE READONLY CACHE GROUP AgingCacheGroup
AUTOREFRESH
MODE INCREMENTAL
INTERVAL 5 MINUTES
STATE PAUSED
FROM
CUSTOMER (CustomerId NUMBER NOT NULL,
AgeTimestamp TIMESTAMP NOT NULL,
PRIMARY KEY (CustomerId))
AGING USE AgeTimestamp LIFETIME 2 HOURS CYCLE 30 MINUTES;
Command> describe customer;
Table USER.CUSTOMER:
Columns:
*CUSTOMERID                      NUMBER NOT NULL
AGETIMESTAMP TIMESTAMP (6) NOT NULL
AGING USE AgeTimestamp LIFETIME 2 HOURS CYCLE 30 MINUTES ON
1 table found.
(primary key columns are indicated with *)
With regard to adding time-based aging to a production system, the following points may be salient:
- For the time-based aging policy, you cannot add or modify the aging column. This is because you cannot add or modify a NOT NULL column.
- The aging policy cannot be added, altered, or dropped for an autorefresh cache group while the cache agent is active. Stop the cache agent first.

Similar Messages

  • Aging Policy Problem

    Dear All
    I am facing problem with the aging policy in iplanet messaging server.My aging policy is not working
    Please find the below information for your reference
    1) bash-2.03# ./imsimta version
    iPlanet Messaging Server 5.2 Patch 1 (built Aug 19 2002)
    libimta.so 5.2 Patch 1 (built 23:25:07, Aug 19 2002)
    2)configutil Output
    store.expirerule.19042k7i.createtimestamp = 20070419051559Z
    store.expirerule.19042k7i.creatorsname = "cn=msg-mymessaging,cn=iplanet messaging suite,cn=server group,cn=mymessaging.mydomain.com,ou=mydomain.com,o=netscap
    eroot"
    store.expirerule.19042k7i.folderpattern = user/%@mydomain.com/*
    store.expirerule.19042k7i.messagedays = 90
    store.expirerule.19042k7i.modifiersname = "cn=msg-mymessaging,cn=iplanet messaging suite,cn=server group,cn=mymessaging.mydomain.com,ou=mydomain.com,o=netsca
    peroot"
    store.expirerule.19042k7i.modifytimestamp = 20070419051614Z
    store.expirerule.19042k7i.objectclass = nsmsgcfgexpirerule
    store.expirerule.createtimestamp = 20030427141705Z
    store.expirerule.creatorsname = "uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot"
    store.expirerule.modifiersname = "uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot"
    store.expirerule.modifytimestamp = 20030427141705Z
    store.expirerule.objectclass = nsmsgCfgContainer
    store.expirerule.santosh.createtimestamp = 20090317095139Z
    store.expirerule.santosh.creatorsname = "cn=msg-mymessaging,cn=iplanet messaging suite,cn=server group,cn=mymessaging.mydomain.com,ou=mydomain.com,o=netscape
    root"
    store.expirerule.santosh.folderpattern = user/[email protected]/*
    store.expirerule.santosh.messagecount = 5
    store.expirerule.santosh.messagedays = 1
    store.expirerule.santosh.modifiersname = "cn=msg-mymessaging,cn=iplanet messaging suite,cn=server group,cn=mymessaging.mydomain.com,ou=mydomain.com,o=netscap
    eroot"
    store.expirerule.santosh.modifytimestamp = 20090317095315Z
    store.expirerule.santosh.objectclass = nsmsgcfgexpirerule
    store.expirestart = 1530
    Any one can help me ?

    Prashant_wagh wrote:
    1) bash-2.03# ./imsimta version
    iPlanet Messaging Server 5.2 Patch 1 (built Aug 19 2002)
    libimta.so 5.2 Patch 1 (built 23:25:07, Aug 19 2002)Seriously? I would say you should upgrade but I would be probably wasting my time.
    2)configutil Output
    store.expirerule.19042k7i.folderpattern = user/%@mydomain.com/*
    store.expirerule.19042k7i.messagedays = 90
    store.expirerule.santosh.folderpattern = user/[email protected]/*
    store.expirerule.santosh.messagecount = 5
    store.expirerule.santosh.messagedays = 1You have two overlapping rules. Only one rule can be applied to a folder. You could try setting:
    store.expirerule.santosh.exclusive = yeshttp://docs.sun.com/source/816-6009-10/store.htm
    Regards,
    Shane.

  • Messages Deleted in Outlook do not get permanently deleted by aging policy

    Our message aging policy is setup to permanently delete messages asap. It works ok when a user does a delete from the phone but when the user deletes from MS Outlook, the messages linger forever.
    When checked from a phone, the Outlook deleted messages are in the old items folder and are labeled deleted messages. If these messages are then deleted via the phone, they do go away and the messages count in the CUC Edit>Mailbox>Mailbox Information does go to zero finally.
    Any ideas why the Aging policy doesn't work with Outlook? Is there a way to permanently delete the deleted items in the mailboxes of all users?
    Here is our default system policy which is used on all mailboxes:
    Enabled - checked
      Move new messages to the saved folder in 7 days - unchecked
      Move saved messages to the deleted folder in 14 days - checked
         Number of days alert is sent priot to moving saved messages - 3
      Permanently delete messages in the deleted folder in 1 day
         Send alert to user prior to deleting messages - unchecked
         Number of days alert is sent prior to deleting messages - 3
      Secure rules are both unchecked
    CUCM 8.5.1.12018-1
    CUC 8.6.1.10000-109

    Hi Bill,
    I just wanted to add this reference to the great tips from Jonathan (+5 "J-Man")
    I don't see your version in the "fixed-in" releases;
    CSCtr43597 - UC 8.5.1ES16.11900-16 Message Aging Does Not Work
    Description
    Symptom:UC 8.5 message aging policy set to purge deleted messages after one day and it does not purge messages.
    Conditions:The root cause is known:If the difference between the MessageModificationtime+DeleteAgingRuleNumDay and the SystemCurrentTime is more than 99 days, the exception" Overflow occurred on a datetime or interval operation" is thrown by Informix as part of SELECT query on VIEW vw_MessageAging.And the MessageAging procedure is aborted.
    Workaround:None
    Details
    1st Found-in:                          (1)
    8.5
    More
    Less
    Status:
    Fixed
    Last Modified:
    Feb 27,2012
    Known Affected Versions:
    More
    Less
    Fixed-in:                          (6)
    8.6(2.10000.30), 8.6(1.98000.53), 8.6(1.98000.126)8.6(1.64), 8.5(1.13031.1), 8.5(1)ES56
    More
    Less
    Product:
    Cisco Unity Connection
    Platform:
    Dependent
    Severity:
    3 - moderate
    Customer Reported:                          (17)
    Cheers!
    Rob

  • Unity mail box aging policy

    I need to change the current Mail box aging policy for an existing system. If I reduce the current set up how does it effect existing "deleted" messages? Does it delete all existing ones or does it only delete new ones from the date of the change as with changes in Template/COS?
    Also I need to change the alarm threshold is there a best practice based upon the size of the hard drive- % wise ?
    thanks

    Hi -
    The default mailbox message aging policy is Enabled for Deleting voice messages automatically in the Deleted Items folder. "Permanently Delete Messages in the Deleted Items Folder in 15 Days"     
    So unless you have disabled this rule, voice messages are already getting deleted.  You may want to check here.
    When you enable the policy for a specific number of days, the timestamp of the message is used for calculating, based on
    how the user marked the message as new, resaved the message, deleted the message, or restored a deleted message as saved from the phone interface, called the "modification time".  So if you change it to 90 days, voice messages older than 90 days will be deleted the next time the scheduled task "Clean Deleted Messages" runs, which is every day, every 30 minutes.  From Cisco's Unity Connection 8.5 System Admin guide, "If you only need one set of message aging rules, you can change the specifications for the default message aging policy and assign that one policy to all users and all templates. If you need to allow some users to retain messages longer than other users, you can create additional policies and assign different policies to user templates and to individual users. If you want to send message aging alerts to some users and not to others, you can create additional policies that include aging alerts. (Message Aging Alerts are available only in Cisco Unity Connection 8.5 and later.)". You might have "privileged" users, i.e. Managers that you want to protect and configure a different policy for these users.
    Hope this helps!  Ginger

  • Unity Message Aging Policy

    All,
    is there anyway to customize the Message aging policy beyond the options that are present?  As an example any way to move a message from New Directly to Deleted Folder after 10 days but bypass the Move to Saved folder?
    Thanks,
    All replies rated.

    Hi Trevor,
    One nice way with Unity Connection is with the use of this excellent tool from the great suite of Unity Tools (use the ** reset" feature **).
    Unity Connection Bulk User Delete   
    For resetting users you have the option of emptying the mailbox,  resetting greetings, deleting voice names,  resetting passwords,  removing private lists and a number of other  options you may choose.   For installations where the user base “changes  over” frequently such as  schools this may be a nicer option.  This  option is also allowed for  CoRes installations since it does not involve  the removal of user  objects from the Connection database.
    http://www.ciscounitytools.com/Applications/CxN/BulkUserDelete/BulkUserDelete.html
    Cheers!
    Rob
    Please support CSC helps Kiva
    https://supportforums.cisco.com/blog/12122171/cisco-support-community-helps-kiva

  • Cisco Unity Aging Policy Not workin as intended

         HI ,
          We have cisco unity connection 8.5 integrated with call manager 8.5. We face issue on the aging policy values set. Permanently delete all secure message that are older than _ days, value has been set and is not working as intended,Once's the value have changed should the connection agent service to be restarted? Have any 1 faced such issue ?
    Thanks,
    Rahul

    I just noticed that we are having this issue as well.  What was the resolution that Cisco gave to you?  I'm curious.
    Thanks,
    Josh

  • Message aging policy

    Dear folks,
    I need to create message aging policy (based on the age of the message) and mbox aging policy( if there is no login /incoming message in n number of days).
    The users that are affected by these policies will be based on an private LDAP attribute. Is there a way that I can incoopperate this LDAP attribute value to setup the aging policy filter?
    Thanks,
    T Dang

    Dear Jay,
    mboxutil is your friend, here. I suggest writing something that calls mboxutil, and parses the output. These are not orphaned, unless they've been deprovisioned in ldap, not something you mentin.I can use "mboxutil -l" for the ZERO size case.
    But for the inactivity case, the comand "mboxutil -l" ==> list of mbox which include the time of last msg. For mail box without message, no date returned ... I guess that since your earlier post, you have indicated that there is no way to determine the time of the last login (activity)
    mbox -o -t n ==> I guess I won't be able to use this option, since this will output only orphan mail boxes.
    Thanks,
    T Dang
    Message was edited by:
    tindang

  • Aging Policy Output From Stored

    Hello,
    I am currently making some changes to our SPAM cleanup policy. After the changes have been done and have done stop-msg, start-msg, I decided to test out of things looks right. I am running "stored -c -n -v" and looking at some of the output, it looks like more than just SPAM/Trash/Deleted folders are getting processed. Is this normal output? What I am seeing is a NOTICE that stored is
    "processing mailbox 'user/joeuser/INBOX'" when I thought I would only see folder names that I have specified in the expirerule settings. Here's what I have for the SPAM folders - policies for Trash/Deleted are similar:
    store.expirerule.purgespam.exclusive = false
    store.expirerule.purgespam.folderpattern = user/*/SPAM
    store.expirerule.purgespam.foldersizebytes = 524288
    store.expirerule.purgespam.messagecount = 50
    store.expirerule.purgespam.messagedays = 1
    store.expirerule.purgespam.messagesize = 262144
    store.expirerule.purgespam.messagesizedays = 1
    Your help and comments will be appreciated.
    Keith

    Hi Keith,
    As usual please supply version information (./imsimta version) -- expire/aging support has changed lots during the various versions/hotfixes etc.
    I am currently making some changes to our SPAM
    cleanup policy. After the changes have been done and
    have done stop-msg, start-msg, I decided to test out
    of things looks right. I am running "stored -c -n -v"
    and looking at some of the output, it looks like more
    than just SPAM/Trash/Deleted folders are getting
    processed. Is this normal output? Why are you using "-c" as well ?
    This is a very specific operation to erase expunged messages, which is different to testing expiration rules.
    A better test-run command is:
    ./stored -n -vv
    What I am seeing is
    a NOTICE that stored is
    "processing mailbox 'user/joeuser/INBOX'" when I
    thought I would only see folder names that I have
    specified in the expirerule settings. The stored expire run will process all folders for a match to the folderpattern and as part of the cleanup-cycle (checking for store.exp). If this pattern doesn't match or if the mailbox is empty (no store.idx) then it will not action the expire rule(s).
    Regards,
    Shane.

  • Aging and Auto Refresh

    Hi
    I read from one of the previous threads that "Even if rows are aged out by the aging mechanism, if those rows still exist in Oracle they will simply be pushed back to the cache on the next AUTOREFRESH." Aging is to remove data that is no longer needed. So, if autorefresh keeps updating TimesTen with the already aged out data, Cant aging and autorefresh co-exist to achive this purpose?
    Thanks..

    Ageing policy in TimesTen (TT) can vary depending on your set up. In general ageing is there to get rid of unused data (based on LRU ageing, Time-based ageing etc). I believe the ageing process can also be usage based. For example remove Least Recently Used data when database usage passes > 90% threshold. Since in normal operations, there is finite size to TimesTen DataStore and TempStore and disk resident databases (DRDB) have a habit of growing then TT has no choice except getting rid of the old data.
    In normal operations probably you will deploy Incremental Autorefresh whereby Oracle tracks changes and periodically updates only the rows in the cache group that have changed in Oracle's DRDB. If that is the case then those updated rows will end up in MRU section of the cache again and will not be deleted.
    I think the best cache strategy is to use something like DYNAMIC ASYNCHRONOUS WRITETHROUGH GLOBAL CACHE GROUP where data from corresponding Oracle tables will be loaded into TT on request. So this is loading data on demand which is kind of useful as the first load would be slow (replication getting rows from Oracle DRDB table into TT table). However, subsequent references in TT to the row will be fast as by then the row is already in TT's cache. In real life scenario, TT only gets data as it is needed and it deletes data as it does not need.
    HTH,
    Mich

  • About replication and aging

    System environment:Oracle 10.2.0.5, TimesTen 11.2.1
    Size of datastore: PerSize=2000, TempSize=400
    Create all cachegroup with:
    Aging use recvtime LIFETIME 20 minutes cycle 5 minutes ON;
    Our application runs normally at first, then PerSize reaches maximum value for a couple of times and the program is stopped.
    We checked Persize with command dssize:
    PERM_ALLOCATED_SIZE:204800
    PERM_IN_USE_SIZE:2047588
    PERM_IN_USE_HIGH_WATER:2047588
    We confirmed that the data in the table has been written to tables in Oracle, but the space for tables in TimesTen was not
    released. Seems that the Aging policy has no effect. I am wondering why is this happening and how do we find out where the
    problem is?
    Thank you.

    Some thoughts..
    Can you verify that the AWT bookmark is moving forward, indicating that transactions are being sent to Oracle. Use "call ttlogholds" from ttIsql while your app is running. Aging won't occur on rows that have not been propagated to Oracle.
    The only other thing I can think of is that if the aging thread encounters a row lock error, it will ignore this row and move on to the next. If it encounters table lock errors, there is nothing it can do for that table. This would probably show up as Warnings in the ttmesg.log files.
    You could also try tracing aging from ttIsql:
    call tttrace('level aging 4');
    call tttrace('outfile /tmp/ttaging.out');
    Now run your app. When the Perm section is full so:
    call tttrace('level aging 0');
    to turn tracing off, and then check what's in the trace output file /tmp/ttaging.out . You should see a sample entry like this:
    09:42:23.272 473 AGING 2L 2044C 3382P Entering sbAgingOneTable(): curTime=87, ltblid= 637076
    09:42:23.272 474 AGING 3L 2044C 3382P curTime=87, 6 deleted, 0 remaining, tbl = TT.OCGF
    09:42:23.272 475 AGING 2L 2044C 3382P Exiting sbAgingOneTable(): curTime=87, reason = 'no more rows', 6 deleted, 0 remaining, tbl = TT.OCGF
    09:42:23.272 476 AGING 1L 2044C 3382P Exiting sbAgingTB(): curTime
    which'll give you an idea of how many rows it was able to delete.

  • Is there limitation in setting aging rule?

    Hi.
    In our project(using iMS 5.1),
    Our customer want to setting the aging rule
    about 10,000 aging policy(per user and user folder)
    Is there limitation in setting aging rules?
    How man aging rule is recommanded?
    Regards,
    Heungdeok Yoon.

    By aging rule do you mean expiration rule ?
    If that be carefull, the release notes says:
    Use of expiration rule could cause you to unintentionally delete messages. (400343)
    A problem exists with the attribute store.expirerule.name.foldername.folderpattern.
    Expiration rules that include this attribute will select folders outside the criteria you specify. This could create serious problems, including the unintentional deletion of messages. Therefore, do not use this attribute to limit a folder selection.
    I expect to have been of help

  • Unity Connection policy trigger time?

    Does anyone know, upon enabling the aging policy, how soon after enabling does it kicks in? Wonder if there is a timer it cycles through in a 24 hr period?
    Thanks

    Interesting, thanks for the clarification!  I played around with it some more, I tested disabling message aging entirely (not having messages go to the deleted items folder) and that one took effect right away, any new messages that were deleted were purged immediately.  However, if there were pre-existing messages in the deleted items folder, those didn't get removed and seemed to be using the ;pre-existing policy.  +5 for you as well!

  • Unity Connection 8.5 message aging

    In Unity connection 8.5, if message aging policy "Permanently Delete Messages in the Deleted Items Folder in" is set to N days, does it permanently delete the messages individually exactly N x 24 hours after the message was deleted or does Unity Connection run a purge of all messages past due to be deleted at a specific hour once a day (for example, at midnight).
    In other words, if I have it set to 1 day and a message was "deleted" by a user at 1pm today, will Unity Connection purge such message at (1) 1pm tomorrow or (2) some scheduled time tomorrow after 1pm.
    Thank you.  An answer will be greatly appreciated.

    Hi,
    The Task agent runs every 30 minutes
    Hence the message will be deleted  as soon as  task agent runs after 1 pm Next day.

  • Best Practices for Setting up MailBox Quotas in Unity Connection.

    Hi all,
    I've just completed migrating from Unity 4.0.5 to Unity Connection 8.0.2c and all seems to be working well at the moment. I am looking into setting up quotas for subscriber mailboxes and I would like to find out what are the rules of thumb when assigning disc space to user mailboxes ? and How much disc space does it take for a one minute message ?
    Thanks in advance for any inputs/suggestions !!!
    D.

    D. Tran,
    Here are some things to consider:
    –Mailbox Quotas
    •Specifies a mailbox size in MB for Warning, Send, and Send/Receive Quotas on mailboxes
    •Can be applied system-wide and customized on a per-user basis (maximum mailbox size is 2GB)
    •Default Warning Quota = 12 MB (25 min of recording with G711)
    •Default Send Quota = 13 MB (27 min of recording with G711)
    •Default Send/Receive Quota = 14 MB (29 min of recording with G711)
    When you use G711, the space requirements for a message are:
    •480Kb/min when using G.711
    –Message Aging Policy
    •If enabled, it applies system-wide but can be disabled on a per-user basis.
    •If disabled, no message aging policies are applied and cannot be enabled on a per-user basis.
    Should you need to be more aggressive in your Message Aging Policy, you can optionally choose to move saved messages to the Deleted Items folder within a specified timeframe.  This is disabled by default.
    I typically recommend giving users access to the deleted items (it allows them to access deleted messages for a period of time after they delete them). This is set in the Class of Service here:
    –Class of Service > Message Options > Uncheck “Delete Messages Without Saving to Deleted Items Folder”
    Hope this helps.
    Hailey
    Please rate helpful posts!

  • Mailbox quota on Cisco unity, quick question

    Hello guys,
    I was facing a probleme with an unity connection cluster. I had a message which tell something like that
    "no disk space avalaible, user cannot depose message..."
    So I tchecked my space on disk (screenshot attached) with the show cuc dbserver diskspace command, but I don't know what I need to see to diagnose an eventual problem.
    I changed the mailbox quota for my users from 15 to 40MBytes and all is right now.
    But what is the good practise ?
    - tell my user to delete their mailbox ?
    - expand my mailbox quota ?
    - others ideas ?
    Thanks for your good ideas
    Kévin

    I would consider implementing a aging policy. You could notify users via email before aging out messages.
    I will be careful expanding mailbox size unless your system is over provisioned to handle your environment. Also larger mail store will cause issues with daily backups and etc.
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/connection/8x/administration/guide/8xcucsagx/8xcucsag190.html#pgfId-1050845

Maybe you are looking for

  • Deleting brushes from CS6

    I am having problem with deleting brushes from the panel. for some reason it seems that I have them stored in 2 different places. I really would like to re-arrange them but don't know how I can do that. Any suggestions

  • Game i purchased quit working.  can't find it to download again.

    I bought mahjong match topzilla in feb...stopped working...how do i download again?...can't find the game.

  • Return not linking

    Hi Experts My client has an issue (its not happening all the time but i cant seem to replicate it). Sometimes when copying a return document from a delivery note, it creates the return and states the base document numbers in the remarks of the return

  • Everytime I open a project it indexs all the files again

    I just started to use CC after CS6, 5.5,5, 4 .... What is with the indexing and peak file generating all the time? Please tell me someone is there a way to stop this? I just captured 12 hours of tape last night I left it on all night so it could take

  • Need Confirmation in IDOC creation

    I activated the standard message type MATMAS and setup the receiving system etc. After creating material and chaning the existing one, I go to BD10 and run the program. I am getting message as 1 master idoc created... and after some time I get 1 comm