China
   
You are here: Community > China

欢迎光临本站

欢迎访问DevCentral中文网站。
F5 DevCentral 中文网站是一个在线社区,提供了关于F5产品的工具、技术和协作资源。免费注册之后,您可以访问大量资源,包括讨论论坛、维客和应用范例等,以便帮助您更好的使用iRules和iControl,并有助于您探索F5 BIG-IP的高级配置和设计。
  

最新更新

博客
欢迎来到Devcental 中国!

今天是2009211 号,这是一个值得庆贺的日子,今天, 在很多F5同事的努力下, 一个中文本地化的Devcentral版本终于正式的向外开放。

Devcentral.f5.com作为全球最大的应用交付领域开发者论坛,吸引了全球众多的开发爱好者在上面咨询开发的问题、分享开发的成果。作为应用交付领域的领导者,F5提供了irules开发工具,具备50多个事件,200多个函数,可以使您对通过F5应用交付设备的流量进行随心所欲的处理,使网络更加智能,使应用交付可以真正的面向应用,适应各种不同的应用环境。

Devcentral可以提供:

全球各地用户使用iRules的最佳体验

iRules从入门到进阶,从基础代码编写到排错等知识的文档

大量iRules的实际案例以及代码,节约您的开发时间

最新、最完整的iRuels开发参考

通过Devcentral,您可以与众多开发爱好者一同,编写irules、调试iRules,分享您的成果、解答问题,在一个开放的平台上交流、沟通。

应用智能,无所不能!

2/9/2009 11:57:04 AM
技术提示
iRules 101 - #12 - 逻辑验证
有时iRule可以正常加载和运行而不会产生任何错误,但最后往往没有取得所期望的结果。
 
在这篇文章中我将通过一个简单的实例来验证你的iRule编写逻辑是否违背真实的数据流程:一个可以实现双向HTTP内容主机信息修改的IRule
 
我最近帮助了我的一个用户,它的配置是相当普遍的: Web服务器被配置成响应不同于向客户公开的URL里的域名: “正确”的Host Header中包含了内部的服务器名称用于Web 服务器处理请求。 另外, 无论哪个服务器响应请求中包含了内部的主机名称,都需要被替换成公开的域名。
2/2/2009 11:57:00 AM
技术提示
iRules 101 - #11 - 事件
事件是iRules构建的基石。事件是iRule对TCL语言的一个扩展,它使我们一个基于连接的状态上下文内来进行模块化的编程。本文将围绕事件的细节展开讨论并且了解他们是如何在相同的虚拟服务器中被一个或多个iRule调用的。
2/2/2009 11:51:00 AM
技术提示
iRules 101 - #10 - 正则表达式

虽然我们不建议使用正则表达式,但正则表达式是iRules 发开发过程中的“不可避免的弊端”。本文将讨论支持正则表达式的一些命令和一些工具,你可以用来来处理一些你所需要的格式。

2/2/2009 11:48:00 AM
技术提示
iRules 101 - #9 – 调试

既然你已经写好了你的第一个iRules :"Hello World",那么现在可以动手来写简单的、比如包含"when HTTP_RESPONSE" 或者 "HTTP::respond 200 content {Hello World}"的irules了,接下来还准备写一些更高级irules。不过,在此之前,首先你需要了解的是如何去调试这些你写的irules代码。本文将介绍几个调试技术,希望可以帮助你构建一个自检测的iRules 。

2/2/2009 11:36:00 AM
  
最新技术提示 / 例子 latest tech tips / samples
Description¶ This command returns the number (0-x) of the ""CPUs"" executing the rule. Helpful if you believe one of the ""CPUs"" is doing something it shouldn't and you want to isolate the issue rather than see an aggregate of all ""CPUs"". To determine the total number of TMM instances running, see the TMM::cmp_count page. To determine which blade an iRule is current executing on, see the TMM::cmp_group page. Note that in versions v10.1.0 through v10.2.2 and v11.0.0, this command is v...
Contributed by: lahavsavir - lahavs@exelmind.com¶ Description¶The following is a URL handling iRule that is kind of generic where the mapping between the URL and the nodes is done externally through the Data Group List for safe maintenance during operation.Enjoy...Lahav Savir lahavs at exelmind.com iRule Source¶ when HTTP_REQUEST { # You need to set a data group configuration using the following convention # redirect-key:node-ip:node-port ...
Summary: The basic elements comprising an iRule.Basic iRule elements¶ iRules are made up of these basic elements: Event declarationsOperatorsiRule commandsEvent declarations¶ iRules are event-driven, which means that the LTM system triggers an iRule based on an event that you specify in the iRule. An event declaration is the specification of an event within an iRule that causes the LTM system to trigger that iRule whenever that event occurs. Examples of event declarations that can...
Description¶ The table command (like the session command) is a way to access the session table. The table command is a superset of the session command, with improved syntax for general purpose use. Please see the table command article series for detailed information on its use.Note: Subtables are synched to the peer unit by default. This can be controlled by a database key, StateMirror.MirrorSessions. Ensure the Mirroring Address is configured under System ›› High Availability ›› Network...
This series of articles is designed to help solidify and make clear several of the underlying concepts behind iRules. Learn about the magic that goes on under the covers to make things work the way they do within your iRule.Connection States and Command SuspensionConsidering Context Part 1Considering Context Part 2
Page : 1 2 3 4 5 6 7 8 9

93,050 Members in 191 Countries and Growing!

Join DevCentral Today!

About DevCentral

F5 DevCentral is your source for the best technical documentation, discussion forums, blogs, media and more related to application delivery networking.

So dive in, meet your peers, and get familiar with DevCentral. We hope it makes your job easier and helps you get more from your F5 investment. If new to DevCentral, check out the Getting Started section. And if you have any problems, or think something could be easier to use, let us know.

Got It !

We've received your comment and transmitted it directly to DevCentral HQ.

Thanks for taking time to let us know what's on your mind. At DevCentral | Community Matters!

Get In Touch With Us

Have questions, suggestions or just want to get something off your chest?

Use our handy form below to Direct Connect with DevCentral Mission Control.

Send Us Feedback      or