{"id":4308,"date":"2015-11-24T11:22:32","date_gmt":"2015-11-24T17:22:32","guid":{"rendered":"https:\/\/www.poweradmin.com\/blog\/?p=4308"},"modified":"2015-11-24T12:50:33","modified_gmt":"2015-11-24T18:50:33","slug":"simulating-a-large-network","status":"publish","type":"post","link":"https:\/\/www.poweradmin.com\/blog\/simulating-a-large-network\/","title":{"rendered":"Simulating a Large Network"},"content":{"rendered":"<p><span style=\"font-family: verdana, geneva, sans-serif;\">We live, eat, breathe and love monitoring here at Power Admin. \u00a0So we\u2019re always looking for ways to improve. \u00a0One way is to scale our software to handle ever increasing loads. \u00a0<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">Some of our larger customers (the largest anti-virus and computer security software company in America which starts with \u2018Sym\u2019 and ends with \u2018antec\u2019, and a very well known operating system company frequently known as MS) have networks far, far larger than our own. \u00a0So we needed a way to at least simulate their needs in our software. \u00a0One way we did that was by setting up our LAB_BEAST server \ud83d\ude42<\/span><\/p>\n<p>\u00a0<\/p>\n<h3><span style=\"font-family: verdana, geneva, sans-serif;\">Multiple NICs<\/span><\/h3>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">LAB_BEAST is a Windows 2012 R2 VM running on an ESX 5.5 host. \u00a0Despite the name, we didn\u2019t assign it huge resources, although it did get 3 NIC cards.<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><a href=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/lab-vm-settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4309 aligncenter\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/lab-vm-settings.png\" alt=\"lab vm settings\" width=\"348\" height=\"259\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/lab-vm-settings.png 348w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/lab-vm-settings-300x223.png 300w\" sizes=\"auto, (max-width: 348px) 100vw, 348px\"><\/a><\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">In Windows we see that we have the three network connections showing up nicely.<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><a href=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/lab-vm-network-connections.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4310 aligncenter\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/lab-vm-network-connections.png\" alt=\"lab vm network connections\" width=\"768\" height=\"61\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/lab-vm-network-connections.png 768w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/lab-vm-network-connections-300x24.png 300w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\"><\/a><\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">We assigned them 192.168.8.1, 192.168.9.1 and 192.168.10.1 respectively. \u00a0Since we want them to be on the network with the rest of the servers we had to change our typical netmask from\u00a0255.255.255.0 to 255.255.240.0 which will <\/span><span style=\"font-family: verdana, geneva, sans-serif;\">give us a nice little range to add additional IP addresses.<\/span><\/p>\n<h3><span style=\"font-family: verdana, geneva, sans-serif;\">Multiple IP Addresses<\/span><\/h3>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">Now for the secret sauce \u2013 each network conne<\/span><span style=\"font-family: verdana, geneva, sans-serif;\">ction can have more than one IP address assigned to it! \u00a0The steps below show how that is done.<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><a href=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/add-multiple-ip-addresses-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4313 alignnone\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/add-multiple-ip-addresses-1.png\" alt=\"add multiple ip addresses 1\" width=\"375\" height=\"473\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/add-multiple-ip-addresses-1.png 375w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/add-multiple-ip-addresses-1-238x300.png 238w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\">\u00a0 \u00a0<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4312 alignnone\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/add-multiple-ip-addresses-2.png\" alt=\"add multiple ip addresses 2\" width=\"412\" height=\"463\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/add-multiple-ip-addresses-2.png 412w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/add-multiple-ip-addresses-2-267x300.png 267w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\">\u00a0 \u00a0<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4311 alignnone\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/add-multiple-ip-addresses-3.png\" alt=\"add multiple ip addresses 3\" width=\"414\" height=\"495\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/add-multiple-ip-addresses-3.png 414w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/add-multiple-ip-addresses-3-251x300.png 251w\" sizes=\"auto, (max-width: 414px) 100vw, 414px\"><\/a><\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">So the secret is to add many IP addresses to each network connection. \u00a0We found by doing a little research that Windows will apparently allow up to 255 addresses per connection. \u00a0Just to make it simple, we assigned xxx.xxx.xxx.1 to xxx.xxx.xxx.250 to each. \u00a0That means our lab server now has 750 IP addresses!<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">When we started we setup the first 100 IP addresses manually as shown above. \u00a0That\u2019s very tedious. \u00a0But then we found this great\u00a0post over at How-To Geek:\u00a0<a title=\"How to Quickly Add Multiple IP Addresses to Windows Servers\" href=\"http:\/\/www.howtogeek.com\/51741\/how-to-quickly-add-multiple-ip-addresses-to-windows-servers\/\" target=\"_blank\" rel=\"nofollow\">How to Quickly Add Multiple IP Addresses to Windows Servers<img class=\"extlink-icon\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/plugins\/external-links-nofollow-open-in-new-tab-favicon\/images\/extlink.png\"><\/a><\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">So in our case we just needed to run these three commands:<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: 'courier new', courier, monospace;\">FOR \/L %A IN (0,1,250) DO netsh interface ipv4 add address \u201cEthernet\u201d\u00a0 \u00a0192.168.8.%A 255.255.240.0<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier, monospace;\">FOR \/L %A IN (0,1,250) DO netsh interface ipv4 add address \u201cEthernet 2\u201d 192.168.9.%A 255.255.240.0<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier, monospace;\">FOR \/L %A IN (0,1,250) DO netsh interface ipv4 add address \u201cEthernet 3\u201d 192.168.10.%A 255.255.240.0<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">So now LAB_BEAST handles requests to these three IP address ranges:<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">192.168.8.1 \u2013 192.168.8.250,\u00a0<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">192.168.9.1 \u2013 192.168.9.250<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">192.168.10.1 \u2013 192.168.10.250<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">Essentially, this one server acts and responds as though it is 750 different\u00a0Windows servers on the network.<\/span><\/p>\n<p>\u00a0<\/p>\n<h3><span style=\"font-family: verdana, geneva, sans-serif;\">Monitoring Load<\/span><\/h3>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">You might ask how bogged down it gets. \u00a0So far we\u2019ve setup monitors to check for: <a href=\"\/help\/latestsmhelp.aspx?page=monitor_ping.aspx&amp;ref=blog\">Ping<\/a>, <a href=\"\/help\/latestsmhelp.aspx?page=monitor_disk_space.aspx&amp;ref=blog\">free disk space<\/a> and a <a href=\"https:\/\/www.poweradmin.com\/help\/latestsmhelp.aspx?page=monitor_perfmon_counter.aspx&amp;ref=blog\">variety of performance counters<\/a> on all of those IP addresses. \u00a0As you can see in the PA <a href=\"\/help\/latestsmhelp.aspx?page=report_server_status.aspx&amp;ref=blog\">Server Monitor charts<\/a> below, LAB_BEAST is\u00a0not even struggling:<\/span><\/p>\n<p><a href=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/lab-system-information1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4320 aligncenter\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/lab-system-information1.png\" alt=\"lab system information\" width=\"798\" height=\"207\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/lab-system-information1.png 798w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/11\/lab-system-information1-300x78.png 300w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\"><\/a><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">What\u2019s even more surprising, is we have an external Satellite monitoring some of these IP addresses as well, so the server is actually getting hit as though it was 1000 separate devices. \u00a0Amazing.<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">Now, we chose those three particular monitors for a reason \u2014 they are very light weight. \u00a0Monitoring services and the Event Log is a little heavier. \u00a0Monitoring services and the Event Log for one server is no big deal \u2014 the server doesn\u2019t even feel it. \u00a0I suspect multiplying it by 1000 might have some impact \u2013 that\u2019s a test yet to come.<\/span><\/p>\n<p>\u00a0<\/p>\n<h3><span style=\"font-family: verdana, geneva, sans-serif;\">What\u2019s next?<\/span><\/h3>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">Monitoring 1000 server\/devices is nice. \u00a0But our customers monitor MUCH\u00a0more than that. \u00a0And all from a single PA Server Monitor installation. \u00a0So\u00a0we\u2019ve setup a few other servers like LAB_BEAST to push the limits. \u00a0<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">We know from speaking with customers that a single <a href=\"\/servermonitor\/?ref=blog\">PA Server Monitor installation can easily monitor 2000+ real servers\/devices<\/a> from a single installation. \u00a0We\u2019ll see how much further we can push it \ud83d\ude42<\/span><\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We live, eat, breathe and love monitoring here at Power Admin. \u00a0So we\u2019re always looking for ways to improve. \u00a0One way is to scale our software to handle ever increasing loads. \u00a0 \u00a0 Some of our larger customers (the largest anti-virus and computer security software company in America which starts with \u2018Sym\u2019 and ends with [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":4309,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,10,9,8],"tags":[],"class_list":["post-4308","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general-it","category-how-to","category-power-admin","category-technical","category-windows"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/4308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/comments?post=4308"}],"version-history":[{"count":5,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/4308\/revisions"}],"predecessor-version":[{"id":4322,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/4308\/revisions\/4322"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/media\/4309"}],"wp:attachment":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/media?parent=4308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/categories?post=4308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/tags?post=4308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}