Is there a way to direct requests based on HTTP return-code checking?

I'd like to implement a policy based on return-code. The algorithm is as below,
If HTTP return-code == 500 to 600
serverfarm1
else
serverfarm2
We have a CSM V3.2. Can someone tell me if this is doable? If yes, would you please tell me how.
Appreciation, Q.Xie

The solution I suggested is still what I recommend.
What you have to do is split your serverfarm in multiples instances. One for HTTP and another one for the rest of your applications. Or you could do one for each application.
The serverfarm for HTTP will have the HTTP probe and will go down when the response is 500-600.
The other serverfarm(s) will not use the same HTTP probe and should not go down based on the response code.
ie:
serverfarm WEB
real 10.10.10.10
ins
real 20.20.20.20
ins
probe http
serverm ALL
real 10.10.10.10
ins
real 20.20.20.20
ins
no probe
vserver web
vip 1.1.1.1 tcp 80
serverfarm WEB backup WEB_B
vserver all
vip 1.1.1.1 any
serverfarm ALL
Hope this helps.
Gilles.
Thanks for rating this answer.

Similar Messages

  • I forgot my passcode and now i am locked out...is there a way i can request to have the pass code un locked by sending it to my email trhat is registered with Apple?   what to do?

    I forgot my passcode to my iphone...what an i do?

    s there a way i can request to have the pass code un locked by sending it to my email trhat is registered with Apple?
    No
    what an i do?
    Restore your phone and set it up from scratch.

  • Is there any way I can request admin to delete my own thread?

    Hi,
    Is there any way I can request admin to delete my own thread?

    I think this is not possible.
    But why you want to delete an own thread?

  • I've received an email of an unauthorised access which states it was done in Canada, is there any way I can request Apple to inform me what the IP address that made unauthorised access was?

    I've received an email of an unauthorised access which states it was done in Canada, is there any way I can request Apple to inform me what the IP address that made unauthorised access was?
    I want to know as it possibly relates to other security issues I've had of late and it would help further my investigation. Would a subject access request possibly allow me to recieve this information? As far as I know there's no way to see a list of when and where I sign in using my Apple ID?

    Sorry but no, Apple cannot give you that information. The only way they could give anyone such an IP address would be if they received a court order to do so, if even then; I don't know what sort of tracking and logs they do.
    However, if this email claimed that someone had tried to reset your password and in any way gave you a link to click to confirm your account information, the email was almost certainly a phish. Such phishing messages have been quite common over the last two or three weeks and should be deleted without responding. You may wish to manually type in the URL for Apple's page for managing an Apple ID and change your password, just as a precaution, and make sure you've set good security questions using responses that can't just be looked up for you (they don't have to be real information; you can use any response you wish as long as you can remember what you entered).
    Regards.

  • Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests. The http status code and text is 400, Bad Request.

    Hi All,
    I am seeing the following error for SMS_AWEBSVC_CONTROL_MANAGER component with Message ID: 8100
    Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests.  The http status code and text is 400, Bad Request.
    awebsctl.log file has below errors:
    Call to HttpSendRequestSync failed for port 80 with status code 400, text: Bad Request
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    AWEBSVCs http check returned hr=0, bFailed=1
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    AWEBSVC's previous status was 1 (0 = Online, 1 = Failed, 4 = Undefined)
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    Health check request failed, status code is 400, 'Bad Request'.
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    Management point and Application Catalog Website Point are installed on the same Server where I am seeing the error for Application Catalog Web Service Point role. Management Point and Application Catalog Website Point are functioning properly. Application
    Catalog Website is working.
    Thanks & Regards, Kedar

    Hi Jason,
    Application Catalog Web Service Point and Application Catalog Website Point; both are installed as per below configuration on same Server:
    IIS Website: Default Web Site
    Port Number: 80
    with default value for Web Application Name configured.
    For SMS_AWEBSVC_CONTROL_MANAGER component, I am getting below error in Component Status:
    Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests.  The http status code and text is 400, Bad Request.
    Possible cause: Internet Information Services (IIS) isn't configured to listen on the ports over which AWEBSVC is configured to communicate. 
    Solution: Verify that the designated Web Site is configured to use the same ports which AWEBSVC is configured to use.
    Possible cause: The designated Web Site is disabled in IIS. 
    Solution: Verify that the designated Web Site is enabled, and functioning properly.
    For more information, refer to Microsoft Knowledge Base.
    And awebsctl.log has the below error lines:
    Call to HttpSendRequestSync failed for port 80 with status code 400, text: Bad Request
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    AWEBSVCs http check returned hr=0, bFailed=1
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    AWEBSVC's previous status was 1 (0 = Online, 1 = Failed, 4 = Undefined)
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    Health check request failed, status code is 400, 'Bad Request'.
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    STATMSG: ID=8100
    What should I check from IIS side?
    Application Catalog Website is functioning properly.
    Thanks & regards,
    Kedar
    Thanks & Regards, Kedar

  • Is there a way to create date based timelines in iBook Author?

    Hi guys,
    Is there a way to create nice looking timelines in iBook author? I was going to utlize the interactive image functionality but it would be great if there were other options. Just something simple like dates along the bottom and then pictures above it with maybe some links in the body copy to actual chapters in the book?
    Here are some examples I found on the web but not sure if something similar can be done in iBooks (mine would be much simpler):
    http://timeline.verite.co/
    http://www.timetoast.com/
    http://www.tiki-toki.com/timeline/entry/55/The-Fight-for-Democracy-in-the-Middle -East/#vars!date=2010-12-18_08:00:20!
    Maybe we need to create a custom HTML widget? I really have no idea so any help is GREATLY appreciated.
    Thank you in advance!

    Hi KT, I saw that before but it's more about stiching an image and showing a change over time. I am just looking for date based timeline which shows events... a calendar basically in a timeilne format. Thank you though. I'll keep digging and post any solutions I find here.

  • Is there a way to delete all email messages from inbox without checking each one at a time on my iphone 4?

    Whenever I want to delete messages in the inbox on my iphone 4, using v4.2.8, I have to manually check each one and then delete them the checked ones as a group. Is there a way to select all and delete them at one time? I love the phone and it is a little complaint, but I often get 50-60 work related messages which I scan then delete because the originals are on my work computer. Thanks.

    paulcb wrote:
    Also, the iPhone is not a standalone device and obviously doesn't have a full blown mail client... it's an adjunct to your computer.  If you want to delete a lot of emails, do it on your computer.  You could also log into your webmail using a browser on your iPhone and do it from there.
    You have a point, but you're just helping exposing the misery a little more:  I actually DO delete the emails in WebMail, very easily.  The problem is the sorry state of the Apple email client, that does not replicate those actions on the device, so I have to delete the messages TWICE--once on my computer, with a couple of clicks, and then on my iPhone, with a couple (hundreds) finger gestures.
    As to your point that the iPhone is not a standalone device:  that's nonsense.  The iPhone does a lot of things that users thought IMPOSSIBLE just 10 years ago.  Are you saying that the addition of a simple feature like a "Delete All Messages" button is too much for a mobile device?  Then what to say about Siri, a complex-beyond-our-imagination system that incorporates voice recognition, AI, searching and other hard-to-grasp technologies, all at our fingertips?

  • Is there any way to use flash without all the bloated code?

    I  want to put a flash player on my site, however with dreamweaver the  "insert movie" option puts a ton code in my markup to the point where i  cant even tell what im looking at. Is there any way to use flash without  all the bloat?

    Yes and no.  Some bloat as you call it is necessary to support all browsers.  That said, this on-line tool takes your Flash code and converts it to valid XHTML Strict standards.  In the process, the code is minimized a bit.  Be sure to test in an XHTML Strict doc type page.
    http://www.validifier.com/
    Nancy O.
    Alt-Web Design & A
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • I just purchased a Mac book air.  I have the Microsoft office and school for Mac  but can not down load it on The Air.  Is ther a way to download it on line using the codes on the box?

    I purchased  MacBook Air I have a Microsoft Offic and School for Mac.  Is there a way to download this product using info from the box since I can't put the disk in the Air

    You can download the trial: https://www.microsoft.com/mac/trial
    There should be a place to register in which you could enter your code. It may only ask you to register after the thirty days, I can't recall.

  • Transport request migration failed with return code 12

    Hi ,
    A transport request was created to capture deletion of bex query via Tcode RSZDELETE. The deletion TR was moved to Quality box successfully and query got deleted. But when same TR was moved to Production box, TR failed with return code 12. Program terminated (job:RDDEXECL). Upon checking the job log overview for this job, runtime error ITAB_DUPLICATE_KEY happend causing session to terminate. can anyone pls suggest me how to fix this issue and why this has caused. Need to fix this immediately as it is in production environment. Please help.
    In ST22 i could see the below error details:
    Thanks,
    Vishnu

    as per the dump, system is trying to insert a unique number which is already in the system. You sure the transport is only for deletion of the query? Can you please check the import logs in the test system and should tell you what action performed during import.

  • Is there a way to consume REST based pdf web service in PeopleSoft

    We have a requirement to consume an pdf REST based web service in PeopleSoft and display the pdf file on browser. I have configured the Service & Service Operation in PeopleSoft.
    I have also confirmed the request is making to target server. Also when using curl, confirm the target web service is working  and response seems to be binary bytes representing pdf file.
    How can I consume this response from PeopleSoft message object. Tried using contentstring() and trying to do %response.write
       &getrpt_RESP = %IntBroker.SyncRequest(&MSG);
       &strresponse = &getrpt_RESP.GetContentString();
       %response.write(strresponse );
    /* Open a file.pdf* - to do/
    /* Write the response from message to file - to do */
    /*Use view attachment to open the file on browser - to do*/
    But this returns nothing on browser.
    If I had to copy pdf file, I normally would use something like
       Local JavaObject &in = CreateJavaObject("java.io.FileInputStream", &SrcFullPath);
       Local JavaObject &out = CreateJavaObject("java.io.FileOutputStream", &filepath);
       Local JavaObject &buf = CreateJavaArray("byte[]", 1024);
       Local number &byteCount = &in.read(&buf);
       While &byteCount > 0
          &out.write(&buf, 0, &byteCount);
          &byteCount = &in.read(&buf);
       End-While;
    But I am failing to find a way to copy the bytes from message to a file?
    Any help is appreciated!

    Integration Broker supports MTOM. You can find an example here: Sending and Receiving Binary Data.
    The alternative is to use Java to make the HTTP request. You can use HttpClient, as Sasank mentioned, if you don't mind managing jar dependencies. The alternative is to use HttpUrlConnection directly. Not easy in PeopleCode, but possible. If you are on PeopleTools 8.53, then you can script it in JavaScript and run it on the server through the Rhino JavaScript script engine manager included with Java 7 and part of PeopleTools 8.53+. I find this MUCH easier because you don't have to deal with reflection.
    Once you get the binary file, the next task is sending it to the client in binary format. %Response.WriteBinary works great, but requires you to start with binary data. I am only aware of one way to read binary data in PeopleCode that is suitable for %Response.WriteBinary and that is to select the binary data out of the database and into an Any variable. I have not figured out how to convert Java binary data into something suitable for PeopleCode's %Response.WriteBinary.

  • Is there no way to direct an AIR app's audio to different audio output devices?

    I'm needing to make a couple of our AIR apps select certain audio devices to send their audio output to, and last year, somebody mentioned possibly using native extensions to do this.  I had to start working on other things for a while, but I've come back to this (for the moment), and I've basically learned how to create native extensions.
    But so far, they don't seem to provide me any special access to anything going on under the hood of an AIR app.  When you stream live audio in through RTMP or RTMFP, the details of the audio are hidden from you.  There doesn't appear to be any place where you can actually access the audio bytes that are being sent over the wire.  You can specify a certain SoundTransform object for the NetStream to use, but that class is final and a vanilla Flash construct, so even if it may have a way to access the audio bytes, they're not acessible at all.
    It really looks like, when a NetStream object starts streaming in live audio, there is no way under the sun to access the audio bytes and direct them to a certain audio output device, with or without extensions.  Is this so?  It would be unfortunate if Adobe didn't allow this, even through native extensions.  Thanks.

    Couple quick thoughts..
    Limits are important. There's a large amount of work done to keep a clear separation between a users decision and a developers decision. For instance, you can't change a users default audio output because that clearly violates a users decision. That said, here's a whole mess of people debating the issue and actually eventually an undocumented COM API you can find that will actually let you do it in Vista/Win7 (but not 8), however don't expect that to be a 'good thing to do':
    http://social.microsoft.com/Forums/en-US/9ebd7ad6-a460-4a28-9de9-2af63fd4a13e/programatica lly-setting-the-default-playback-device-and-recording-device?forum=windowspro-audiodevelop ment
    You might want to get a beverage before reading that.
    Aside that, RTMP is secured, which is why you can't gain access to the bytes. The entire purpose of it is to assure media developers that their media can't easily be copied/stolen. Adobe doesn't document their method of securing streams but they do publish the RTMP specification. It's entirely possible for you to create your own RTMP server and encryption method while delivering a RTMP stream to custom client that you code yourself which can read the stream. Here's the spec:
    http://www.adobe.com/devnet/rtmp.html
    So I'd say it would be unfortunate if Adobe did give you access to the bytes. You might as well just hand users a mp3 of whatever song is playing because they would steal media left and right.
    That isn't to say you can't use a multitude of ways of getting the data going across the default output device. Plenty of apps (fraps/etc) capture video and mixed audio streams. But Adobe isn't going to give you the keys to the kingdom and let you decrypt their protected media protocol.

  • Is there a way to directly connect/group a chapter marker to the first frame of a clip?

    I have over 6 hours of SD clips on my timeline.   I ended up having to add more clips throughout the timeline.   I was able to "group" the titles to their respecttive clips so I don't have to deal with moving them when I move their clip.   Now I am curious to know if there is a way to link the Chapter Markers to the first frame of their respective clips so that when I move the clip, so the Chapter Marker moves with it?
    BTW, I know it is best to put the Chapter Markers in last b4 I go on to Encore.   While I was working in Encore I realized it would be more meaningfull to create and add several After Effects "AVI" files between several of my clips.   This work in progress would be a lot easier if I did not have to keep re-adjusting the Chapter Markers everytime I modified the timeline.
    Thanks in advance for your help.
    Duane  

    Thanks for your suggestion about using the clip markers.   I tried them on a test clip.   They did not come down to the timeline.  Besides, I would want them labeled.   Right now all my clips have a marker that is labeled with the date and location.   The chapter markers are labeled the same way.   I have a spread sheet that list the dates of all the Chapter Markers which connect to the dates on the menu.     This seems like an old fashion way to do things for such a sophisticated software.   Maybe I should put in a feature suggestion to Adobe.   I would do that, but I am afraid that I may embarrass myself as being the only one that ever asked for something like that.   Or they would accuse me of misusing their software.  
    Again, thanks for your suggestion.
    Duane

  • Is there a way to rename files based on ID3 tags? Or, is it possi

    to move the files to my computer in another manner that will name them correctly? I couldn't find an option in the Creative Mediasouce program that would allow me to do this.
    I have most of my music files on my desktop pc, but want to move them to my laptop. I can use Nomad Explorer to pull them onto my laptop and they retain the id3 tag info, but are simply named by the title of the song. This makes it so that the songs are in alphabetical order in the new folder... I would rather not have to rename them adding a track number to each one as I will be transferring many files.
    Thank you very much!

    Well the ID3 tags are fine, as they were correct on the Zen Touch. My problem is just that when you drag-and-drop them from the player to the desktop of the computer, the file name given is only the title of the song (i.e. not track or artist or ablum info.). If there was a way to do it, I would like to change this 'track only name' into at least a 'track number - track name' so that the files are in the correct order for the album in the folder. I thought that this would be easy because the information is already stored in each track's ID3 tag, but I can't figure out how to use this to my advantage. Thanks for your help and sorry if this is confusing.

  • Is there a way to directly paste as image from clipboard

    I am an old Paint Shop Pro user but finally bought Photoshop CS5. However in Paint Shop Pro there is this excellent feature where you paste whatever image is on your clipboard directly as an image.
    In PhotoShop CS5 I first need to create a new file and paste the clipboard content in there. Which is, for example, when you have used the Print Screen key on your keyboard and want to create the screenshot as a new image, an additional step I can do without.
    Besides, I am often not sure how large the image is on my clipboard, so I need to create a ridiculous large new file to paste whatever I have on my clipboard in it and then work on it (cropping and so on).
    A paste as image option would suit me well. Is it in there somewhere?
    Regards,
    Martin
    Photoshop CS5 user.

    I created an action for that, which I assign to a key.  It makes a new document from whatever's in my clipboard.
    You can download a copy from here:  http://Noel.ProDigitalSoftware.com/temp/NewImageFromClipboard.zip
    Enjoy!
    -Noel

Maybe you are looking for

  • WebI document output

    Hi I have a question. Whenevr a WebI document is refreshed or run manually in InfoView, and saved on the repository, is there a way to get the output file from the server? Does  BO save a copy of the file anywhere on server? I dont want to schedule t

  • IPhone photo sync

    iPhone 3GS on 4.1 I'm continually having to check the box in iTunes to sync photos with an iPhone. I don't change any settings, but every couple of syncs I have to check the box and re-select the folder. Is there a setting I'm messing with, maybe ina

  • Bug in Chinese input (Pinyin Simplified)

    Hello, I think I've found a bug in the OS' language input for Chinese input. It just doesn't seem to like writing the combination of letters 'zhe'. This is really annoying, as these letters spell the Mandarin for 'This', amongst other things, so I wa

  • How to know received quantity field names  in MM

    HI I know that purchase order quantity can be found from EKPO-MENGE. Is there a field name for PO quantity received in time and PO received late. Received late is when the goods is received after the planned delivery date. thanks

  • Save triggered data from 2 modules

    I am using SignalExpress (3.0) with USB cDAQ-9172, a NI9203 current and NI9201 voltage module.  After Acquiring data (continuously), I am using a software trigger on the 9203 current signal to analyze and save the triggered data (collected from all 8