找回密码
 注册
Simdroid-非首页
查看: 695|回复: 1

【原创】用iSIGHT进行分布式调用的操作步骤

[复制链接]
发表于 2003-12-29 09:01:08 | 显示全部楼层 |阅读模式 来自 北京
如下的步骤仅以isight调用远程exe程序为例,如何分布式调用excel请参考手册,另外,iSIGHT可以驱动Expect, rsh (Remote Shell)等第三方程序进行远程调用,方法如同集成一个仿真程序,故在此不再详述。
  
附件为一个演示例子,以作练习用。
  
Step 一、---配置isightd service和 isightd.cfg:----
  
1. in file: C:\WINDOWS\system32\drivers\etc\SERVICES , add one line:  
isightd    12758/tcp  #iSIGHT daemon
注意: 所有isightd的机器的这个端口号要一致。且大于1024.
  
2. in command dos window,execute as follows:
  isightd -remove
  isightd -install
  
3.到控制面板的服务中配置 [登陆] 帐号,和密码:
  (1) 原则上:要保证所有isightd机器上的帐号名称一致
  (2)  如果设成了Administrator ,则要特别注意步骤4 (2)中对isightd.cfg的deny-user的屏蔽
  
4. modify and copy isightd.cfg to directory as in: C:\Program Files\iSIGHT_71\config
  特别注意以下几行:
   (1)ISIGHT_HOME要改成iSIGHT安装路径,特别注意目录的间隔符是"/"不是"\",比如:c:/progra~1:
         simserver ISIGHT_HOME/bin/NT_4.0/simserver.exe 要改成:
         simserver c:/progra~1/isight_71/bin/NT_4.0/simserver.exe
   (2)Deny-User要注意:
       deny-user           Administrator
       如果你是允许了Administrator运行isightd服务,则这一行要屏蔽掉,即:
       # deny-user           Administrator
   (3)debug 控制isightd日志的输出(可选值:0,1,2)
      debug 0 时,isightd.log记录的信息最少
      debug 2时, isightd.log记录的信息最多
  
5. in control panel -> service:
   point to isightd service and start it.
  
Step 二、---- 用isightd进行exe程序的分布调用:------
  
0。启动isightd.exe
1。调用方存*.desc,input template即可。
2。被调用方存*.exe即可,注意:使用isighd分布计算可以不进行网络共享该目录
3。在host.info中映射远程机:
   比如: exe文件存放在远程机max_lai的D:/test/exe_fence目录下,则在host中写上:
    host max_lai -alias max
   对于Windows与Unix互相调用,以及非NFS的操作系统调用情况下,必须指定rcp -scratchDir 为写远程机器中exe所在的绝对路径,特别注意目录的间隔符是"/"不是"\" :
    rcp -scratchDir D:/test/exe_fence max_lai

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2011-11-10 19:48:27 | 显示全部楼层 来自 上海嘉定区
Simdroid开发平台
这么好的东西  没人顶吗
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-7-4 20:40 , Processed in 0.031946 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表