ClearCase NAS设备上动态view迁移注册到另外一台主机上的流程(UNIX系统)
2015-08-05 21:34
369 查看
有的ClearCase局域网中存在多台registry服务器,当其中一台registry服务器出现问题后,注册在它上面的view是无法正常访问的。于是,为了保证开发人员的正常工作,就会临时将这些访问不了的view迁移注册到其他的registry服务器上。其一般流程如下:
1. 以view拥有者或者特权用户的身份登录到view主机上
2. 停掉view的服务器进程。采用cleartool endview view_tag命令结合-server选项实现:
#cleartool endview –server v5_integration
3. 删除view的tag并且注销它,命令如下:
#cleartool rmtag –view –all v5_integration
#cleartool unregister –view /net/mars/viewstg/v5_integration.vws
4. 注册view到新的主机ccviewsvr1上
#cleartool register -view -host ccviewsvr1 -hpath /net/mars/viewstg/v5_integration.vws -gpath /net/mars/viewstg/v5_integration.vws /net/mars/viewstg/v5_integration.vws
5. 建立view的tag
#cleartool mktag –view –tag v5_integration –host ccviewsvr1 –hpath /net/mars/viewstg/v5_integration.vws –gpath /net/mars/viewstg/v5_integration.vws /net/mars/viewstg/v5_integration.vws
6. 检查view是否能正常访问
#cleartool lsview -l v5_integration
#cleartool setview v5_integration
参考链接:Moving a view to a host with the same architecture or to a NAS device
1. 以view拥有者或者特权用户的身份登录到view主机上
2. 停掉view的服务器进程。采用cleartool endview view_tag命令结合-server选项实现:
#cleartool endview –server v5_integration
3. 删除view的tag并且注销它,命令如下:
#cleartool rmtag –view –all v5_integration
#cleartool unregister –view /net/mars/viewstg/v5_integration.vws
4. 注册view到新的主机ccviewsvr1上
#cleartool register -view -host ccviewsvr1 -hpath /net/mars/viewstg/v5_integration.vws -gpath /net/mars/viewstg/v5_integration.vws /net/mars/viewstg/v5_integration.vws
5. 建立view的tag
#cleartool mktag –view –tag v5_integration –host ccviewsvr1 –hpath /net/mars/viewstg/v5_integration.vws –gpath /net/mars/viewstg/v5_integration.vws /net/mars/viewstg/v5_integration.vws
6. 检查view是否能正常访问
#cleartool lsview -l v5_integration
#cleartool setview v5_integration
参考链接:Moving a view to a host with the same architecture or to a NAS device
相关文章推荐
- 插入排序
- jni 短信
- JAVAscript——菜单下拉列表练习(阻止事件冒泡)
- 智慧北京4
- 【最小割模型、01分数规划】zoj2676Network Wars
- 介绍Unreal Engine 4中的接口(Interface)使用C++和蓝图
- hdu 1010 Tempter of the Bone
- Android Api Demos登顶之路(二十一)Secure Surface
- iOS-UICollectionViewLayout 自定义布局
- 在win7操作系统安装Oracle 10g,数据库安装不了的原因
- 【暑期基础2】A HDU 2026 首字母变大写
- 电脑购买
- Java IO
- 机器学习中的范数规则化之(二)核范数与规则项参数选择
- UICollectionView基本使用方法
- Binary Tree Maximum Path Sum
- 5.Python基础 缩进与选择的关系
- 姓名的“夫妻相”
- 水池数目
- List泛型集合