Implementation of Time-based QOS/CAR, using "time-range" command

We would like to configure a Time-based QOS/CAR Policy to allow our ISP Customer to have more Burst BW during Weekends then weekdays. In our setup, we color all Burst traffic of all Customers with precedence 1 and then allocate some amount of BW to this shared Pool for precedence 1. So, using Cisco's Technology of "time-range", we have done following config to achieve the said objective. But we are not able to achieve the automatic activation of weekday CAR despite the fact that weekend acces-list/Car gets automatically get deactivated when week-end is over and weekday access-group i.e. 197 gets activated (gets activated but no match in access-group & CAR, can see using show access-list & sh interface rate-limit | include access-group 199 command)
Would appreciate yr valuable input to achieve the desired task.
Configuration :
Interface HSSI 2/0/0
rate-limit output access-group 199 6000000 32000 32000 conform-action transmit exceed-action drop
rate-limit output access-group 197 5000000 32000 32000 conform-action transmit exceed-action drop
Global Coonfig :
access-list 197 permit ip any any precedence priority time-range WEEKDAYS
access-list 199 permit ip any any precedence priority time-range WEEK-END
time-range WEEK-END
periodic weekend 00:00 to 23:59
time-range WEEKDAYS
periodic weekdays 00:00 to 23:59
Note : Customer's Burst Pkts have already been colored with precedence bit 1 i.e priority in CAR statement which are above of these two CAR statements(these CAR statements come in last).

Hi,
   I have used the below command.
run
allocate auxiliary channel ch1 type disk;
allocate auxiliary channel ch2 type disk;
set newname for database to '/u08/app/oracle/oradata/new/%b';
duplicate database to  "new" 
UNTIL TIME "TO_DATE('08-JAN-2014 15:22:31','DD-MON-YYYY HH24:MI:SS')"
BACKUP LOCATION '/backup01'
LOGFILE
GROUP 1 ('/u08/app/oracle/oradata/new/log01a.dbf','/u08/app/oracle/oradata/new/log01b.dbf') SIZE 100M REUSE,
GROUP 2 ('/u08/app/oracle/oradata/new/log02a.dbf','/u08/app/oracle/oradata/new/log02b.dbf') SIZE 100M REUSE,
GROUP 3 ('/u08/app/oracle/oradata/new/log03a.dbf','/u08/app/oracle/oradata/new/log03b.dbf') SIZE 100M REUSE;
Thanks
SR

