<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Kopay&#039;s Blog &#187; SBR600-Win2011</title>
	<atom:link href="http://kopay.wordpress.com/category/sbr600-win2011/feed/" rel="self" type="application/rss+xml" />
	<link>http://kopay.wordpress.com</link>
	<description>Just a website is to dedicate to all who live in kopay</description>
	<lastBuildDate>Sat, 23 Apr 2011 20:14:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='kopay.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Kopay&#039;s Blog &#187; SBR600-Win2011</title>
		<link>http://kopay.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://kopay.wordpress.com/osd.xml" title="Kopay&#039;s Blog" />
	<atom:link rel='hub' href='http://kopay.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Release 0.3</title>
		<link>http://kopay.wordpress.com/2011/04/23/release-0-3/</link>
		<comments>http://kopay.wordpress.com/2011/04/23/release-0-3/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 17:25:27 +0000</pubDate>
		<dc:creator>kopay</dc:creator>
				<category><![CDATA[SBR600-Win2011]]></category>

		<guid isPermaLink="false">http://kopay.wordpress.com/?p=111</guid>
		<description><![CDATA[1)Implement in the arm farm 1) make sure hosts file contain following entry there.I have successfully installed in 192.168.1.112 192.168.1.254  hongkong.proximity.on.ca    hongkong    puppet 2) install the puppet client in the arm farm #yum install puppet for further any detail see the release 0.1 3) I hongkong the puppetmaster is already installed and configured. see the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kopay.wordpress.com&#038;blog=13327119&#038;post=111&#038;subd=kopay&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1>1)Implement in the arm farm</h1>
<p>1) make sure hosts file contain following entry there.I have successfully installed in 192.168.1.112</p>
<p>192.168.1.254  hongkong.proximity.on.ca    hongkong    puppet</p>
<p>2) install the puppet client in the arm farm</p>
<p>#yum install puppet</p>
<p>for further any detail see the release 0.1</p>
<p>3) I hongkong the puppetmaster is already installed and configured. see the release 0.1</p>
<p>start the puppetmaster</p>
<p>#service puppetmaster start</p>
<p>4) start the client</p>
<p>#service puppet start</p>
<p>this create the necessary certificate itself for the secure communication.</p>
<p>5) In puppetmaster issue the folling command</p>
<p>#puppetca  &#8211;list</p>
<p>it will the client that need to be signed.</p>
<p>you will probably see there something like similar to &#8220;cdot-guru-1-2&#8243;</p>
<p>6) In the puppetmaster issue the folling command to sign the above listed client.</p>
<p>#puppetca    &#8211;sign   cdot-guru-1-2</p>
<p>this will sign the certificate.</p>
<p>7) for the rest of the implementation on the arm farm do the same step 1, 2,4,5,6. but use the associate host name &#8220;cdot-guru-1-x&#8221;. here X is the associate the host number.</p>
<p>I have include some of the useful configuration down here in the document. Follow the document to configure  resourcre type.</p>
<h1>2)Puppet &#8211; fully configuration</h1>
<p>Puppet fully documentation</p>
<p>Puppet is open source systems and configuration management tool. It a client-server model, where server (puppetmaster) is the centralized server and client (puppet) is installed in the client system that is to be managed. Every configuration is defined in the puppetmaster, and then it is compiled and pushed out /applied to those clients.</p>
<p>The communication between puppetmaster and puppet is encrypted and authenticated. Puppet generates the certificate itself and signed by the puppet master to be successfully authenticated. The communication between the client and server is by default 3 minutes, if there are any changes made in the server that is to be applied to the client in the next interval of the communication.</p>
<p>The configurations are called <em>resources</em> and group of resources are called <em>collections</em>. Each resource is made of <em>type</em>, <em>title</em>, and <em>attributes</em>.</p>
<p>For example:</p>
<p>file {“/etc/resolv.conf”:</p>
<p>owner=&gt; “root”</p>
<p>}</p>
<p>The resource type is <em>file,</em> the resource type tells the puppet what type of the resource is managed.</p>
<p>There are few other resources such as <em>services, packages, cron jobs, file system </em>and etc.</p>
<p>The <em>title</em> is “/etc/resolv.conf” that is a file to be managed by puppet.</p>
<p>The attribute here is <em>owner</em> and it has value of <em>root.</em> There are much more attributes available and each has it’s value associated with.</p>
<p>By combining many resources<em>( package,classes, number of configuration, etc</em>) into a collection is called <em>classes.</em> For example Apache is a server application and if you want to manage this, you configure the class, which has the many resource of collection and it applied to the node.</p>
<p>Let see an example  and how we can scale the configuration</p>
<p>For example if you want to manage the “ypbind”  in the node1</p>
<p>node ‘node1.example.com’{</p>
<p>package{“ypbind”:</p>
<p>ensure=&gt; latest</p>
<p>}</p>
<p>file{“/etc/yp.conf”:<br />
source =&gt; puppet://files/yp.conf”,<br />
notify =&gt; service [“ypbind”],<br />
require =&gt; package[“ypbind”]</p>
<p>}</p>
<p>service {“ypbind”:<br />
enable =&gt; true,<br />
ensure =&gt;running,<br />
require =&gt;[<br />
File[“/etc/yp.conf”],<br />
package[“ypbind”]</p>
<p>]</p>
<p>}</p>
<p>}</p>
<p>This is configuration is applied to the node1.exapmle.com. Imagine if there are 100 of node to be managed, this configuration has to done again and again. This does not scale well. To reduce this configuration effort in every nodes, wed can group this in to a class instead and then include the class with each node.</p>
<p>For example:</p>
<p><strong># /etc/puppet/manifest/classes/yp.pp</strong></p>
<p>class yp::client {</p>
<p>package {“ypbind”:<br />
ensure=&gt; latest<br />
}</p>
<p>file {“/etc/yp.conf”:<br />
source =&gt; puppet://files/yp.conf”,<br />
notify =&gt; service [“ypbind”],<br />
require =&gt; package[“ypbind”]<br />
}</p>
<p>service {“ypbind”:<br />
enable =&gt; true,<br />
ensure =&gt;running,<br />
require =&gt;[<br />
File[“/etc/yp.conf”],<br />
package[“ypbind”]</p>
<p>]</p>
<p>}</p>
<p>}</p>
<p><strong># /etc/puppet/manifest.pp</strong></p>
<p>import “classs/*.pp”</p>
<p>node ‘node1.example.com’{<br />
include yp::client<br />
}</p>
<p>node ‘node2.example.com’{<br />
include yp::client<br />
}</p>
<p>what I have done is that I group the recourses <em>type</em> into <em>class</em>. Then I call the class in to each node. By doing this eliminate the configuring each resources in each node. Just call the class into each node.</p>
<p>But sill it cab be made to scale more. Think if there are few more classes to be applied then each classes has to be called into. For example,</p>
<p><strong># /etc/puppet/manifest/site.pp</strong></p>
<p>import “classs/*.pp”</p>
<p>node ‘node1.example.com’{<br />
include yp::client<br />
include foo1<br />
include foo2<br />
.<br />
.<br />
.<br />
include foo100</p>
<p>}</p>
<p>node ‘node2.example.com’{<br />
include yp::client</p>
<p>include foo1<br />
include foo2<br />
.<br />
.<br />
.<br />
include foo100</p>
<p>}</p>
<p>This again brings little bit more configuration over head. There to over come from this we can do it such a way,</p>
<p><strong>#/etc/puppet/manifest/group/desktop.pp</strong></p>
<p>class desktop {</p>
<p>include yp::client<br />
include foo1<br />
include foo2<br />
.<br />
.<br />
.<br />
include foo100</p>
<p>}</p>
<p><strong>#/etc/puppet/manifest/site.pp</strong></p>
<p>import “class/*.pp”<br />
node ‘node1.example.com’ {<br />
include desktop<br />
}</p>
<p>What I did was group the classes into another class and apply that group into the nodes. This configuration method pretty scale well.</p>
<p>For the further learning about the puppet resource type, title, attribute and associated attribute value, I found a really good <a href="http://docs.puppetlabs.com/puppet_core_types_cheatsheet_expanded.pdf">cheat sheet here.</a></p>
<p><strong>Installing and configuring puppet</strong></p>
<p><a href="http://kopay.wordpress.com/2011/03/08/project-release-0-1/">Please see the release 0.1</a></p>
<p><strong>Configuring the file server</strong></p>
<p><a href="http://kopay.wordpress.com/2011/04/05/release-0-2/">Please see the release 0.2</a></p>
<p>here are some use full links:</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kopay.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kopay.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kopay.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kopay.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kopay.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kopay.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kopay.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kopay.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kopay.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kopay.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kopay.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kopay.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kopay.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kopay.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kopay.wordpress.com&#038;blog=13327119&#038;post=111&#038;subd=kopay&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kopay.wordpress.com/2011/04/23/release-0-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>51.105826 -92.812500</georss:point>
		<geo:lat>51.105826</geo:lat>
		<geo:long>-92.812500</geo:long>
		<media:content url="http://1.gravatar.com/avatar/101eb434201501ecba02a66ce46fc3ab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kopay</media:title>
		</media:content>
	</item>
		<item>
		<title>Release 0.2</title>
		<link>http://kopay.wordpress.com/2011/04/05/release-0-2/</link>
		<comments>http://kopay.wordpress.com/2011/04/05/release-0-2/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 13:45:25 +0000</pubDate>
		<dc:creator>kopay</dc:creator>
				<category><![CDATA[SBR600-Win2011]]></category>

		<guid isPermaLink="false">http://kopay.wordpress.com/?p=108</guid>
		<description><![CDATA[File server configuration &#160; The last release 0.1 was installing the basic puppet installation and gets the puppet working. In the puppet master there should be service that should store and deliver the needed configuration files. Puppet can be act as the file server. Puppet has the server and client function in file serving. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kopay.wordpress.com&#038;blog=13327119&#038;post=108&#038;subd=kopay&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>File server configuration</strong></p>
<p>&nbsp;</p>
<p>The last release 0.1 was installing the basic puppet installation and gets the puppet working. In the puppet master there should be service that should store and deliver the needed configuration files. Puppet can be act as the file server.</p>
<p>Puppet has the server and client function in file serving. The server function is configured and initiated by the puppet master daemon. The client function is embedded into the puppet client daemon and retrieves files from the puppet master file server.</p>
<p>Lets see how to specify the puppet file server. It is done by <strong>file</strong> type resource and using the <strong>source</strong> attribute</p>
<p>Ex:</p>
<p><strong>file</strong> { “resolv.conf”:</p>
<p><strong>Source</strong> =&gt; “puppet://puppetmaster/etc/resolv.conf”</p>
<p>}</p>
<p>The fileserver configuration is managed by the fileserver.conf that is located in the /etc/puppet directory by default. But using the following command can change the location.</p>
<p>In the puppet master</p>
<p>#puppetmasterd   &#8211;fsconfig /usr/local/etc/puppet/fileserver.conf</p>
<p>The <strong>fileserver.conf</strong> file defines paths to serve files from and it has the access control that specifying which nodes can access these files.</p>
<p>Here is an example</p>
<p>[configuration]<br />
path /var/lib/puppet/files/configuration<br />
allow  *.senecac.on.ca<br />
deny  *</p>
<p>Here the each path being served is called a <strong>module</strong>. For example , <strong>configuration</strong> is a module. The use of modules allows puppet to abstract and simplify file system configuration and paths. The <strong>path</strong> statement specifies the location on the puppet master server where the files being served are located.</p>
<p>Lets see if we want to get the <strong>resolv.conf</strong> file from the <strong>configuration</strong> module in the file server, we simply specify as follows</p>
<p>file { “/etc/resolv.conf”:</p>
<p>source =&gt; “puppet://puppetmaster/configuration/resolv.conf”</p>
<p>}</p>
<p>what happens above is that, the <strong>file</strong> resource type need the <strong>titled</strong> /etc/resolv.conf  file that is saved in the <strong>configuration</strong> module( /var/lib/puppet/files/configurtion/resolv.conf) is retrieved by the puppet.</p>
<p>This is the format for specifying the <strong>source</strong>:</p>
<p><strong>Puppet://puppetmaster/module/files</strong></p>
<p><strong>Ex:  source =&gt; “puppet://puppetmaster/configuration/resolv.conf”</strong></p>
<p>This is for only single file is being down loaded by puppet and applied to the nodes. But if we want to download the full directory, there is a small changed needs to be done when specify the source.</p>
<p>file { “/etc/pam.d”:</p>
<p>source =&gt; “puppet://puppetmaster/configuration/pam.d”<br />
recurse =&gt; “true”</p>
<p>}</p>
<p>What we have done here is that instead of just specifying the file resource type, we specify the directory /etc/pam.d. Therefore, the puppet will download pam.d directory and applied to the nodes. The recurse <strong>attribute</strong> and <strong>value</strong> true tells the puppet server that it should download all the files from the directory.</p>
<p><strong> </strong></p>
<p><em>source:Turnbull, James.Pulling strings with puppet.firstpress </em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kopay.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kopay.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kopay.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kopay.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kopay.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kopay.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kopay.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kopay.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kopay.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kopay.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kopay.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kopay.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kopay.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kopay.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kopay.wordpress.com&#038;blog=13327119&#038;post=108&#038;subd=kopay&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kopay.wordpress.com/2011/04/05/release-0-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>51.105826 -92.812500</georss:point>
		<geo:lat>51.105826</geo:lat>
		<geo:long>-92.812500</geo:long>
		<media:content url="http://1.gravatar.com/avatar/101eb434201501ecba02a66ce46fc3ab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kopay</media:title>
		</media:content>
	</item>
		<item>
		<title>Project Release 0.1</title>
		<link>http://kopay.wordpress.com/2011/03/08/project-release-0-1/</link>
		<comments>http://kopay.wordpress.com/2011/03/08/project-release-0-1/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 14:20:51 +0000</pubDate>
		<dc:creator>kopay</dc:creator>
				<category><![CDATA[SBR600-Win2011]]></category>

		<guid isPermaLink="false">http://kopay.wordpress.com/?p=105</guid>
		<description><![CDATA[Project-SETUP PUPPET Release 0.1 Puppet Puppet is an open source automated system configuration management framework, which provides administrators a simplified platform for flexible and consistent administration. Puppet element includes 1)   Puppet master: it is the centralized system that has configuration of the other nodes that is to be applied on the client system. 2)   Puppet: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kopay.wordpress.com&#038;blog=13327119&#038;post=105&#038;subd=kopay&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Project-SETUP PUPPET </strong></p>
<p><strong>Release 0.1 </strong></p>
<p><strong>Puppet</strong></p>
<p>Puppet is an open source automated system configuration management  framework, which provides administrators a simplified platform for  flexible and consistent administration.</p>
<p>Puppet element includes</p>
<p>1)   Puppet master: it is the centralized system that has  configuration of the other nodes that is to be applied on the client  system.</p>
<p>2)   Puppet: it is installed in the clients that are to be managed by puppetmaster.</p>
<p>How puppet works</p>
<p>All clients will communicate with puppet master periodically to see  if there are any changes for respective configuration, and download the  latest configuration and make sure it is synchronize with that  configuration. Once the configuration applied, it will report to the  puppet master asking if there is anything needs to be changed.</p>
<p>Usually, the changes on the configuration in puppet master is done, it will be applied every 30 minutes on the clients.</p>
<p>Note: Puppet will only make any changes to the system if the system state does not match the configured state.</p>
<p><strong> Lets look at technically, how puppet works by step by step.</strong></p>
<p>1) Puppet generates the certificate using the system’s FQDN, when puppet starts first time.</p>
<p>2) Puppet submits the generated certificate to the puppetmaster. The  puppetmaster will will need to sign the certificate before clients can  be considered authenticated.</p>
<p>3)Puppet waits for 300 seconds for the signed certificate. If the  puppet does not get the certificate with on 300 seconds(can be  configured for different value), it will quit.</p>
<p>4)Puppetmaster signs the certificate. It can be configured such a way  to automaticall sign the certificate, but it is NOT good idea. Other  way is to manually sign the certificate.</p>
<p><em> To manually sign the certificate</em></p>
<p><strong>#puppetca  –sign </strong> &lt;certificate CN&gt;</p>
<p>note: it is done in puppet master. To list the requsete certificate, issu the commad</p>
<p><strong>#puppetca –list</strong></p>
<p>5)Puppet receives the signed certificate. Once the puppet receives the certificate, it will start configuration run immediately.</p>
<p>Note: Make sure the time on the puppetmaster and puppet to be same.</p>
<p>6)  The puppet generates all the facts. Most configurations rely on  client information to make decisions. When the Puppet client starts, it  loads the Facter Ruby library, collects all the facts it can, and passes  those facts to the interpreter. When you use Puppet over a network,  these facts are passed over the network to the server and the server  uses them to compile the client’s configuration.</p>
<p>7)  Puppetmaster  parses it’s manifests.</p>
<p><img src="http://s2.wp.com/wp-includes/images/smilies/icon_cool.gif?m=1221156970g" alt="8)" /> Puppet receives the manifests.</p>
<p>9) The puppets applies it’s manofests.</p>
<p>10) While the puppet applies the manifest, it pulls files from the puppetmaster’s <em>fileserver</em> after checking the local checksum against the remote checksum.</p>
<p>11) puppet sends the copy of the configuration file it replace to the puppet master.</p>
<p>12) puppet will send the report to the puppetmaster.</p>
<p>13) puppet waits for next 30 minutes by default for the next  run.</p>
<p>Note: the files and templates are transferred  using SSL communication.</p>
<p>Supported system platform</p>
<ul>
<li><strong>Linux</strong></li>
</ul>
<p>Fedora 7 and late r</p>
<p>SuSE linux 8 and later</p>
<p>RHEL 3 and later</p>
<p>Ubuntu 7 and later</p>
<p>Debian 3.1 and later</p>
<ul>
<li><strong>Unix</strong></li>
</ul>
<p>Macintosh OS X and later</p>
<p>Sun solaris 7 and later</p>
<p>HP-UX</p>
<ul>
<li><strong>Windows</strong></li>
</ul>
<p>Installing puppet.</p>
<p>Since I will be installing on fedora system, I will be writing the post based on the fedora related configuration.</p>
<p>Installing can be done in many ways whether downloading tarballs and  then install or using yum. I would prefer using yum because it will  install all the needed repository.</p>
<p>I installed on the fedora11 on my system, believe be it gave huge  pain tying to get it working.  There was lot missing necessary files and  folder left not installed on the system. I tried many times to consult  what the problems were behind this installations, even I consulted on  #puppet on IRC chat, was not able get problem fixed. I will write about  the problem were later on my post.</p>
<p>Eventually I gave up installing on fedora11, and that where Fedora 13  comes on the task. I had to install Fedora13 and then I Installed  puppet on the fedora13 system, and it all went very well so far. The  entire initial configuration is done on my fedora 13. Therefore, any  what I refer here will refer as Fedora13.</p>
<p>This installations were done in fedora 12 systems that are Hongkong &amp; Ireland systems in proximity.on.ca domain.</p>
<p>1) Install puppetmaste and puppet.</p>
<p>On server, In this case it will be <strong>Hongkong.proximity.on.ca</strong></p>
<p><strong># yum install puppet-server</strong></p>
<p>it will install puppetmaster and puppet on the server which is to be as puppetmaster.</p>
<p><strong># yum install mysql-server  ruby-mysql</strong></p>
<p><strong># yum install ruby-RRDtool</strong></p>
<p>it will install ruby library.</p>
<p>On client, in this case it will be <strong>Ireland.proximity.on.ca</strong></p>
<p><strong># yum install puppet </strong></p>
<p>it will install puppet client on the client system.<br />
2)  the puppetmaster/puppet configuration file is  <strong>/etc/puppet/puppet.conf</strong></p>
<p>in this file there are four most important section which are</p>
<p><strong>main</strong>: Primarily file locations, directory settings and other globals applicable to both the puppet as well as the puppetmaster.</p>
<p><strong>Puppetca</strong>: Puppet Certificate Authority (puppetca) settings</p>
<p><strong>Puppetd</strong>: puppet client daemon setting.</p>
<p><strong>Puppetmasterd</strong>: puppetmaster daemon setting.</p>
<p>3) Make sure all the needed files and folders are created by the installation process.</p>
<p>On the server, <strong>Hongkong</strong></p>
<p>#<strong>ls /etc/puppet</strong></p>
<p>shoul have auto.conf , fileserver.conf, manifest puppet.conf</p>
<p>4) Create a simple manifest.</p>
<pre>a) carete sudo.pp, vi /etc/puppet/manifests/class/sudo.pp
 # /etc/puppet/manifests/classes/sudo.pp
 class sudo {
     file { "/etc/sudoers":
         owner =&gt; "root",
         group =&gt; "root",
         mode  =&gt; 440,    
}
  } 

 b) create site.pp, vi /etc/puppet/manifests/site.pp
<code> # /etc/puppet/manifests/site.pp  </code></pre>
<p><code>import "classes/*" </code></p>
<pre><code>node default { </code>
<code>include sudo</code>
<code> }</code></pre>
<p>c) start the puppet master.</p>
<p><strong>#puppetmasterd  –mkusers</strong></p>
<p>this option will create the puppet user that is needed.</p>
<p>Once the puppetmaster daemon is stated, it will create  the necessary files and folders under <strong>/var/lib/puppet</strong>.</p>
<p>#<strong>ls /var/lib/puppet</strong></p>
<p>should have bucket, clientsbucket, facts, reports, ssl, yaml, class.txt, client_yaml, l            ib, rrd, state</p>
<p>all the details information about these files and folder will be included in the next blog.</p>
<p># service puppetmaster start</p>
<p>d) start the puppet client.</p>
<p>On the client, <strong>Ireland</strong></p>
<p><strong>#puppetd  –verbose</strong></p>
<p>when the puppet client daemon starts, it creates the necessary certificate and waits for the certificate to be signed by the puppetmaster.<strong><br />
</strong></p>
<p>3)sign the certificate.</p>
<p>On the server</p>
<p><strong>#puppetca  –list </strong></p>
<p>this will list the all the requested certificate that are to be signed by puppetmaster.</p>
<p><strong>#puppetca  –-sign  ireland.proximity.on.ca</strong></p>
<p><strong><br />
</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kopay.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kopay.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kopay.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kopay.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kopay.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kopay.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kopay.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kopay.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kopay.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kopay.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kopay.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kopay.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kopay.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kopay.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kopay.wordpress.com&#038;blog=13327119&#038;post=105&#038;subd=kopay&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kopay.wordpress.com/2011/03/08/project-release-0-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>51.105826 -92.812500</georss:point>
		<geo:lat>51.105826</geo:lat>
		<geo:long>-92.812500</geo:long>
		<media:content url="http://1.gravatar.com/avatar/101eb434201501ecba02a66ce46fc3ab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kopay</media:title>
		</media:content>

		<media:content url="http://s2.wp.com/wp-includes/images/smilies/icon_cool.gif?m=1221156970g" medium="image">
			<media:title type="html">8)</media:title>
		</media:content>
	</item>
		<item>
		<title>Compiling and installing Radius</title>
		<link>http://kopay.wordpress.com/2011/01/30/compiling-and-installing-radius/</link>
		<comments>http://kopay.wordpress.com/2011/01/30/compiling-and-installing-radius/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 05:40:54 +0000</pubDate>
		<dc:creator>kopay</dc:creator>
				<category><![CDATA[SBR600-Win2011]]></category>

		<guid isPermaLink="false">http://kopay.wordpress.com/?p=84</guid>
		<description><![CDATA[Compile and install radius Radius is a server for remote user authentication, authorization,and accounting using radius protocol. Its primarily used for centralized AAA in the networking IT systems. There are lot of details but the purpose of the this is to install from the source code, so I just going to write about how to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kopay.wordpress.com&#038;blog=13327119&#038;post=84&#038;subd=kopay&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Compile and install <span style="color:#ffcc00;">radius</span></p>
<p><span style="color:#333300;">Radius is a server for remote user authentication, authorization,and accounting using radius protocol. Its primarily used for centralized AAA in the networking IT systems. There are lot of details but the purpose of the this is to install from the source code, so I just going to write about how to install from source.</span></p>
<p><span style="color:#333300;">1) Download the source from</span></p>
<p><span style="color:#333300;">wget://ftp://ftp.gnu.org/gnu/radius/radius-1.6.tar.gz</span></p>
<p><span style="color:#333300;">2) run untar it</span></p>
<p><span style="color:#333300;">$ tar -xvzf radius-1.6.tar.gz</span></p>
<p><span style="color:#333300;">3) change the directory</span></p>
<p><span style="color:#333300;">$ cd radius-1.6</span></p>
<p><span style="color:#333300;">4) Issue the command  ls -al and see if there is any configure file. Of course, there is one and run it</span></p>
<p><span style="color:#333300;">$ ./configure</span></p>
<p><span style="color:#333300;">5) run make, and make install</span></p>
<p><span style="color:#333300;">$ make</span></p>
<p><span style="color:#333300;"># make install (<span style="color:#ffcc00;">Note</span>: this has to run as root)</span></p>
<p><span style="color:#ffcc00;"><span style="color:#333300;"><span style="color:#ffcc00;">Note</span>: After untar the file, look inside what are inside the folder, usually the source file come with instruction( README, INSTALL) that specifically tells you what to do. I install this, only for the purpose of the SBR600 lab and not for the AAA. in that case are some additional option should be required to be issued with ./configure. Maybe later on I&#8217;ll write about installing radius for real world scenario  once I done in my home lab.<br />
</span></span></p>
<p><span style="color:#ffcc00;"><span style="color:#333300;"> </span><br />
</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kopay.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kopay.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kopay.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kopay.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kopay.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kopay.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kopay.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kopay.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kopay.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kopay.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kopay.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kopay.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kopay.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kopay.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kopay.wordpress.com&#038;blog=13327119&#038;post=84&#038;subd=kopay&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kopay.wordpress.com/2011/01/30/compiling-and-installing-radius/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>51.105826 -92.812500</georss:point>
		<geo:lat>51.105826</geo:lat>
		<geo:long>-92.812500</geo:long>
		<media:content url="http://1.gravatar.com/avatar/101eb434201501ecba02a66ce46fc3ab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kopay</media:title>
		</media:content>
	</item>
		<item>
		<title>Compling from source</title>
		<link>http://kopay.wordpress.com/2011/01/29/compling-from-source/</link>
		<comments>http://kopay.wordpress.com/2011/01/29/compling-from-source/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 04:49:54 +0000</pubDate>
		<dc:creator>kopay</dc:creator>
				<category><![CDATA[SBR600-Win2011]]></category>

		<guid isPermaLink="false">http://kopay.wordpress.com/?p=78</guid>
		<description><![CDATA[Installing software from source is sometime easy, but in other times it is not easy because of the dependency issues. In Linux/Unix world, there are chances in which it is necessary to compile the source code and install the software, where get the source code and process the three steps that are (1)./configure, (2) make [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kopay.wordpress.com&#038;blog=13327119&#038;post=78&#038;subd=kopay&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Installing software from source is sometime easy, but in other times it is not easy because of the dependency issues.<br />
In  Linux/Unix world, there are chances in which it is necessary to compile the source code and install the software, where get the source code and process the three steps that are (1)./configure, (2) make ,(3) make install. Depend on the dependency, it may or may not be success.</p>
<p>Lets look at what happen during this process.<br />
when the source code is downloaded, it comes with the <em>Makefile</em> or <em>makefile</em> which contains the necessary script or coding to required for the process. when running the make which is specialized script language to build the software,  will execute the makefile script ( <em>makefile</em> or <em>Makefile</em> ) and produce the target file or software.</p>
<p>Typical steps are installing from source</p>
<p>1) Download the tar ball<br />
2) Untar it (use <span style="color:#ff9900;">tar -xvzf</span> or<span style="color:#ff9900;"> unzip</span> )<br />
3) Changed the current directory to the directory containing the untarred files.<br />
Note: Issue the ll command and ,see whether INSTALL or README files are there. It is really recommended to read those file because they have the instruction how the source to be installed.<br />
4)Run the ./configure<br />
5) Run make<br />
6) run make install</p>
<p>Ex: <span style="color:#ffcc00;">Compiling and installing Nled</span><br />
1) Download the software tarball<br />
$ wget http://cdot.senecac.on.ca/software/nled/nled_2_52_src.tgz<br />
2) unzip it<br />
$ tar -xvzf  nled_2_52_src.tgz</p>
<p>3) Change the directoty<br />
$ cd nled_2_52</p>
<p>$ ll and see , there are necessary intermediate files which are needed when the makefile is being executed<br />
4) Run make<br />
<strong>Note</strong>: Never run &#8220;make&#8221; as a root!!!!!!<br />
$ make<br />
When I run the make, it gave some errors that saying &#8220;ncurses.h: no such file or directory&#8221;, this is because of the development library is not installed. I did some rpm query found out -devel is missing, and by using yum this problem can be resolved, just issue the following command as root</p>
<p># yum install ncurses-devel</p>
<p>then I re run the make command, and it was successfully compiled</p>
<p>5) finally  run<br />
$ make install</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kopay.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kopay.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kopay.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kopay.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kopay.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kopay.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kopay.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kopay.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kopay.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kopay.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kopay.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kopay.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kopay.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kopay.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kopay.wordpress.com&#038;blog=13327119&#038;post=78&#038;subd=kopay&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kopay.wordpress.com/2011/01/29/compling-from-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>51.105826 -92.812500</georss:point>
		<geo:lat>51.105826</geo:lat>
		<geo:long>-92.812500</geo:long>
		<media:content url="http://1.gravatar.com/avatar/101eb434201501ecba02a66ce46fc3ab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kopay</media:title>
		</media:content>
	</item>
		<item>
		<title>Introduction</title>
		<link>http://kopay.wordpress.com/2011/01/12/post1/</link>
		<comments>http://kopay.wordpress.com/2011/01/12/post1/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 20:03:02 +0000</pubDate>
		<dc:creator>kopay</dc:creator>
				<category><![CDATA[SBR600-Win2011]]></category>

		<guid isPermaLink="false">http://kopay.wordpress.com/?p=73</guid>
		<description><![CDATA[Hi, this is Pirathapan Sivalingam. Currently in 6th semester and hope graduating near soon. Here are my links 1)my IRC inck name is Prathapan 2) Link to user page to Seneca wiki http://zenit.senecac.on.ca/wiki/index.php/User:Prathapan 3) Link to user page to Fedora wiki https://fedoraproject.org/wiki/User:Prathapan<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kopay.wordpress.com&#038;blog=13327119&#038;post=73&#038;subd=kopay&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi, this is Pirathapan Sivalingam. Currently in 6th semester and hope graduating near soon.</p>
<p>Here are my links</p>
<p>1)my IRC inck name is Prathapan</p>
<p>2) Link to user page to Seneca wiki<br />
<a href="http://zenit.senecac.on.ca/wiki/index.php/User:Prathapan">http://zenit.senecac.on.ca/wiki/index.php/User:Prathapan</a><br />
3) Link to user page to Fedora wiki<br />
<a href="https://fedoraproject.org/wiki/User:Prathapan">https://fedoraproject.org/wiki/User:Prathapan</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kopay.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kopay.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kopay.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kopay.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kopay.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kopay.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kopay.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kopay.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kopay.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kopay.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kopay.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kopay.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kopay.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kopay.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kopay.wordpress.com&#038;blog=13327119&#038;post=73&#038;subd=kopay&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kopay.wordpress.com/2011/01/12/post1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>51.105826 -92.812500</georss:point>
		<geo:lat>51.105826</geo:lat>
		<geo:long>-92.812500</geo:long>
		<media:content url="http://1.gravatar.com/avatar/101eb434201501ecba02a66ce46fc3ab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kopay</media:title>
		</media:content>
	</item>
	</channel>
</rss>
