{"id":1529,"date":"2013-05-10T17:00:23","date_gmt":"2013-05-10T07:00:23","guid":{"rendered":"https:\/\/www.penguinpunk.net\/blog\/?p=1529"},"modified":"2015-12-10T07:26:07","modified_gmt":"2015-12-09T21:26:07","slug":"dell-compellent-getting-started-with-compcu-jar","status":"publish","type":"post","link":"https:\/\/www.penguinpunk.net\/blog\/dell-compellent-getting-started-with-compcu-jar\/","title":{"rendered":"Dell Compellent &#8211; Getting started with CompCU.jar"},"content":{"rendered":"<p>CompCU.jar is the Compellent Command Utility. You can download it from Compellent&#8217;s support site (registration required). This is a basic article that demonstrates how to get started.<\/p>\n<p>The first thing you&#8217;ll want to do is create an authentication file that you can re-use, similar to what you do with EMC&#8217;s naviseccli tool. The file I specify is saved in the directory I&#8217;m working from, and the Storage Center IP is the cluster IP, not the IP address of the controllers.<\/p>\n<pre><strong>E:\\CU060301_002A&gt;java \u2013jar CompCU.jar \u2013default -defaultname saved_default -host\u00a0StorageCenterIP -user Admin -password SCPassword<\/strong><\/pre>\n<p>Now you can run commands without having to input credentials each time. I like to ouput to a text file, although you&#8217;ll notice that CompCU also dumps output on the console at the same time. The &#8220;<strong>system show<\/strong>&#8221; command provides a brief summary of the system configuration.<\/p>\n<pre><strong>E:\\CU060301_002A&gt;java -jar CompCU.jar -defaultname saved_default.cli -c \"system show -txt 'outputfile.txt'\"\r\n<\/strong><strong>Compellent Command Utility (CompCU) 6.3.1.2\r\n<\/strong><strong>\u00a0=================================================================================================\r\n<\/strong><strong>User Name: Admin\r\n<\/strong><strong>Host\/IP Address: 192.168.0.10\r\n<\/strong><strong>Single Command: system show -txt 'systemshow.txt'\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: system show -txt 'outputfile.txt'\r\n<\/strong><strong>SerialNumber Name ManagementIP Version OperationMode PortsBalanced MailServer BackupMailServer\r\n<\/strong><strong>----------------- -------------------------------- ---------------- ---------------- -------------- -------------- -------------------- --------------------\r\n<\/strong><strong>22640 Compellent1 192.168.0.10 6.2.2.15 Normal Yes 192.168.0.200 192.168.0.201\r\n<\/strong><strong>Save to Text (txt) File: outputfile.txt\r\n<\/strong><strong>Successfully finished running Compellent Command Utility (CompCU) application.<\/strong><\/pre>\n<p>Notice I get java errors every time I run this command. I think that&#8217;s related to an expired certificate, but I need to research that further.\u00a0Another useful command is &#8220;<strong>storagetype show<\/strong>&#8220;. Here&#8217;s one I prepared earlier.<\/p>\n<pre><strong>E:\\CU060301_002A&gt;java -jar CompCU.jar -defaultname saved_default.cli -c \"storagetype show -txt 'storagetype.txt'\"\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: storagetype show -txt 'storagetype.txt'\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: storagetype show -txt 'storagetype.txt'\r\n<\/strong><strong>Index Name DiskFolder Redundancy PageSize PageSizeBlocks SpaceUsed SpaceUsedBlocks SpaceAllocated SpaceAllocatedBlocks\r\n<\/strong><strong>------ -------------------------------- -------------------- -------------------- ---------- --------------- -------------------- -------------------- -------------------- --------------------\r\n<\/strong><strong>1 Assigned-Redundant-4096 Assigned Redundant 2.00 MB 4096 1022.51 GB 2144350208 19.67 TB 42232291328\r\n<\/strong><strong>Save to Text (txt) File: storagetype.txt\r\n<\/strong><strong>Successfully finished running Compellent Command Utility (CompCU) application.\r\n<\/strong><strong>E:\\CU060301_002A&gt;<\/strong><\/pre>\n<p>There&#8217;s a bunch of useful things you can do with CompCU, particularly when it comes to creating volumes and allocating them to hosts, for example. I&#8217;ll cover these in the next little while. In the meantime, I hope this was a useful introduction to CompCU.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CompCU.jar is the Compellent Command Utility. You can download it from Compellent&#8217;s support site (registration required). This is a basic article that demonstrates how to get started. The first thing you&#8217;ll want to do is create an authentication file that you can re-use, similar to what you do with EMC&#8217;s naviseccli tool. The file I [&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,396,524,809,790,110],"class_list":["post-1529","post","type-post","status-publish","format-standard","hentry","category-compellent","category-dell","category-storage","tag-basics","tag-cli","tag-compcu","tag-compellent","tag-dell","tag-howto"],"_links":{"self":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/1529","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=1529"}],"version-history":[{"count":10,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/1529\/revisions"}],"predecessor-version":[{"id":3401,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/1529\/revisions\/3401"}],"wp:attachment":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/media?parent=1529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/categories?post=1529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/tags?post=1529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}