Tags:
create new tag
view all tags
-- ShiJingyan - 2011-02-28

  • 账号ssh登录quattor.ihep.ac.cn
  • 转到相应的quattor目录

cd ~/glite/ #######进入个人quattor设置目录

  • 同步本目录设置内容

  • 转到需要修改的link目录存放处

cd ~/glite/cfg/sites/BEIJING-LCG2/site #######转到link文件存放处

  • 编辑文件 clustre_symlink.tpl

vi clustre_symlink.tpl

比如原先一个link的定义是:

"/software/components/symlink/links"=push(
nlist(
"name", "/ybj/argo2",
"target", "/ihepbatch/argo2",
)
);
修改后:

"/software/components/symlink/links"=push(
nlist(
"name", "/ybj/argo2",
"target", "/publicfs/argo/argo2",
)

);

  • 编辑 文件 clustre_autofs.tpl
vi clustre_autofs.tpl

比如一个挂载点的定义是:
"/software/components/autofs/maps/ihepbatch/entries/argo13" = nlist(
"options","-fstype=nfs,soft,rsize=32768,wsize=32768,soft,intr,retrans=20,timeo=15,nfsvers=3,nosuid",
"location","192.168.41.84:/argo13",
);

迁移后删除这个挂载点把这几行删除掉就行

  • 发布新内容:

svn ci -m 'update link argo13' ####(说明用单引号括起来) //此操作是对svn服务器的文件进行更新。这里的说明很重要,提示每次操作改动的主要内容。如svn ci –m ‘open pbs for map & ams’

ant deploy ######进行发布 若提示“…………××&& successfully”,则证明修改成功。否则还需检查。

Topic revision: r1 - 2011-02-28 - ShiJingyan
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback