Your Ad Here

IBM AIX/UNIX system storage administration ksh/perl scripting

Friday, April 24, 2009

Reconfigure the console on AIX

Problem:

When use vtmenu or mkvterm on the HMC to establish a console session, the console is blank.

Solution:


To completely remove vsa0 and vty0 from ODM and have system come up on
reboot and prompt you to set this terminal as your console.

If you have network access you can do this from a telnet or ssh session
If you have no network access you will need to boot into Maintenance
Mode.

- List all vty's and tty's on system
# lsdev -Cc tty

- Delete all vty's and tty's from ODM

# odmdelete -q name=tty0 -o CuDv <---- run this command for
all vty's and tty's
0518-307 odmdelete: 1 objects deleted.

- List all vsa's on system
# lsdev -Cc adapter | grep vsa

- Delete all vsa's from ODM

# odmdelete -q name=vsa0 -o CuDv <---- run this command
for all vsa's and sa's
0518-307 odmdelete: 1 objects deleted.

# odmdelete -q attribute=syscons -o CuAt
0518-307 odmdelete: 1 objects deleted.

# bosboot -ad /dev/ipldevice
bosboot: Boot image is 23794 512 byte blocks.

# sync

# savebase

# shutdown -Fr

Define your console.


******* Please define the System Console. *******

Type a 2 and press Enter to use this terminal as the
system console.

Labels

BlogCatalog