<p>If you don&#8217;t have access to the web page of the Management Module, or you&#8217;re too lazy to walk to a PC, you can ssh into the management module and do it from the CLI.</p>{"id":120,"date":"2009-06-18T17:14:20","date_gmt":"2009-06-18T21:14:20","guid":{"rendered":"http:\/\/patrickv.info\/wordpress\/?p=120"},"modified":"2009-06-18T17:14:20","modified_gmt":"2009-06-18T21:14:20","slug":"power-onoff-a-blade-from-the-management-module-cli","status":"publish","type":"post","link":"https:\/\/rootuser.ninja\/index.php\/2009\/06\/18\/power-onoff-a-blade-from-the-management-module-cli\/","title":{"rendered":"Power on\/off a blade from the Management Module CLI"},"content":{"rendered":"<p>If you don&#8217;t have access to the web page of the Management Module, or you&#8217;re too lazy to walk to a PC, you can ssh into the management module and do it from the CLI.<\/p>\n<p><!--more--><\/p>\n<p>Just ssh into the management module, and list the blades:<\/p>\n<pre><code>system> list -l 2\nsystem\n        mm[1]     standby\n        mm[2]     primary\n        power[1]\n        power[2]\n        power[3]\n        power[4]\n        blower[1]\n        blower[2]\n        switch[1]\n        switch[2]\n        switch[3]\n        switch[4]\n        blade[1]  laba\n        blade[2]  copibma\n        mt[1]<\/code><\/pre>\n<p>Then switch the environment to the blade in question:<\/p>\n<pre><code>system> env -T blade[2]\nOK<\/code><\/pre>\n<p>Then issue the &#8220;power&#8221; command:<\/p>\n<pre><code>power -on<\/code><\/pre>\n<p>You can also use &#8220;-off&#8221;, or &#8220;-state&#8221;.  Issue &#8220;help power&#8221; at the commandline for all the options.<\/p>","protected":false},"excerpt":{"rendered":null,"protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,1],"tags":[],"class_list":["post-120","post","type-post","status-publish","format-standard","hentry","category-aix-notes","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/comments?post=120"}],"version-history":[{"count":0,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/120\/revisions"}],"wp:attachment":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/media?parent=120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/categories?post=120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/tags?post=120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}