<p>If you need to poweroff or poweron an LPAR remotely, you can do it with command lines.</p>{"id":78,"date":"2009-06-18T14:28:38","date_gmt":"2009-06-18T18:28:38","guid":{"rendered":"http:\/\/patrickv.info\/wordpress\/?p=78"},"modified":"2009-06-18T14:28:38","modified_gmt":"2009-06-18T18:28:38","slug":"starting-an-lpar-from-command-line","status":"publish","type":"post","link":"https:\/\/rootuser.ninja\/index.php\/2009\/06\/18\/starting-an-lpar-from-command-line\/","title":{"rendered":"Starting an LPAR from command line"},"content":{"rendered":"<p>If you need to poweroff or poweron an LPAR remotely, you can do it with command lines.<br \/>\n<!--more--><\/p>\n<p>Get the managed system name and object (lpar) name using lslpars and run:<\/p>\n<pre><code>chsysstate -r lpar -n <em>lpar_nam<\/em>e -m <em>managed_system_name<\/em> -o <em>on<\/em><\/code><\/pre>\n<p>Common states are:<\/p>\n<ul>\n<li>on &#8211; to perform a power on or activation of a partition\n<li>off &#8211; to perform a power off of a managed system or hard reset of a partition\n<li>osreset &#8211; to reset the operating system on the partition\n<li>osshutdown &#8211; to shutdown the operating system on the partition\n<li>reset &#8211; to perform a soft reset of a partition\n<\/li><\/li><\/li><\/li><\/li><\/ul>","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-78","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\/78","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=78"}],"version-history":[{"count":0,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/78\/revisions"}],"wp:attachment":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/media?parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/categories?post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/tags?post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}