首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

CVS的迁移

cvs的迁移 1,把原dell2950上的rhel3 的/cvs目录做成 nfs共享 2,在新dell720上的rhel5.8上挂载nfs共享,并复制 mount -t nfs rhel3:/cvs /mnt  (新服务器上) cp -aP  /mnt /cvs  (新服务器上的帐号在前面已经迁移好,主要这样做是为了保证权限一致) 3,rhel5.8上安装cvs,cvs-inetd cvs-1.11.22-11.el5 cvs-inetd-1.11.22-11.el5 4,编辑/etc/xinetd.d/cvs文件(这里多project的配置方法,原那个地方直接注释也可以多project) cat /etc/xinetd.d/cvs # default: on # description: The CVS service can record the history of your source \ #              files. CVS stores all the versions of a file in a single \ #              file in a clever way that only stores the differences \ #              between versions. service cvspserver {         disable                 = no         port                    = 2401         socket_type             = stream         protocol                = tcp         wait                    = no         user                    = root         passenv                 = PATH         server                  = /usr/bin/cvs #       env                     = HOME=/var/cvs         server_args             = -f --allow-root=/cvs --allow-root=/cvs/project1  --allow-root=/cvs/project2  --allow-root=/cvs/project3 --allow-root=/cvs/project4 --allow-root=/cvs/project5 #       bind                    = 127.0.0.1         only_from               = 172.16.10.0/24 5,重启xinetd 6,客户端测试 $tail -n 1 .bash_profile export CVSROOT=:pserver:user1@cvsserver:/cvs/project1 18:07:54 user1@cvsserver (~) [103]$cvs login Logging in to :pserver:user1@cvsserver:2401/cvs/project1 CVS password: 输入密码即可 $cvs checkout someone

02

puppet kick 报错返回值cod

环境: puppetserver端  RHEL5.8或者RHEL6.4 [root@puppetserver1 etc]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.8 (Tikanga) puppetagent端  RHEL5.8 和RHEL6.4 [root@agent3 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.4 (Santiago) [root@agent2 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.8 (Tikanga) [root@agent2 ~]# [root@agent3 ~]# 故障: puppetserver推送到RHEL6.4上OK,推送到RHEL5.8上报错,具体如下   关于agent端配置参考我的博客 http://dreamfire.blog.51cto.com/418026/1257718 操作: [root@puppetserver1 etc]# [root@puppetserver1 etc]# puppet kick -p 10 --host agent2.bsgchina.com失败 Triggering agent2.bsgchina.com Getting status status is running Host agent2.bsgchina.com is already running agent2.bsgchina.com finished with exit code 3 Failed: agent2.bsgchina.com [root@puppetserver1 etc]# puppet kick -p 10 --host agent3.bsgchina.com成功 Triggering agent3.bsgchina.com Getting status status is success agent3.bsgchina.com finished with exit code 0 Finished 日志: [root@agent3 ~]# puppet agent --server=puppetserver1.bsgchina.com --verbose --no-daemonize notice: Starting Puppet client version 2.7.21 info: Caching catalog for agent3.bsgchina.com info: Applying configuration version '1377075268' notice: Finished catalog run in 0.37 seconds info: access[^/catalog/([^/]+)$]: allowing 'method' find info: access[^/catalog/([^/]+)$]: allowing $1 access info: access[^/node/([^/]+)$]: allowing 'method' find info: access[^/node/([^/]+)$]: allowing $1 access info: access[/certificate_revocation_list/ca]: allowing 'method' find info: access[/certificate_revocation_list/ca]: allowing * access info: access[^/report/([^/]+)$]: allowing 'method' save info: access[^/report/([^/]+)$]: allowing $1 access info: access[/file]: allowing * access info: access[/certificate/ca]: adding authentication any info: access[/certificate/ca]: allowing 'method' find info: access[/certificate/ca]: allowing * access info: access[/certificate/]: adding authentication any info: access[/certificate/]: allowing 'method' find info:

01
领券