LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 10-15-2008, 03:05 PM   #1
fiddler1956
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Rep: Reputation: 0
Having a problem getting a console session on an AIX Lpar


I'm an experienced system admin with little AIX experience, and I need some assistance. I recently inherited a pair of AIX 5.2 servers, of which one is (I believe) an Lpar. The hostnames are cw203 and cw203a. I have no trouble gaining console access to cw203a, but when attempt the same thing on cw203, the window opens, but I don't get a login prompt and can't enter any input.

I've noticed that the tty definitions for /dev/tty0 are different. On cw203a (the good one), /dev/tty0 is configured as follows (smitty display):

TTY tty0
TTY type tty
TTY interface vcon
Description Asynchronous Terminal
Status Available
Location
Parent adapter sa4
PORT number [0] +
Enable LOGIN disable +
TIME before advancing to next port setting [0] +#
TERMINAL type [vt320]
FLOW CONTROL to be used [xon] +
STTY attributes for RUN time [hupcl,cread,brkint,ic>

On cw203, /dev/tty0 is configured as follows:

TTY tty0
TTY type tty
TTY interface rs232
Description Asynchronous Terminal
Status Available
Location 01-S1-00-00
Parent adapter sa0
PORT number [0] +
Enable LOGIN disable +
BAUD rate [9600] +
PARITY [none] +
BITS per character [8] +
Number of STOP BITS [1] +

What do I need to do to get console access on cw203 working? I appreciate in advance any assistance...
 
Old 10-16-2008, 11:10 PM   #2
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
If you do have LPARs then you should have an HMC (hardware management console) that controls them. From there you should be able to open a console window. It looks to me like the second machine is setup to use a serial console. We've got an old green screen serial terminal that we shuffle around for old machines that won't boot, but for the most part the HMC is the console for all the newer machines.

What is in first section of the output of 'prtconf'? It should tell you a bit about the machine and if it's an LPAR.
 
Old 10-17-2008, 08:15 AM   #3
fiddler1956
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the quick response. We do, in fact, have an HMC for these systems. What I should have stated in the initial post is that I can't get a responsive terminal window for cw203 through the HMC, whereas I can for cw203a.

Following is the prtconf output for cw203:

System Model: IBM,7038-6M2
Machine Serial Number: 102F23D
Processor Type: PowerPC_POWER4
Number Of Processors: 6
Processor Clock Speed: 1452 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 1 CW203
Memory Size: 11264 MB
Good Memory Size: 11264 MB
Firmware Version: IBM,RG060626_d79e17_r
Console Login: enable
Auto Restart: true
Full Core: false

Following is the prtconf output for cw203a:

Processor Type: PowerPC_POWER4
Number Of Processors: 2
Processor Clock Speed: 1452 MHz
CPU Type: 64-bit
Kernel Type: 32-bit
LPAR Info: 2 CW203A
Memory Size: 11264 MB
Good Memory Size: 11264 MB
Firmware Version: IBM,RG060626_d79e17_r
Console Login: enable
Auto Restart: true
Full Core: false
 
Old 10-17-2008, 12:22 PM   #4
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
If you run lsdev -Cc adapter on the bad machine, do you see the adapter below?
Code:
vsa0      Available       LPAR Virtual Serial Adapter
Also, from within smitty, if you go to Device -> Console -> Assign Console, what is the path to the console?
 
Old 12-03-2008, 02:39 PM   #5
fiddler1956
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Original Poster
Rep: Reputation: 0
On both systems, I see the following:

sa4 Available LPAR Virtual Serial Adapter

Also on both systems, smitty shows the console device as /dev/tty0.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AIX HACPM & LPAR video tutorial ziox AIX 4 10-27-2011 03:04 PM
Console corrupt after X-session senorsnor Slackware 9 02-27-2005 06:01 PM


All times are GMT -5. The time now is 06:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration