ACE: Different Sticky rules for different URLs

Is there a way to apply different sticky rules (or no sticky at all) depending on the URL for a given site under ACE?
The reason I want to do this is because I have an extremely common URL that chews up sticky resources when it doesn't matter if the URL is sticky. We have several thousand PC's that have a web based screen saver on them that just pull random pages to be displayed on the users' screen when the screen saver kicks in. These pages do not need to be sticky but other pages on the same farm need sticky. Is this possible?
Casey

Create a more specific Layer 7 class map and instead of calling sticky serverfarm use serverfarm.
for example
sticky http-cookie COOKIE STATIC
cookie insert browser-expire
timeout 5
serverfarm WEBFARM
serverfarm host WEBFARM
rserver SV1 80
inservice
rserver SV2 80
inservice
class-map match-any APP1-VIP
2 match virtual-address 10.86.178.160 tcp eq http
class-map type http loadbalance match-all Condition1
2 match http url .*
3 match http header Host header-value 172.16.31.*
4 match http header User-Agent header-value .*MSIE.*
class-map type http loadbalance match-all Condition2
2 match http url .*
policy-map type loadbalance first-match L7_COOKIE_STATIC
class Condition2
sticky-serverfarm STATIC
class Condition1
serverfarm WEBFARM
policy-map multi-match CLIENT_VIPS
class APP1-VIP
loadbalance vip inservice
loadbalance policy L7_COOKIE_STATIC
loadbalance vip icmp-reply active
loadbalance vip advertise active
Syed

