免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2146 | 回复: 6
打印 上一主题 下一主题

[求助] HPUX中,有没有已经开发好的NFS机制,数据传输软件 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-12-19 10:14 |只看该作者 |倒序浏览
本帖最后由 ljs19801112 于 2012-12-19 10:16 编辑

主要是实现windows与HPUX之间,通过NFS机制,实现数据稳定传输。

因为通过NFS机制(主要通过service for unix等),将windows下的目录虚拟成了 HPUX下的目录。

相当于在同一台机器的不同目录建传送数据。

不知道,上面这种机制下,HPUX下实现“海量数据传输”,有没有商用软件。  在Linux下,有个软件是ada,可以实现类似的功能。但是不能在HPUX下使用。

自己用脚本写的,很多意外情况要考虑,不稳定~~

谢谢

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
2 [报告]
发表于 2012-12-19 12:33 |只看该作者
Windows和HPUX之间用Samba好了,是CIFS的哈,不是NFS。

论坛徽章:
0
3 [报告]
发表于 2012-12-19 18:20 |只看该作者
建议尝试下rsync

论坛徽章:
0
4 [报告]
发表于 2012-12-19 18:25 |只看该作者
http://hpux.connect.org.uk/hppd/ ... /Admin/rsync-3.0.9/

rsync-3.0.9
A replacement for rcp that has many more features

Rsync uses an algorithm which provides a very fast method for bringing remote files into sync. It does this by sending just the differences in the files, optionally with compression, across the link, without requiring that both sets of files are present at one of the ends of the link beforehand.

Author: Andrew Tridgell, Paul Mackerras <tridge@samba.org>
Installation Tree: /usr/local
License: GNU General Public License v3
Home URL:http://rsync.samba.org/
Languages used:C

评分

参与人数 1可用积分 +5 收起 理由
lbseraph + 5 赞一个!

查看全部评分

论坛徽章:
0
5 [报告]
发表于 2012-12-19 20:29 |只看该作者
oldnetangel 发表于 2012-12-19 18:25
http://hpux.connect.org.uk/hppd/ ... /Admin/rsync-3.0.9/

rsync-3.0.9


谢谢兄,因为刚刚接触HPUX,很多基础知识不太懂。谢谢兄的热心。

我详细看了下这个软件的安装。

SETUP
-----

Rsync normally uses ssh or rsh for communication with remote systems.
It does not need to be setuid and requires no special privileges for
installation.  You must, however, have a working ssh or rsh system.
Using ssh is recommended for its security features.

Alternatively, rsync can run in `daemon' mode, listening on a socket.
This is generally used for public file distribution, although
authentication and access control are available.

To install rsync, first run the "configure" script.  This will create a
Makefile and config.h appropriate for your system.  Then type "make".

Note that on some systems you will have to force configure not to use
gcc because gcc may not support some features (such as 64 bit file
offsets) that your system may support.  Set the environment variable CC
to the name of your native compiler before running configure in this
case.

Once built put a copy of rsync in your search path on the local and
remote systems (or use "make install").  That's it!

主要有上面几处红色的地方不太明白:
1、ssh是Secure SHell,安全协议的缩写??
2、configure是脚本么?直接在把在HPUX中,通过sh configure,来运行这个脚本吧?
3、生成Makefile和config.h文件后,type “make”是什么意思??  

因很多HPUX背景知识还没学习,软件的安装方法等,都不晓得。再次感谢兄的热心

论坛徽章:
0
6 [报告]
发表于 2012-12-19 20:33 |只看该作者
主要有上面几处红色的地方不太明白:
1、ssh是Secure SHell,安全协议的缩写??【对的】
2、configure是脚本么?直接在把在HPUX中,通过sh configure,来运行这个脚本吧?【也可以执行./configure】
3、生成Makefile和config.h文件后,type “make”是什么意思??  【执行make命令来编译程序】

评分

参与人数 1可用积分 +5 收起 理由
lbseraph + 5 谢谢积极回复!

查看全部评分

论坛徽章:
0
7 [报告]
发表于 2012-12-19 21:12 |只看该作者
oldnetangel 发表于 2012-12-19 20:33
主要有上面几处红色的地方不太明白:
1、ssh是Secure SHell,安全协议的缩写??【对的】
2、configure是 ...


我现在同步数据的方法是,使用find 和 mv,tar等等命令编写一个脚本。
然后使用crontab -e编写计划任务,每1分钟执行一次脚本。但是测试结果,不太稳定。

不知道兄推荐的这个软件,能实现类似功能么?请指点。
因我现在在windows下用的自开发的软件都是这种机制:设定好源目录、目的目录,和目录轮询扫描时间,就可以实现目录之间的同步了。

在HPUX下,兄推荐的软件,不知道有没有类似功能。

rsync -t *.c foo:src/

This would transfer all files matching the pattern *.c from the current directory to the directory src on the machine foo. If any of the files already exist on the remote system then the rsync remote-update protocol is used to update the file by sending only the differences. See the tech report for details.

通过兄的提示: 以1分钟或5分钟为时间间隔,然后通过计划任务(crontab -e),调用这条命令。不知道,思路对不对~~。

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

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP