{"id":6,"date":"2007-02-23T08:01:08","date_gmt":"2007-02-23T00:12:49","guid":{"rendered":""},"modified":"2017-03-07T20:10:02","modified_gmt":"2017-03-07T20:10:02","slug":"i_do_it_one_more_time_gentoo_cvs_move","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/pylon\/2007\/02\/23\/i_do_it_one_more_time_gentoo_cvs_move\/","title":{"rendered":"I do it one more time: Gentoo CVS move"},"content":{"rendered":"<p>The title sounds like I do it monthly&#8230; No!  But it&#8217;s the second time for me that I move Gentoo&#8217;s CVS to a new server.  I already did it in September 2003 when we moved from our former CVS-box (funny, I even can&#8217;t remember its name) to our current <a href=\"http:\/\/www.gentoo.org\/proj\/en\/infrastructure\/server-specs.xml\">CVS-server<\/a>, named &#8220;lark&#8221;.  At that time it was a pretty easy task, as we didn&#8217;t had so many developers, a quite small CVS-tree and not so many scripts for automatic actions.<\/p>\n<p>Nowadays lark provides beside the CVS for the portage-tree a couple of repositories for other subprojects and SubVersion for some more subprojects.  We also have some scripts for backup, hooks for mailing the <a href=\"http:\/\/cia.navi.cx\/stats\/project\/gentoo\">CIA<\/a>-statistics or the changes of the English <a href=\"http:\/\/docs.gentoo.org\/\">documentation<\/a> for the translators.<\/p>\n<p>Setting up a new server is a good time to review the scripts and make some things a little bit different.  It&#8217;s good that we have the new server, called &#8220;stork&#8221; for two months already.  So I had enough time to set up the backup differently than before.  As we use <a href=\"http:\/\/sources.redhat.com\/lvm2\/\">LVM2<\/a> for our cvsroot- and svnroot-storage, I can quickly create an lvm-snapshot of the current tree and create a backup from that snapshot.  The old scripts did a live-backup and sometimes it happened that somebody commited something during that time, so that the backup was not that clean&#8230;  The creation of the backup takes about 30 minutes (mostly it&#8217;s bzip2 which takes so long).  And transfering the backup to our backup-server takes about the same time.<\/p>\n<p>robbat2 worked a lot on the ssh-key-transfer.  Before we copied the authorized_keys from our dev-box to lark on a hourly basis.  Now we use LDAP (finally) to extract the ssh-pubkey, which takes only two seconds (woot!).  So we switched to a sync every 15 minutes, which will make devs more happy!<\/p>\n<p>At 7UTC on Friday we will take down lark and do an rsync of the tree to stork.  A test a couple of days ago was done within three minutes.  Both servers will be on the same state then.  Let&#8217;s hope, that the DNS-update will also be fast.  We have an estimated timeframe of two hours for the move, but I guess, we will be ready sooner.<\/p>\n<p>Some words about the machines:<\/p>\n<p><b>lark<\/b><\/p>\n<ul>\n<li>active since September 2003 (that makes 3<br \/>\n","protected":false},"excerpt":{"rendered":"<p>The title sounds like I do it monthly&#8230; No! But it&#8217;s the second time for me that I move Gentoo&#8217;s CVS to a new server. I already did it in September 2003 when we moved from our former CVS-box (funny, I even can&#8217;t remember its name) to our current CVS-server, named &#8220;lark&#8221;. At that time &hellip; <a href=\"https:\/\/blogs.gentoo.org\/pylon\/2007\/02\/23\/i_do_it_one_more_time_gentoo_cvs_move\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">I do it one more time: Gentoo CVS move<\/span><\/a><\/p>\n","protected":false},"author":45,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/pylon\/wp-json\/wp\/v2\/posts\/6"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/pylon\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/pylon\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/pylon\/wp-json\/wp\/v2\/users\/45"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/pylon\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":1,"href":"https:\/\/blogs.gentoo.org\/pylon\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"predecessor-version":[{"id":36,"href":"https:\/\/blogs.gentoo.org\/pylon\/wp-json\/wp\/v2\/posts\/6\/revisions\/36"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/pylon\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/pylon\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/pylon\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}