본문 바로가기

IBM/HMC

vterm에서 로그인이 않될 때

AIX Console (HMC vterm) not working with new System p server

 Technote (troubleshooting)
 
Problem(Abstract)
System p is newly attached to a hardware management console (HMC) and the server property for manufactoring default configuration (MDC) is false. The vterm console works in hardware mode (i.e. SMS and for displaying hardware parameters when lpar is activating). However, the vterm does not display login prompt after AIX has been booted.
 
 
Symptom
 
 
 
Cause
AIX was installed on system p server when it was attached to an async console prior to attaching system to HMC.
 
 
Resolving the problem
To reconfigure the AIX's console device to use the new hardware connection you will need to do the following:
Either telnet (or SSH) into the server if networking had been configured or boot into a maintenance shell and run following procedure.

The procedure will completely remove vty0, vsa0 (and any other vty or vsa device) and syscons objects from the ODM and allow them to be recreated by AIX when system reboots.

Once telneted in or in a maintenance shell, as root execute the following:

# odmdelete -q name=vty0 -o CuDv

# odmdelete -q name=vty0 -o CuDv

# odmdelete -q name=vsa0 -o CuDv

# odmdelete -q name=vsa1 -o CuDv

# odmdelete -q attribute=syscons -o CuAt



# bosboot -ad /dev/ipldevice <---- customer hung trying to run this
command

# sync

#reboot

When system comes up it should reconfigure vsa0 and vty0
and since we removed "syscons" from ODM it should prompt
you to select a terminal. This time, the only device
connected for a console should be the HMC's vterm.

You should messages similar to following when LPAR is booting back up:
-------------------------------------------------------
******* Please define the System Console. *********

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

1

-------------------------------------------------------

At this point you should see AIX console output being displayed in
the HMC vterm.
 

Problems with HMC terminal window on new p5 or p6 managed system

 Technote (troubleshooting)
 
Problem(Abstract)
Terminal window to the default partition is unusable on new managed systems due to system being in MDC
 
Symptom
Users receive "garbage" characters on terminal window to newly added p5 or p6 managed systems or do not get a login prompt once default partition is activated
 
 
Cause
The p5 or p6 managed system is in MDC (manufacturing default configuration) mode
 
 
Diagnosing the problem
Once a new p5 or p6 managed system is recognized by the HMC and the default partition is activated, users will see "garbage" characters on terminal window (HMC vterm) or the terminal window will be blank and will not display an AIX login prompt even though the partition shows a state of "Running"
 
 
Resolving the problem

When a new managed system is ordered from IBM, it is shipped in the manufacturing default configuration (MDC) mode. MDC is the initial partition setup of the managed system as delivered by the service provider. The HMC displays the managed system as having one logical partition with one partition profile. All of the physical hardware resources on the system are automatically assigned to this logical partition. The name of the logical partition is the serial number of the managed system, and the name of the partition profile is default.

To check if the managed system is in MDC mode, on the HMC select that system and choose "Properties". In the first tab called "General", you can see whether "Manufacturing default configuration" is set to TRUE or FALSE:

docview1.gif

If the properties of the managed system show FALSE for "Manufacturing default configuration" but there is still no AIX login prompt displayed on the vterm when the partition is running, it is possible that the console is set incorrectly in the AIX ODM. Follow the steps outlines in document #T1010609 to set it properly:
http://www-1.ibm.com/support/docview.wss?rs=0&uid=isg3T1010609

If "Manufacturing default configuration" shows TRUE, the user will need to take extra steps in order to exit MDC mode. The steps to do this will require managed system to be in partition standby (with the default partition in a "Not Active" state.)

If the managed system is powered off, for HMC V5.2.1, 6.1.x and V7 up to 7.3.4, select that system and then choose "Power on" and then choose "Partition Standby" (NOT "Partition Autostart").

Note: Beginning with HMC V7.3.5 and above, the Power-on options are "Normal" and "Hardware Discovery".

docview2.gif
When you select the "Normal" power-on option, the Partition Start Policy defines how the managed system powers on. So once again you can check the current setting for the Partition Start Policy for the managed system under Properties in the "Power-On Parameters" tab. Make sure to that "User-Initiated" is selected so the system will not start any partitions as it powers on.

docview3.gif

If the managed system has already been powered up and the default partition is running, you can also select the system and then choose Properties again, then in the General tab uncheck the option that says "Power off the system after all the logical partitions are powered off". Then shutdown the default partition.

Once the system is in partition standby with the default partition in a "Not Activated" state, select the default partition and choose "Activate", you will receive a window as follows:

docview4.gif

Select the option to "Exit MDC using partition profile activation" and click OK.

You will then get the normal partition activation window.

docview5.gif

You can then select the option to open a terminal window and when the partition activates, you will be prompted to select console. Your HMC vterm should work as expected from this point.

 

이 글은 스프링노트에서 작성되었습니다.

'IBM > HMC' 카테고리의 다른 글

HMC를 제거 하는 방법  (0) 2012.11.09
HMC_Port정보  (0) 2012.11.09
HMC_and_system_setup  (0) 2011.12.07
HMC/펌웨어지원조합(Version7)  (0) 2011.08.30
Hardware Management Console compatible servers and models  (0) 2011.03.31