Hi,
I am trying to set up a two node cluster running CentOS to learn features in
Chef. Here is what I have done so far.
-
rpm -Uvh http://rbel.frameos.org/rbel6
-
yum install ruby ruby-devel ruby-ri ruby-rdoc ruby-shadow gcc gcc-c++
automake autoconf make curl dmidecode
-
tar zxvf rubygems-1.8.17.tgz
-
cd rubygems-1.8.17
-
ruby setup.rb --no-format-executable
-
gem update --system
-
gem install chef --no-ri --no-rdoc
-
mkdir -p /etc/chef
-
yum install rubygem-chef-server
-
setup-chef-server.sh
-
telnet localhost 4040
-
http://localhost:4040
and changed admin password from chef321go
So far so good. Could someone post a link to set up the client part and
minimal tests? I will google it, but if I can get from you guys that would be
great. Thanks,
Prakashan
On Mar 2, 2012 1:01 PM, ppk@ats.ucla.edu wrote:
So far so good. Could someone post a link to set up the
client part and minimal tests?
The installation directions on the wiki should work.
http://wiki.opscode.com/display/chef/Installing+Chef+Client+on+CentOS
Bryan
Thanks Brian. So in my two node set up, I repeat the same
steps as server node on the client node and additionally run
the knife command, right?
Something like this?
Client node:
- sudo rpm -Uvh http://rbel.frameos.org/rbel6
- sudo yum install ruby ruby-devel ruby-ri ruby-rdoc
ruby-shadow gcc gcc-c++ automake autoconf make curl dmidecode
- tar zxvf rubygems-1.8.17.tgz
- cd rubygems-1.8.17
- gem install chef --no-ri --no-rdoc
- mkdir -p /etc/chef
- knife configure client ./
Thanks,
Prakashan
On 03/02/2012 11:23 AM, Bryan McLellan wrote:
On Mar 2, 2012 1:01 PM,<ppk@ats.ucla.edumailto:ppk@ats.ucla.edu> wrote:
So far so good. Could someone post a link to set up the
client part and minimal tests?
The installation directions on the wiki should work.
http://wiki.opscode.com/display/chef/Installing+Chef+Client+on+CentOS
Bryan
you could use 'knife bootstrap' to set up your clients once your
server is setup.
Cheers,
--AJ
On 3 March 2012 08:48, Prakashan Korambath ppk@ats.ucla.edu wrote:
Thanks Brian. So in my two node set up, I repeat the same steps as server
node on the client node and additionally run the knife command, right?
Something like this?
Client node:
-
sudo rpm -Uvh http://rbel.frameos.org/rbel6
-
sudo yum install ruby ruby-devel ruby-ri ruby-rdoc ruby-shadow gcc
gcc-c++ automake autoconf make curl dmidecode
-
tar zxvf rubygems-1.8.17.tgz
-
cd rubygems-1.8.17
-
gem install chef --no-ri --no-rdoc
- mkdir -p /etc/chef
- knife configure client ./
Thanks,
Prakashan
On 03/02/2012 11:23 AM, Bryan McLellan wrote:
On Mar 2, 2012 1:01 PM,<ppk@ats.ucla.edumailto:ppk@ats.ucla.edu> wrote:
So far so good. Could someone post a link to set up the
client part and minimal tests?
The installation directions on the wiki should work.
http://wiki.opscode.com/display/chef/Installing+Chef+Client+on+CentOS
Bryan
Thanks. I am installing OS on my second node now. I will
try both ways.
knife bootstrap IP_ADDR -d centos5-gems
Prakashan
On 03/02/2012 12:06 PM, AJ Christensen wrote:
you could use 'knife bootstrap' to set up your clients once your
server is setup.
Cheers,
--AJ
On 3 March 2012 08:48, Prakashan Korambathppk@ats.ucla.edu wrote:
Thanks Brian. So in my two node set up, I repeat the same steps as server
node on the client node and additionally run the knife command, right?
Something like this?
Client node:
-
sudo rpm -Uvh http://rbel.frameos.org/rbel6
-
sudo yum install ruby ruby-devel ruby-ri ruby-rdoc ruby-shadow gcc
gcc-c++ automake autoconf make curl dmidecode
-
tar zxvf rubygems-1.8.17.tgz
-
cd rubygems-1.8.17
-
gem install chef --no-ri --no-rdoc
- mkdir -p /etc/chef
- knife configure client ./
Thanks,
Prakashan
On 03/02/2012 11:23 AM, Bryan McLellan wrote:
On Mar 2, 2012 1:01 PM,<ppk@ats.ucla.edumailto:ppk@ats.ucla.edu> wrote:
So far so good. Could someone post a link to set up the
client part and minimal tests?
The installation directions on the wiki should work.
http://wiki.opscode.com/display/chef/Installing+Chef+Client+on+CentOS
Bryan