Similar Messages

  • How do i filter the records in analytic view by using variable/parameter for a time range

    i have a analytic view which has a output column as date type. i want the user who use this view have the control to decided the output records based on a time range (from x to y).
    i tried to create 2 variables, 1 for start_time, 1 for end_time. Ideally, i should have a expression for filtering data like this:
    $$start_time <= date_column <= $$end_time
    However, the variable windows doesn't seem to be feasible for the expression as above.
    Does anyone has the same problem and get it solved?
    Thanks!

    just figured out by my own. So the answer is using "variable" with "range" option.
    Making a variable, then set the "selection type" to "range".
    When preview the data, the variable input window pops up with operator on default "equal", use dropdown list to swtich it to "between", then you can enter the start_time and end_time as a range filter.

  • How to Implement a Time Limit Feature in an Online Test Application ?

    I am creating an Online Test application. The time limit can be stored for a Test in the database.
    How to implement a time limit such that when the test is started (user clicks on the Start button to go to the fragment containing the Questions) the time left is shown and the test ends (goes to home page) when the timer reaches zero.
    Thanks

    Hi,
    timestamp is a date and thus cannot be used directly to determine seconds passed. So what you need to do is to build the difference between a saved time stamp and the current time.
    http://docs.oracle.com/javase/1.4.2/docs/api/java/sql/Timestamp.html
    So if you have two time stamps, then calling getTime() on each and building the difference gives you a value, which is millisecond. So to get this to an int value you divide it by 1000
    Frank

  • Need to implement the timer class for 1.1

    Hi
    I am using JDK1.1 for integration with a STB.
    The timer class is not existing for 1.1.
    Where I can find an implementation code of the timer class in order
    to perform a schedule task which work with JDK 1.1
    Thanks
    Fred

    Before you look for Sun's implementation of Timer in post-1.1 versions, make sure you read the licence agreement for those versions and the copyright notice on the code. There's a good chance that by using that code you will be violating one or both of those. This may be a serious issue.
    Your other alternative is to read the API documentation for Timer (and TimerTask) and to write your own implementation. That shouldn't be too difficult.
    I doubt that you will find people actively writing open-source extensions for Java 1.1 since Java 2 has been out for nine years now. Most likely you are on your own there.

  • Implementing Joda Time in Java Netbeans

    How do i implement joda time in java netbeans. i am reporting using ireports and on run time my report is showing java util and and time for a variable say DateOfBirth for which i don want the time to be include.how do i resolve it.
    Thank yu so much

    I am not sure I understand your question as it's posted. But let me offer a reference- there's a book being written by this guy:
    http://www.netbeans.org/community/articles/interviews/yarda-tulach.html
    on designing modular APIs. He's been involved in Netbeans from the start. Writing a plugin API is non-trivial where non-trivial means, essentially, non-commoditized knowledge needed to solve what's known as a "wicked problem".
    If you're asking what I think you're asking, no one is going to be able t type an answer to you in Sun's forums, but it's a good question and the right question to ask, that's for sure.
    best of luck!

  • How to implement real-time refresh datas in obiee?

    How to implement real-time refresh datas in obiee?

    Can you elaborate more...
    If you want to see refreshed data in OBIEE Reports, you need to implement Caching mechanism based on how you often refresh warehouse..
    [http://download.oracle.com/docs/cd/E05553_01/books/admintool/admintool_QueryCaching6.html]

  • How can be implemented  a Timer?

    Hi,
    I have this simple question:
    - How can I implement a timer?
    The current SOA palette in JDeveloper doesn't provide any Timer action.
    This would be very useful to have. Is the Oracle SOA team planning to implement a timer control in JDeveloper?
    Thanks
    Alexandru

    Alexandru,
    I think that in this release you need to implement a timer by yourself. You can use Quartz, the EJB Timer, or the OC4?J scheduler, or an external scheduler.
    I think that in future releases there is a plan to add such a feature, but I'm not sure.
    ~ronen

  • Implementing Release Time Fence in ASCP

    we are using unconstrained ASCP and we have to implement Release Time Fence, so that purchase requisitions & Work orders can be released automatically through ASCP.
    which Profile needs to be changed & what other necessary action to be taken before implementing it?
    Pls guide!!

    Hi,
    Below are some of the causes.
    1. Check if they are configured items. if so, then make sure in the Tools/Preferences -  Other tab - In the Supply Demand Region the check box Release Configurations is enabled.
    2. Check the WIP Supply Type of item and if its phantom then make sure in Tools -> Preferences -> Other -> Release Phantoms check box is enabled.
    3. Make sure the order type is Planned Order and not Planned order Demand.
    4. Also check if these planned orders are for MPS/MPP planned items and are from some other demand schedule plan. If so, then ensure
    MSC: Allow MRP Release of Planned Orders from Demand Schedule Plan profile is set to Yes.
    5. Is that planned order shown in pink color.
    Thanks,
    Abhishek Sharma
    Please mark the post correct or helpful, if answered

  • Implementing Real Time, Outbound Interfaces

    Hi All,
    I have never worked on Interfaces before.
    I need help in Real time, Outbound Interfaces.
    How do we implement Real Time and Outbound Interfaces.
    Any pointers or suggestions would really be helpful.
    Thanks,
    Saher

    cotton.m wrote:
    JMS? Thanks cotton, I will look into JMS
    Unless you just wanted to play with sockets for the experience in which case you can do as you like. If you want get better with Java networking then IMO you must get ejp's book. [http://www.amazon.com/Fundamental-Networking-Java-Esmond-Pitt/dp/1846280303]
    It's more of a fix before we release it to the poor souls that will be using our software, oh how the public are blind...
    Mel

  • How to implement countdown timer in apex

    Hi all,
    I want to implement timer in my application.i am working on apex 4.0 version.I am developing online test application,so for this i want to display timer for test.
    can anyone suggest me how can i implement countdown timer in my application.
    thanks
    jitu

    Hi,
    You can refer "Martin Giffy D'Souza's" Enhanced APEX Session Timeouts example
    http://www.talkapex.com/2009/09/enhanced-apex-session-timeouts.html
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • Discrete time range over date range  (using CR X1)

    Post Author: sjr
    CA Forum: Formula
    Can anyone show me how to select data over a discrete time range i.e. 6 p.m. till 11 p.m. per day, over a period of a month ?
    Using the data time parameter gives me data from 6p.m. on startdate right through till 11p.m. on endate.

    Here's a more detailed description...
    Create two formula fields to split the date and time from the data records (ds prefixed):
    dsDate
    dsTime
    Create two formula fields to split the date and time from the parameter fields (pm prefixed):
    pmStartDate
    pmStartTime
    pmStartDate
    pmStartTime
    Use your new formula fields in the record selector. Get to this off the Report menu button (in CR 2008):
    Report | Select Expert... | Record.
    You can pick the formula fields in the Forumula Editor to create something like:
    ({@dsDate} > {@pmStartDate} and
    {@dsDate} < {@pmEndDate}) and
    ({@dsTime} > {@pmStartTime} and
    {@dsTime} < {@pmEndTime)
    Tim

  • Possibility to use both Time Range ACL and PBR.

                       Hello
    I would like to find out the attached requirement.
    If there is any related information we greatly appreciate it.
    Actually I have already configure on Cisco1812J by using the following command.
    however the ACL status still shows "inactive" and the PBR does not function.
    *Configuration on R1
    time-range PBR-TIME
    periodic weekdays 15:40 to 15:41
    ip access-list extended PBR-TIME
    permit ip host 10.0.30.11 host 1.1.1.1 time-range PBR-TIME
    route-map PBR-TIME permit 10
    match ip address PBR-TIME
    set ip next-hop 10.0.20.3
    interface Vlan1
    ip address 10.0.30.1 255.255.255.0
    ip policy route-map PBR-TIME
    *Verification
    R1#sh ip access-lists
    Extended IP access list PBR-TIME
        10 permit ip host 10.0.30.11 host 1.1.1.1 time-range PBR-TIME (inactive)
    R1#sh route-map
    route-map PBR-TIME, permit, sequence 10
      Match clauses:
        ip address (access-lists): PBR-TIME
      Set clauses:
        ip next-hop 10.0.20.3
      Policy routing matches: 0 packets, 0 bytes
    *Traceroute from SW1
    SW1#traceroute 1.1.1.1
    Type escape sequence to abort.
    Tracing the route to 1.1.1.1
    VRF info: (vrf in name/id, vrf out name/id)
      1 10.0.30.1 0 msec 0 msec 9 msec
      2 10.0.10.2 0 msec 0 msec 17 msec
      3 10.0.11.254 0 msec *  0 msec

    Oh that is incredible!!
    It has been functioning correctly like this.
    Thank you for quick and precious advise.
    Regards,
    Masanobu Hiyoshi
    R1#sh ip access-lists
    Extended IP access list PBR-TIME
        10 permit ip host 10.0.30.11 host 1.1.1.1 time-range PBR-TIME (active) (45 matches)
    (omit)
    R1#sh ip access-lists
    Extended IP access list PBR-TIME
        10 permit ip host 10.0.30.11 host 1.1.1.1 time-range PBR-TIME (inactive) (45 matches)
    R1#
    SW1#traceroute 1.1.1.1
    Type escape sequence to abort.
    Tracing the route to 1.1.1.1
    VRF info: (vrf in name/id, vrf out name/id)
      1 10.0.30.1 0 msec 0 msec 0 msec
      2 10.0.20.3 0 msec 0 msec 9 msec
      3 10.0.21.254 0 msec *  0 msec
    SW1#traceroute 1.1.1.1
    Type escape sequence to abort.
    Tracing the route to 1.1.1.1
    VRF info: (vrf in name/id, vrf out name/id)
      1 10.0.30.1 0 msec 9 msec 0 msec
      2 10.0.10.2 0 msec 0 msec 8 msec
      3 10.0.11.254 0 msec *  0 msec

  • Using a different TIME range that is different from the default TIME dim

    Hi all - this is my first post - so please be gentle!
    I am busy writing an EVDRE report on an application for which I need to use a different time range than what is currently the overall time dimension for all our other applications.
    Currently the overall time dimension is set for MAR to FEB (Financial year). I now need to do a report for - OCT to SEP reflecting the YTD values?
    The report also calls for having variable A compared against variable B over the extent of this period (OCT to SEP -> YTD). So in essence I will not be displaying any PERIODIC values but rather just the YTD values.
    How can I do this without having to resort to a manual entry of each month's TIME dimension details and still ensure the report dynamically changes when I do an EXPAND?
    I am using BPC 5.1 SP3 on Microsoft Office 2003.
    Kind regards
    Pieter

    Well, without seeing the report and the setup, my suggestion is to leverage the EVTIM function.  If your columns are static, but the user selects a period for the report, you should be able to set-up the function to build the 2 sets of 3 months.  The EVTIM function simply references another time value, and adds up or down at a specific level as a member for use in the column (or that is where I would use it).
    Does that make sense?

  • Lion Preview.app crashes every time i use a key command

    Whenever I use a key command in Preview.app it crashes.
    I'm fine selecting any command from the actual menus, but as soon as I use the key commands for the same functions the app crashes.
    (And we're talking also basic stuff like command N or O or even Period to exit an Open dialog.)
    So … anyone have any ideas?
    I've tried trashing all Preview preferences in my library folder, and I've repaired permissions, and I've tried a safe boot … but the problem remains.
    The problem is local, and everything works just fine for other user accounts on the same machine. But I'd rather solve the issue than migrating all my data to a new account.

    Ha! Fixed it!
    Kept reading all "Preview+plist" threads and found this one: https://discussions.apple.com/message/17195650#17195650
    And sure enough, trashing ~/Library/Containers/com.apple.Preview/ reset the preferences for Preview.app and now all key commands work without crashing.
    But if erasing that folder, and more importantly the plist in it, did reset the preferences, that would suggest the preferences were being saved there. So I now changed the prefs and quit the app, and then trashed the containers folder again, and restarted the app. But strangely the prefs remained. So I thought, well if the prefs were being stored there, maybe erasing that plist made Preview reinstate the regular plist in the regular Preferences folder? But no go, as there's still no regular Preview plist in the regular Preferences folder.
    So now, there's no regular plist, and erasing the Containers folder no longer resets the prefs, but changes to prefs are still being saved somewhere … so where the **** are they being saved now? It's like they just keep burrowing down further into the ground with every attempt to erase them. What the **** is going on? ;-)
    Anyways, the initial problem is solved, so … maybe I should just let the mystery remain? ;-)

  • Dealing with a turn based application with using a global static variable

    Hi there. I read some articles about JavaFX concurrency,so as a newbie i have to practice on it. Now i'm trying to implement a turn based application that can be played among 3-6 players. Moreover, i use a scene imported from a .fxml file and i have to update it correctly depends on some calculations of each thread (in other word players ). My main issue is, i don't wanna use a while loop which checks the state of game like;
    while( GameState != State.GAME_OVER ){
         currentPlayer = GameBoard.getNextPlayer();
         // do some actions,calculations etc.
    So, i want to use worker threads instead of this while loop. I guess using Service class for iterating and assigning the next player will be suitable instead of using the while loop and Tasks for doing each player's calculation,or waiting for some responses from Human players on UI based,however, i'm struggling with two problems.
    There should a global static variable ( like GameState which is an Enumarator ) determines the state of the game,so it should be updated and should be checked by each turn. Is there any way to do this ?
    How can i get rid off this while loop ?
    I will appreciate for every answer. Thanks anyway.

    It shouldn't make too much difference. The basic idea is that you have a model class representing your game state (the Game class in jsmith's example). When a player makes a move, you update the state of the game. Since this will result in changes to the UI, this update should be performed on the FX Application Thread.
    If the player making the move is a human player, the move will likely be made by a user action (button press or mouse click, etc); this will be handled on the FX Application thread anyway.
    When the state of the game changes so it is the turn of an "artificial" player to make a move, have the object representing the artificial player calculate its next move, and then update the game state. Since this is a response to the game state changing (it's now the turn of the artificial player), this will also be on the FX Application Thread.
    The only (slight) complexity comes if the calculation of the move for the artificial player takes a long time. You don't want to perform this long running calculation on the FX Application Thread. The cleanest way to manage this is to launch a Task which calculates the desired move, and then updates the game state when the move is ready. So, something like this:
    GameState game = ... ;
    // UI is bound to the game state.
    ExecutorService executorService = ... ;
    final Player currentPlayer = game.getCurrentPlayer() ;
    final Task<Move> calculateMoveTask = new Task<Move>() {
         @Override
         public Move call() {
              Move move = // compute next move...
              return move ;
    calculateMoveTask.setOnSucceeded(new EventHandler<WorkerStateEvent>() {
         @Override
         public void handle(WorkerStateEvent event) {
              gameState.makeMove(currentPlayer, calculateMoveTask.getValue());
    executorService.submit(calculateMoveTask);
    If you're doing more threading than that, you're probably doing it wrong... . There should also be no need for anything to be held as a "global" static variable (the idea above is the only structural modification you need to the example posted by jsmith).

Maybe you are looking for

  • I need help with my External DVD-RW and my iMac

    I hope there is someone out there that can help me out. I was using my PC for burning DVDs and it just died. I've been using my Pioneer DVD burner in there and now I'm trying to use it on my Intel iMac. When I hooked it up using an external firewire

  • Zire72 and garmin mobile xt

    Gentlemen: I am trying to install the program Garmin Mobile XT in my PalmZire 72. I have a Adapt AD-350+ Bluetooth GPS receiver. The program initiates the installation, however, I receive the following message: "FATAL ALERT - Emul68KMain.c, line: 438

  • My Macbook1,1

    I recently picked up a (to my knowledge) 1st generation Macbook. According to the seller he told me it was a late 2007 model but after more research and some friends on another forum I found out it is an early 2006 model. I have never used anything A

  • How can you save videos from an iPad to an external memory?

    How can you save videos from an ipad to an external memory?

  • When unplugged my MBP randomly shuts down and won't start up again

    When my MBP is unplugged it randomly shuts off and won't restart. To get it to boot up again I have to plug it in. Today I was using my computer for about 15 minutes unplugged and it just shut down by itself. I was right in the middle of typing somet