{"id":1551,"date":"2013-05-17T14:34:40","date_gmt":"2013-05-17T04:34:40","guid":{"rendered":"https:\/\/www.penguinpunk.net\/blog\/?p=1551"},"modified":"2013-05-17T14:34:40","modified_gmt":"2013-05-17T04:34:40","slug":"emc-diy-heatmaps-updated-version-8","status":"publish","type":"post","link":"https:\/\/www.penguinpunk.net\/blog\/emc-diy-heatmaps-updated-version-8\/","title":{"rendered":"EMC \u2013 DIY Heatmaps \u2013 Updated Version"},"content":{"rendered":"<p>Mat has updated the DIY Heatmaps for EMC CLARiiON and VNX arrays to version 4.01. You can get it from the <a title=\"PenguinPunk Utilities\" href=\"https:\/\/www.penguinpunk.net\/blog\/utilities\/\" target=\"_blank\">Utilities page<\/a>. Any and all feedback welcome.<\/p>\n<p>Updates and Changes to the script<\/p>\n<ul>\n<li>Add database storage \/ retrieval for performance stats. The database size will be approximately 2.1 x the size of the NAR file based on the default interval of 30 minutes. On my PC it took a bit over 9 hours to process 64 NAR files into a database, the NAR files were 1.95GB and the resulting database was 4.18GB. However running the script over the database to produce a heatmap only takes seconds.<\/li>\n<li>Changed to use temporary tables for transitional data.\u00a0 This should slightly reduce the size of the database file, as the temporary data is not written to disk.<\/li>\n<li>Changed the way the script processes multiple NAR files, the script previously bunched all NAR files into a single naviseccli process, this was problematic if you were processing multiple large NAR files, the script now processes them one at a time.<\/li>\n<li>Add command line options:<\/li>\n<\/ul>\n<p>&#8211;output_db\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Output the processed NAR file to the nominated database<\/p>\n<p>&#8211;input_db\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Use the nominated database as the source of data for the heatmap<\/p>\n<p>&#8211;s_date\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Specify a start date\/time must be in the format (with quotes if specifying date and time &#8220;mm\/dd\/yyyy hh:mm:ss&#8221;<\/p>\n<p>&#8211;e_date\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Specify an end date\/time<\/p>\n<p>&#8211;retrieve_all_nar\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 When retrieving NAR files from the array, you can now retireve all nar files (it wont overwrite files already downloaded)<\/p>\n<p>&#8211;process_only_new\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 If you are downloading NAR files, only process files that haven\u2019t been downloaded previously<\/p>\n<p>&#8211;max_nar_files\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Set the maximum number of files to download and process<\/p>\n<p>&nbsp;<\/p>\n<p>Please let us know if you find any bugs or problems with the script, or if you have any further suggestions for changes and enhancements.<\/p>\n<p>Thanks<\/p>\n<p>Mat.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mat has updated the DIY Heatmaps for EMC CLARiiON and VNX arrays to version 4.01. You can get it from the Utilities page. Any and all feedback welcome. Updates and Changes to the script Add database storage \/ retrieval for performance stats. The database size will be approximately 2.1 x the size of the NAR [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[125,60,5,307,408],"tags":[24,170,438,21,437,32,158,202,40,787,308,807],"class_list":["post-1551","post","type-post","status-publish","format-standard","hentry","category-clariion-emc-storage-storage","category-emc-storage","category-storage","category-unisphere","category-vnx","tag-clariion","tag-cx4","tag-diy","tag-emc","tag-heatmap","tag-iops","tag-naviseccli","tag-navisphere","tag-san","tag-storage","tag-unisphere-2","tag-vnx"],"_links":{"self":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/1551","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=1551"}],"version-history":[{"count":4,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/1551\/revisions"}],"predecessor-version":[{"id":1559,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/1551\/revisions\/1559"}],"wp:attachment":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/media?parent=1551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/categories?post=1551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/tags?post=1551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}