CSS/8.10 Load vs Weight Metrics...
Hello Guys,
My company has a problem with two of the six servers available behind the CSS due to hardware limitations. We wanted to see if we could utilize majority of the traffic on just the 4 stable legs. I was reading on various options on load vs weight preferences. In your expert opinion which would be a better choice to resolve this issue?
the weight gives you better control.
Gilles.
Similar Messages
-
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 -
Service Request - Load balancing weight & TM labour schedule
What is Load balancing weight? How does it work, (I think it must be w.r.t the selecting resources for assigning the task, But how does it work, I am not getting the help menu in this)
How does the T&M labour schedule is managed
RegardsHi,
1. I had some time and setup your config. Load Balancing seems to work fine for me. I tried to work with 4 different clients.
WHat I did to set it up:
# Failover RG for shared address
scrgadm -a -g proftp-srg -h mars,saturn
scrgadm -a -S -j hafast_r -g proftp-srg -l hafast
# Scalable RG for proftpd
scrgadm -a -g proftp-rg -y Maximum_primaries=2 -y Desired_primaries=2 -h mars,saturn -y RG_dependencies=proftp-srg
scrgadm -a -j proftp_r -g proftp-rg -t SUNW.gds -y Network_resources_used=hafast_r -y Port_l
ist=4443/tcp -x Start_command=/usr/local/sbin/proftpd -x Probe_command=/bin/true -y Scalable=true -y Load_balancing_policy=Lb_sticky_wild
I assume that the key is the Lb_sticky_wild setting. As proftp forks new processes for every connection and even does reconnects during operation with new ports this seems to be essential. Please try
2. It was not considered an excellent idea to configure ftp as a scalable service. Reason is that you now have network traffic load balanced. Question is: how do you configure shared storage. Do you have one (1) underlying global filesystem??? That could be a bottleneck. Check it out.
Regards
Hartmut
PS: BTW I used proftp 1.3.0 -
Background CSS images not loading in firefox when using a CDN
Hello,
I am having trouble getting CSS background images to load in Fire fox when using a CDN.
Here is a description of the problem:
- Everything works fine in Chrome
- Any images loaded through CSS do not load in Firefox (they load in chrome) when i have the CDN enabled.
- Other images / custom fonts appear to load fine with the CDN enabled
My setup:
- wordpress 3.8
- CDN - Rackspace Cloudfiles synced with w3 total cache plugin (using the 'origin push' configuration)
- using Cloudflare (mozilla appears to load the site fine while cloudflare is active)
More about the problem--
I suspect that the problem has something to do with the htaccess file redirecting some urls or something-- but im not quite sure what to do about this.
Has anyone encountered this problem before who can offer some insight?
thanksHi pvijeh, is that the explanation for a security error? I'm having trouble understanding the context.
-
jquery ui css is not loading in my page, i done this using client library....i tried to check using firefox.. firebug addon..the css is showing as empty...so finall css is not calling can you please suggest the solution for this...
Thanks for ur response...I followed the same link what you suggested for me...
actually i try to display the buttons in jquery ui buttons format but it is showing as normal buttons..so i checked uisng firebug ..here css showing as empty.....
please suggest the same..
In css.txt.. i write css file names like the below..please confirm is it correct or not
jquery-ui.min.css
jquery-ui.css
Thanks in advance... -
Hi,
I have CSS in single arm deployment model. I have multiple servers load balancing on this CSS on port 80 etc. Today I am trying to load balance one Oracle server but I am facing problem with it.
Real servers are accessible on port 80 without any problem but when we are trying to access the same servers on VIP we are not able to see the web page.
real server http://192.168.17.12/irs.htm
real server http://192.168.17.14/irs.htm
real server http://192.168.10.37/irs.htm
VIP
http://192.168.200.58/irs.htm
Below is the configuration. I can do the telnet on port 80 and I can ping the VIP IP address.
I will only put 192.168.200.58 in browser I can see the oracle page but with the full URL i am not able to see it.
Though I have other oracle servers which I have load balance with the same configuration and I can access the web page.
==========================================================================================
http://tptest.enoc.com/forms/frmservlet?config=tp (This is working fine).
========================================================================
http://irs.enoc.com/irs.htm (This is not working).
By name and by IP address both are not working.
http://192.168.200.58/irs.htm (This is not working).
=============================================================================
service IRC_1
ip address 192.168.17.12
keepalive type tcp
keepalive port 80
active
service IRC_2
ip address 192.168.17.14
keepalive type tcp
keepalive port 80
service IRC_DR
ip address 192.168.10.37
keepalive type tcp
keepalive port 80
content ENOC_IRC
add service IRC_1
add service IRC_2
add service IRC_DR
vip address 192.168.200.58
protocol tcp
port 80
advanced-balance sticky-srcip
active
owner ENOC_GIT
content ENOC_IRC
add service IRC_1
add service IRC_2
add service IRC_DR
vip address 192.168.200.58
protocol tcp
port 80
advanced-balance sticky-srcip
active
group ENOC_IRC
add destination service IRC_1
add destination service IRC_2
add destination service IRC_DR
vip address 192.168.200.58
active
===================================================================================================
ENOCDC-CSS01(config)# show service summary
Service Name State Conn Weight Avg State
Load Transitions
IRC_1 Alive 0 1 2 0
IRC_2 Suspended 0 1 255 1
IRC_DR Suspended 0 1 255 1
ENOCDC-CSS01(config)# show summary
Global Bypass Counters:
No Rule Bypass Count: 0
Acl Bypass Count: 0
Owner Content Rules State Services Service Hits
ENOC_GIT
ENOC_IRC Active IRC_1 103
IRC_2 10
IRC_DR 7
=======================================================================================================
Same setting I am doing for other servers and working fine only for these servers I am facing problem. Curently only one server is active in the configuration.
Kindly let me know what I am missing and how to fix the problem.
I have also attached the full configuration of CSS.Hi,
My point of concern is that I did the same for Oracle server and this is working fine
http://192.168.200.95/forms/frmservlet?config=tp
only when I am doing the load balancing for
http://irs.enoc.com/irs.htm (This is not working).
By name and by IP address both are not working.
http://192.168.200.58/irs.htm (This is not working).
I dont have a option for TAC case is there a a way to fix the problem by apply other load balancing method. Is there something to do with the Circut VLAN. I didnt create the Circut VLAN 17 where this server is located.
I am doing almost 8 differenceservers load balancing in this CSS.
your expert opinion will definately help me. -
CSS arrowpoint cookie load balancing issue
Hi guys,
I need some advice on a load balancing issue.
We have connections hitting the CSS via a proxy environment. As a result i see only one source ip address. I want to use arrowpoint cookies for session stickeyness. However when i enable the rule the tcp session negotiation fails. The CSS sends a TCP/RST which terminates the session.
Here's the rule config:
content HTTP_rule
add service ZSTS299102
add service ZSTS281101
vip address <filtered>
add service LONS299102
add service LONS281101
balance weightedrr
change service ZSTS299102 weight 5
change service ZSTS281101 weight 5
advanced-balance arrowpoint-cookie
protocol tcp
port 80
url "/*"
active
Any help would be much appreciated.Remko,
in L3/L4 the CSS sends the SYN directly to the server.
So when the FIN comes in, we simply pass it to the server.
With L5 the CSS spoofs the connection and we select the server only after receiving the GET.
If there was some delay between the GET and the FIN, the CSS would have time to establish a connection with the server and the FIN could be simply forwarded.
Unfortunately, in this case the FIN is right after the GET with no delay.
Gilles. -
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; -
Reloading CSS in SWFLoader loaded Flex app.
Hello,
I am having the following problem:
I have a Main application with a SWFLoader that loads a child Flex application. When a button is pressed, SWFLoader loads a new child Flex application. Currently LoaderContext for SWFLoader is created as follows:
var context:LoaderContext = new flash.system.LoaderContext(false, ApplicationDomain.currentDomain);
Everything seems to work okay except that CSS style sheets definded in the first child application cannot be overwritten by the CSS style sheets in the second.
After much research I see the following two options: 1. load style sheets externally using StyleManager.loadStyleDeclaration() method or 2. specify a different ApplicationDomain for the child Flex application.
The problem with solution #1 is I would like to keep all style sheets embedded in either the main application or each child application. So, my question is, how do load/reset CSS styles while keeping the CSS (or CSS compiled to SWF) embedded when StyleManager.loadStyleDeclaration() only takes a URL as a parameter?
The problem with solution #2 is as follows: when I change the ApplicationDomain property in the LoaderContext declaration to this:
var context:LoaderContext = new flash.system.LoaderContext(false, new ApplicationDomain(ApplicationDomain.currentDomain));
I get the following error when I load a second child application into the SWFLoader:
TypeError: Error #1034: Type Coercion failed: cannot convert spark.components::VScrollBar@64d6851 to spark.components.VScrollBar.
(See attached txt for full trace stack.)
I'm using Flex 4.0 beta 2 and Flash Builder beta 2.
Also, I found this article on per Module StyleManager which does not look like it has been implemented and is basically exactly what I'm trying to accomplish but with a SWFLoader instead ofModule.
If someone could please explain or point me in the right direction on how to either 1. load Flex 4 beta 2 application as a sub application domain app without generating VScollBar error (and if that will even solve overwriting CSS styles issue). or 2. how to load StyleManager.loadStyleDeclaration() from an embedded css or swf, I would greatly appreciate it.
Thank you in advance,
Ilya VoloshinAlex, thank you for the quick reply -- I'll give it a shot. Where would I find the nightly builds? I found the source code repository, but if there's a nightly build I can check out, that would be much easier.
Thanks,
Ilya -
ALl when I had my images in the same package as the class. And the following css statements
-fx-background-image: url("image.png");
But now I want to package my images and css into a directory structure.
So when running inside eclipse I have the css and images in bin
so
bin/name.css
bin/images/image.png
So I change the url to
-fx-background-image: url("images/image.png");
It does not load.Checked it in my own project (eclipse too), its working for me!
Is your CSS actually loading?
Maybe you can provide the code, where you are loading the CSS?
In your case it should look somethink like that:
scene.getStylesheets().add("name.css");But I wont suggest to add the images and css directly into the bin folder, because the next "Project clean" will delete your files!
I would suggest to add another source folder to your Build Path. I have my java source files in "src/main/java" and the resources (images, css, fxml ...) in "src/main/resources"!
than you can load your css by the following code:
scene.getStylesheets().add(this.getClass().getResource("/name.css").toExternalForm());Edited by: BurnedToast on 01.02.2012 10:52 -
Load Balancing - Forms Metrics Server
Hi everyone, i have a doubt, for implemeting Load Balancing with Forms Metrics Server previous i must have configured Shared APPL TOP?
And for Load Balancing JServ also i must have configured Shared APPL TOP in all my applications servers?
Thank you very much for helpingIt is not a must, but it is recommended. If you are planning to configure PCP then it is a must.
Implementing Load Balancing On Oracle E-Business Suite - Documentation For Specific Load Balancer Hardware [ID 727171.1]
Thanks,
Hussein -
Hi,
i have configured to load balancing the http traffic to 2 servers, servers have the ip address 10.10.50.100 and 10.10.50.101 resp and the vip is 10.10.46.10
iam not able to access the http through the vip, can some one help on this
am i required to the nating, below is the connectivity
User -->SW->ASA->CSS->SW->server1 & server2
iam not able to access the server through vip
Please help
Thanks
Ravi
RaviWhat is the default gateway defined on Servers?
Is it CSS circuit IP or the ASA?
How is CSS conected? Are there diff vlans connected to servers and ASA? Or CSS is connected to the Switch in one arm mode?
You need to make sure that the return traffic from Servers should pass through the CSS.
Syed -
Hello,, I am a creative designer from the netherlands currently working on a project but for the first time i got a problem and cant fix it.
i am working on an website roestengineering.com but firefox does not load the css file but ie does.
please any help is welcome.That is a problem with the encoding.<br />
Them main page is Unicode (UTF-16) encoded (BOM UTF-16, litte-endian and meta tag).
<pre><nowiki><meta http-equiv="Content-Type" content="text/html; charset=UTF-16">
</nowiki></pre>
The stylesheet is in UTF-8 encoding.<br />
Firefox doesn't like such a mixture and requires to have all the files in the same encoding, so you need to fix that and save the CSS file as well in UTF-8 or UTF-16 encoding in the editor and re-upload the file.<br />
It is probably best to save both files as UTF-8 and make sure not to add a byte order mark when saving the file. -
Some CSS files not loading – limit on number?
Hello,
I am using Edge Inspect to work with a Rails site on an iPhone.
When I browse to the live site it works fine, but when I browse to the development version some CSS files do not appear to have been loaded. I.E. The page displays without the styles from those CSS files.
However, it does display with the styles from other CSS files defined in exactly the same way! So this is not about relative vs absolute URLs or ‘localhost’ vs IP address on the network.
Given that the production version on a real domain displays fine via Edge Inspect, is it possible that Rails development behaviour is messing up Edge Inspect? In development, Rails creates <link> tags for every CSS file, whereas in production it concatenates and minifies them.
As an aside: this whole issue is tricky to debug because I don’t see any CSS <link> tags in the <head> when I inspect the device. That includes the ones which are being applied, so I don’t get where the styles are coming from at all. Is this a foible of how Edge Inspect works? Just on iPhone (5S)?
Thanks in advance for any help you can give.
LeoI solved it!
Turns out my hunch was correct – either Edge Inspect or the iPhone is choking on the large number of individual CSS files.
By changing the relevant stylesheet_link_tag I was able to get it working.
From:
<%= stylesheet_link_tag 'application' %>
To:
<%= stylesheet_link_tag 'application', debug: false %> -
CSS styles not loading on certain websites (facebook, wikipedia)
Hello,
I am running the latest ver of firefox on Windows 7
Out of nowhere certain websites such as facebook or wikipedia don't seem to load up their CSS styles. So the sites are more or less unusable.
I disabled all my plugins, restarted my laptop (its a lenovo thinkpad x220) did a CCleaner, ran a malware check, and its still happening. Javascript is enabled and I made sure page style is "Basic Page Style."
Works fine on IE.
Any ideas?Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
Maybe you are looking for
-
I recently grabbed my jam pack remix folder from one computer. stuck it on a dvd and dropped it into the loops browser on another computer. The regular sound files work fine, and the midi-files sound fine in the preview window, but when I drag and dr
-
KDE SC 4.4.0 released
KDE announced the availability of its Software Compilation 4.4, "Caikaku". You will find all upstream changes and new features on their website. As usual we provide the latest packages for Arch. Unfortunately this update will need some user intervent
-
Install Windows service in vs 2010
I want to install windows service in Windows Server 2008 machine. For that do i need to install entire Visual Studio 2010 or else .net framework 4.0 is enough to install this service.
-
After you load your data into BW amd everything is ok.... is it safe to delete the setup data via LBWG?
-
Drop Saved Slideshows to Photo or Movie Section?
I have 2 saved slideshows I created in iPhoto. What is the best way to use iDVD to get both of them onto one dvd? I have tried using Magic iDVD and dropped both slideshows into the photo section. I named the dvd, but I cannot see a way to name the tw