Advertisements

Tag Archives: hmc

Problem with HMC – rebooting

hscroot@localhost:~> vtmenu

Retrieving name of managed system(s) . . . 10D400C

———————————————————-
Partitions On Managed System: 10D400C
———————————————————-
1) LPAR1 Not Available:
2) LPAR2 Not Available:

Enter Number of Running Partition (q to quit): q

Bye.

The server with the two LPAR partitions were shut down due to a electric maintenance. I tried to start the partitions but I was having this problem:

hscroot@localhost:~> chsysstate -r lpar -m 10D400C -o on -n LPAR1
Unable to lock the Service Processor. Perform one of the following steps: (1) Check serial cable connection; (2) Check if another Console is communicating with the Service Processor; (3) Perform the Release Lock task; (4) Perform Rebuild task to re-establish the connection.

I tried again and I got a different error.

hscroot@localhost:~> chsysstate -r lpar -m 10D400C -o on -n LPAR1
Command sent to Service Processor failed. Error Response 4.

To reboot the IBM HMC, type the command below

hscroot@localhost:~> hmcshutdown -t now -r

Broadcast message from root (Sun Jun 6 08:35:38 2010):

The system is going down for reboot NOW!

I had problems with the reboot and asked to power off and power on the HMC. After that I had no more problems.

Advertisements

Resetting an LPAR on a Power4 system

First you need to check some information for your system on the HMC. Issue the command vtmenu to get the managed system ID and the names of the partitions

hscroot@localhost:~> vtmenu

Retrieving name of managed system(s) . . . 108F19C

———————————————————-
Partitions On Managed System: 108F19C
———————————————————-
1) MANUFACTURING Running:
2) RETAIL Running:

Enter Number of Running Partition (q to quit): q

Bye.

On this example I tried to soft reset the partition called MANUFACTURING

hscroot@localhost:~> chsysstate -m 108F19C -r lpar -n MANUFACTURING -o reset

Since it didn’t work out as expected, I decided to power off the LPAR

hscroot@localhost:~> chsysstate -m 108F19C -r lpar -n MANUFACTURING -o off

hscroot@localhost:~> vtmenu

Retrieving name of managed system(s) . . . 108F19C

———————————————————-
Partitions On Managed System: 108F19C
———————————————————-
1) MANUFACTURING Ready:
2) RETAIL Running:

Enter Number of Running Partition (q to quit): q

Bye.

I turned the partition on and after that it worked flawlessly

hscroot@localhost:~> chsysstate -r lpar -m 108F19C -o on -n MANUFACTURING

hscroot@localhost:~> vtmenu

Retrieving name of managed system(s) . . . 108F19C

———————————————————-
Partitions On Managed System: 108F19C
———————————————————-
1) MANUFACTURING Starting:
2) RETAIL Running:

Enter Number of Running Partition (q to quit): q

Bye.

Download IBM WebSM for HMC v6

To download the Web Based System Manager client you simply open a browser window and type the URL http://<ip address of your HMC>/remote_client.html.

To check the version of your HMC, type lshmc -V

hscroot@localhost:~> lshmc -V
“version= Version: 6
Release: 1.2
HMC Build level 20070201.1
MH00985: Miscellaneous fixes for HMC V6 (04-15-2007)
“,”base_version=V6.1.2

The Hardware Management Console v7 has web access, so you don’t need to install a client to use it.

Getting console access using IBM HMC v6 Command Line

To get a console access through a remote connection, first ssh to the HMC

emerson@shellcore:~ $ ssh hscroot@hmc6
password:

Then type vtmenu. It will retrieve all the physical servers connected and that can be managed by the HMC.

hscroot@localhost:~> vtmenu

Retrieving name of managed system(s) . . . Server-9117-570-SN103CBBB 2-Server-9117-570-SN103CABB Server-9117-570-SN069D5BF Server-9119-595-SN8211572

———————————————————-
Managed Systems:
———————————————————-
1) Server-9117-570-SN103CBBB
2) 2-Server-9117-570-SN103CABB
3) Server-9117-570-SN069D5BF
4) Server-9119-595-SN8211572

Enter Number of Managed System. (q to quit): 1

You choose one of the managed servers and then it will show all LPARs available on that physical server.

———————————————————-
Partitions On Managed System:  Server-9117-570-SN103CBBB
OS/400 Partitions not listed
———————————————————-
1)    LPAR1                                   Running
2)    LPAR2                                   Running
3)    LPAR3                                   Running

After you selected which LPAR you will control, you will be shown the login screen
Open in progress..

Open Completed.

AIX Version 5
Copyright IBM Corporation, 1982, 2008.
Console login:

To exit you type tilde, space, tilde, space, dot.

~ ~ .

%d bloggers like this: