<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Omkar More on Medium]]></title>
        <description><![CDATA[Stories by Omkar More on Medium]]></description>
        <link>https://medium.com/@ommore524?source=rss-d14fd17f62aa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*QfFDfkVhYVXql5kB.jpg</url>
            <title>Stories by Omkar More on Medium</title>
            <link>https://medium.com/@ommore524?source=rss-d14fd17f62aa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 08:15:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ommore524/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Demystifying Hadoop Architecture: Unraveling the Building Blocks of Big Data Processing (PART-1)]]></title>
            <link>https://medium.com/@ommore524/demystifying-hadoop-architecture-unraveling-the-building-blocks-of-big-data-processing-part-1-c205e288b8c6?source=rss-d14fd17f62aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/c205e288b8c6</guid>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[hdfs]]></category>
            <dc:creator><![CDATA[Omkar More]]></dc:creator>
            <pubDate>Tue, 18 Jul 2023 07:40:15 GMT</pubDate>
            <atom:updated>2023-07-18T07:57:14.784Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Demystifying Hadoop Architecture: Unraveling the Building Blocks of Big Data Processing (PART-1)</strong></p><p>In the age of digital transformation, data has become the lifeblood of businesses. The ability to harness, process, and analyze vast volumes of information is crucial for unlocking valuable insights and making informed decisions. This is where Hadoop, an open-source framework, steps in to revolutionize the way organizations handle Big Data. In this article, we will explore the transformative capabilities of Hadoop and its significance in today’s data-driven world.</p><p><strong>What is bigdata ?</strong></p><p>In simple terms a data which cannot handle and process the traditional systems is called as big data. This type of data will have following characteristics</p><ol><li><strong>Volume</strong>: Hadoop is capable of handling data at the terabyte to petabyte scale, providing the scalability needed for large-scale data processing and storage.</li><li><strong>Variety</strong>: Hadoop accommodates different data formats, including structured data (e.g., MySQL), semi-structured data (e.g., CSV, JSON), and unstructured data (e.g., images, videos). Its versatility allows businesses to analyze diverse data sources effectively.</li><li><strong>Velocity</strong>: Hadoop efficiently manages high-velocity data streams, such as the billions of posts generated on platforms like Facebook every day. It can process and analyze data in real-time, enabling organizations to extract timely insights.</li><li><strong>Veracity</strong>: Hadoop recognizes the challenge of dealing with data in various formats or in need of cleaning. By leveraging its data processing capabilities, organizations can address data quality issues, ensuring accurate and reliable analysis.</li><li><strong>Value</strong>: Ultimately, Hadoop helps organizations extract value from their data. By processing and analyzing massive datasets, businesses can uncover valuable insights, make informed decisions, and drive meaningful outcomes.</li></ol><p><strong>Now, we will see:</strong></p><ol><li><strong><em>How hadoop clusture looks like ?</em></strong></li><li><strong><em>How the datastored on hadoop clusture ?</em></strong></li><li><strong><em>What is metadata in hadoop clusture?</em></strong></li></ol><p><strong>An Overview of its Distributed Framework :</strong></p><p>Hadoop cluster follows a distributed architecture with a master node and worker nodes. The master node is called the NameNode, and the worker nodes are referred to as DataNodes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZvP_K2t_rSIEFI915C7d9w.png" /><figcaption>Hadoop clusture with worker node.</figcaption></figure><p><strong>How the file stored on hadoop clusture ?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bJ3jZsqNeFSfPqb5xXLpVQ.png" /><figcaption>How 500mb file stored on hadoop</figcaption></figure><p>If you want to store a 500MB file on a Hadoop cluster, there are different approaches you can take. One option is to store the entire file on a single data node, resulting in the other three nodes being underutilized. Another approach is to divide the file into multiple parts and store each part on separate nodes. This allows for better utilization of the cluster’s resources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RbnRC9KdBHD79Mg_335NsQ.png" /><figcaption>How files are devided into multiple parts</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K_3QPNOJb2Ez_-xYiPypYw.png" /><figcaption>Stored files on clusture</figcaption></figure><p><strong>What is metadata in hadoop clusture ?</strong></p><p>When blocks are stored on the Hadoop cluster, if a client requests to read the data again, it needs to know which block of the data is stored on which node. To address this, metadata is stored on the NameNode, allowing the client to easily access the stored data. The metadata provides information about the block locations, enabling the client to efficiently retrieve the desired data from the appropriate nodes in the cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/1*oyxCxu9NLUAQNXerkXFYaA.png" /><figcaption>What is metadata</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*woiP44nRWpx1TBs1xrsEpg.png" /><figcaption>Metadata information</figcaption></figure><p>This is how files are stored in a Hadoop cluster, and their records are tracked through metadata information maintained by the NameNode. In the next section, we will explore how cluster recovery and disaster management are handled in a Hadoop cluster.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c205e288b8c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Object detection using YOLO]]></title>
            <link>https://medium.com/@ommore524/object-detection-using-yolo-4e36d5246d88?source=rss-d14fd17f62aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e36d5246d88</guid>
            <category><![CDATA[object-detection]]></category>
            <category><![CDATA[yolo]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Omkar More]]></dc:creator>
            <pubDate>Wed, 16 Sep 2020 11:39:31 GMT</pubDate>
            <atom:updated>2020-09-16T11:39:31.289Z</atom:updated>
            <content:encoded><![CDATA[<p>Unlike the RCNN series, YOLO treats object detection as a single regression problem, and generates bounding box coordinates and classification probabilities directly from the image. You only need to detect this image once to predict the objects in the image and get their specific locations. RPN predicts the offset of the prediction box and anchor, while YOLO predicts the relative offset of the center point of the predicted bounding box relative to the upper left corner of the corresponding cell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AZuwaL-j-4Zn8Mh_BTS62g.png" /></figure><p>The yolo will take an image as a input and reshape it in first stage . Then the image is passed through a CNN architecture to extract the features from it .Here in first step used a GoogleNet Pretrained weights and top on that new CNN layers added to learn features and increase the performance . Then all the data is passed to two Fully connected layer and they have done the reshaping operation and converted data to fixed grid i.e 7*7.</p><p>Once you whole image data in converted into grid , then data is sent for object detection. For each grid it model will try to find out the object is present or not. It will provide value { p:probability of finding of object in respective grid(0,1) , c1:confindence of finding class 1, c2: confidence of finding class2 , “x,y “ : both will helps to find out the center of the object , “h ,w” : Helps to find out height and width of object.</p><p>Once these values are find out then some type of sorting operation is done on each vector space and Then using NMS (non-maximal separation) the bounding box is find out. How?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AfIlYO1QOFcmCg1b-B-WVQ.jpeg" /></figure><p>With respect to high probability value the IOU score is calculated for each other bbox.If it is greater that threshold that the that box probability value set to zero.</p><p><strong>IOU :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*2LPQLE87SJBRCSXhpow9sA.png" /></figure><p>This is all about yolo how it detects the object.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e36d5246d88" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Object Detection Using Faster RCNN]]></title>
            <link>https://medium.com/analytics-vidhya/object-detection-using-faster-rcnn-2ef96661288a?source=rss-d14fd17f62aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ef96661288a</guid>
            <category><![CDATA[faster-rcnn]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[rpn]]></category>
            <category><![CDATA[object-detection]]></category>
            <category><![CDATA[roi]]></category>
            <dc:creator><![CDATA[Omkar More]]></dc:creator>
            <pubDate>Wed, 16 Sep 2020 04:06:11 GMT</pubDate>
            <atom:updated>2020-09-16T04:06:11.643Z</atom:updated>
            <content:encoded><![CDATA[<p>Faster RCNN is one of the classic algorithm in the filed of object detection .Faster RCNN can solve the problem of Fast RCNN uses the third party tool selective search to extract the regional proposals.It uses the RPN instead of selective search to make the entire target detection function into unified network . RPN is basically convolution network which helps basically to get more elegant and efficient proposals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/325/1*fC9sR5dl2FGky2SGi37MoA.png" /><figcaption>Faster RCNN</figcaption></figure><p>The final objective is find out the subset of image where the object is available. Along with that We will find out the bounding box around the object and class from which it belongs.</p><p><strong>Structure :</strong></p><p><strong>Convolution Layer</strong> : It is basically convolution ,pooling and relu layer which will responsible for extracting the features .This layer can be VGG, ResNet , InceptioNet , AlexNet , LeNet types CNN architectures.Used later for RPN layer and Fully Connected layer.</p><p><strong>Region Proposal Networks (RPN) :</strong> Mainly used for generate region proposals. It takes the feature maps data and generate the proposals .It uses the the softmax function to classify , whether the background image is positive or negative (candidate box) ,and uses the bbox to perform the regression correction on candidate box to obtain the proposal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*74EdH66n8f7l1eeqIfraDg.png" /><figcaption>RPN architecture</figcaption></figure><p>It can be seen that RPN has two lines the above line is used to obtain the positive or negative anchors using softmax classification. and below is used to find out the offsets and correct the position.The final layer of the proposal is responsible for synthesizing the positive anchors corresponding to the bbox regression offset to obtain the proposals, while deleting the proposals that are too small and exceed the boundary. To the proposal layer, the function of target positioning is completed.</p><p><strong>Region Of Interest</strong> : It collects the proposals and feature maps , extract the features from the proposals and send it to fully connected layer to find out target category.We can see that ROI pooling has two inputs (I) Origional feature map (II) Proposal boxes output by RPN</p><p>The proposed RPN box sizes are not same as the anchor box produces it by 1:1 ,1:2 or 2:1 ratio.Which can very troubleshooting in next network.ROI pooling helps to fix this issue.</p><p>How ?. Since proposal corresponds to M * N size. It is first mapped back to the feature map size using the spacial scale parameter . Now Feature map area corresponding to each proposal is divided into grid . After that the max pooling is applied on each grid.So that after result the output should be same size.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OF8Oq_Eawf0j3SrOwWs42g.png" /></figure><p><strong>Classification </strong>: Use the proposal feature maps to calculate the feature category and bounding box regression to get more accurate positioning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*0JN63VDmFLySYPL6PfhpdA.png" /></figure><p>reference:</p><p><a href="https://lilianweng.github.io/lil-log/2017/12/31/object-recognition-for-dummies-part-3.html">Object Detection for Dummies Part 3: R-CNN Family</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ef96661288a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/object-detection-using-faster-rcnn-2ef96661288a">Object Detection Using Faster RCNN</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chef tutorial-4 : Automation using chef .]]></title>
            <link>https://medium.com/@ommore524/chef-tutorial-4-automation-using-chef-5c05b02f532f?source=rss-d14fd17f62aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c05b02f532f</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[chef-server]]></category>
            <category><![CDATA[chefe]]></category>
            <category><![CDATA[configuration-management]]></category>
            <dc:creator><![CDATA[Omkar More]]></dc:creator>
            <pubDate>Mon, 07 Sep 2020 05:56:57 GMT</pubDate>
            <atom:updated>2020-09-07T05:56:57.593Z</atom:updated>
            <content:encoded><![CDATA[<h3>Chef tutorial-4 : Automation using chef .</h3><p>Chef sever is going to be mediator between workstation and nodes. All the work will do on workstation itself.In this tutorial we will learn how to chef helps to do automation. For detail explanation refer my previous blogs <a href="https://medium.com/@ommore524">https://medium.com/@ommore524</a> .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*kNZgrcebIq3dXm1HCWDxJw.png" /><figcaption>fig-1. Chef Working Block diagram.</figcaption></figure><p><strong>Follow the steps:</strong></p><p><strong><em>A. Connecting workstation to chef server -:</em></strong></p><ol><li>Go to Amazon linux machine and do setup as below. Make sure that you have installed chef in your system.</li></ol><pre><strong><em>* The setup for create cookbook in linux machine<br></em></strong>1. sudo su  # Go to root user<br>2. mkdir cookbooks # create directory named cookbooks <br>3. cd cookbooks  # go to cookbooks directory<br>4. Chef generate cookbook apache-cookbook # create cookbook with     <br>                                            apache-cookbook  <br>5. cd apache-cookbook    # Go to apache-cookbook directory<br>6. chef generate recipe apache-recipe #create  one recipe<br>7. cd ..  # Back to the cookbooks directory<br>8. vi apache-cookbook/recipes/apache-recipe.rb #open recipe <br>9. Type following code for apache server-:<br>   <em>package &#39;httpd&#39; do <br>   action :install <br>   end  <br>   file &#39;/var/www/html/index.html&#39; do <br>   content &#39;&lt;h1&gt;Welcome to Technical Guftgu&lt;/h1&gt;&#39; <br>   action :create <br>   end   <br>   service &#39;httpd&#39; do <br>   action [:enable, :start] <br>   end<br>10.chef-client -zr &quot;recipe[apache-cookbook::apache-recipe]&quot; #run <br>                                                            recipe<br>11. Go to your machine public IP and check if server is working.</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/533/1*SBI5a92wktwHwSINLkhc6w.png" /></figure><p>2. Go to website <a href="https://api.chef.io/">https://api.chef.io</a> .Create a account. After login click on create an organisation and create it with name of your choice.If you check now in node section it will show you there is no nodes available. From administration download starter kit .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cn7e_ykE0EbLEUcbLrDzLg.png" /></figure><p>3. Once you downloaded it ,send chef-repo folder to your aws machine using winscp (Windows) or filezilla (Ubuntu) .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/1*vy_ek_xqfwW6LbTKCNDarQ.png" /></figure><p>4. Now whatever work we will do ,it will be in chef-repo folder. This folder contains one url which connects to your chef-server when you add this folder to your machine. To check if your workstation have connected to your chef sever or not use command knife ssl ceck .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*bEo5qcAUmcrXCr7tZXYViw.png" /></figure><p><strong><em>B.Creating a node and connecting it to chef-server</em></strong></p><p>The process of attaching a chef-server to nodes is called as<strong> </strong>bootstraping . If you are using linux machine, note that your node machine and workstation should be in same Avaibillity Zone.</p><ol><li>Node is nothing but your another system where you need to do configurations.Create a another Linux machine on AWS.Firstly check the your availability zone of your workstation</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hrbOfzGCmgm7ngFebex_NQ.png" /></figure><p>(i) Click on launch instance (ii) In configure instance select your availability zone and In advanced setting type <strong><em>#!/bin/bash , sudo su , yum update -y </em></strong>one-by-one. (iii) In add tags add a key =chef and value = node-1 (iv) add a security group = node-sg and add rule =HTTP and source =anywhere (v) Create a new key pair with name <em>node-key</em></p><p>2. Once you created a node ,transfer node-key.pem file of your node aws machine to chef-workstation chef-repo/ folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*gegVzEeAlaE4Fa50OTM06g.png" /></figure><p>3. knife bootstrap Private_IP_of_node --ssh-user node_username --sudo -i node_key_name -N node_name Type this command to connect your chef server to your node .Note that you are in chef-repo directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*S5BxmstO51Uay3_IA1vFBw.png" /></figure><p>4. Now check if your chef-server is connected to node1 .To check this [i]. you can go to your chef account and in login node section you can see your node</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3pFg82SijOs-77M8-8Gvpg.png" /></figure><p>OR you can use command knife node list It will give you list of nodes connected to your chef-server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*LIVduRzcjrN7Ox29OwBWJw.png" /></figure><p>5. Now all the data from <em>cookbooks</em> directory to <em>chef-repo/cookbooks</em> and delete cookbooks directory. We are deleting directory to remove confusions</p><pre>mv cookbooks/apache-coookbook chef-repo/cookbooks #Move to chef-repo<br>rm -rf cookbooks  #remove cookbooks directory</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/286/1*IV01CGEnhPgcpWbaP5IKFA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*Plz4Uy1QAof3WOL2jXHG9Q.png" /></figure><p>Hope you have done above setup successfully.</p><p>Now we will attach recipe ,which would like to run on node server. This is most important step because we attach the recipe that contains certain configuration about that node only. If I make change to that recipe this will automatically applied to that node.</p><pre>knife cookbook upload apache-cookbook <em>#upload cookbook to chef <br>                                       server</em><br>knife cookbook list <em> #check if the cookbook is uploaded</em><br>knife node run_list set node1 &quot;recipe[apache-cookbook::apache-recipe]&quot;  <em>#set a cookbook apache to node1</em><br>knife node show node1 <em>#check set recipes for node1</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/1*Pkko2zeZ9pnzBi8e1jRBSw.png" /></figure><p>To apply apache-cookbook to the node server ,go to node server and run command chef-client .The chef-client will check if the new configuration available at chef-server and apply it on node1.To check it , copy the public IP of node1 and paste it in web browser .It will show the html page which was created workstation recently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/551/1*noPMa2X3GcmLcGYmV0pa5Q.png" /></figure><p>Now we do not want to call chef-server manually each time by typing a command chef-client on node1. To automate the process go to node1 and do some changes in /etc/crontab directory.Star has its own logic.</p><pre>vi etc/crontab  #Go to that directory<br>* * * * * chef-client # Check automatically after each minute if the  <br>                        New configuration is available at server</pre><pre><strong>Star logic:<br>* = minute </strong> =&gt;<strong> exp */2 : each two minute<br>* = hour<br>* = day <br>* = month<br>* = week </strong></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/537/1*ld908aXEGLlgfFIrcYVZPA.png" /></figure><p>Now go to chef-workstation and make some changes in apache recipe and upload it to chef-server (knife cookbook upload apache-cookbook) . The automatic chef-client will check the new changes made and run it on node1 machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/322/1*2PeifBXjJv6EWHEOiSJJLg.png" /></figure><p>Now again copy the node1 public IP address and paste it to web browser to check if the changes applied to node1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*lYPn_hMMXhwDypCG4tlXww.png" /></figure><p>Hope you understood all the process of automation .You can write any recipe in this way to add a new configurations to number of nodes.</p><p>References:</p><ul><li><a href="https://docs.chef.io/chef_overview/">An Overview of Chef Infra</a></li><li><a href="https://intellipaat.com/blog/tutorial/devops-tutorial/chef-cheat-sheet/">Chef Cheat Sheet - Intellipaat</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c05b02f532f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chef Tutorial-3 :Attributes in Chef]]></title>
            <link>https://medium.com/analytics-vidhya/chef-tutorial-3-attributes-in-chef-b9e26094ffff?source=rss-d14fd17f62aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9e26094ffff</guid>
            <category><![CDATA[devops-training]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[chefs]]></category>
            <category><![CDATA[attributes]]></category>
            <category><![CDATA[chef-devops]]></category>
            <dc:creator><![CDATA[Omkar More]]></dc:creator>
            <pubDate>Wed, 26 Aug 2020 18:12:04 GMT</pubDate>
            <atom:updated>2020-08-26T18:12:04.960Z</atom:updated>
            <content:encoded><![CDATA[<h3>Chef Tutorial-3 :Attributes in Chef</h3><p>Attributes in chef is nothing but its a key-value pair which represents a specific detail about the node . In simple words if I have a condition where I want to get a ipaddress of each machine then I will create a one variable which will get it from each machine. It used by chef-client. If you are new to the chef please refer tutorial 1 and 2 <a href="https://medium.com/@ommore524">https://medium.com/@ommore524</a> .</p><p><strong>Why we use attribute ?</strong></p><ol><li>To determine the current state of the node .Exp. What is my current ip address .</li><li>To determine what was my last state of the node before running previous chef-client run</li><li>To determine what the state of the node should be after running current chef-client run.</li></ol><p><strong>Types of attribute and its priorities in chef :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*PduetWun_SeDt0nK711hEg.jpeg" /><figcaption>Fig- attributes and their priorities</figcaption></figure><p>The attributes are defined by node ,cookbook ,roles and environment.The attribute defined by ohai has high priority ,followed by attributes defined by recipe ,then attributes defined by attributes file.</p><p><strong>Practical Demo Lab :</strong></p><p>In my case I am using AWS linux machine . Follow the steps below to know how attributes works .</p><pre>1. sudo su  <em># this command used to go into root user</em><br>2. ohai     <em># provide current configuration of workstation ie ohai</em><br>3. ohai ipaddress <em># provide specific ipaddress</em><br>4. ohai memory/total <em># provide total memory available</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*IRZsoygaxFMHO9MD5GSwQg.png" /></figure><pre>5. mkdir cookbooks <em># create a directory with same name otherwise<br>                     It will give an error .</em></pre><pre>6. cd cookbooks    <em># go into directory cookbooks</em><br>7. chef generate cookbook attr-cookbook <em>#creat one cookbook </em> <br>8. cd attr-cookbook  <em># go into cookbook created</em><br>9. chef generate recipe recipe1 <em># create one recipe    </em>   </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*_mjNKDc2Fi6zG1q_cWOtCg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*lRjeNR0eTMngq6zRAjzltQ.png" /></figure><pre>10. cd ..  <em>#go back to the cookbooks folder</em><br>11. vi attr-cookbook/recipes/recipe1.rb <em># ope file write file  to<br>                            write code. Press &#39;I&#39; to start <br>                            editing . Edit file click &#39;ESC&#39; and type <br>                            &#39; :wq &#39; to save and come outside from it<br></em><strong>code:</strong></pre><pre>file &#39;/basicinfo&#39; do  <br>content &quot;This is to get Attributes <br>HOSTNAME: #{node[&#39;hostname&#39;]}  <br>IPADDRESS: #{node[&#39;ipaddress&#39;]}&quot;  <br>owner &#39;root&#39;  <br>group &#39;root&#39; <br>action :create <br>end</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/1*Fzp-YFNZSwmUW299mqwjmw.png" /></figure><pre>12. ls /                  <em>#check in root directory is the file<br>                           is created with name  &#39;systemconfig&#39;<br>           </em><br>13. cat /systemconfig <em>    # open file check the varibales values are<br>                           filled with current configuration or not.</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/1*g-vnbrM3y5odW91yFsGRXA.png" /></figure><p>Refernces :</p><p><a href="https://www.youtube.com/channel/UCT9ME2x6FR2B_vGUM83UyfA">https://www.youtube.com/channel/UCT9ME2x6FR2B_vGUM83UyfA</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9e26094ffff" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/chef-tutorial-3-attributes-in-chef-b9e26094ffff">Chef Tutorial-3 :Attributes in Chef</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ResNet : Convolution Neural Network]]></title>
            <link>https://becominghuman.ai/resnet-convolution-neural-network-e10921245d3d?source=rss-d14fd17f62aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/e10921245d3d</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[convolution-neural-net]]></category>
            <category><![CDATA[resnet50]]></category>
            <category><![CDATA[cnn]]></category>
            <dc:creator><![CDATA[Omkar More]]></dc:creator>
            <pubDate>Tue, 25 Aug 2020 17:39:21 GMT</pubDate>
            <atom:updated>2020-08-26T14:42:16.864Z</atom:updated>
            <content:encoded><![CDATA[<h3>ResNet : Convolution Neural Network</h3><p>ResNet, also known as residual <a href="https://becominghuman.ai/">neural network</a>, refers to the idea of ​​adding residual learning to the traditional <a href="https://becominghuman.ai/from-perceptron-to-deep-neural-nets-504b8ff616e">convolutional neural network</a>, which solves the problem of gradient dispersion and accuracy degradation (training set) in deep networks, so that the network can get more and more The deeper, both the accuracy and the speed are controlled.</p><p><strong>The problem caused by increasing depth </strong>:</p><ul><li>The first problem brought by increasing depth is the problem of gradient explosion / dissipation . This is because as the number of layers increases, the gradient of backpropagation in the network will become unstable with continuous multiplication, and become particularly large or special. small. Among them , the problem of gradient dissipation often occurs. i.e effect of the weight decreases.</li><li>Another problem of increasing depth is the problem of network degradation, that is, as the depth increases, the performance of the network will become worse and worse, which is directly reflected in the decrease in accuracy on the training set. The residual network article solves this problem. And after this problem is solved, the depth of the network has increased by several orders of magnitude.</li></ul><h3>Trending AI Articles:</h3><blockquote><a href="https://becominghuman.ai/machine-learning-concepts-every-data-scientist-should-know-4d70bed18a8a">1. Machine Learning Concepts Every Data Scientist Should Know</a></blockquote><blockquote><a href="https://becominghuman.ai/ai-for-cfd-bytelakes-approach-part3-e9cb60bd9e3b">2. AI for CFD: byteLAKE’s approach (part3)</a></blockquote><blockquote><a href="https://becominghuman.ai/ai-fail-to-popularize-and-scale-chatbots-we-need-better-data-88ed005724f6">3. AI Fail: To Popularize and Scale Chatbots, We Need Better Data</a></blockquote><blockquote><a href="https://becominghuman.ai/enhance-your-jupyter-experience-with-these-notebook-widgets-a2717921f678">4. Top 5 Jupyter Widgets to boost your productivity!</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*AmV7S1uv1WKUbkuSQmYz6A.png" /><figcaption>fig-1 . Effect of depth of network</figcaption></figure><p>From above figure we can conclude that till 20th layer its ok. But if we increase the number of layers , instead of increase in accuracy it starts decreasing.Based on this problem the ResNet comes into picture.</p><figure><a href="https://aijobsboard.com/?fbclid=IwAR0GcsLs8A6CFM-fynrZMM3sTgo_Zpbto2CjglJm0Dmi6otC6YWc7CDFpQk"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dAlwXfVrtYspdCzmC8iADw.png" /></a><figcaption>Machine Learning Jobs</figcaption></figure><h4>ResNet :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*ZSvSAACQVvUHU1qS-mkYKw.png" /><figcaption>fig-2 . ResNet skipp connection diagram</figcaption></figure><p>The block contains two branches (i) Indentity branch that refers to own itself i.e x . (ii) F(x) referes to the network part called residual mapping .</p><p>Assume x as input .If weights over which we are training are negative just skip the input. We are passing those weights into relu activation function which not allow to pass it for further calculation.</p><p><strong>Why we use identity blog if there is relu which chop off all negative weights ?</strong></p><p>The main architecture contains <strong><em>image → </em></strong><a href="https://becominghuman.ai/making-a-simple-neural-network-2ea1de81ec20"><strong><em>convolution</em></strong></a><strong><em> → relu</em></strong> . For negative weights if I will able to stop is to pass in convolution layer and make unnecessary calculations and then is send to the relu , then is can be say I will able to reduce the parameters as well as calculations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yy6Bbnp38MhcfDQbzOGf4A.png" /></figure><p>This is equivalent to reducing the amount of parameters for the same number of layers , so it can be extended to deeper models. So the author proposed ResNet with 50, 101 , and 152 layers , and not only did not have degradation problems, the error rate was greatly reduced, and the computational complexity was also kept at a very low level .</p><h3>Don’t forget to give us your 👏 !</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/0*2lvCls4yjxVMfZSR" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F8f5f8b%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F8f5f8b&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/c43026df6fee7cdb1aab8aaf916125ea/href">https://medium.com/media/c43026df6fee7cdb1aab8aaf916125ea/href</a></iframe><figure><a href="https://becominghuman.ai/artificial-intelligence-communities-c305f28e674c"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*2f7OqE2AJK1KSrhkmD9ZMw.png" /></a></figure><figure><a href="https://upscri.be/8f5f8b"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*v-PpfkSWHbvlWWamSVHHWg.png" /></a></figure><figure><a href="https://becominghuman.ai/write-for-us-48270209de63"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*Wt2auqISiEAOZxJ-I7brDQ.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e10921245d3d" width="1" height="1" alt=""><hr><p><a href="https://becominghuman.ai/resnet-convolution-neural-network-e10921245d3d">ResNet : Convolution Neural Network</a> was originally published in <a href="https://becominghuman.ai/">Becoming Human: Artificial Intelligence Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VGG-16 :Convolution Neural Network]]></title>
            <link>https://medium.com/analytics-vidhya/vgg-16-convolution-neural-network-bae747a7494a?source=rss-d14fd17f62aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/bae747a7494a</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[vgg16]]></category>
            <category><![CDATA[convolutional-network]]></category>
            <category><![CDATA[vgg]]></category>
            <category><![CDATA[vggnet]]></category>
            <dc:creator><![CDATA[Omkar More]]></dc:creator>
            <pubDate>Tue, 25 Aug 2020 16:07:41 GMT</pubDate>
            <atom:updated>2020-08-25T16:07:41.275Z</atom:updated>
            <content:encoded><![CDATA[<h3>VGG-16 :Convolution Neural Network</h3><p>The full form of VGG is <strong>V</strong>isual <strong>G</strong>eometry <strong>G</strong>roup. The main purpose to understand how the depth of cnn affects the accuracy of the model . Number of parameters are reduced using 3*3 kernal size for all layers. If you want to read more about CNN and its architectures <a href="https://medium.com/@ommore524">https://medium.com/@ommore524</a> .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*_Lg1i7wv1pLpzp2F4MLrvw.png" /><figcaption>fig-1. VGG-16 architecture</figcaption></figure><p>The input RGB image input to the VGG network. If we talk about AlexNet architecture There was kernal size 11*11 ,5*5 and 3*3 . That means in vgg-16 instead of using 11*11 and 5*5 they applied 3*3 kernals . Vgg-16 contains 13 convolution layers and 3 fully connected layers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5lfBlfwmlsfV_AseNoL95g.png" /><figcaption>fig-2 . VGG</figcaption></figure><p>Using multiple convolution layers with smaller convolution kernels instead of a larger convolution layer with convolution kernels can reduce parameters on the one hand, and the author believes that it is equivalent to more non-linear mapping, which increases the Fit expression ability.</p><p>Every step they applied kernals for 2–3 time and then applied a max pooling layer . Each time the number of kernals are doubles from the previous layer. That means each time we trying to extract the more and more fatures .At the end the of the network three fully connected layers are used. To limit the relu activation function grow as long as training happens the batch normalisation is introduced . Dropout is also implemented for reduce overfitting of model.</p><p><strong>Summary:</strong></p><ol><li>A smaller 3 * 3 convolution kernel and a deeper network are used . The stack of two 3 * 3 convolution kernels is relative to the field of view of a 5 * 5 convolution kernel, and the stack of three 3 * 3 convolution kernels is equivalent to the field of view of a 7 * 7 convolution kernel. In this way, there can be fewer parameters (3 stacked 3 * 3 structures have only 7 * 7 structural parameters (3 * 3 * 3) / (7 * 7) = 55%); on the other hand, they have more The non-linear transformation increases the ability of CNN to learn features.</li><li>In the convolutional structure of VGGNet sometimes , a 1 * 1 convolution kernel is introduced. Without affecting the input and output dimensions, non-linear transformation is introduced to increase the expressive power of the network and reduce the amount of calculation.</li></ol><p>References :</p><p><a href="https://neurohive.io/en/popular-networks/vgg16/">VGG16 - Convolutional Network for Classification and Detection</a></p><p><a href="https://www.geeksforgeeks.org/vgg-16-cnn-model/">https://www.geeksforgeeks.org/vgg-16-cnn-model/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bae747a7494a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/vgg-16-convolution-neural-network-bae747a7494a">VGG-16 :Convolution Neural Network</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tutorial-2 : How to create cookbook and recipe -Chef]]></title>
            <link>https://medium.com/analytics-vidhya/tutorial-2-how-to-create-cookbook-and-recipe-chef-4c6467956d40?source=rss-d14fd17f62aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c6467956d40</guid>
            <category><![CDATA[operations]]></category>
            <category><![CDATA[chefe]]></category>
            <category><![CDATA[cookbooks]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Omkar More]]></dc:creator>
            <pubDate>Sun, 23 Aug 2020 18:18:36 GMT</pubDate>
            <atom:updated>2020-08-26T14:37:13.480Z</atom:updated>
            <content:encoded><![CDATA[<h3>Tutorial-2 : How to create cookbook and recipe -Chef</h3><p>In this tutorial we are going to create a file using chef recipe and cookbook.If you don’t know what is recipe ,cookbook I recommend you please visit my previous blog.<a href="https://medium.com/@ommore524/chef-tutorial-1-introduction-to-configuration-management-tool-cmt-chef-ff03a4eab5ad">https://medium.com/@ommore524/chef-tutorial-1-introduction-to-configuration-management-tool-cmt-chef-ff03a4eab5ad</a> . Just follow the steps below -:</p><ol><li>First of all you need a chef installed on machine.In my case I am going to AWS linux machine.You can user your system also.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pW_O_si1rgXPTrVsQ2x-Ng.png" /><figcaption>fig-1.Aws Instance</figcaption></figure><p>2 . Go to <a href="https://downloads.chef.io/products/workstation?os=el">https://downloads.chef.io/products/workstation?os=el</a> . According to your system configuration i.e os , copy the download link. In my case I am using AWS linux machine which is by default Red Hat .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jkzXqEPRpsQijQrBD1F_Fw.png" /><figcaption>fig-2 chef website</figcaption></figure><p>3. Go to linux machine and write wget &lt;url&gt;</p><pre>wget <a href="https://packages.chef.io/files/stable/chef-workstation/20.8.125/el/7/chef-workstation-20.8.125-1.el7.x86_64.rpm">https://packages.chef.io/files/stable/chef-workstation/20.8.125/el/7/chef-workstation-20.8.125-1.el7.x86_64.rpm</a></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tm7VAj31x3YvSfBLmMhOsw.png" /><figcaption>fig-3 . Download</figcaption></figure><p>4. Check list of package installed using ‘ ls ’ .Install package using command ‘yum install &lt;package name&gt; .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*rKFlEBiThPOsRVI-KJobTQ.png" /></figure><p>5. Check for installation has been successfull. write command <strong>chef -- version.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*ivVE2luHgLrHjMT4f3MXrA.png" /></figure><p>6. Now now we will start to create a cookbook and recipe.The whole idea is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*yXtY7_-KOC31Y2KHUPtu9Q.jpeg" /></figure><p>7. Make a directory cookbooks.Note that directory name should be same.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*T14RQDPZ8pLYx673FbwBmg.png" /></figure><p>8. Go into cookbooks folder &amp; Create a one cookbook with name ‘test-cookbook’ using command ‘<strong><em>chef generate cookbook test-cookbook</em></strong>’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*3RyArpM6cr9Jfu2EN2PEYA.png" /></figure><p>9. Now you have created your cookbook . Now go into folder test-cookbook and generate one recipe named as ‘test-recipe’ with command <strong><em>chef generate recipe test-recipe.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*bfWJgJhD1t5ybCUqioc4pw.png" /></figure><p>10. Now come back into cookbooks directory and open a test-recipe file using vi command ‘ <strong><em>vi test-cookbook/recipes/test-recipe.rb </em></strong><em>’ .</em>Type I for insert mode and type following lines. Enter escape and type <strong>:wq </strong>and come out from it.</p><pre>file ‘/myfile’ do </pre><pre>content ‘ welcome to chef ’</pre><pre>action :create</pre><pre>end</pre><p>11. Execute command ‘ <strong><em>chef exec ruby -c</em></strong> <strong><em>test-cookbook/recipes/test-recipe.rb</em></strong> ’ to check whether code wrote is right.Now apply a recipe using <strong><em>chef-client -zr “recipe[test-cookbook::test-recipe]” .</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*CaL8DoOEFefh8SWL8rIsmg.png" /></figure><p>12. Once you apply code.You can see now that the file with name myfile is created in root directory. and if you try to apply again command then it will say up to date</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*wr3Q0kfBnzPPpQTYAgNNUg.png" /></figure><p>Now you have created a simple cookbook and recipe to create a file into a system.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c6467956d40" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/tutorial-2-how-to-create-cookbook-and-recipe-chef-4c6467956d40">Tutorial-2 : How to create cookbook and recipe -Chef</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AlexNet : Convolution Neural Network Architecture]]></title>
            <link>https://medium.com/@ommore524/alexnet-convolution-neural-network-architecture-f3802100fa85?source=rss-d14fd17f62aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3802100fa85</guid>
            <category><![CDATA[cnn]]></category>
            <category><![CDATA[alexnet]]></category>
            <category><![CDATA[convolution-neural-net]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Omkar More]]></dc:creator>
            <pubDate>Sat, 22 Aug 2020 16:34:02 GMT</pubDate>
            <atom:updated>2020-08-22T16:34:02.264Z</atom:updated>
            <content:encoded><![CDATA[<h3>AlexNet : Convolution Neural Network Architecture</h3><p>If we talk about previous CNN architecture i.e LeNet-5 , It was simple architecture with seven convolution layers. All the kernals was having same size of 5 * 5 and the activation function used was tanh function which uses a exponential calculation makes it complex.To know more about Lenet-5 visit my previous blog <a href="https://medium.com/analytics-vidhya/lenet-5-covolution-neural-network-architecture-23b93f75fe01">https://medium.com/analytics-vidhya/lenet-5-covolution-neural-network-architecture-23b93f75fe01</a> .</p><p>AlexNet was designed by Hinton, winner of the 2012 ImageNet competition.Its official data model has an accuracy rate of 57.1% and top 1–5 reaches 80.2%. This is already quite outstanding for traditional machine learning classification algorithms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*S3wLKU1Zmmq1mZLpSNFmGQ.png" /><figcaption>Bock Diagram of AlexNet</figcaption></figure><p>Summary Table :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*Bavo_hP6sL9z0oM-QqjCAQ.png" /><figcaption>fig-2 . AlexNet Summary Table.</figcaption></figure><p>The main change from previous architecture was (i) Each time they changed the kernal size (ii) Used Relu activation function instead of tanh (iii) Introduced term dropout , data augmentation and normalization. (iv) Used overlapping max pooling instead of average pooling .</p><ol><li>Input image size was 227*227*3 (color image) .</li><li>The first convolution operation performed on image was using 96 kernals of size 11*11 and stride=4. The output feature map size 55*55 { [(227–11)/4 ]+1 }.</li><li>Then overlapping max pooling of size 3*3 with stride=2 is applied on all 96 kernals.The output feature map size is 27*27 i.e{[(55–3)/2]+1}. Every time they kept same pooling size .</li><li>Just after a pooling layer there is normalization layer introduced.This was new concept introduced .The Relu activation function output is not constrained within bounded range.,rather it can grow as high as the training allow.To limit the activation function to grow the normalization used just before activation function.Local response normalization is one of that technique to normalize data .</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*0jrJkmWrGVmeccnRo8sImg.png" /><figcaption>fig-3. relu activation function</figcaption></figure><p>5 . After normalizing , a feature maps are passed again through a convolution layer of 256 kernals of size 5*5 . This time the kernals size was reduced from 11 →5 . Again the same pooling and normalization performed.The feature map size now reduced 27*27 to 13*13 i.e (27+padding 2 =29) .Here padding is nothing but adding extra pixels around images. after padding of 2 image size will 29*29 . Now (29–5)/2 +1=13</p><p>6 . Again all the feature maps sent to 384 ,384 ,256 with same kernals of size 3*3 and then sent through a pooling .</p><p>7 . Just after pooling all the data is passed through a feed forward network.Here the they introduced a dropout operation which means skipping some neurons during training time.It avoids basically overfitting of model .</p><p><strong>Reference :</strong></p><p><a href="https://neurohive.io/en/popular-networks/alexnet-imagenet-classification-with-deep-convolutional-neural-networks/">AlexNet - ImageNet Classification with Convolutional Neural Networks</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3802100fa85" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chef tutorial-1 : Introduction To Configuration Management Tool (CMT) - Chef]]></title>
            <link>https://medium.com/analytics-vidhya/chef-tutorial-1-introduction-to-configuration-management-tool-cmt-chef-ff03a4eab5ad?source=rss-d14fd17f62aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff03a4eab5ad</guid>
            <category><![CDATA[chefe]]></category>
            <category><![CDATA[devops-training]]></category>
            <category><![CDATA[devops-tool]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[devops-practice]]></category>
            <dc:creator><![CDATA[Omkar More]]></dc:creator>
            <pubDate>Fri, 21 Aug 2020 15:10:22 GMT</pubDate>
            <atom:updated>2020-08-21T15:10:22.184Z</atom:updated>
            <content:encoded><![CDATA[<h3>Chef tutorial-1 : Introduction To Configuration Management Tool (CMT) - Chef</h3><p>Configuration is nothing but keep each and every minute details of your machine i.e Server , Storage , OS.Before the DevOps the system administrator was responsible for do this job . Just think your comapany has 1000 servers and you want to install a new OS on all the servers ,How time consuming it will and how much manpower it will need ? . The DevOps has made this work easy.</p><h4>There are two types of configuration tools available:</h4><ol><li><strong>Push based CMT</strong> : Here Push configuration sever pushes the configuration to your machine.In easy word you can say that whats up application has updated its version ,it will notify and update your application . Here Server asks you to update your system.It is important when you need a machines control in your hand because you are deciding here when to update configuration. exp. <strong><em>Ansible is push based configuration tool</em></strong></li><li><strong>Pull based CMT</strong> : Here your machine will check with the server periodically and if there new configuration available it will fetch it from there.Here the controls goes to the machines. exp. <strong><em>Chef is pull based CMT</em></strong></li></ol><h3><strong>Chef :</strong></h3><p>Chef is an administration tool.whatever system administrator used to do manually ,now we are automating all the task by using chef.Configuration management is the method through which we automate admin tasks . It turns your code into infrastructure i.e it uses a term IAC (infrastructure as code) which means you are using code to create your infrastructure.Your code is now repeatable and testable .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*kNZgrcebIq3dXm1HCWDxJw.png" /></figure><p>From fig-1 you can easily understand how chef works . Let take detail introduction of components of chef -:</p><ol><li><strong>Workstation</strong> : Workstation are personal computer or virtual server where configuration code is created,tested or changed.The devops engineer actually sits here.</li><li><strong>Recipe</strong> : Code written by the devops engineer in workstations is called as Recipes.</li><li><strong>Cookbook</strong> : The collection of recipes called as a cookbook.</li><li><strong>Knife</strong> : Workstation to sever and server to machines communications are created by knife.Knife is command line tool that upload a cookbook to the sever .</li><li><strong>Chef-server :</strong> Chef-server is middle-man between workstation and machines . This sever may be hosted locally or remote.</li><li><strong>Machine /Nodes :</strong> Nodes are the systems that require configurations. Ohai is small part where current configurations details of the node remains. Chef-client and Ohai is a part of nodes. Chef client fetches the current state of node from ohai and then chef-client communicate with the chef-sever . If there is new configuration is avaiable .withe the help of knife it will take it and install it on node.</li><li><strong>Bootstrap</strong>:The process that connects chef-server to nodes called bootstrap</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff03a4eab5ad" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/chef-tutorial-1-introduction-to-configuration-management-tool-cmt-chef-ff03a4eab5ad">Chef tutorial-1 : Introduction To Configuration Management Tool (CMT) - Chef</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>