- 积分
- 54
- 注册时间
- 2003-8-13
- 仿真币
-
- 最后登录
- 1970-1-1
|
如下的步骤仅以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 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|