CSS - add service x.x.x.x weight command
Hi, From the Cisco pages I read the following
"The CSS uses the weight for a service when you configure weighted roundrobin load balancing on the content rule. When you assign a higher weight to the service, the CSS redirects more requests to the service."
This suggests to me a server with a weight of 2 will receive twice as much hits as one with a weight of 1.
We have this configuration but the customer sees the server with a weight of 1 getting more hits, this is backed up by the show summary stats on the CSS.
content www.abc.com
vip address 145.26.114.42
port 443
protocol tcp
advanced-balance sticky-srcip
sticky-inact-timeout 31
add service 1.1.1.1-443
add service 2.2.2.2-443 weight 2
add service 3.3.3.3-443 weight 2
add service 4.4.4.4-443 weight 2
add service 5.5.5.5-443 weight 2
add service 6.6.6.6-443 weight 2
add service 7.7.7.7-443 weight 2
balance weightedrr
active
=======================================
www.abc.com
Service Hits
2.2.2.2-443 2784623
3.3.3.3-443 2868285
4.4.4.4-443 2688701
5.5.5.5-443 2763660
1.1.1.1-443 5105735
6.6.6.6-44 2634987
7.7.7.7-44 2733737
cheers,
Mike
Gilles,
I can't really believe this is the cause, prior to configuring the weights the hits on the box were almost identical (+/- 5%).
Now the server with weight of 1, is almost 50% more than all the other 6 servers, if stickyness was the cause then each of the 7 servers would have differing hits, 6 of the servers are extremely close in hits.
The nature of this application would not cause the a user to open one connection, and another to open 10.
cheers,
Mike
Similar Messages
-
WCF Add Service Reference Not Supported for Windows Phone 8.1 XAML Applications
Windows Phone 8.1 XAML applications does not support the System.ServiceModel namespace, and therefore you are not able to right click references in the project and choose Add Service Reference. The recommended solution is to add a REST endpoint
to your WCF endpoint, and access the WCF application through the REST endpoint using HttpClient.
Bret Bentzinger (MSFT) @awehellyeahMy opinion on this subject is that someone in management needs to get rid of the "Yes Man" and hire someone with a backbone.
A project (such as this one) suffered big time because of your excuse of meeting a deadline. Did nobody do feasibility studies to determine the effects of removing the ServiceModel namespace and how it would break migration? It wasn't removed from the other
project types, so it wasn't a point that it wouldn't fit on the device, so it came down to testing and someone dropped the ball. This is poor management, and deadlines should be extended for critical points within a project. Think about the public relations
that has already been set backwards by this move. I believe that it meets the critical criteria only because you are talking about targeting the mobile devices which consume external data sources as a key component. Lacking the ServiceModel namespace was a
monumental error on the teams part.
This is a perfect case of "we can ship the car", but the wheels will have to wait...they can "Flintstone it" until we get the wheels ready.
Thomas Mullen
Thomas Mullen -
Problems consuming a MII web service using 'Add Service Reference' in Visual Studio
I can generate a client proxy when I use 'Add Web Reference' in visual studio, but when I try to use 'Add Service Reference', I get an empty stub. We have a product that generates web service client proxy code in a manner similar to that used by the Microsoft 'Add Service Reference' code. We are usually able to consume ASMX web services as well, but currently are unable to consume the SAP MII web service. Any help would be appreciated.
Hi Didi,
I can successfully add a Service Reference and execute an MII transaction with input and output parameters through the Service Reference. This is using MII14 SP5 latest patch, and Microsoft Visual Studio 2008 in C#.
Which version of MII, and which version of VS?
Can you paste the MII url into a browser and get it to return the WSDL?
Regards, Steve -
How to add services for object in ECC6.0
Hi everybody,
Can anybody tell me how to add "Services for Object" icon in ECC 6.0 because this icon is there in 4.6C but not coming in ECC 6.0.
Thanks in AdvanceHi Saurabh,
Thanks for your reply. I have checked the path given by you...System-> Service for object, but it is showing no service available as told by you. Cud you please tell me how to add this service because this is working fine in 4.6C but I dont know how to add these services in ECC 6.0. If any code for this which is written in 4.6C which I can refer... please tell me where to see the code for adding services (in 4.6C) b'coz its very urgent. -
How can I script the "Add Service Reference" process?
I want to write a script (cmd or powershell doesn't matter) that will take an input parameter of a path to a WSDL file and automatically add the web service to my project. Basically I want to duplicate the action of a) right click b) Add Service Reference
c) GO. Is this possible?Hi MCM14,
Thank you for posting in the MSDN forum.
Actually you know that this forum is to discuss the VS IDE, for this issue, if you want to know that whether you could achieve it with Script, I think the Script forum would be better for you.
The forum link:
https://social.technet.microsoft.com/Forums/Windows/en-US/home?forum=winserverpowershell
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
No parameter found to add service item detail in BAPI_PR_CHANGE.
Hi,
I am trying to add new service item in an existing purchase requisition. But i can not find any parameter, where i can pass these service details.
Regards
PGHello PG ,
Please review SAP Note 499627 , Question # 9. Here , you will be able to find more information on how to add service
items using BAPI_PR_CHANGE
9. Question:
Can service items be created using BAPI_PR_CREATE or changed using
BAPI_PR_CHANGE?
Answer:
Yes. Release 6.04 (Enhancement Package 4) provides new API functions for
the object BUS2105 that include this function. In addition the business
function LOG_MM_CI_2 or the switch MM_SFWS_SC2 must be active.
Also , Please read SAP Note 1312947 for further information.
I hope this information has been helpful for you.
Best Regards,
Frank Farinella -
VS 2013 - Add Service Reference - not working
Hi,
I have Service References correctly installed and running under IIS on a Win 8.1 machine.
It is under Default Web Site
On the tree it is named VCIWCFServicesSite
Basic Settings:
Site Name: Default Web Site
Path: /
Alias: VCIWCFServicesSite
Application Pool: DefaultAppPool
With VS 2013, I try to "add service reference"
http://localhost GO
I get:
There was an error downloading 'http://localhost/_vti_bin/ListData.svc/$metadata'.
The request failed with HTTP status 404: Not Found.
Metadata contains a reference that cannot be resolved: 'http://localhost/'.
The remote server returned an unexpected response: (405) Method Not Allowed.
The remote server returned an error: (405) Method Not Allowed.
If the service is defined in the current solution, try building the solution and adding the service reference again.
No surprise: there is no c:\inetpub\wwwroot\_vti_bin directory.
Ok, Now what?
Boyd
BDM - it ( the service ) was published by vs2010Hi Boyd,
Thank you for posting in the MSDN forum.
Since this issue is related to the service references in web site, to help you resolve this issue as soon as possible,
you could ask this question in the ASP.NET forum: http://forums.asp.net. If then, you could get an answer more quickly and professional. Thanks for your cooperation.
I think this forum would be better like this
case:
http://forums.asp.net/28.aspx/1?WCF+ASMX+and+other+Web+Services
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to add Service item in PR Document using BAPI_PR_CHANGE
Hi Folks,
I am using BAPI_PR_CHANGE to change existing purchase requisition document. By using this FM, i am able to add new item in PR document.
Now my requirement is to add services and limits at item level details.
But when i saw the parameter list of this FM, i am not able to find any parameter where service details or limits can be passed.
So does it mean that, its not possible to edit service details at item level of PR by using FM BAPI_PR_CHANGE?
Or if yes then how can we do it.
If No, then what could be the alternative to change the service details of the item.
Regards
PG
Edited by: PG on Aug 30, 2010 6:32 PMHi,
I just realised that, this question can be asked in specific forum of MM.
Regards
PG -
hi all,
Is that possible to add Service No. Material BOM & settle the Price Coming against service No. on Production Material.
Parminderservice No. is the No. generated when creating service entry sheet on work done against part material from out side party.
Parminder -
Hi
When I try to add service to some user I get the next
error:
User Profile
Error/s encountered
* Unable to get service object classes
I don't understand what is my poblem, may be something wrong in IS configuration or something else.
Please anybody help me.What service are you trying to add? Identity out of box service or any custom service? remember only dynamic services can be added to users
-
I want to buy an iPhone for someone fox holidays,but it keeps rating to make me add service. How to I buy an iPhone to where the gift receiver adds it to their service
If this is in the US, there are no unlocked iPhone 5s yet available.
-
Add Service component / products in Sales Lead
Hi Experts,
Can i add service products / equipment along with sales product in sales lead?Hi,
If you add a "service product " in Lead for sales , then there would be issue of "org data" , the organisation data will be "sales " data , which will not match with "org data " of service product.
hope it helps,
regards,
PD -
Cisco css http keepalive is not working with GET command
Dear all
i have Cisco Css connected to Dell Server (via switch)
Cisco CSS - 192.168.1.3 and Dell Server - 192.168.1.5
Dell server is setup with windows 2009R2 and Apache HTTPD is version 2.2
This server is dedicated to host multiple doamins with Apache lik
www.abc.co.uk
www.xyz.co.uk
Now the clinet wants to setup the http keepalive with specfic web page like /testpage.html for all these domains. i have teseed with single URI. it is working the comamnds are
config)# service serv1
(config-service[serv1])# ip address 192.168.1.5
(config-service[serv1])# keepalive type http
(config-service[serv1])# keepalive method head ( get i have not used due to hash mismatch with apche server, if i use GET it is not working)
(config-service[serv1])# keepalive uri "/testpage.html"
(config-service[serv1])# active
It is working with single URI. but how can i do the same thing for multiple doamins ?
for multiple doamins do i need use script ? or can i use with commands ?
if i need to use script the script is
!no echo
! Filename: httptag-test
! Parameters: HostName WebPage HostTag
! Description:
! This script will connect to the remote host and do an HTTP
! GET method upon the web page that the user has asked for.
! This script also adds a host tag to the GET request.
! Failure Upon:
! 1. Not establishing a connection with the host.
! 2. Not receiving an HTTP status "200 OK"
if ${ARGS}[#] "NEQ" "3"
echo "Usage: httptag-test \'Hostname WebPage HostTag\'"
exit script 1
endbranch
! Defines:
set HostName "${ARGS}[1]"
set WebPage "${ARGS}[2]"
set HostTag "${ARGS}[3]"
! Connect to the remote Host
set EXIT_MSG "Connection Failure"
socket connect host ${HostName} port 80 tcp
! Send the GET request for the web page
set EXIT_MSG "Send: Failed"
socket send ${SOCKET} "GET ${WebPage} HTTP/1.1\nHost: ${HostTag}\n\n"
! Send the HEAD request for the web page
set EXIT_MSG "Send: Failed"
socket send ${SOCKET} "HEAD ${WebPage} HTTP/1.1\nHost: ${HostTag}\n\n"
! Wait for a good status code
set EXIT_MSG "Waitfor: Failed"
socket waitfor ${SOCKET} "200 OK"
no set EXIT_MSG
socket disconnect ${SOCKET}sh w
exit script 0
in the script i have not used GET becasue, when CSS send GET request to apache it use hash, but apache is not able to respond with same hash and it shows that website is down. more information- click below url
http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/css11500series/v7.40/command/reference/CmdKeepC.html#wp1139668
(config-keepalive) method
I have uploaded in CSS with httptag-test file and applied these commands
service comp.brit.co.uk-80
keepalive port 80
ip address 192.168.1.5
keepalive frequency 10
keepalive maxfailure 2
keepalive retryperiod 10
keepalive type script httptag-test "192.168.1.5 /testpage.html www.abc.co.uk
keepalive type script httptag-test "192.168.1.5 /testpage.html www.xyz.co.uk
but this script is not working
my question is:
1.do i need use script only to setup http keepalvie with webpage for multiple domains ?
2.with out using script is there any solution like CICSCO CSS commands to setup http uril for multiple domains which are on 1 singl server.
please help me asapHello Muhammad,
If you wish to use multiple domains for a URI keep-alive check, and perform a HEAD request what Daniel mentioned is correct. You have to use a scripted keep-alive check on the service. However, you should not use the default "ap-kal-httptag" script to do so as it's limited to only 1 website (unless you modify the script). You're best bet would be using the "ap-kal-httplist" script on the CSS as it allows the checking of 2 different websites along with a webpage to check for each site using HTTP HEAD method.
!no echo
! Filename: ap-kal-httplist
! Parameters: Site1 WebPage1 Site2 WebPage2 [...]
! Description:
! This script will connect a list of sites/webpage pairs. The
! user must simply supply the site, and then the webpage and
! we'll attempt to do an HTTP HEAD on that page.
! Failure Upon:
! 1. Not establishing a connection with the host.
! 2. Not receiving a status code 200 on the HEAD request on any
! one site. If one fails, the script fails.
! Make sure the user has a qualified number of arguments
if ${ARGS}[#] "LT" "2"
echo "Usage: ap-kal-httplist \'WebSite1 WebPage1 WebSite2 WebPage2 ...'"
exit script 1
endbranch
while ${ARGS}[#] "GT" "0"
set Site "${ARGS}[1]"
var-shift ARGS
if ${ARGS}[#] "==" "0"
set EXIT_MSG "Parameter mismatch: hostname present but webpage was not"
exit script 1
endbranch
set Page "${ARGS}[1]"
var-shift ARGS
no set EXIT_MSG
function HeadUrl call "${Site} ${Page}"
endbranch
exit script 0
function HeadUrl begin
! Connect to the remote Host
set EXIT_MSG "Connect: Failed to connect to ${ARGS}[1]"
socket connect host ${ARGS}[1] port 80 tcp 2000
! Send the head request
set EXIT_MSG "Send: Failed to send to ${ARGS}[1]"
socket send ${SOCKET} "HEAD ${ARGS}[2] HTTP/1.0\n\n"
! Wait for the status code 200 to be given to us
set EXIT_MSG "Waitfor: Failed to wait for '200' on ${ARGS}[1]"
socket waitfor ${SOCKET} " 200 " 2000
no set EXIT_MSG
socket disconnect ${SOCKET}
function HeadUrl end
Rather then modify the default "ap-kal-httplist" script on the CSS I would simply define the arguments within the service configuration itself. Something like the following (using your service example):
service dell-192.168.1.5
ip address 192.168.1.5
keepalive type script ap-kal-httplist "www.abc.co.uk /testpage.html www.xyz.co.uk /testpage.html"
active
As long as the server is configured to reply to host headers, and the page is configured to retuen a "200 OK" the above service configuration should work. If there are any errors simply run "show service " to view why there was a failure. If there is a failure, and the output from the command specified shows a line number run the following command against the script to view at what point (line) did the failure occur:
show script ap-kal-httplist line-numbers
Hope this helps!
- Jason Espino -
CSS loadbalancing service check
is there a way to configure some sort of extended service check (i.e. send string to look for particular web page) on the CSS switch to member servers on a specific pool?
You can add a service similar to what this link shows:
http://www.cisco.com/en/US/products/hw/contnetw/ps792/products_configuration_guide_chapter09186a00800d6b0d.html#28719 -
BAPI_PO_CHANGE Add Services
Hi all,
I need to update a PURCHASE ORDER with new services but im getting the error msg "Enter Quantity in service line" but my service line is a information line what could be the problem (poservices-inform = 'X'. poservices-serv_type = 'HZ' ).
Im unable also to insert text information with POSERVICESTEXT.
What could be missing?
Test sequence
Se37
BAPI_PO_CHANGE
BAPI_TRANSACTION_COMMIT
TEST 1 (unable to insert POSERVICESTEXT information in PO, but the NZ lines are insert )
Return
T ID NUM MESSAGE
S 06 023 Standard PO 4500000284 changed
W ME 887 Error transferring ExtensionIn data for enhancement CI_EKKODB
I ME 664 Change Order Unit could not be effected
Parâmetros: PURCHASEORDER = 4500000284
Parâmetros: VERSIONS
POST_DATE = 00000000
Parâmetros: POITEM
PO_ITEM = 00010
SHORT_TEXT = CHANGE
MATERIAL = 000000000040000008
QUANTITY = 1.000
PO_UNIT = LE
PCKG_NO = 0000000001
Parâmetros: POITEMX
PO_ITEM = 00010
PO_ITEMX = X
SHORT_TEXT = X
MATERIAL = X
QUANTITY = X
PO_UNIT = X
PCKG_NO = X
Parâmetros: POSCHEDULE
PO_ITEM = 00010
SCHED_LINE = 0001
QUANTITY = 1.000
Parâmetros: POSCHEDULEX
PO_ITEM = 00010
SCHED_LINE = 0001
PO_ITEMX = X
SCHED_LINEX = X
QUANTITY = X
Parâmetros: POSERVICES
PCKG_NO = 0000000001
LINE_NO = 0000000001
OUTL_LEVEL = 0
OUTL_IND = X
SUBPCKG_NO = 0000000002
FROM_LINE = 1
PCKG_NO = 0000000002
LINE_NO = 0000000002
EXT_LINE = 0000000010
OUTL_LEVEL = 0
SERV_TYPE = NZ
QUANTITY = 5.000
BASE_UOM = UN
PRICE_UNIT = 1
GR_PRICE = 10.0000
SHORT_TEXT = SHORT 1
USERF1_TXT = LINHA NORMAL
PCKG_NO = 0000000002
LINE_NO = 0000000003
EXT_LINE = 0000000020
OUTL_LEVEL = 0
SERV_TYPE = NZ
QUANTITY = 5.000
BASE_UOM = UN
PRICE_UNIT = 1
GR_PRICE = 10.0000
SHORT_TEXT = SHORT 2
USERF1_TXT = LINHA NORMAL
PCKG_NO = 0000000002
LINE_NO = 0000000004
EXT_LINE = 0000000030
OUTL_LEVEL = 0
SERV_TYPE = NZ
QUANTITY = 5.000
BASE_UOM = UN
PRICE_UNIT = 1
GR_PRICE = 10.0000
SHORT_TEXT = SHORT 3
USERF1_TXT = LINHA NORMAL
Parâmetros: POSERVICESTEXT
PCKG_NO = 0000000002
LINE_NO = 0000000004
TEXT_ID = LLTX
FORMAT_COL = *
TEXT_LINE = LONGO
PCKG_NO = 0000000002
LINE_NO = 0000000004
TEXT_ID = LTXT
FORMAT_COL = *
TEXT_LINE = SUCINTO
Second test
Return
T ID NUM MESSAGE
E SE 319 Please enter a quantity
W ME 887 Error transferring ExtensionIn data for enhancement CI_EKKODB
E BAPI 003 Instance 4500000284 of object type PurchaseOrder could not be changed
Parameters: PURCHASEORDER = 4500000284
Parameters: VERSIONS
POST_DATE = 00000000
Parameters: POITEM
PO_ITEM = 00010
SHORT_TEXT = CHANGE
MATERIAL = 000000000040000008
QUANTITY = 1.000
PCKG_NO = 0000000001
Parameters: POITEMX
PO_ITEM = 00010
PO_ITEMX = X
SHORT_TEXT = X
MATERIAL = X
QUANTITY = X
PCKG_NO = X
Parameters: POSCHEDULE
PO_ITEM = 00010
SCHED_LINE = 0001
QUANTITY = 1.000
Parameters: POSCHEDULEX
PO_ITEM = 00010
SCHED_LINE = 0001
PO_ITEMX = X
SCHED_LINEX = X
QUANTITY = X
Parameters: POSERVICES
PCKG_NO = 0000000001
LINE_NO = 0000000001
OUTL_LEVEL = 0
OUTL_IND = X
SUBPCKG_NO = 0000000002
FROM_LINE = 1
PCKG_NO = 0000000002
LINE_NO = 0000000002
EXT_LINE = 0000000010
OUTL_LEVEL = 0
SERV_TYPE = NZ
QUANTITY = 5.000
BASE_UOM = UN
PRICE_UNIT = 1
GR_PRICE = 10.0000
SHORT_TEXT = SHORT 1
USERF1_TXT = LINHA NORMAL
PCKG_NO = 0000000002
LINE_NO = 0000000003
EXT_LINE = 0000000020
OUTL_LEVEL = 0
SERV_TYPE = HZ
GR_PRICE = 10.0000
SHORT_TEXT = SHORT 2
INFORM = X
USERF1_TXT = LINHA INFO
PCKG_NO = 0000000002
LINE_NO = 0000000004
EXT_LINE = 0000000030
OUTL_LEVEL = 0
SERV_TYPE = NZ
QUANTITY = 5.000
BASE_UOM = UN
PRICE_UNIT = 1
GR_PRICE = 10.0000
SHORT_TEXT = SHORT 3
USERF1_TXT = LINHA NORMAL
Parameters: POSERVICESTEXT
PCKG_NO = 0000000002
LINE_NO = 0000000004
TEXT_ID = LLTX
FORMAT_COL = *
TEXT_LINE = LONGO
PCKG_NO = 0000000002
LINE_NO = 0000000004
TEXT_ID = LTXT
FORMAT_COL = *
TEXT_LINE = SUCINTO
Thanks and Regards
null
Message was edited by:
Luis ConstantinoThank you for reply.
Yes, I read it, but I found a sap note that say:
You can also change services using BAPI_PO_CHANGE. Up to now, it was only possible to add complete service or limit items.
Using the new BAPI_PO_CHANGE, you can now make changes to services and with limits.
Because in the production mode the interfaces are filled entirely from available documents by report, SAP always assumes that the services or limits to be changed are sent in full to the BAPI interfaces with all the data belonging to them, even if not all the data is changed. If required entry fields are missing, the system displays an error message, other data not filled is possibly initialized. (It is not necessary to assign the complete item.)
- NOTE 561507 -
"What BAPI_PO_CHANGE can now do:
1. Changes to an already existing item:
For an existing item, you can
a) Add, change or delete services.
b) Add, change or delete limits (free limits and contract limits), provided that this does not cause the net value of the purchase order item to become "0".
1. Account assignment change for item category B and D: For an existing item, the account assignment can be changed.
a) Account assignment category U can be converted into another account assignment category allowed for the item categories, and vice versa.
b) An existing account assignment can be changed.
c) In case of services, a single account assignment can be converted into a multiple account assignment and vice versa - not with limits (with item category B), here multiple account assignment is not possible on-line either).
2. Making changes to more than one item.
3. Change outline layouts.
What the BAPI_PO_CHANGE cannot do:
Everything which is not possible on-line either."
Maybe you are looking for
-
How can i change my old master card account into my new master card account in app store?
HOw can i change my old master card account into my new master card account?
-
Drivers won't install for webcam 3
my camera was working perfect but i had to reinstall windows. since re-installing, i get an error each time i try to install the camera drivers. I originall received an error that it couldnt find the rundll32.exe file in c:\windows. I found this file
-
Open OBIEE report from web application
Experts, I want to open OBIEE report from a web application. I have a question regarding the security here. Say I login as 'USER1' in web application, I would have to pass 'USER1' in nquser parameter. Correct? Also, this report has access to 'Sales G
-
Error "Updating Respository" from MDM 5.5 to MDM 7.1
Hi all, We have been using MDM 5.5 SP 6 for the last 2 years; right now we have a Sandbox environment (MDM 7.1 - 7.1.02.59) to check compatibility with our developments. We unarchive the repositories in Sandbox and "Update Repository" for each one, 4
-
How can I print from my iPad using AirPrint?
I have an HP6500 printer connected to an Ethernet port of my wifi router. How can I print from my iPad using AirPrint?