{"id":520,"date":"2017-09-03T20:38:07","date_gmt":"2017-09-03T20:38:07","guid":{"rendered":"http:\/\/wiki.thomasandsofia.com\/?p=520"},"modified":"2017-09-04T17:13:51","modified_gmt":"2017-09-04T17:13:51","slug":"raid-volumes-and-snapshots-34","status":"publish","type":"post","link":"https:\/\/wiki.thomasandsofia.com\/?p=520","title":{"rendered":"RAID, Volumes and Snapshots (34)"},"content":{"rendered":"<p><a href=\"https:\/\/www.udemy.com\/aws-certified-solutions-architect-associate\/learn\/v4\/t\/lecture\/2483742?start=0\" target=\"_blank\" rel=\"noopener\">https:\/\/www.udemy.com\/aws-certified-solutions-architect-associate\/learn\/v4\/t\/lecture\/2483742?start=0<\/a><\/p>\n<h1>Main Menu<\/h1>\n<ul>\n<li><a href='#types'>Raid Acronym and Types<\/a><\/li>\n<li><a href='#when'>When to use with AWS<\/a><\/li>\n<li><a href='#create'>Create a Windows Instance w\/5 drives<\/a>\n<ul>\n<li><a href='#configure'>Configure Raid Array<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href='#snap'>Taking a Snapshot<\/a>\n<ul>\n<li><a href='#snapprob'>Problems<\/a><\/li>\n<li><a href='#snapsol'>Solutions<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a name='types'>&nbsp;<\/a><\/p>\n<h1>RAID: Redundant Array of Independent Disks<\/h1>\n<ul>\n<li>RAID 0: Striped, No Redundancy. Good Performance\n<ul>\n<li>One drive fails, all drives fail<\/li>\n<\/ul>\n<\/li>\n<li>RAID 1: Mirrored, Redundancy<\/li>\n<li>RAID 5: Parity\/Checksum. 3 Drives minimum.\n<ul>\n<li>Good Read performance, bad Write<\/li>\n<li><span style=\"color: #ff0000;\"><strong>AWS NEVER recommends using RAID 5 with EBS<\/strong><\/span><\/li>\n<\/ul>\n<\/li>\n<li>RAID 10: Mirrored &amp; Striped (1 + 0). 4 Drives minimum\n<ul>\n<li>Good redundancy, good performance.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a name='when'>&nbsp;<\/a><\/p>\n<h1>When to use RAID with AWS<\/h1>\n<ul>\n<li>Correct drive size but need better performance (RAID 10)<\/li>\n<li>Max&#8217;d out drive space but need more capacity (RAID 0)<\/li>\n<\/ul>\n<p><a name='create'>&nbsp;<\/a><\/p>\n<h1>Create a Windows Instance<\/h1>\n<ul>\n<li>single drive for OS<\/li>\n<li>Open Port 3389<\/li>\n<li>4 Additional drives for the raid array<\/li>\n<li>Use the private key to get the password\n<ul>\n<li>Dashboard &gt; Select Windows Instance &gt; Actions &gt; Get Windows Password<\/li>\n<li>Paste your Private Key into the window and click [Decrypt Password]<\/li>\n<\/ul>\n<\/li>\n<li>Log into Windows<\/li>\n<li>mstsc = Microsoft Terminal Services Client<\/li>\n<\/ul>\n<p><a name='configure'>&nbsp;<\/a><\/p>\n<h3>Configure RAID Array in Windows<\/h3>\n<p><a href=\"http:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2017\/09\/Win2016-supplemental-steps.pdf\" target=\"_blank\" rel=\"noopener\">Win2016-supplemental-steps<\/a><\/p>\n<ul>\n<li>View all disks in File Explorer (D, E, F, G)<\/li>\n<li>Open Disk Management\n<ul>\n<li>Right click D-G and Delete Volumes\n<ul>\n<li>Warning, all data will be erased [Yes]<\/li>\n<\/ul>\n<\/li>\n<li>Right Click on an unallocated volume:\n<ul>\n<li>New Simple Volume<\/li>\n<li>New Spanned Volume<\/li>\n<li>New Striped Volume (RAID 0)\n<ul>\n<li>Add all available volumes to the array [Next]<\/li>\n<li>Assign the drive letter to the array &#8220;D&#8221;<\/li>\n<li>Format the Drive\n<ul>\n<li>NTFS<\/li>\n<li>Quick Format<\/li>\n<li>Volume Label (name) [Next&gt;]<\/li>\n<li>Warning &#8211; Will convert to dynamic disk [Yes]<\/li>\n<\/ul>\n<\/li>\n<li>Should now offer ~4x speed and 4x size.<\/li>\n<\/ul>\n<\/li>\n<li>New Mirrored Volume<\/li>\n<li>New RAID-5 Volume<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a name='snap'>&nbsp;<\/a><\/p>\n<h1>Taking a Snapshot of an Array<\/h1>\n<p><a name='snapprob'>&nbsp;<\/a><\/p>\n<h3>Problems<\/h3>\n<p>Problem &#8211; Take a snapshot excludes data held in the cache by applications and the OS.<\/p>\n<ul>\n<li>This is generally not a problem with single volume drives<\/li>\n<li>Using multiple volumes in a RAID array, this can be a problem due to interdependencies of the array.<\/li>\n<\/ul>\n<p><a name='snapsol'>&nbsp;<\/a><\/p>\n<h3>Solution &#8211; Take an application consistent snapshot.<\/h3>\n<ul>\n<li>Overview\n<ul>\n<li>Stop the applications from writing to disk<\/li>\n<li>Flush all caches to the disk<\/li>\n<\/ul>\n<\/li>\n<li>How?\n<ul>\n<li>A: Freeze the file system<\/li>\n<li>B: Unmount the RAID Array<\/li>\n<li>C: Shut down the associated EC2 instance. (Easiest, most common)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.udemy.com\/aws-certified-solutions-architect-associate\/learn\/v4\/t\/lecture\/2483742?start=0 Main Menu Raid Acronym and Types When to use with AWS Create a Windows Instance w\/5 drives Configure Raid Array Taking a Snapshot Problems Solutions &nbsp; RAID: Redundant Array of Independent Disks RAID 0: Striped, No Redundancy. Good Performance One drive fails, all drives fail RAID 1: Mirrored, Redundancy RAID 5: Parity\/Checksum. 3 Drives ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.thomasandsofia.com\/?p=520\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-520","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=520"}],"version-history":[{"count":9,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/520\/revisions"}],"predecessor-version":[{"id":530,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/520\/revisions\/530"}],"wp:attachment":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}