Accessing VIOS console via HMC console
From Notes_Wiki
Revision as of 12:55, 3 August 2022 by Saurabh (talk | contribs) (Created page with "Home > VIOS or AIX > Accessing VIOS console via HMC console In case of emergency (unexpected boot after maintenance) we should always be able to connect to VIOS via HMC via console. This can help in recovering from some boot issues. To do the same use: # SSH to vHMC via use (eg hscroot) # Run below command #:<pre> #:: vtmenu #:</pre> # Select the appropriate power server for which we want to connect to VIOS # Select the VIOS to which we want to c...")
Home > VIOS or AIX > Accessing VIOS console via HMC console
In case of emergency (unexpected boot after maintenance) we should always be able to connect to VIOS via HMC via console. This can help in recovering from some boot issues. To do the same use:
- SSH to vHMC via use (eg hscroot)
- Run below command
- vtmenu
- Select the appropriate power server for which we want to connect to VIOS
- Select the VIOS to which we want to connect
- Login with appropriate user (padmin / root etc.)
- In case there is no login prompt then it makes sense to first resolve the issue related to vtmenu access to VIOS before proceeding further.
In latest vHMC it is possible that vtmenu does not works if VIOS server has multiple IPs (See 'ifconfig -a' after doing ' r o'). In such cases removing only the secondary IP of VIOS without removing the bridge device via below steps might help in solving the problem.:
- Down the interface
- ifconfig en11 down detach
- Delete the virtual interface
- rmdev -Rdl en11
- Delete the mapping
- rmdev -Rdl et11
- Do not Delete the physical interface via
- rmdev -Rdl ent11
- Doing this may stop connectivity to LPARs that depend upon this particular bridge / physical interface. If we want to fix this we would have to connect these affected LPARS to the remaining (other working) bridge /interface.
- We should also validate /etc/hosts via
- cat /etc/hosts
- The file should not have mapping between removed IP and the hostname of the server. The mapping should only be there for the remaining working IP and hostname.