Blog has been moved to

http://www.AlTwaijiry.com,

please join us.



Few command lines you can use them when you ssh to any HMC (I usualy use it when I have a slow connection and I want to do something very fast)


1. List all th managed system in the HMC

lssyscfg -r sys -F name

2. List all the LPars running in any system

lssyscfg -m ‘SYSTEM_NAME’ -r lpar -F name

3. Run a terminal/console for any system

vtmenu

4.  Display the state of all Lpars in a system managed by the HMC

lssyscfg -m ‘SYSTEM_NAME’ -r lpar -F name,lpar_id,state

5. Reboot Lpar immediatly

chsysstate -m ‘SYSTEM_NAME’ -r lpar -n ‘LPAR_NAME’ -o shutdown –immed –restart

Advertisement