opnet中配置应用和profile

上传人:第*** 文档编号:32692085 上传时间:2018-02-12 格式:DOC 页数:5 大小:216KB
返回 下载 相关 举报
opnet中配置应用和profile_第1页
第1页 / 共5页
opnet中配置应用和profile_第2页
第2页 / 共5页
opnet中配置应用和profile_第3页
第3页 / 共5页
opnet中配置应用和profile_第4页
第4页 / 共5页
opnet中配置应用和profile_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《opnet中配置应用和profile》由会员分享,可在线阅读,更多相关《opnet中配置应用和profile(5页珍藏版)》请在金锄头文库上搜索。

1、配置应用和 profile来源:Help / Online Documentation / Modeling Methodologies / Methodologies and Case Studies(MSS: Maximal Segment Size)1 Introduction构建好网络拓扑后,有两种方式在网络中部署网络业务: to import traffic as “conversation pair traffic” to model application traffic by setting up various application attributes.本文讨论第二种方案

2、,第一种方案在别的文档中论述。描述用户或用户组的特性,需要描述他们的行为。用户的行为或 profile 可以通过他们使用的应用和应用的频度和吞吐量来描述。应用由其动作描述,在 opnet 中成为 task。OPNET 采用”global”的 application 和 profile,便于在整个拓扑中重用。2 Architecture下图描述了应用的层次结构:一个 profile 包含若干个应用,应用又可表示为简单业务源,复杂协议或离散的 task 集。Task 有分许多阶段(phase),每个阶段描述一种源目数据交换。本文主要介绍前两种元素,profile 和 application,后两种

3、元素,task 和 phase 可以详细参考自定义应用文档。2.1 Profile Configurationprofile 描述用户或用户组在特定时间使用某些应用。在给定的 workstation 或 LAN 上可以定义几个不同的 profile,分别代表不同的用户组。例如可以有个工程组,销售组和管理组的 profile.Profile 在同一节点上可以重复执行。OPNET 允许配置 profile 以并行(concurrently at the same time)或串行 (Seriallyone after the other)方式工作。Profile 里的应用可以按如下 3 种方式执行

4、: at the same time one after the other in a specific order you determine one after another in a random order下图描述了可能的 profile 配置Profile Definition Object定义在 scenario里使用的所有profile。只有在Profile Definition Object里定义的profile才能在workstations或LAN的对象里使用,只有在Application Definition Object里定义的Application 才能在profil

5、e 里使用。2.2 Application Configuration针对每个应用可以配置用法参数,比如start time, duration and repeatability。可以为应用采用不同的参数,也可以为不同的组创建不同的应用,比如engineering_email和sales_email,前一个3emails/sec,后一个10emails/sec。应用模型有两类:Standard Network Applications and a custom application。在选择以前要充分理解模型,选择、配置应用模型在第3和第4部分。2.3 Standard Network Ap

6、plications标准网络应用在“Standard Network Applications”文档中介绍,下表预定义的网络应用:Table 1: Standard Network ApplicationsStandard Network Applications Brief DescriptionFTP File transferE-mail Sending and receiving e-mailRemote Login Rlogin (telnet)Video Conferencing Video conferencing involving image exchangesDatabas

7、e Database queries and updatesHTTP Web browsingPrint Print job submissionVoice On-Off voice model2.4 The Custom Application自定义应用可以包含任意多层,包括两层应用。应用事务有两种模式:“deterministic” (exactly as measured) and “statistical” (transactions are randomized but statistically similar to those actually measured)3 Select

8、ing an Application Model本部分通过 5 个实例来描述如何选择相应的应用模型来满足特定的仿真需求。1. Server-Based E-mail ApplicationWhen a client sends an e-mail, the e-mail is stored on the server. The client polls the server on a regular basis, and receives e-mail destined to it. You can model this architecture easily by configuring t

9、he e-mail Standard Application Model, which provides a Send Interarrival Time attribute and a Receive Interarrival Time attribute (Note: interarrival time, the time between successive messages, is the inverse of the rate). Inter-arrival times are configurable on an individual basis for each client.

10、Send and receive inter-arrival times are independent (i.e., a client can be a frequent sender of messages but an infrequent recipient).Figure 5: Email Attributes on a client5. General Data Traffic from a LAN在 LAN 的网段里的一定量的用户互相之间传输文档或图像,从而产生变化的业务量。文档传输的速率和大小可以通过协议分析器测得。建一为各个用户构建相同的 profile,各个用户独立使用。应

11、用采用 custom 方式。4 Configuring an Application Model构建使用应用进行业务量生成的节点需要多个步骤,因为哥哥步骤都依赖于之前的步骤,所以需要按次序完成。4.1 Step 1: Define the application.使用Application Definition Object定义和配置应用。1. 在项目中放置Application Definition Object,编辑属性。Figure 7: The Application Definition Object Attributes2. 在Applications Definitions Ta

12、ble 中修改Rows增加一行,给出应用名。3. 描述应用特性。4. 如果标准应用不能不能满足需求,可以自定义应用。自定义应用需要定义task。从Utilities 创建Task Definition Object,配置 Task。4.2 Step 2: Construct the profiles4.3 Step 3: Assign the profiles to the LAN/workstation配置好应用和 profile 后,可以部署在工作站、服务器和 LAN 上。典型地,Profile 配置在工作站或 LAN 上作为业务源。然而, Profile 也可配置在 Server 上,假

13、如 server 做为任何应用任务的源。4.4 Step 4: Configure the server to support the applications在 Workstation or LAN 上建立 profile 后,需要在 server 上配置 application。1 编辑 Application: Supported Services 属性2 增加需要的应用数。4.5 Step 5: Specify the destination and source preferences.每个应用由 symbolic 名来识别。但必须将此名映射到实际的 server 对象。Application: Destination Preferences 属性允许映射符号名到实际服务器名。针对每个服务器,可以设定访问权重。当 symbolic name 映射一组服务器时,由权重来决定访问服务器。

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 中学教育 > 职业教育

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号