{"id":101,"date":"2024-06-12T01:41:02","date_gmt":"2024-06-12T05:41:02","guid":{"rendered":"https:\/\/15packets.com\/?p=101"},"modified":"2024-06-12T01:41:52","modified_gmt":"2024-06-12T05:41:52","slug":"the-data-center","status":"publish","type":"post","link":"https:\/\/15packets.com\/?p=101","title":{"rendered":"Data Center Architecture Basics"},"content":{"rendered":"\n<p class=\"has-medium-font-size\">The way Data Centers are operated is not too far off from how we set up corporate networking. Data Centers specialize in delivering content to the outside internet and internally. The way companies and regular people can have access to a data center can be done in multiple different ways. One may include renting racks from the data center itself. Another may be renting a server from the data center. Some will even self-host and have their own &#8220;data center&#8221;, although not as large as enterprise versions. <\/p>\n\n\n\n<p class=\"has-medium-font-size\">Below is how we used to operate commercial-size data centers. On each rack, there would be servers and above them would be the switches. These are called the <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">TOR (Top Of Rack)<\/mark><\/strong> switches and they are responsible for connecting the servers to the Distribution Layer switches. This next hop to the Distribution Layer would allow communication between racks and to the Core Layer which everything outbound and inbound come through.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"837\" src=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-17-1024x837.png\" alt=\"\" class=\"wp-image-103\" style=\"width:1404px;height:auto\" srcset=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-17-1024x837.png 1024w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-17-300x245.png 300w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-17-768x628.png 768w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-17.png 1423w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">The Access Layer and Distribution Layer can also be replicated, used to be commonly seen on larger scale data centers. The connection of clients coming through the internet to the servers through all the switches is what we call <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">north-south traffic<\/mark><\/strong>. Now this worked for a long period of time until the demand for low-latency communication between servers was needed for virtualization. This traffic is referred to as <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">east-west traffic<\/mark><\/strong> and it accounts for over 80% of traffic in data centers. The problem is now we designed our infrastructure to be optimized for north-south traffic and networking engineers came up with a solution to fit both forms of traffic.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"466\" src=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-18-1024x466.png\" alt=\"\" class=\"wp-image-105\" style=\"width:1448px;height:auto\" srcset=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-18-1024x466.png 1024w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-18-300x137.png 300w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-18-768x349.png 768w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-18-1536x699.png 1536w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-18-2048x932.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">With a new design, we still keep our TOR switches, but they are now renamed to <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">Leaf Switches<\/mark><\/strong>. Next, we also keep our Distribution Layer switches and rename them to <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">Spine Switches<\/mark><\/strong>. Now, the connectivity changes quite a bit here. We are going to mesh all the leaf switches to the spine switches. What this means is that for every leaf switch, will have a connection to each spine switch. A picture below explains visually what it means to mesh all these together.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">This design is what we call the <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">Spine\/Leaf or Clos<\/mark><\/strong> design. This can get messy, but it&#8217;s worth the reward for lower latency between racks. The way the hops work is that let&#8217;s say one of the servers on the right wants to send\/receive data from one of the servers on the left. The frame only has 2 hops, which is very low latency.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">For the campus environment (for Cisgo equipment) we use the <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">Catalyst<\/mark><\/strong> switches. For data center applications we use <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">Nexus<\/mark><\/strong> switches. Another thing to note is that all switches in a data center use <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">L3 switching<\/mark><\/strong> (Multi-Layer Switch). This is great for not having to worry about a thing called &#8220;Spanning Tree&#8221; which is a loop prevention mechanism at Layer 2, which will be more understood later down the road. Because we are using layer 3 we can load balance connections and not have to worry about loops.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">The diagram above can be seen as the <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">Underlay<\/mark><\/strong> design and there is another above that which is the <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">Overlay<\/mark><\/strong> design. The underlay design gets our servers connected, but the overlay design is where most of the automation with more advanced Cisco networking hardware is done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The way Data Centers are operated is not too far off from how we set up corporate networking. Data Centers specialize in delivering content to the outside internet and internally. The way companies and regular people can have access to<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-101","post","type-post","status-publish","format-standard","hentry","category-ccna"],"_links":{"self":[{"href":"https:\/\/15packets.com\/index.php?rest_route=\/wp\/v2\/posts\/101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/15packets.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/15packets.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/15packets.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/15packets.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=101"}],"version-history":[{"count":4,"href":"https:\/\/15packets.com\/index.php?rest_route=\/wp\/v2\/posts\/101\/revisions"}],"predecessor-version":[{"id":108,"href":"https:\/\/15packets.com\/index.php?rest_route=\/wp\/v2\/posts\/101\/revisions\/108"}],"wp:attachment":[{"href":"https:\/\/15packets.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/15packets.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/15packets.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}