Friday, 7 October 2016


If you are AIX admin, then probably you have experience with Human Managment Console or short HMC. You can do all HMC tasks via web application or via command line.

Web application is java application. In case you recently update your web browser or java on your  PC you will find that no can no longer acces HMC web application because of security or java security issues. What then?

Reboot LPAR by using HMC CLI

Then you connect to HMC via putty. Regular ssh connection! Your user must have admin privileges!

Today I have situation not be able to connect to HMC via web application and LPAR pagging memory was very, very low so LPAR stop responding. I needed to reboot it! How to do that in HMC cli?

There are two things that you need to know. You need to know machine name where LPAR is located and LPAR name.

#:lssyscfg -r sys -F name:state

 Ok, so we have two machines.

#:lssyscfg -m MACHINE_NAME1 -r lpar -F name:state

 Ok, now we have LPAR names on machine

In case you need to restart imediateally LPAR1 on MACHINE1 here is commad
chsysstate -r lpar -m MACHINE1 -o shutdown --immed --restart -n LPAR1


No comments: