dropdown menu

HMC - ASMI

ASMI (Advanced System Management Interface):

ASMI is a graphical interface that is part of the service processor firmware. It can be accessed via a web browser. The ASMI is required to set up the service processor (IP address, network configs...) and to perform service tasks (reading error logs, controlling the system power...) The ASMI might also be referred to as the service processor menus.

The browser-based ASMI is available during all phases of the system operation, including initial program load (IPL) and run time.  ASMI requires password authentication, and it provides a SSL connection to the service processor, https://... will be needed.

Usual passwords for ASMI:
User ID    Password
general    general
admin      admin



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

Accessing ASMI

Accessing ASMI is possible:
1.) using HMC GUI
2.) using HMC CLI
3.) ssh port forwarding (tunnel) ASMI port to your local browser
4.) connecting directly a notebook to the service processor on the system


1.) ASMI login via HMC GUI
After choosing the server --> Actions --> View all options --> Launch Advanced Systems Management (ASM)



2.) ASMI login via HMC CLI (with browser on the HMC):
0. make sure you have working X window (the asmmenu command will use the browser on the HMC)
1. login to HMC: ssh -X hscroot@hmc21
2. lssysconn -r all | grep 06B5555 (grep to the serial number; we will get the ip address of the service processor)
3. asmmenu --ip 10.10.10.251



3.) ASMI login via HMC CLI (with your local browser (ssh tunnel)):
These examples will show you how to to forward the ASMI connection port to our local computer. If HMC login is possible via jump-host then first we need to port forward ASMI port to the jump-host and after that port forwarding again to our local computer. Or if direct HMC login is possible (without the need of a jump-host) we can port forward in 1 step ASMI port to out local computer.

If direct login to HMC is possible:
0. find out IP needed for ASMI (for example using above lssysconn command on HMC...10.10.10.251)
1. forward the ASMI port to your localhost non-privileged port 12345 via ssh port forwarding:
your-computer$ ssh -L 12345:10.10.10.251:443 hscroot@hmc21 -N
(Don’t quit that ssh session, it has to stay open.)
2. On your local computer, open a web browser and point it to https://localhost:12345

If direct login to HMC is not possible (only via a <jump-host>):
0. find out IP needed for ASMI (for example using above lssysconn command on HMC...10.10.10.251)
1. forward the ASMI port to your <jump-host> non-privileged port 12345 via ssh port forwarding:
jump-host$ ssh -L 12345:10.10.10.251:443 hscroot@hmc21 -N
(Don’t quit that ssh session, it has to stay open.)
2. from your local computer, open an ssh session to your jump-host and forward the previously opened port 12345 to your local computer’s non-privileged port 12345:
your-computer$ ssh -L 12345:localhost:12345 user@jump-host -N
(Don’t quit that ssh session, it has to stay open)
3. On your local computer, open a web browser and point it to https://localhost:12345



4.) ASMI login via direct connection (with a notebook):
0. Find out the IP address of the service processor, or if it is a new server this table shows factory default IPs:


1. Connect an Ethernet cable from notebook to one of the HMC ports on the managed system.

2. Configure IP address on the notebook
The notebook needs to be configured within the same subnet mask as the service processor so that they can communicate with each other. For example, if you connected your notebook to HMC1, the IP address for your notebook could be 169.254.2.140 and the subnet mask would be 255.255.255.0. Set the gateway IP address to the same IP address as the notebook.

On Windows IP can be configured here:
Control Panel-->Netw. and Sharing Center-->Click the network that is displayed in Connections-->Properties-->Select TCP/IPv4-->Properties
(Record the current settings before making any changes. This information is needed to restore original settings.)

3. Open a web browser and point it to (in our example): https://169.254.2.147

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

Checking network configuration in ASMI:

In ASMI IP and network configuration details can be also checked:
(for eth1 it shows factory default settings, which means it was not cabled, so no IP was assigned there via DHCP)


19 comments:

Anonymous said...

The defaut login to ASMI is admin not general and pass is admin.

aix said...

Several authority levels are available for accessing the service processor menus by using the ASMI.

The following levels of access are supported:

General user
Users with general authority can view settings in the ASMI menus. The login ID is general and the default password is general.

Administrator
Users with administrator authority can write to persistent storage, and view and change settings that affect the server's behavior. The login ID is admin and the default password is admin.

Authorized service provider
This login gives the authorized service provider access to all functions that could be used to gather additional debug information from a failing system. There are three authorized service provider login IDs: celogin, celogin1, and celogin2.

(More info in: Managing the Advanced System Management Interface)

prabaharan said...

Hi Aix,

Please share your experience if we want to connect a P series machine with HMC. What are all the steps to be taken.
From network end and as a system administrator what do we need to check.

aix said...

Hi Prabaharan,

I planned to do this article for a long time. Probably in few weeks I can upload it....

Kind Regards
Balazs

siva said...

Hi Aix,

How to connect the P series servers service Processors without HMC

aix said...

Hi siva,

you need a cable, a notebook and a web browser. After you are connected to the service processor, with the IP of the processor written in the browser, you should be able to do some management of the system.

Balazs

Anonymous said...

Hi Balazs,

I need the name of (web)Interface, somewhat similar to ILOM/ALOM in sun servers.

Regards,
Siva

aix said...

I have no idea about ILOM/ALOM.

Anonymous said...

how can we get console access to AIX through ASMI?

aix said...

As far as I know, console access from ASMI is not possible.

Anonymous said...

hi admin,
can i configure IP address of HMC port in a system P? if the original configuration of HMC port is not configured dynamic IP address?

aix said...

Hi, HMC port can be configured only in HMC.

Unknown said...

hi aix...



How to configure multiple fibre adapters for mpio in AIX the same for VIO also...?

Harish said...
This comment has been removed by the author.
Harish said...

sorry perticular managed system without using hmc

Harish said...

Accessing perticular managed system without using hmc

Anonymous said...

Hi aix
i want all Frames&Lapars inforamtion in single input trough hmc can we do that..? if it is possible please share the information..

Anonymous said...

As per my knowledge that's not possible....
you got to login the HMC(CLI/GUI) then access the mansys....

Anjan said...

Hi Sir

what would be the default ASMI IP of power4 7038-6M2, or how to find out.

We have power4 7038-6M2 model frame configured with LPARs, left out not in use for long time.
And, we lost HMC connection to it.
We want to decomm this frame by wiping out data from local scsi drives.
We want to access this frame directly via laptop to gain ASMI access or ASCII terminal and convert it to single standalone machine to access drives/wipe the data.

Please provide advice.