Thursday, October 10, 2013

IVM • New install of IVM using serial cable not show login prompt

ENVIRONMENT:
------------

POWER SYSTEM WITHOUT HMC
+ IVM 2.2.x

PROBLEM DESCRIPTION:
--------------------

I have a Power System without HMC and I using serial cable to perform a new install of IVM, but first reboot after install has finished the console stop with a message like this below and I'm not able login in to the system:

"Starting The LWI Nonstop Profile..."

Even if I reinstall IVM the same problem always happens.

ACTION TAKEN:
-------------

First of all you need boot a IVM in maintenance mode using option "Access this Volume Group and start a shell".

Note: For more details for how to boot your lpars in  maintenance mode I recomend read this follow link below:

Booting AIX into Maintenance Mode
http://www-01.ibm.com/support/docview.wss?uid=isg3T1013056

Now chage 'STTY attributes for RUN time' and 'STTY attributes for LOGIN' parameters of vty0 device adding 'clocal' property:

# clear
# export TERM=vt100
# smit chtty -> Change / Show Characteristics of a TTY -> vty0
---------------------------------------------------------------------
                  Change / Show Characteristics of a TTY

Type or select values in entry fields.
Press Enter AFTER making all desired changes.
  
[TOP]                      [Entry Fields]
  TTY                                                 vty0
  TTY type                                            tty
  TTY interface                                       vcon
  Description                                         Asynchronous Terminal
  Status                                              Available
  Location
  Parent adapter                                      vsa0
  PORT number                                        [0]
  Enable LOGIN                                        disable
  TIME before advancing to next port setting         [0]
  TERMINAL type                                      [vt220]
  FLOW CONTROL to be used                            [xon]
  STTY attributes for RUN time                       <k,echoctl,echoke,imaxbel,iexten,clocal] <- Add 'clocal'
  STTY attributes for LOGIN                          [hupcl,cread,echoe,cs8,clocal] <- Add 'clocal'

[...]
---------------------------------------------------------------------

# sync;sync;sync;reboot


After reboot you are able to login into system without any problem.