{"id":5647,"date":"2015-08-19T17:12:10","date_gmt":"2015-08-19T07:12:10","guid":{"rendered":"http:\/\/nsrd.info\/blog\/?p=5647"},"modified":"2018-12-11T12:03:30","modified_gmt":"2018-12-11T02:03:30","slug":"updated-checks-in-nsradmin","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2015\/08\/19\/updated-checks-in-nsradmin\/","title":{"rendered":"Updated checks in nsradmin"},"content":{"rendered":"<p>A while ago&nbsp;EMC&nbsp;engineering updated the venerable&nbsp;<em>nsradmin<\/em> utility to include&nbsp;automated checking options, with an initial focus on&nbsp;checks for NetWorker clients. As a NetWorker&nbsp;administrator I would have crawled over hot coals for this functionality, and as an integrator I found myself writing Perl scripts from company to company to do similar checks.<\/p>\n<p>As of NetWorker 8.2.1.6, the checks have been expanded a little, with a few&nbsp;new enhancements:<\/p>\n<ul>\n<li>Client check now&nbsp;performs&nbsp;Client\/Server time synchronisation checking<\/li>\n<li>Client check now&nbsp;does a ping test against configured Data Domains<\/li>\n<li>Storage node check has been added.<\/li>\n<\/ul>\n<p>I currently don&#8217;t have a Data Domain in my lab, but I&#8217;ll show you want&nbsp;the time synchronisation check looks like at least. As always, for client checks in <em>nsradmin<\/em>, the command sequence is:<\/p>\n<pre># <strong>nsradmin -C&nbsp;<em>query<\/em><\/strong><\/pre>\n<p>Where&nbsp;<em>query<\/em> is a valid NetWorker query targeting&nbsp;clients. In my case in my lab, I used:<\/p>\n<pre># <strong>nsradmin -C \"NSR client\"<\/strong><\/pre>\n<p>The output from this included:<\/p>\n<p><a href=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2015\/08\/Client_Check.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5648\" src=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2015\/08\/Client_Check.png\" alt=\"Client Check - Time synchronisation\" width=\"571\" height=\"432\" srcset=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2015\/08\/Client_Check.png 571w, https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2015\/08\/Client_Check-300x227.png 300w\" sizes=\"auto, (max-width: 571px) 100vw, 571px\" \/><\/a><\/p>\n<p>In the example output, I&#8217;ve highlighted the new time synchronisation check. With this included, the&nbsp;<em>nsradmin<\/em> client check utility expands yet again in usefulness.<\/p>\n<p>Moving on to the Storage Node option, we can now have NetWorker verify connectivity&nbsp;list the devices associated with each storage node. As you might imagine, the&nbsp;command for this is:<\/p>\n<pre># <strong>nsradmin -C \"NSR storage node\"<\/strong><\/pre>\n<p>The output in my lab resembles the following:<\/p>\n<p><a href=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2015\/08\/NSR-storage-node.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5649\" src=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2015\/08\/NSR-storage-node.png\" alt=\"nsradmin - NSR storage node\" width=\"565\" height=\"772\" srcset=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2015\/08\/NSR-storage-node.png 565w, https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2015\/08\/NSR-storage-node-220x300.png 220w\" sizes=\"auto, (max-width: 565px) 100vw, 565px\" \/><\/a><\/p>\n<p>As I mentioned at the start \u2013 these have been added into NetWorker 8.2.1.6. If you&#8217;re running an earlier release, service pack or cumulative release than that exact version, you won&#8217;t find&nbsp;the new features in your installation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A while ago&nbsp;EMC&nbsp;engineering updated the venerable&nbsp;nsradmin utility to include&nbsp;automated checking options, with an initial focus on&nbsp;checks for NetWorker clients. As&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[16,20,23],"tags":[1240,1239,653],"class_list":["post-5647","post","type-post","status-publish","format-standard","hentry","category-networker","category-scripting","category-support","tag-automated-checks","tag-check","tag-nsradmin"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-1t5","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/5647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/comments?post=5647"}],"version-history":[{"count":4,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/5647\/revisions"}],"predecessor-version":[{"id":7426,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/5647\/revisions\/7426"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=5647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=5647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=5647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}