CSS sticky and load redundancy
CSS has been configured with one VIP which has four real servers behind the VIP. We would like that clients always being dispatched to server #1 for application access, and be able to access the rest of servers if server 1 fails, in other word, we just like the CSS support sticky base on Soruce IP and load redundancy, not load sharing, is this feasible? is there is any parameter could be twicked? Thanks in advance
The CSS allows you to use cookies or URL strings to stick to a particular server. In the past, this has required the Web hosters to modify their applications to set particular cookies or strings in the URL. For more information have a look at the following URL.
http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_tech_note09186a0080094398.shtml
Similar Messages
-
CSS: BoxToBox and Global Server Load Balancing
Hi,
I'm going to setup a CSS based Global Load Balancing architecture in two different sites with 2xCSS11503 in each site.
I need DNS Sticky but I'm not going to configure a Global Sticky Database since I would like to configure the two CSS in each site in Box To Box redunancy.
Is it possible to configure on a CSS two app session, one for the Zone-based DNS with remote site and the other one for local Box-to-Box redund?
Thank you
Kind Regards
FulvioHi Fulvio,
Take a look at the NOTE on the below link
http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/css11500series/v8.20_v8.10/configuration/gslb/guide/DNS.html#wp1170057
Box to box should be at part of the caveat
Thanks
Venky -
Question about the CSS behavior when using layer 3 sticky and sticky table
Hi everyone,
I have a question about the CSS behavior when using layer 3 sticky and sticky table is full.
If I configure layer 3 sticky and specify the inactivity timeout as below, how does the CSS
handle subsequent needed sticky requests ?
advanced-balance sticky-srcip
sticky-inact-timeout 30
CSS document says that
Note:
If you use the sticky-inact-timeout command to specify the inactivity timeout
period on a sticky connection, when the sticky table becomes full and none of
the entries have expired from the sticky table, the CSS rejects subsequent
needed sticky requests.
My question is what is the next reaction by doing the CSS if the CSS is in the
following condition:
when the sticky table becomes full and none of the entries have expired from
the sticky table, the CSS rejects subsequent needed sticky requests
Does CSS just rejects/drops subsequent needed sticky requests ?
or
Does CSS does not stick subsequence requests to particular service but CSS forward
subsequence requests with round-robin basis ? which means if the sticky table is full,
the CSS just works round-robin load balancing fashion for subsequence requests ?
Your information would be appreciated.
Best regards,Hello,
There is a good document explaining this on Cisco web site
http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_tech_note09186a0080094b4b.shtml
It depends if the sticky-inact-timeout is used or not. If not, it's FIFO (the oldest entry in the sticky table is removed). If yes, the CSS will reject the next sticky request.
Rgds,
Gaetan
Rgds
Gaetan -
PIX Redundant Internet Line and Load balancing
I would like to find out if it's possible to configure my Cisco PIX 525 to use a secondary internet line from a different provider and perform load balancing. I'm using PIX Version 6.3(1)
PIX version 6.3 does not support Redundancy and load balancing. but PIX/ ASA with version 7.0 supports Redundancy.
-
Redundant and load balance of Final Cut Server
Greeting All,
Anyone has good start of redundant and load balance solution for Final Cut Server? Please advise!!
Thanks,
SpinFound this and seems to have worked...
http://support.apple.com/kb/HT3836
Just ran those two commands and then restarted the web service and now I get the page. -
Resources for designing redundancy and load balancing among data centers
Hello all,
I'm looking for resources for designing redundancy and load balancing between two physically separate data centers. I'm looking for some "best practice" links, tips, or recommendations. Any suggestions are appreciated!
Thanks.I think that we can do per packet load balancing by using CEF.
Please go to the following URL:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fswtch_c/swprt1/xcfcefc.htm#xtocid5
Also, you may need local director or distributed director. What resource/application is availalbe in the data centre? (e.g. http server, ftp server, TN3270 server, and so on) -
Cisco CSS 11503 Arrowpoint/Load Balance question
I am troubleshooting an issue with my 11503. I am running version 07.40.0.04. I have it configured as follows:
content upcadtoa-rule
add service cadtoa-wls1-e0
add service cadtoa-wls1-e1
add service cadtoa-wls2-e0
add service cadtoa-wls2-e1
add service cadtoa-wls3-e0
add service cadtoa-wls3-e1
add service cadtoa-wls4-e0
add service cadtoa-wls4-e1
add service cadtoa-wls5-e0
add service cadtoa-wls5-e1
add service cadtoa-wls6-e0
add service cadtoa-wls6-e1
arrowpoint-cookie expiration 00:00:15:00
protocol tcp
port 8001
advanced-balance arrowpoint-cookie
redundant-index 2
vip address 172.30.194.195 range 2
arrowpoint-cookie name TOA
active
However, the load-balancing across the servers does not seem to be doing much balancing. One of those servers is getting hit with 5 times as much traffic as another and another server is lucky to get a connection at all. With the cookie expiration set, one would think that this would all balance out over time.
I just came across this information from Cisco and I am wondering if it is relevant:
If you configure a balance or advanced-balance method on a content rule that requires the TCP protocol for Layer 5 (L5) spoofing, you should configure a default URL string, such as url "/*". The addition of the URL string forces the content rule to become an L5 rule and ensures L5 load balancing or stickiness. If you do not configure a default URL string, unexpected results can occur.
In the following configuration example, if you configure a Layer 3 (L3) content rule with an L5 balance method, the CSS performs L5 load balancing, but will reject UDP packets.
content testing
vip address 192.168.128.131
add service s1
balance url
active
The balance url method is an L5 load-balancing method in which the CSS must spoof the connection and examine the HTTP GET content request to perform load balancing. The CSS rejects the UDP packet sent to this rule because a UDP connection cannot be L5. Though the CSS allows this rule configuration, its expected behavior would be more clear if you promote the rule to L5 by configuring the url "/*" command.
In the next example, if you configure an L3 content rule with an L5 advanced-balance method, L5 stickiness will not work as expected.
content testing
vip address 192.168.128.131
add service s1
advanced-balance arrowpoint-cookie
active
The advanced-balance arrowpoint-cookie method causes the CSS to spoof the connection, however, the CSS still marks it as an L3 rule. Thus, the CSS does not insert the generated cookie and the rule defaults to L3 stickiness (sticky-srcip). You must configure a URL like url "/*" to promote this rule to L5, ensuring that L5 stickiness works as expected.
Thanks in advance for any help you can give. The thing is not down, it is just balancing strangely causing application performance issues.
JamesHey James,
You will need to suspend the content rule in order to add the url statement. This will cause a quick downtime until the content rule is activated again. I have shown below the commands to add the statement. Perhaps you can create your commands in a Notepad file, then paste them all in so they execute quickly to minimize your downtime:
content MY-SITE
vip address 10.201.130.140
port 80
protocol tcp
add service MY-SERVER
active
CSS11503# config t
CSS11503(config)# owner TEST
CSS11503(config-owner[TEST])# content MY-SITE
CSS11503(config-owner-content[TEST-MY-SITE])# url "/*"
%% Attribute may not be modified on active rule
CSS11503(config-owner-content[TEST-MY-SITE])# suspend
CSS11503(config-owner-content[TEST-MY-SITE])# url "/*"
CSS11503(config-owner-content[TEST-MY-SITE])# active
CSS11503(config-owner-content[TEST-MY-SITE])# exit
CSS11503(config-owner[TEST])# exit
CSS11503(config)# exit
CSS11503# show run
content MY-SITE
vip address 10.201.130.140
add service MY-SERVER
port 80
protocol tcp
url "/*" <--------
active
Hope this helps,
Sean -
Data Centre Interconnection - firewall and load balancer deployment
Hi all,
I've read lots of Cisco docs/white papers on DCI - Layer 2 extension between DCs, but as yet I cannot find any decent information on how best to deploy firewalls and load balancers in such a design. I've seen refs to FHRP isolation on Nexus 7k (and possible 6k if you use DCI block) but nothing on the services elements.
The services element seems to be a complete minefield here:
- active/standby across sites, or deploy resilient pairs in each site?
- how to align optimal traffic flows inbound and ooutbound (RHI, SNAT, etc.)
- best practice suggestions ideally.
Cisco DCI docs seem to always gloss over the fact that most customers would have to deal with firewalls and load balancers here, and simply refer to 'coming soon' for that info.
If anyone has any good suggestions/links to docs explaining detailed implementation info would be much appreciate
Thanks
PhilYou might want to check out this new product called ITD.
Simple and faster solution:
ITD provides :
ASIC based multi-terabit/s L3/L4 load-balancing at line-rate
No service module or external L3/L4 load-balancer needed. Every N7k port can be used as load-balancer.
Redirect line-rate traffic to any devices, for example web cache engines, Web Accelerator Engines (WAE), video-caches, etc.
Capability to create clusters of devices, for example, Firewalls, Intrusion Prevention System (IPS), or Web Application Firewall (WAF), Hadoop cluster
IP-stickiness
Resilient (like resilient ECMP)
VIP based L4 load-balancing
NAT (available for EFT/PoC). Allows non-DSR deployments.
Weighted load-balancing
Load-balances to large number of devices/servers
ACL along with redirection and load balancing simultaneously.
Bi-directional flow-coherency. Traffic from A-->B and B-->A goes to same node.
Order of magnitude OPEX savings : reduction in configuration, and ease of deployment
Order of magnitude CAPEX savings : Wiring, Power, Rackspace and Cost savings
The servers/appliances don’t have to be directly connected to N7k
Monitoring the health of servers/appliances.
N + M redundancy.
Automatic failure handling of servers/appliances.
VRF support, vPC support, VDC support
Supported on both Nexus 7000 and Nexus 7700 series.
Supports both IPv4 and IPv6
N5k / N6k support : coming soon
Blog
At a glance
ITD config guide
Email Query or feedback:[email protected] -
CSS for Dynamically Loaded External Text
I'm externally loading text from a .txt file. I need to format that file using CSS. I've got the CSS file set up and everything. I've tried every tutorial I can find to try and load the CSS, but nothing is working.
Here is the script for loading the text:
var textLoader:URLLoader = new URLLoader();
var textReq:URLRequest = new URLRequest("content_files/commissions.txt");
textLoader.load(textReq);
textLoader.addEventListener(Event.COMPLETE, textLoadComplete);
function textLoadComplete(event:Event):void
commissionscontent.htmlText = textLoader.data;
commissionscontent.htmlText = textLoader.data.split("\r\n").join("\n");
if (commissionscontent.maxScrollV <= 1){
scrollBox_mc.visible = false;
scrollLine.visible = false;
else {scrollBox_mc.visible = true;
scrollLine.visible = true;}
Can anyone help me to load the CSS for this?? I'm really new to Flash and have just been teaching myself, except for now I've hit a wall and I am so incredibly frustrated that it's not even funny.var css_loader:URLLoader = new URLLoader();
var textLoader:URLLoader = new URLLoader();
var my_css:StyleSheet = new StyleSheet();
var my_txt:TextField = new TextField();
css_loader.load(new URLRequest("style.css"));
css_loader.addEventListener(Event.COMPLETE, onCSSComplete);
function onCSSComplete(e:Event):void {
my_css.parseCSS(e.target.data);
textLoader.load(new URLRequest("commissions.txt"));
textLoader.addEventListener(Event.COMPLETE, textLoadComplete);
function textLoadComplete(e:Event):void {
my_txt.styleSheet=my_css;
my_txt.htmlText=e.target.data;
addChild(my_txt);
my_txt.width=300;
my_txt.autoSize=TextFieldAutoSize.LEFT;
my_txt.wordWrap=true; -
CSS XML and superscripts and subscripts...
Hello all,
Simple... I am loading text into a dynamic text field via XML
and styling it using a CSS stylesheet . But here is my problem, how
can I use the <sup> and <sub> tags. Now, I have read on
live docs that the Flash player does NOT (that's right, does not)
support these properties of XML or HTML, which is hard for me to
believe. Has anyone out there found a work around... I have tried
pretty much everything.
Cheersyou're right, flash doesn't support these tags...
check the help for more info at:
Working with Text and Strings > Formatting text with
Cascading Style Sheet styles > Supported CSS properties
and:
Working with Text and Strings > Using HTML-formatted text
> About supported HTML tags -
Apparent gap below CSS sticky footer in IE?
I've been testing CSS "sticky footer" solutions I found on the Web. The one I picked works in the four browsers I checked with (Firefox, Chrome, Opera and IE) but there's one possible glitch. In IE 8. I'm seeing what appears to be a small gap between the footer and the bottom of the browser window. My Color Cop utility says neither of the two colors in that gap match anything specified in the CSS. I've included a screen capture, and a link if you have IE installed. I'd like to know if this is a problem with IE (who woulda thunk?) or something inherent in the look of IE's browser window?
http://dreamweaverresources.com/tutorials/sticky-footer/I assume "browser chrome" means the imagery used to create the "pieces" of the browser's appearance outside the browser window contents.
Yes.
http://www.expression-web-tips.com/what-is-browser-chrome/
But, if by scrollbar you mean the sliding blue rectangle on white background with a directional arrow on either end, I don't see that anywhere -- side or bottom -- when I view that link in IE 8?
You'll see it if you shrink the height of your browser below a certain dimension.
I saw it on my widescreen monitor. -
FCKEditor, edit css, SiteStudio and WebCenter
Hi!
Im using a UCM as content repository for my WebCenter portal.
I uses region definitions in the UCM/SiteStudio 11g when editing and I have added an edit css to the element used in the region definition.
This works perfect when editing directly in the content server, and it works when editiing in the portal with FireFox, but not Internet Explorer.
And unfortunally our customer are only allowed to use IE.
Have anybody seen this problem, that the Editor CSS don't load for IE?
Regards,
Ralf
Edited by: user12023344 on 2011-jul-11 06:41Hi Muhammad.
These CSS are generated from your CSS Skin.
My first recommendation is in dev enviroments disable content compression. Disabling content compression you will see components and style classes applied from skin selectors instead of compressed classes like x1av... etc...
To disable content compression you have to change in web.xml follow context-param:
<context-param>
<param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
<param-value>true</param-value>
</context-param>Now, you'll see through firebug what ADF Components / Selectors / Global Selectors to change.
If you don't know of ADF Skinning please read something about it. It's important know about it :).
References: https://blogs.oracle.com/jdevotnharvest/entry/how_to_learn_adf_skinning
UPDATE: More information
If ADF CSS Skin don't help you to apply or overwrite styles applied then try to set custom "styleClass" property to ADF Components that you want to change.
Regards. -
I'm trying to create a navigation bar that is initially down the page and as the user scrolls the navigation bar remains pinned to the top of the browser. An example are shown here, in a CSS demo http://demo.hongkiat.com/css-sticky-position/index2.html and then here is a complete website that uses this: http://albanyrisk.com/
On the second example (albanyrisk.com) the navigation bar initially seems pinned to the footer, and then moves to the header when scrolling – ideally, this is the effect I'm trying to achieve.
Any help greatly appreciated!
Thanks
SteveHi,
Try this tutorial: http://www.youtube.com/watch?v=c-SD489AGa8
Abhishek -
Does anyone have an example of using the CSS 115000 to load balance outlook web access across a few servers? I have no idea were to begin.
Thanks in advancejust a small advice.
The CSS does not support OWA, so you can't ask it to inspect the traffic - no layer 5 rule allowed.
Therefore, you can only do loadbalancing based on ip address.
Just ignore the fact that is is OWA.
Just use any TCP/IP loadbalancing example you can find on this website and it will do.
Regards,
Gilles. -
Locking exceptions for Pop-windows and loading image automatically Preferences setting
How can i lock the two exceptions button for POP-up windows and load imagae automatically option.
You can lock the image exceptions via pref.advanced.images.disable_button.view_image
I do not see a pref to lock the pop-up exceptions on the about:config page (filter: disable_button)
A possibility is to hide that button via code in userChrome.css (#popupPolicyButton {display:none!important;}), but that needs to be done for each profile.
<pre><nowiki>//
lockPref("pref.advanced.images.disable_button.view_image", true);
</nowiki></pre>
See also:
* http://kb.mozillazine.org/Locking_preferences
Maybe you are looking for
-
How to handle Hirarchy structures in MESSAGE MAPPING
Hi... I'm getting data from a file.. and that is contain Hierarchy structure.. but i want to load it to a plain structure.. for this how can we map the source fields to target fields.. here my source structure is... HEADER : --DATE --COMPA
-
Hi All, In previous versions of SAP PI, SAP recommends the use of IDoc or Proxy over RFC mainly due to performance reasons, but with PI 7.1, RFCs can use AAE which significantly boost its processing. So the question is, with PI 7.1, is the performanc
-
Configure Oracle BBDD to work with Windows KDC
Hi all, I'm having problems in configure Oracle 11g running in Windows 2003 Server R2 with another W2003 Server R2 where AD is located and also KDC server. The problem is when I try to retrieve TG initial ticket using okinit. Output of okinit after e
-
the field is updated by a user exit, but some values are false. Is anybody know a FM or a Bapi to modify Fkber in Bseg table ? thanks
-
Creating multi-touch interactions
Hello, I'm exploring the possibility to create multi-touch interactions in Adobe Captivate (Version 7). Our goal ist to realize software simulations where users can solve tasks using gestures which are commonly supported on touchscreen devices (for e