Thursday, January 31, 2013

Checking the LPARs in a phyiscal machines from the HMC CLI



After I wrote a blog about Checking the connected physical machines to HMC using the CLI , 

I wondered why I don`t guide you to get more info from the the HMC CLI and what came 1st into my mind is "checking the LPARs and its state withing a physical machine" 


let me rtemind you and tell you how to get the name.serical number and the state of the physical machine:
hscroot@myhmc:~> lssyscfg -r sys -F name:serial_num:state
amer:1234567:operating

Up till now what we got are:
-pysical machine called "amer"
-the serial umber of the machine which is 1234567 
-the state of the machine which is operating


The question now is "how many LPARs are in this machine?"!


The short answer(there is shortest answer from the HMC GUI) is to the run the following command:
 
 hscroot@myhmc:~> lssyscfg -r amer -r lpar -F name:state
lpar1:Running
lpar2:Not Activated
VIOS:Running


 Now you get a clue about the Name of the LPARs and its stat!

 


     
 

No comments:

Post a Comment