{"id":160,"date":"2007-08-19T16:31:48","date_gmt":"2007-08-20T00:31:48","guid":{"rendered":"http:\/\/wp.colliertech.org\/cj\/?p=160"},"modified":"2007-08-19T16:31:48","modified_gmt":"2007-08-20T00:31:48","slug":"setting-up-a-cluster","status":"publish","type":"post","link":"https:\/\/wp.c9h.org\/cj\/?p=160","title":{"rendered":"Setting up a cluster"},"content":{"rendered":"<p>So&#8230; I guess at this point, the hosts on colliertech.org could be considered a cluster.  We have all of the services you would expect from a real ISP running on the network at this point.  I think.  I&#8217;m learning more and more as I go along.<\/p>\n<p>I set up autofs for the first time this weekend.  I&#8217;m pretty happy with the system, but I had a heck of a time getting it going.  I was baffled at first by the format of the auto.master and auto.foo config files.  Here&#8217;s what the client-side configuration ended up looking like:<\/p>\n<pre>\r\n$ tail -1 \/etc\/auto.master\r\n\/etc\/auto\/nfs \/etc\/auto\/auto.nfs\r\n\r\n$ cat \/etc\/auto\/auto.nfs\r\naptconf\/*       nfs:\/etc\/apt\/&\r\naptconf         nfs:\/etc\/apt\r\n\r\naptcache\/*      nfs:\/var\/lib\/apt\/lists\/&\r\naptcache        nfs:\/var\/lib\/apt\/lists\r\n\r\ndebmirror\/*     nfs:\/var\/spool\/debmirror\/&\r\ndebmirror       nfs:\/var\/spool\/debmirror\r\n\r\nshare\/*         nfs:\/usr\/share\/&\r\nshare           nfs:\/usr\/share\r\n\r\nhome\/*          nfs:\/home\/&\r\nhome            nfs:\/home\r\n\r\n$ ls -l \/home \/etc\/apt \/var\/spool\/debmirror \/var\/lib\/apt\/lists \/usr\/share\r\nlrwxrwxrwx 1 root root 21 Aug 19 17:19 \/etc\/apt -> \/etc\/auto\/nfs\/aptconf\r\nlrwxrwxrwx 1 root root 18 Aug 19 16:36 \/home -> \/etc\/auto\/nfs\/home\r\nlrwxrwxrwx 1 root root 19 Aug 19 16:35 \/usr\/share -> \/etc\/auto\/nfs\/share\r\nlrwxrwxrwx 1 root root 22 Aug 19 13:01 \/var\/lib\/apt\/lists -> \/etc\/auto\/nfs\/aptcache\r\nlrwxrwxrwx 1 root root 23 Aug 19 13:00 \/var\/spool\/debmirror -> \/etc\/auto\/nfs\/debmirror\r\n<\/pre>\n<p>One recommendation I have for those that want to try this at home: put a local stub in place for each of those in case the client boots while the nfs server is out to lunch.  If you have a reasonable fallback in place, it should not matter how late in the runlevel process you put the init script for autofs.  That way you could, for instance, ensure that any virtual machines that host services relied on by this client are running before anything tries to use them.<\/p>\n\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=cjamescollier\" class=\"twitter-share-button\">Tweet<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>So&#8230; I guess at this point, the hosts on colliertech.org could be considered a cluster. We have all of the services you would expect from a real ISP running on the network at this point. I think. I&#8217;m learning more and more as I go along. I set up autofs for the first time this [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[60,17,123,79,171,47,163,166,143],"tags":[],"class_list":["post-160","post","type-post","status-publish","format-standard","hentry","category-colliertech","category-debian","category-etch","category-free-software","category-hardware","category-linux","category-networking","category-software","category-unix"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1YDIB-2A","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts\/160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=160"}],"version-history":[{"count":0,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts\/160\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}