收藏 分销(赏)

opnet中配置应用和profile.doc

上传人:仙人****88 文档编号:9148679 上传时间:2025-03-15 格式:DOC 页数:5 大小:216KB
下载 相关 举报
opnet中配置应用和profile.doc_第1页
第1页 / 共5页
opnet中配置应用和profile.doc_第2页
第2页 / 共5页
点击查看更多>>
资源描述
配置应用和profile 来源: Help / Online Documentation / Modeling Methodologies / Methodologies and Case Studies (MSS: Maximal Segment Size) 1 Introduction 构建好网络拓扑后,有两种方式在网络中部署网络业务: l to import traffic as “conversation pair traffic” l to model application traffic by setting up various application attributes. 本文讨论第二种方案,第一种方案在别的文档中论述。 描述用户或用户组的特性,需要描述他们的行为。用户的行为或profile可以通过他们使用的应用和应用的频度和吞吐量来描述。应用由其动作描述,在opnet中成为task。 OPNET采用”global”的application和profile,便于在整个拓扑中重用。 2 Architecture 下图描述了应用的层次结构:一个profile包含若干个应用,应用又可表示为简单业务源,复杂协议或离散的task集。Task有分许多阶段(phase),每个阶段描述一种源目数据交换。本文主要介绍前两种元素,profile和application,后两种元素,task和phase可以详细参考自定义应用文档。 2.1 Profile Configuration profile描述用户或用户组在特定时间使用某些应用。在给定的workstation或LAN上可以定义几个不同的profile,分别代表不同的用户组。例如可以有个工程组,销售组和管理组的profile. Profile在同一节点上可以重复执行。OPNET允许配置profile以并行(concurrently—at the same time)或串行(Serially—one after the other)方式工作。 Profile里的应用可以按如下3种方式执行: l at the same time l one after the other – in a specific order you determine l one after another – in a random order 下图描述了可能的profile配置 Profile Definition Object定义在scenario里使用的所有profile。只有在Profile Definition Object里定义的profile才能在workstations或LAN的对象里使用,只有在Application Definition Object里定义的Application才能在profile里使用。 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 Applications 标准网络应用在“Standard Network Applications”文档中介绍,下表预定义的网络应用: Table 1: Standard Network Applications Standard Network Applications Brief Description FTP File transfer E-mail Sending and receiving e-mail Remote Login Rlogin (telnet) Video Conferencing Video conferencing involving image exchanges Database Database queries and updates HTTP Web browsing Print Print job submission Voice On-Off voice model 2.4 The Custom Application 自定义应用可以包含任意多层,包括两层应用。应用事务有两种模式:“deterministic” (exactly as measured) and “statistical” (transactions are randomized but statistically similar to those actually measured) 3 Selecting an Application Model 本部分通过5个实例来描述如何选择相应的应用模型来满足特定的仿真需求。 1. Server-Based E-mail Application When 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 the 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. 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 client 5. General Data Traffic from a LAN 在LAN的网段里的一定量的用户互相之间传输文档或图像,从而产生变化的业务量。文档传输的速率和大小可以通过协议分析器测得。 建一为各个用户构建相同的profile,各个用户独立使用。应用采用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 Attributes 2. 在Applications Definitions Table中修改Rows增加一行,给出应用名。 3. 描述应用特性。 4. 如果标准应用不能不能满足需求,可以自定义应用。自定义应用需要定义task。从Utilities创建Task Definition Object,配置Task。 4.2 Step 2: Construct the profiles 4.3 Step 3: Assign the profiles to the LAN/workstation 配置好应用和profile后,可以部署在工作站、服务器和LAN上。典型地,Profile配置在工作站或LAN上作为业务源。然而,Profile也可配置在Server上,假如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映射一组服务器时,由权重来决定访问服务器。
展开阅读全文

开通  VIP会员、SVIP会员  优惠大
下载10份以上建议开通VIP会员
下载20份以上建议开通SVIP会员


开通VIP      成为共赢上传
相似文档                                   自信AI助手自信AI助手

当前位置:首页 > 包罗万象 > 大杂烩

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2025 宁波自信网络信息技术有限公司  版权所有

客服电话:4009-655-100  投诉/维权电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服