{"id":1542,"date":"2013-05-14T13:45:16","date_gmt":"2013-05-14T03:45:16","guid":{"rendered":"https:\/\/www.penguinpunk.net\/blog\/?p=1542"},"modified":"2015-12-10T09:02:08","modified_gmt":"2015-12-09T23:02:08","slug":"dell-compellent-storage-provisioning-with-compcu-jar","status":"publish","type":"post","link":"https:\/\/www.penguinpunk.net\/blog\/dell-compellent-storage-provisioning-with-compcu-jar\/","title":{"rendered":"Dell Compellent &#8211; Storage provisioning with CompCU.jar"},"content":{"rendered":"<p>I covered\u00a0getting started with the\u00a0CompCU.jar tool <a title=\"Dell Compellent - Getting started with CompCU.jar\" href=\"http:\/\/wp.me\/p1ZBmA-oF\" target=\"_blank\">here<\/a>. This post is a quick one that covers provisioning storage on the Compellent and then presenting it to hosts. In this example, I create a 400GB volume named Test_Volume1 and place it in the iLAB_Gold2 folder.<\/p>\n<pre><strong>E:\\CU060301_002A&gt;java -jar CompCU.jar -defaultname saved_default.cli -c \"volume create -name \"Test_Volume1\" -size 400g -folder iLAB_Gold2\"\r\n<\/strong><strong>Compellent Command Utility (CompCU) 6.3.1.2\r\n<\/strong><strong>=================================================================================================\r\n<\/strong><strong>User Name: Admin\r\n<\/strong><strong>Host\/IP Address: 192.168.0.10\r\n<\/strong><strong>Single Command: volume create -name Test_Volume1 -size 400g -folder iLAB_Gold2\r\n<\/strong><strong>=================================================================================================\r\n<\/strong><strong>Connecting to Storage Center: 192.168.0.10 with user: Admin\r\n<\/strong><strong>java.lang.IllegalStateException: TrustManagerFactoryImpl is not initialized\r\n<\/strong><strong>Running Command: volume create -name Test_Volume1 -size 400g -folder iLAB_Gold2\r\n<\/strong><strong>Creating Volume using StorageType 1: storagetype='Assigned-Redundant-4096', redundancy=Redundant, pagesize=4096, diskfolder=Assigned.\r\n<\/strong><strong>Successfully created Volume 'Test_Volume1'\r\n<\/strong><strong>Successfully finished running Compellent Command Utility (CompCU) application.<\/strong><\/pre>\n<p>Here&#8217;s what it looks like now.<\/p>\n<p><a href=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2013\/05\/vol2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1545\" src=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2013\/05\/vol2.png\" alt=\"vol2\" width=\"637\" height=\"186\" srcset=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2013\/05\/vol2.png 637w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2013\/05\/vol2-300x87.png 300w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/a><\/p>\n<p>Notice that Test_Volume1 has been created but it inactive &#8211; it needs to be mapped to a server before it can be brought online.<\/p>\n<pre><strong>E:\\CU060301_002A&gt;java -jar CompCU.jar -defaultname saved_default.cli -c \"volume map -name 'Test_Volume1' -server 'iLAB_Gold2'\"\r\n<\/strong><strong>Compellent Command Utility (CompCU) 6.3.1.2\r\n<\/strong><strong>=================================================================================================\r\n<\/strong><strong>User Name: Admin\r\n<\/strong><strong>Host\/IP Address: 192.168.0.10\r\n<\/strong><strong>Single Command: volume map -name 'Test_Volume1' -server 'iLAB_Gold2'\r\n<\/strong><strong>=================================================================================================\r\n<\/strong><strong>Connecting to Storage Center: 192.168.0.10 with user: Admin\r\n<\/strong><strong>java.lang.IllegalStateException: TrustManagerFactoryImpl is not initialized\r\n<\/strong><strong>Running Command: volume map -name 'Test_Volume1' -server 'iLAB_Gold2'\r\n<\/strong><strong>Successfully mapped Volume 'Test_Volume1' to Server 'iLAB_Gold2'\r\n<\/strong><strong>Successfully finished running Compellent Command Utility (CompCU) application.<\/strong><\/pre>\n<p>Wouldn&#8217;t it make more sense to create and map the volume at the same time? Yes, yes it would. Here&#8217;s another example where I present the volume to a folder of servers.<\/p>\n<pre><strong>E:\\CU060301_002A&gt;java -jar CompCU.jar -defaultname saved_default.cli -c \"volume create -name \"Test_Volume2\" -size 400g -folder iLAB_Gold2 -server iLAB_Gold2\"\r\n<\/strong><strong>Compellent Command Utility (CompCU) 6.3.1.2\r\n<\/strong><strong>=================================================================================================\r\n<\/strong><strong>User Name: Admin\r\n<\/strong><strong>Host\/IP Address: 192.168.0.10\r\n<\/strong><strong>Single Command: volume create -name Test_Volume2 -size 400g -folder iLAB_Gold2 -server iLAB_Gold2\r\n<\/strong><strong>=================================================================================================\r\n<\/strong><strong>Connecting to Storage Center: 192.168.0.10 with user: Admin\r\n<\/strong><strong>java.lang.IllegalStateException: TrustManagerFactoryImpl is not initialized\r\n<\/strong><strong>Running Command: volume create -name Test_Volume2 -size 400g -folder iLAB_Gold2 -server iLAB_Gold2\r\n<\/strong><strong>Creating Volume using StorageType 1: storagetype='Assigned-Redundant-4096', redundancy=Redundant, pagesize=4096, diskfolder=Assigned.\r\n<\/strong><strong>Successfully mapped Volume 'Test_Volume2' to Server 'iLAB_Gold2'\r\n<\/strong><strong>Successfully created Volume 'Test_Volume2', mapped it to Server 'iLAB_Gold2' on <\/strong><strong>Controller 'SN 22641'\r\n<\/strong><strong>Successfully finished running Compellent Command Utility (CompCU) application.<\/strong><\/pre>\n<p>Note that these commands don&#8217;t specify replays. If you want replays configured you should use the <strong>-replayprofile<\/strong> option or manually create replays with the <strong>replay create<\/strong> command.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I covered\u00a0getting started with the\u00a0CompCU.jar tool here. This post is a quick one that covers provisioning storage on the Compellent and then presenting it to hosts. In this example, I create a 400GB volume named Test_Volume1 and place it in the iLAB_Gold2 folder. E:\\CU060301_002A&gt;java -jar CompCU.jar -defaultname saved_default.cli -c &#8220;volume create -name &#8220;Test_Volume1&#8221; -size 400g [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[467,14,5],"tags":[297,525,524,809,790,110,526,40,787],"class_list":["post-1542","post","type-post","status-publish","format-standard","hentry","category-compellent","category-dell","category-storage","tag-basics","tag-cml","tag-compcu","tag-compellent","tag-dell","tag-howto","tag-provision","tag-san","tag-storage"],"_links":{"self":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/1542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/comments?post=1542"}],"version-history":[{"count":8,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/1542\/revisions"}],"predecessor-version":[{"id":3407,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/1542\/revisions\/3407"}],"wp:attachment":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/media?parent=1542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/categories?post=1542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/tags?post=1542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}