Re: ColdFusion Server behind a Citrix NetScaler (Load Balancer) CGI Issues
James Blaha wrote: > Does anyone operate a CF server behind a load balancer here? Sure. But based on the description you provided earlier about reduced SSL certificate management what you are doing isn't so much load balancing as SSL offloading. That means your load balancer must operating at OSI layer 7. > If so, when a user access's a CFM template does the IP of the person come > through properly as a CGI variable? If I use TCP load balancing (OSI layer 3) the IP address isn't changed, if I use application aware load balancing (OSI layer 7) it is and I have to add an X-Forwarded-For header. Jochem ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294500 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Server behind a Citrix NetScaler (Load Balancer) CGI Issues
I'm informed that this is the default for the Cisco ACE - the NAT automatically does the job of translating the client address through the VIP. On Dec 11, 2007 1:47 PM, James Holmes <[EMAIL PROTECTED]> wrote: > I'll check with the network people - I have to check on the status of > one of these ACE configs with them anyway. > > > On Dec 11, 2007 11:52 AM, James Blaha <[EMAIL PROTECTED]> wrote: > > James, > > > > Did you have to do anything special to the load balancer to make it work > > like that? > > > > -Jim > > > > >Yes - our servers are behind a Cisco ACE and they show the correct > > >remote address for CGI.REMOTE_ADDR and CGI.REMOTE_HOST. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294487 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ColdFusion Server behind a Citrix NetScaler (Load Balancer) CGI Issues
Jim, Most load balancers will set a HTTP header called "X-Forwarded-For" with the actual IP. We just created a request variable and used it in our apps. Here is the code we use just in case X-Forwarded-For doesn't exist. J.J. On 12/10/07, James Blaha <[EMAIL PROTECTED]> wrote: > Hello All, > > Does anyone operate a CF server behind a load balancer here? > > If so, when a user access's a CFM template does the IP of the person come > through properly as a CGI variable? > > We are using a Citrix NetScaler and the CGI variable that always returns for > a IP is that of the load balancer. We can weak the header file but that > doesn't change the CGI variable for IP address coming back to ColdFusion. > > Regards, > -Jim > > > ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294485 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ColdFusion Server behind a Citrix NetScaler (Load Balancer) CGI Issues
I'll check with the network people - I have to check on the status of one of these ACE configs with them anyway. On Dec 11, 2007 11:52 AM, James Blaha <[EMAIL PROTECTED]> wrote: > James, > > Did you have to do anything special to the load balancer to make it work like > that? > > -Jim > > >Yes - our servers are behind a Cisco ACE and they show the correct > >remote address for CGI.REMOTE_ADDR and CGI.REMOTE_HOST. > > > >On Dec 11, 2007 10:07 AM, James Blaha <[EMAIL PROTECTED]> wrote: > >> > > ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294484 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Server behind a Citrix NetScaler (Load Balancer) CGI Issues
James, Did you have to do anything special to the load balancer to make it work like that? -Jim >Yes - our servers are behind a Cisco ACE and they show the correct >remote address for CGI.REMOTE_ADDR and CGI.REMOTE_HOST. > >On Dec 11, 2007 10:07 AM, James Blaha <[EMAIL PROTECTED]> wrote: >> ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294480 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Server behind a Citrix NetScaler (Load Balancer) CGI Issues
Yes - our servers are behind a Cisco ACE and they show the correct remote address for CGI.REMOTE_ADDR and CGI.REMOTE_HOST. On Dec 11, 2007 10:07 AM, James Blaha <[EMAIL PROTECTED]> wrote: > Hello All, > > Does anyone operate a CF server behind a load balancer here? > > If so, when a user access's a CFM template does the IP of the person come > through properly as a CGI variable? > > We are using a Citrix NetScaler and the CGI variable that always returns for > a IP is that of the load balancer. We can weak the header file but that > doesn't change the CGI variable for IP address coming back to ColdFusion. > > Regards, > -Jim > > > ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294476 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ColdFusion Server behind a Citrix NetScaler (Load Balancer) CGI Issues
Hello All, Does anyone operate a CF server behind a load balancer here? If so, when a user access's a CFM template does the IP of the person come through properly as a CGI variable? We are using a Citrix NetScaler and the CGI variable that always returns for a IP is that of the load balancer. We can weak the header file but that doesnât change the CGI variable for IP address coming back to ColdFusion. Regards, -Jim ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294475 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ColdFusion Server behind a Citrix NetScaler (Load Balancer) CGI Issues
Helge, Thanks for the post, thats what we are looking into now. I'll post my solution once we get it working. -Jim ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294376 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: ColdFusion Server behind a Citrix NetScaler (Load Balancer) CGI Issues
Hi, On our load balancer (Coyote Equalizer) we have a setting, spoof, that forwards the client address to the web server instead of the load balancer address. Might be something similar on the Citrix box. Helge -Original Message- From: James Blaha [mailto:[EMAIL PROTECTED] Sent: 6. desember 2007 14:09 To: CF-Talk Subject: Re: ColdFusion Server behind a Citrix NetScaler (Load Balancer) CGI Issues Hi Tom, Thanks I'll pass this on to my admin. -Jim ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294367 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Server behind a Citrix NetScaler (Load Balancer) CGI Issues
Hi Tom, Thanks I'll pass this on to my admin. -Jim ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294307 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ColdFusion Server behind a Citrix NetScaler (Load Balancer) CGI Issues
On Thursday 06 Dec 2007, James Blaha wrote: > a user goes to a given *.cfm template if we are tracking what IP they are > coming from it always shows the IP of the load balancer. Does anyone know > away around this? You may be lucky and find a forwarded-for HTTP request header to use instead. -- Tom Chiverton Helping to carefully visualize extensible schemas on: http://thefalken.livejournal.com Please note, as of 10th December 2007 the registered office address of Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294306 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4