Accessing LPAR console from HMC CLI
All Unix
administrators loves the CLI. So LPAR console using HMC CLI, rather than
going thruough the normal HMC JAVA UI(As it is painfully slow).
List all the Managed Systems(Frames) available in the HMC
List all the LPARS available in a particular Managed System(Frame)
Connect to a particular LPAR's console
Force close already open console
Sometimes it may show that the Console is already open. May be someone opened and not properly came out of the console. In that case you use the below command.
Easiest of all with CLI
Easiest of all the above is the vtmenu, which simplifies the activity of infinding Managed System name and then finding LPAR name to take console into a menu based Approach.
List all the Managed Systems(Frames) available in the HMC
# lssyscfg -r sys -F name state
- Will show you the Managed Systems list with its current status.
List all the LPARS available in a particular Managed System(Frame)
# lssyscfg -r lpar -m <Managed System name> -F name state
- Will show you the LPARS available in a particular Managed System with its current status.
Connect to a particular LPAR's console
# mkvterm -m <Managed System name> -p <LPAR name>
- You will be connected to the Console of the LPAR.
Force close already open console
Sometimes it may show that the Console is already open. May be someone opened and not properly came out of the console. In that case you use the below command.
# rmvterm -m <Managed System name> -p <LPAR name>
Easiest of all with CLI
Easiest of all the above is the vtmenu, which simplifies the activity of infinding Managed System name and then finding LPAR name to take console into a menu based Approach.
# vtmenuWill try to capture some screenshots for better understanding.
- Rest of them is self explanatory.
* Source Article from : Internet