welcome: please sign in

Diff for "ServerGibran"

Differences between revisions 2 and 23 (spanning 21 versions)
Revision 2 as of 2018-04-07 02:12:45
Size: 1195
Editor: ClintonEbadi
Comment: setup notes
Revision 23 as of 2018-04-22 02:02:56
Size: 1624
Editor: ClintonEbadi
Comment: move puppet notes to ConfigurationManagement
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 * Volume mounted in /vicepa
 * added /opt/puppetlabs/bin/ to root $PATH in .bashrc, should be done in /etc/profile.d/
 * set domain name to hcoop.net manually
   * need to review setup... hostname = `gibran`, using `domain hcoop.net` in `resolv.conf`, and `159.203.101.102 gibran.hcoop.net gibran` in `hosts` (similar setup to other hcoop servers), but ... maybe we should just be leaving `hosts` alone and putting the fqdn into `hostname` ?
   * original setup had "gibran.localdomain gibran 127.0.1.1"
Line 12: Line 13:
 * set domain name to hcoop.net manually
 * set `search hcoop.net` in `/etc/resolv.conf` manually
Line 15: Line 14:
 * manually installed libnss-afs
Line 19: Line 19:
  * looks like it might just be https://help.ubuntu.com/community/CloudInit which would make it acceptable to keep in place
Line 20: Line 21:
=== puppet server === == AFS Setup Notes ==
Line 22: Line 23:
 * Installed https://apt.puppetlabs.com/puppet5-release-stretch.deb manually
 * Packages: puppetserver, puppet-agent
 * added /opt/puppetlabs/bin/ to root $PATH in .bashrc
 
 * Not sure we want to link /etc/openafs/CellServDB to /etc/openafs/server/CellServDB or not
   * downside: client ignores dns, upside: client works if dns is down
   * Left client CellServDB separate for the time being
Line 27: Line 27:
Puppet git structure (different repos for each): /etc/puppetlabs/puppet, /etc/puppetlabs/code/environments/production, /etc/puppetlabs/modules Questions
Line 29: Line 29:
Puppet module structure:
 * hcoop
   * server
     * $server (e.g. gibran)
   * service
     * openafs-client
 
 * will openafs be smart enough find fileservers on private interfaces?
   * if not, local aliases in hosts? any way to achieve this? (private networking is unbilling, so ideally we will take advantage of it)
   * `vos listaddrs` showed private interfaces so seems like clients might be able to auto home?

gibran.hcoop.net is virtual machine at digital ocean that will become our primary afs server

It is named after the author Kahlil Gibran

1. Setup Notes

Or: things that need to go into Puppet

  • set domain name to hcoop.net manually
    • need to review setup... hostname = gibran, using domain hcoop.net in resolv.conf, and 159.203.101.102 gibran.hcoop.net gibran in hosts (similar setup to other hcoop servers), but ... maybe we should just be leaving hosts alone and putting the fqdn into hostname ?

    • original setup had "gibran.localdomain gibran 127.0.1.1"
  • removed joe (or at least update-alternatives editor to either vim or emacs...)

  • root has basic emacs config for puppet-mode and melpa (probably no need to formalize that...)
  • manually installed libnss-afs

1.1. todo

2. AFS Setup Notes

  • Not sure we want to link /etc/openafs/CellServDB to /etc/openafs/server/CellServDB or not
    • downside: client ignores dns, upside: client works if dns is down
    • Left client CellServDB separate for the time being

Questions

  • will openafs be smart enough find fileservers on private interfaces?
    • if not, local aliases in hosts? any way to achieve this? (private networking is unbilling, so ideally we will take advantage of it)
    • vos listaddrs showed private interfaces so seems like clients might be able to auto home?

ServerGibran (last edited 2018-04-22 02:02:56 by ClintonEbadi)