Similar Messages

  • ACE SSL Reverse Proxy for multible URLs

    Hi,
    I am trying to setup an ACE as a reverse proxy (one-arm mode) for HTTPS connections for multiple URLs to multiple serverfarms. From what i know i have two options:
    1. Use different VIP for each URL and do
    L4 loadbalancing or use a
    combination of IP address and port.
    2. Use different VIP for each URL, do
    SSL offloading and do L7 URL based
    loadbalancing.
    So with these options i am bind to use different IPs for each site. Is there a way i can use one VIP and then offload SSL and do URL based loadbalancing? From my knowledge we are restricted by the nature of the SSL. The reason is that the SSL protocol is a separate layer which encapsulates the HTTP protocol. So the problem is that the SSL session is a separate transaction that takes place before the HTTP session even starts so there is no visibility of the HTTP header.
    Any comments appreciated
    George Georgiou

    Geroge,
    your understanding is absolutely correct.
    We need to know the site in order to decrypt te traffic because the certificate is associated to a domain name.
    But without decrypting, we can't see the domain name.
    So, the only way to know the domain without decrypting is to allocate a single ip to each domain.
    There is no other solution.
    Gilles.

  • ACE Best Sticky Method for SSL Traffic

    Hi, With ACE 4710 running serverfarms primarily running SSL traffic, what is the best method for configuring stickiness. Here are some parameters:
    1) low volume sites, 2 real servers
    2) ACE _will not_ do SSL offloading
    3) Balancing HTTPS requests
    4) Many versions of HTTP clients
    5) Currently running ACE A1 code
    I am thinking of:
    1) TCP Header | HostID inspection
    2) SSL-session ID (not good if re-key often though)
    3) Any suggestions?
    many thx,
    WR

    Hi Will,
    You can see a comple configured example for your perusal in this regard for
    Configure ACE Module for End to End SSL Termination
    http://www.cisco.com/en/US/products/hw/modules/ps2706/products_configuration_example09186a00809c6f37.shtml
    And Many more here regarding
    Data Center Application Services Configuration Examples:
    http://docwiki.cisco.com/wiki/Category:Data_Center_Application_Services_Configuration_Examples
    Hope these configuration examples will be useful to you.
    Sachin Garg

  • ACE: new stiky cookie inserted for different URL?

    I have sticky cookies set (cookie insert) and http persistence rebalance on. The virtual server is made of a group of three real http servers.
    The DNS name of the virtual server is for example "vhost.domain.com".
    If I browse (from the internal network) to "http://vhost/" my session is stuck to a real server using cookie stickiness. My question is, when I click a link which is fully qualified e.g. "http://vhost.domain.com/newpage.html" is a stickiness maintained or as the http header has changed is it seen as a new session and potentially sending me to a different real server?

    ACE doesn't care about the url.
    It will simply look for the presence of the cookie.
    If the cookie is there, you will stick to the same rserver.
    If not, this is considered a new connection and the request is loadbalanced.
    So, it all depends if your browser consider that vhost and vhost.domain.com are the same because the cookie is associated to a domain.
    Normally it should consider them the same.
    Gilles.

  • [SOLVED] how to use diffrent iptables rules for different ppp account?

    x86 plantform run arch linux system , have two network interface etn1 eth0 .eth1 connect to internet. eth0 connect to other terminals through switch. want use different iptables rules for different pppoe account .also want to know how to forbidden more than one terminals established pppoe link use same account at the same time .
    Last edited by linuxsir (2013-09-26 06:48:01)

    (You establish PPPoE sessions over the local network to the Arch machine? Which then routes the traffic?)
    first question ,yes that is exactly what i am done. second question i also have a small  scripts on windows pc to solve routes traffic problem
    route -p delete 0.0.0.0
    route -p add 192.168.9.0 mask 255.255.255.0 192.168.9.1
    route -p add 0.0.0.0 mask 0.0.0.0 192.168.22.0
    but after a while i found scripts is not necessary because windows always attempt to use PPPoE sessions as default internet connection local connection is also ok
    and use  -i pppX in my iptables rules dose not  solve my problem , because same account start PPPoE session could be marked as ppp0 or ppp1. it is hard to identified which account start session.

  • Leave Quota generation with diifferent rules for different countries

    Hi,
    I have the following requirement need help in achieving this.
    Employers must grant 10 days paid leave to employees that worked for six consecutive months from the time of hiring and who worked on not less than 80 per cent of all schedule work days. This paid leave may be taken consecutively or separately. Where an employee's application to take paid leave will hinder the normal business operations, the employer may require the employee to take such paid leave at a different time.
    The number of days of paid leave available to employees increases in proportion to employees' length of service as set forth in the below table.
    Years of Service  0.5  1.5  2.5  3.5   4.5   5.5   6.5+
    Paid Holidays         10    11  12   14    16    18    20
    The right to annual paid leave expires after two years. In other words, annual paid leave left over from one year may be carried over and taken the next year only. For example, if an employee is awarded 10 days paid leave after their first 6 months of employment; those paid holidays will become invalid after 2.5 years of employment. Use them or lose them.
    Simply put, holidays from one year can be carried over to the next year, but not to the third year. So, if you don't take your leave from one particular year within 12 months of that year ending, you will lose that first year's allowance.
    Employee can take leave encashment of holiday leave only when leaving their employer. It is not legal for companies to buy up the holiday leave of those still working for the firm.
    In my organization one PSG grouping has been used for all countries, it wont be possible to change the grouping now. In such a case how can we provide different rule for different country without customizing the Leave module.
    Do we have to use any PCR for this, if yes which??
    Regards,
    Jailakshmi
    Edited by: Jailakshmi on Aug 3, 2011 7:16 AM

    Hi,
    Use QUOMO Feature to give different entitilement to employees.
    Leave entitlement as per seniority can be configured in base entitlement.
    Keep validity and deduction period for 2 years by using :Relative postion" option in validity and deduction period table.
    Rgds,
    Lata
    Rgds,

  • What are the two different rules for organizational data determination

    What are the two different rules for organizational data determination???

    Hi
    1) Rule type Responsibilities
    want to determine organizational data for individual responsibilities
    have not created an organizational model but want to create one
    have a lot of organizational units and must only assign a few attributes
    2) Rule type Organizational Model
    You would use rule resolution using organizational model if you
    have created an organizational model or have distributed a plan to SAP CRM and also want to use this for determining organizational data
    assign a lot of attributes to the organizational units and these are to be evaluated
    Regards
    Manohar

  • How to Define Multiple Notification Rules for Different E-Mail Channels?

    In C4C we can define a notification rule for New tickets, for example, that provides an acknowledgement of receiving the customer's e-mail. 
    This works great for a single support team, but what if we have multiple support teams, each with their own e-mail address, and each with unique requirements for their auto-acknowledgement?
    When setting up a new notification rule, there doesn't appear to be any option to define the e-mail channel, service and support team value, or a "from" e-mail address.
    We're on-boarding over a dozen e-mail teams, and I'd hate to tell them that they'll all have to share one auto-acknowledgement template from a single do-not-reply address.
    Does anyone know if this is possible to:
    Define the e-mail channel or service and support team as an condition in the notification rules.
    Define the outgoing "from" e-mail address for a notification rule.
    Thanks for any insight the community might have!
    Mike
    T-Mobile USA

    Hi Mike,
    As of release 1402, your analysis is correct.  The out-of-the-box notification rules do not include the "incoming email channel" as one of fields on which to build condition, and all notifications are sent from a common do-not-reply address.
    You can easily overcome the first limitation by using the SDK.  For example, when the ticket is created you could set an extension field based on the email channel, and then use the extension field to define different notification rules, using different templates.  All extension fields are automatically available to be used as conditions.
    Thank you for your feedback and for bringing this item to our attention.  We will definitely keep this in mind as we plan for future releases.
    Kind regards,
    Gabriele Bodda
    Product Management

  • How correct rule for Pcon calc for different hierarchy withsame Ent andICP?

    Hi! My question is below, after problem and describing of current situation
    The problem:
    Calculation of percentage of consolidation is runnig only for fixed hierarchy by consolidation rule
    The situation:
    I've got three hierarchys for my Entity's in system: one is base and two others are alternative.
    #root ConsBase
    ConsBase BaseChild
    BaseChild BaseChild1
    BaseChild BaseChild2
    #root ConsAlt1
    ConsAlt1 BaseChild1
    ConsAlt1 BaseChild2
    #root ConsAlt2
    ConsAlt2 BaseChild1
    ConsAlt2 BaseChild2
    And I have different value for Pcon for each member of hierarchys:
    BaseChild.BaseChild1, pcon = 30%
    BaseChild.BaseChild2, pcon = 30%
    ConsAlt1.BaseChild1, pcon = 50%
    ConsAlt1.BaseChild2, pcon = 50%
    ConsAlt2.BaseChild1, pcon = 70%
    ConsAlt2.BaseChild2, pcon = 70%
    Because of the different pcon for same entity members I've wrote a rule for correct consolidation proccess:
    Pieces of elimination rule:
    'After checking possibility for elimination starts percentage of consolidation rule for Entitys and ICPs:
    If CanEliminate Then
    dPCon = HS.Node.PCon("")
    'ICP parent define (restriction: consolidate only hierarchy ConsAlt1)
    call GetParent(strICPParent, strICP)
    'calculate Pcon for ICP
    dPConICP = HS.Node.PCon("E#"&strICPParent&"."&strICP)
    'allow for portion of all parents
    call GetParent(strICPSecondParent, strICPParent)
    dPConICP = dPConICP * HS.Node.PCon("E#"&strICPSecondParent&"."&strICPParent)
    'Parent rule define for entitys and icps
    Sub GetParent(strParent, strEntity)
    +For each EntParent in HS.Entity.List("ConsAlt1",[Parents])+ '!!! fixed hierarchy ConsAlt1 !!!!
    If (HS.PARENT.ISCHILD(EntParent,strEntity) = TRUE) Then
    strParent = EntParent
    End If
    Next
    End Sub
    I want have a process of consolidation with correct calculation of percentage of consolidation for Entity, ICP and not in one fixed hierarchy (ConsAlt1) - but in ConsBase, ConsAlt2 without making corrections in rules to fix Entity. How can I do it in my situation?
    Edited by: 806947 on 02.11.2010 3:58

    Hi DST
    This is a great effort and gesture. thank you on behalf of all the newbies.
    PJ

  • Using URL Alias in "main rule" for a new portal desktop.

    Hi
    I am having a scenario :
    I am having two different business functionality. For accessing them separately i have to create to different portal desktops. Each one will have there own iviews and roles.
    BUT
    They can have similar user ids.
    I.e. same user can access both the deskops based on option selected by him.
    Supposed Implementation which i am thinking :
    i will create a html page with 2 buttons :
    1st button : Application 1
    2nd button : Application 2
    I will map these buttons/Links to following URL.
    Application 1 : irj/poral/application1
    Application 2 : irj/poral/application2
    On clicking either of these buttons/Links user will get a login screen for SAPNETWEAVER PORTAL.
    After login which desktop to be displayed will be decided using following MASTER RULE :
    Now i will create a master rule with "URL ALIAS" in IF condition.
    My Master rule will look like this :
    IF URLAlias =  irj/poral/application1 THEN desktop = Application1
    IF URLAlias =  irj/poral/application2 THEN desktop = Application2
    Now I am having 2 questions in mind :
    Is this possible ?
    How to create URL Alias for a desktop ?? (Or do i need to create a URL alias for desktop !!)
    I cant try it until and unless i am sure !!
    Please comment on my scenario....
    Or tell me if there are some other options.........!!

    Saurabh,
    yes this should work, you have to create the aliases application1 & application2 in the web.xml (see http://help.sap.com/saphelp_nw70ehp1/helpdata/de/48/1d5d0171364269e10000000a421937/frameset.htm)
    I think, the initial page with the buttons shouldn't be located in the portal, because then the users would be already logged on (but you can place it on the java-stack at the plain http anyway)
    but keep in mind, that you have to create an alias in web.xml & a master rule for each alias you want to have.
    kr, achim

  • Cisco ACE - NAT bounce back rule for ORACLE

    Hi Kanwal,
    With reference to the previous thread.
    Please find below the answers to the questions you had posted.
    1) What is the initial URL client will come with?
    http://ofrv.a.b/portal/page    The client types in this URL which redirects to the URL mentioned in the 2nd question.
    2) Is it just going to redirect it to http://ofrv.a.b/portal/page or https://ofrv.a.b/portal/page?
    http://ofr1.a.b:8090 and http://ofr2.a.b:8090
    The real IPs are 172.x.x.114 and 172.x.x.115 respectively.
    What are the servers to which the traffic would be loadbalanced?
    172.x.x.114 and 172.x.x.115 respectively are the real servers.  The client accesses the VIP 172.x.x.140 on 80.
    Is this the serverfarm?
    YES.  This is the serverfarm.  
    I apologize for starting a new thread here.  But I'm unable to update that thread due to site maintenance.
    Hi Sbegum,
    I have a VIP redirecting to 2 real servers 172.x.x.114 and 115 respectively. The url to be accessed is
    http://ofrv.a.b/portal/page. This has to be redirected to the 2 servers on ofr1.a.b and ofr2.a.b on port 8090.
    Few questions:
    1) What is the initial URL client will come with?
    2) Is it just going to redirect it to http://ofrv.a.b/portal/page or https://ofrv.a.b/portal/page?
    What are the servers to which the traffic would be loadbalanced?
    Is this the serverfarm?
    serverfarm host Reports-SF2-5
      probe OFR-HTTP3
      probe OFR-HTTP4
      rserver OFR1-Server 8090
        probe ICMP_PROBE1
        inservice
      rserver OFR2-Server 8090
        probe ICMP_PROBE1
        inservice
    Let me know and i will send a configuration sample.
    Regards,
    Kanwal
    Do I require a NAT statement in the configuration.  If yes what should it be ?  The loadbalancer and the client IP's gateway is 172.x.1.1.
    Any help is greatly appreciated.
    Thanks and regards
    Sbegum

    Hi,
    These are two different URL's.
    http://ofr1.a.b:8090 and http://ofr2.a.b:8090 which means that  you would need two different VIP's plus you cannot have two redirect URL's. Let's say you come with http://ofrv.xxx.com then ACE can redirect you to http://ofrv.xxx.com/test but it cannot redirect to two different URL's unless the client itself is coming with two different URL's on two different VIPS.
    Regards,
    Kanwal

  • How can I send to a different URL link than what the text states in Acrobat?

    Hi there
    I know how to create URL links in my document using Acrobat but
    How can I create a link that goes to a different URL desintation other than the one the text states?
    For example
    the text states
    www.aaaaa.com
    and I want it to state this,
    but I want the link to direct to
    www.aaaaa.com/abcdefghijkl
    I dont want to have to create a link object, I want it to stay as text?
    Is this even possible?
    Any advise?
    Thanks

    try67 wrote:
    Actually, it is possible to specify your own tooltip text, if you use a
    button instead of a link.
    You just set the button's action to "Open a weblink" and it will act the
    same as a link, but you'll have more control over how it looks and behaves.
    Hi there
    I cant see the term "Open a weblink". Can you advise please?
    Also then how do you change the "Tooltip text" please?

  • How to link web app item to different URL other than detail page

    Hi, this is probably a bit of a stupid question but I can't find the answer anywhere.  On my site, I have projects set up as web apps--I want the customer to be able to click on the title or image for the web app and for it to link to a PDF or blog page, NOT the detail view.
    So I want the app title and image to link to a different URL, not detail view.
    Here's the page in question, if that helps: http://sherrihaab.businesscatalyst.com/projects
    Thanks in advance for any help.

    {tag_name_nolink} - Will make the title with no link wrapped around it
    {tag_yourimagefield_value} - Will give you the raw source of the file location
    You can then form your own image html and links wrapping this and the web app item name text.
    To form the link source to go to - create a text custom field and just type or copy and paste a url into that field.

  • Why two different URLS lead to same thread?

    My action engine nugget here
    http://forums.ni.com/ni/board/message?board.id=170&message.id=240328#M240328 
    showed up at the botom of the LV page as one ot the most Kudoed and when I hit that link it takes me to here
    http://forums.ni.com/ni/board/message?message.uid=503801#U503801 
    THey both seem to be the same thread but different URLs. Why?
    Just curious*,
    Ben
    * Don't expect me stop asking question now. It is way to late for that to help.
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Solved!
    Go to Solution.

    Ben wrote:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=240328#M240328 
    http://forums.ni.com/ni/board/message?message.uid=503801#U503801 
    THey both seem to be the same thread but different URLs. Why?
    I would think that the forum is just a huge database of posts with a front end that formats the pages dynamically.
    Apparently, a post can be addressed either from a global ID (URL#2) or from a board/boardID (URL#1). Same difference.
    LabVIEW Champion . Do more with less code and in less time .

  • Creating a SVG Pie Chart With Different Portion Linking To Different URL

    Is it possible to create a SVG pie chart in which different portion will point to different URL. on HTML DB version 1.5.1.00.12
    For example i've tried something like this:
    on page 20 i have a svg pie chart
    select
    'f?p=&APP_ID.:21:#APP_SESSION#::::P21_DD_SALESORG:'||region,region,code from demo_region;
    i have a query in page 21 like this:
    select country from demo_country where region= :P21_DD_SALESORG;
    so when i click on a particular region on the pie chart on page 20 the value of item
    P21_DD_SALESORG on 21 should be set.
    but the value of P21_DD_SALESORG is always getting passed as NULL from the pie chart.
    I've tried it on HTML DB version 1.5.1.00.12
    Look for an early reply
    Thanks & Regards,
    Rupak
    Message was edited by:
    user445907

    hi user445907--
    your link column in your chart query seems to us the correct syntax, so i'd imagine the issue is with your data/query or the item name in question...
    check the query and data: make sure your query returns valid values to be passed of to P21_DD_SALESORG. if so, you should see your links correctly formed as you hover your mouse over the individual slices. if your links look good then check your item names.
    item names: if your links above look okay, then might you be setting the value of the incorrect item? please confirm that. after clicking a pie slice to get to page 21, check to see that P21_DD_SALESORG is correctly set by clicking the Session link in the developer toolbar.
    basically, i'm suggesting that because your link column in your query looks okay, you'd want to see at what point the NULL value is being passed/set. try tracing things from the chart query over to page 21 (and try going backwards if you have to). if you can't find the disconnect, please feel free to set up an example on an instance, where i can take a look.
    thanks,
    raj

Maybe you are looking for

  • Remove the .layout and .lay files

    When burning a DVD I was told this: 1) Use DVDSP to build AUDIO_TS and VIDEO_TS folders to the hard drive. 2) Remove the .layout and .lay files from the VIDEO_TS folder. 3) Burn with Toast at 1X (make sure to delete the .DS Store files in Toast - The

  • TS1702 mime-attachment.ics problem

    When I'm sent a calendar entry (appointment) from a colleagues pc using Outlook it arrives as a mime-attachment.ics. Until recently I could click the icon and it would register as an appointment on the iPhone calendar. For reasons that mystify me it

  • Sales order delivered and invoiced but purchase req still open?

    Hi all I have a process where a sales order triggers the creation of a third party purchase requisition.  A PO was created and then deleted because the sales order was filled from a different purchase order where too much had been ordered.  The sales

  • Adobe Premiere Pro CC Schwarze Ränder an den Seiten

    Hallo liebe Adobe-Community, ich erstelle liebend gerne Montagen zur privaten Nutzung. Lange Zeit habe ich mit MAGIX gearbeitet, allerdings ist es von der Bedienung und den Funktionen her kaum zu gebrauchen. Nun bin ich auf Adobe Premiere Pro gestoße

  • Elements 11 trial download

    How do I open the trial version of Elements 11 downloaded to my Mac?