Changes between Version 14 and Version 15 of ChefNotes


Ignore:
Timestamp:
Jun 6, 2014 11:24:51 AM (10 years ago)
Author:
Geoff Lawler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ChefNotes

    v14 v15  
    244244----
    245245
     246Current Task: testing basic chef-configuration node.
     247
     248 * created new OSID image, created new experiment, "threenode", and force sansa to be pc2177 and run the "nodeter" img. For some reason thought, the image was *not* the one I created, but what looks like a normal UB1204 DETER image. Did using the web API to create the OSid image overwrite my customized image. Hmm. It doesn't look like it. So where are my changes? Oh well. Start again.
     249   * Install chef client and neuter DETER boot scripts on {{{sansa}}} and create a custom image from that. Then reswap.
     250      * chef-client means chef server needs to be installed so as to have keys. installing chef-server/workstation on {{{arya}}}. Will keep that as a custom image as well. Will chef run on ub10.04? I think so. Bah. There is not 32bit version and the bpcs are 32 bit or at least from 32 bit ub10.04.
     251         * OK. I wanted to run the client on sansa a 64 bit VM ready? machine. But it's the only node I have that can run chef-server. So {{{sansa}}} will be the server and the others the clients.
     252{{{
     253# chef server install
     254ssh sansa  # or whatever the server will be called.
     255sudo dpkg -i chef-server_11.1.1-1_amd64.deb
     256sudo chef-server-ctl reconfigure
     257sudo chef-server-ctl test
     258# chef workstation install
     259sudo dpkg -i chef_11.12.4-1_amd64.deb
     260chef-client -v
     261# shows version
     262# (on elabinelab only) add "search isi.deterlab.net" to /etc/resolve.conf so "scratch" resolves.
     263sudo apt-get install git
     264# comment out edit in /etc/resolv.conf
     265cd /tmp
     266git clone ~glawler/src/chef-repo
     267cd chef-repo
     268tar jxvf ~/src/dotchef.tbz
     269rm .chef/*.pem
     270sudo cp /etc/chef-server/*.pem .chef
     271sudo chown glawler .chef/*.pem
     272knife client create chef_user --admin --file /tmp/chef-repo/.chef/chef_user.pem  --key /tmp/chef-repo/.chef/admin.pem  --user admin
     273knife client list
     274# to check that keys are ok.
     275}}}
    246276
    247277