{"id":2374,"date":"2012-07-18T00:50:42","date_gmt":"2012-07-18T00:50:42","guid":{"rendered":"http:\/\/craftydba.com\/?p=2374"},"modified":"2013-01-29T16:23:47","modified_gmt":"2013-01-29T16:23:47","slug":"know-your-hardware","status":"publish","type":"post","link":"https:\/\/craftydba.com\/?p=2374","title":{"rendered":"Virtual Box &#8211; Know your hardware"},"content":{"rendered":"<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/virtual_box_icon.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/virtual_box_icon.jpg\" alt=\"\" title=\"virtual_box_icon\" width=\"128\" height=\"128\" class=\"alignleft size-full wp-image-4258\" \/><\/a><\/p>\n<p>Before today, I have written many articles that were concentrated on one topic in SQL Server or Perl or Visual Basic.<\/p>\n<p>Starting today, I am going to kick off a full blown development exercise named <span style=\"color: #FF0000;\">PROJECT ALPHA<\/span>.  The purpose of this project is to create a test environment for developing a PERL based Extract Translate and Load (<a href=\"http:\/\/en.wikipedia.org\/wiki\/Extract,_transform,_load\">ETL<\/a>) solution.<\/p>\n<p>The following is a list of business requirements for this ETL project.<\/p>\n<ol>\n<li>A runnng trace file will be created in the LOGS directory.<\/li>\n<li>Connect to an FTP server using basic authentication.<\/li>\n<li>Download a file from the FTP server into a INBOUND directory.<\/li>\n<li>Remove the file from the FTP server.<\/li>\n<li>Import the data file into a STAGING table.<\/li>\n<li>Call a stored procedure to UPSERT the data into the production table.<\/li>\n<li>Create a directory with today&#8217;s date in the ARCHIVE directory.<\/li>\n<li>Move the data file from the INBOUND directory to today&#8217;s directory under ARCHIVE.<\/li>\n<\/ol>\n<p>All these steps need to be restartable. In short, a job that fails at step\u00a04 can be re-executed without any human intervention.<\/p>\n<p>We will need to create a virtual test environment that has an File Transfer Protocol (<a href=\"http:\/\/en.wikipedia.org\/wiki\/File_Transfer_Protocol\">FTP<\/a>) server. The best way to allocate resources such as memory, cpu, and video is to know what hardware you have before giving it away to the virtual machine.<\/p>\n<p>The is a great utility from <a href=\"http:\/\/www.cupid.com\">CUPID<\/a> called CPU-Z which lists this information.<\/p>\n<p>A\u00a0screen shot\u00a0showing 8 virtual cores.<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/cpu-z-no-of-cores.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/cpu-z-no-of-cores.jpg\" alt=\"\" title=\"cpu-z-no-of-cores\" width=\"421\" height=\"405\" class=\"aligncenter size-full wp-image-2383\" srcset=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/cpu-z-no-of-cores.jpg 421w, https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/cpu-z-no-of-cores-300x288.jpg 300w\" sizes=\"auto, (max-width: 421px) 100vw, 421px\" \/><\/a><\/p>\n<p>A screen shot showing 4 GB of memory.<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/cpu-z-main-memory.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/cpu-z-main-memory.jpg\" alt=\"\" title=\"cpu-z-main-memory\" width=\"421\" height=\"403\" class=\"aligncenter size-full wp-image-2382\" srcset=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/cpu-z-main-memory.jpg 421w, https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/cpu-z-main-memory-300x287.jpg 300w\" sizes=\"auto, (max-width: 421px) 100vw, 421px\" \/><\/a><br \/>\nA screen shot showing 1 GB of video memory.<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/cpu-z-video-memory.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/cpu-z-video-memory.jpg\" alt=\"\" title=\"cpu-z-video-memory\" width=\"418\" height=\"403\" class=\"aligncenter size-full wp-image-2384\" srcset=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/cpu-z-video-memory.jpg 418w, https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/cpu-z-video-memory-300x289.jpg 300w\" sizes=\"auto, (max-width: 418px) 100vw, 418px\" \/><\/a><\/p>\n<p>Windows explorer can be used to figure out how much space can be used to create a virtual hard disk.<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/windows-explorer-my-computer-devices.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/windows-explorer-my-computer-devices.jpg\" alt=\"\" title=\"windows-explorer-my-computer-devices\" width=\"939\" height=\"153\" class=\"aligncenter size-full wp-image-2392\" srcset=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/windows-explorer-my-computer-devices.jpg 939w, https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/windows-explorer-my-computer-devices-300x48.jpg 300w\" sizes=\"auto, (max-width: 939px) 100vw, 939px\" \/><\/a><\/p>\n<p>With all this information jotted down in our notepad, we now can move onto the next step, allocating a virtual hard disk from which we will create a virtual machine.\u00a0 Next time, we will be using <a href=\"https:\/\/www.virtualbox.org\/\">Virtual Box<\/a> from Oracle to perform this task.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Before today, I have written many articles that were concentrated on one topic in SQL Server or Perl or Visual Basic. Starting today, I am going to kick off a full blown development exercise named PROJECT ALPHA. The purpose of this project is to create a test environment for developing a PERL based Extract Translate and Load (ETL) solution. The following is a list of business requirements for this ETL project. A runnng trace file will be created in the LOGS directory. Connect to an FTP server using basic authentication.&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[492,491,12,494,15,495,490,493],"class_list":["post-2374","post","type-post","status-publish","format-standard","hentry","category-other","tag-cpu-z","tag-cpuid","tag-free-code","tag-ftp-server","tag-john-f-miner-iii","tag-perl-etl-project","tag-project-alpha","tag-virtual-box"],"_links":{"self":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/posts\/2374","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2374"}],"version-history":[{"count":0,"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/posts\/2374\/revisions"}],"wp:attachment":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2374"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2374"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}