Integrity Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

Access ILO from hpux

 
SOLVED
Go to solution
uxbeginner22
Trusted Contributor

Access ILO from hpux

Today bad thing happen,i have disable dhcp access to ilo

I think before reset it will ask for ip static,but it reset immediately!

And now i cannot see any hw addr or ip of ilo,and i can't access it via

telnet or ssh,or http.

Is possible to direct access to hpilo on hpux?

For example,connect serial1 to my laptop,configure getty on hpux

press ctrl+b i will access to ilo prompt?

Any solution?

thanks

34 REPLIES 34
uxbeginner22
Trusted Contributor

Re: Access ILO from hpux

I can access to console,efi

Is not possible to set mp lan option from efi?

 

uxbeginner22
Trusted Contributor

Re: Access ILO from hpux

I try reset button,pressed for 5 and more seconds.

On screen appear nothing

Checking the address with

 

/opt/sfm/bin/CIMUtil -e root/cimv2 HP_ManagementProcessor

 

Report https://127.0.0.1

 

How to reset ilo to get dhcp?Or there is a way to access directly?

 

uxbeginner22
Trusted Contributor

Re: Access ILO from hpux

Probably the only solution is to buy a cable like this

 

http://www.ebay.it/itm/HP-CONSOLE-MANAGEMENT-CABLE-KABEL-iLO-MP-M-HYDRA-FOR-SERVER-A6144-63001-DB25-DB9-/310944869076

 

And connect to console port.

I have tried the two serial of hpux,one is silent,on the other i see the login of hpux

 

Torsten.
Acclaimed Contributor

Re: Access ILO from hpux

What server model?

 

Older servers have 127.0.0.1 as default, newer servers are set to DHCP.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Bill Hassell
Honored Contributor

Re: Access ILO from hpux

If you can see the HP-UX login, type CTRL-B (Ctrl key plus the letter b).

This should take you to the system board firmware menu, like this:

   MP MAIN MENU:

         CO: Console
        VFP: Virtual Front Panel
         CM: Command Menu
      SMCLP: Server Management Command Line Protocol
         CL: Console Log
         SL: Show Event Logs
         HE: Main Help Menu
          X: Exit Connection

From here you can select CM, then LC to configure a static IP address for the console:

 MP:CM> lc

Current LAN Configuration:
     - - MAC Address                : 0x0017a4ab5378
     D - DHCP Status                : Disabled
     I - IP Address                 : 10.11.10.211
     M - MP Host Name               : alt6cons
     S - Subnet Mask                : 255.255.255.0
     G - Gateway Address            : 10.11.10.1
     L - Link State                 : Auto Negotiate
     W - Remote Serial Console Port : 2400
     H - SSH Access Port            : 22
     - - IPMI / LAN Port            : 623

Enter parameter(s) to change, A to modify All, or [Q] to Quit:

 The alternative is to unplug the LAN cable to the console and plug it directly into your laptop. Then hold down the reset button to force the console to reset. Your laptop won't provide a DHCP address so it will be ready for an arp method to set the IP address.

Once the console has finished reset (a minute or so), start a cmd (DOS) window on your laptop. You'll need the MAC address for the MP console port. Change your PC to use a static address temporarily. For this example, use 10.11.12.12 for your PC.

Then type the arp command like this: (arp -s <IPaddr> <MAC>)

arp -s 10.11.12.13 00-00-0c-06-a3-02
ping 10.11.12.13

This will tell the console port to set this address for the LAN port and a ping to that address (ping 10.11.1.13) should return OK. Now use telnet to that IP address to get to the MP login, login and password will both be Admin and then use the CM and LC commands mentioned above.



Bill Hassell, sysadmin
uxbeginner22
Trusted Contributor

Re: Access ILO from hpux

I have set a console primary on serial

I can see the output on terminal laptop via nullmodem

But no keyboard control!

I see only output,is possible to get control via minicom?

On a ibm server when i put serial in port1 i get total control

with keyboard,here i see only output

 

uxbeginner22
Trusted Contributor

Re: Access ILO from hpux

Solution found for keyboard control

The serial must be set to flow control= none

But i still cannot access to MP,i press control+b and nothing happen

 

uxbeginner22
Trusted Contributor

Re: Access ILO from hpux

Now i have disable getty,i can write on terminal console

But pressing ctrl+b nothing happen

with minicom ctrl+b produce this   char

arda8.jpeg

Bill Hassell
Honored Contributor

Re: Access ILO from hpux

You are not connnected to the console on that 3-legged cable.

The W-cable (somethimes called the Hydra cable) is labeled: CONSOLE, UPS, REMOTE

If you are using the REMOTE leg of the cable, it won't connect to the console. If you get nothing when you connect to the CONSOLE leg, you need to reverse the transmit/receive wires which is done with a null-modem adapter.

EVERY sysadmin needs to carry a 9pin null-modem adapter. There is a 50:50 chance that the cables you have will work. If they don't, put in the adapter and you'll now get the MP (iLO) prompt and ctrl-b will now function.



Bill Hassell, sysadmin
uxbeginner22
Trusted Contributor

Re: Access ILO from hpux

I don't have the hydra cable,i will buy it after 1 november.

Thanks anyway for help

 

Bill Hassell
Honored Contributor

Re: Access ILO from hpux

OK. It would really help to know what is the model number of this server. You mentioned the Hydra cable so I though you knew that this would be required for your computer. HP makes dozens of very different servers. Some have a simple 9pin serial port that has nothing to do with the console. If your Itanium server has a 25 pin D-shaped connector, then you will need the Hydra cable.

However, you see from CIMUtil that the address is 127.0.0.1 so does that address change after the the reset? If it does, then you can telnet or ssh (forget web page junk, use terminal access) to the console address reported by CIMUtil.

Once you can connect to the console, you can login using Admin/Admin and then use CM and LC to set a new IP and turn off DHCP.



Bill Hassell, sysadmin
uxbeginner22
Trusted Contributor

Re: Access ILO from hpux

Is a 25 pin :(

Forget to tell the server sorry,is old rx2620 from 2007

cimutil report 127.0.0.1 wich is localhost

If i try to connect with telnet try to connect to localhost

uxbeginner22
Trusted Contributor

Re: Access ILO from hpux

And i forgot the most important thing: the address not change after reset.

Was 127.0.0.1 first,is the 127.0.0.1 now

 

Bill Hassell
Honored Contributor

Re: Access ILO from hpux

Here are a couple of references for the server:

http://h20565.www2.hpe.com/hpsc/doc/public/display?sp4ts.oid=441888&docId=emr_na-c01404139&docLocale=en_US

http://h18000.www1.hp.com/products/quickspecs/archives_Canada/12141_ca_v11/12141_ca.PDF

and the iLO port:

http://h30499.www3.hp.com/hpeb/attachments/hpeb/itrc-275/7219/1/366959.pdf

 

So the rx2620 does use the 25pin to triple 9pin W-cable (or M-cable because it looks like either M or W or Hydra).

If you don't have the M cable, you can use a standard 9-to-25-pin serial adapter directly in the 25-pin iLO port to access the console serial port only. Just remember to also buy the 9pin null-modem adapter just in case.

 

 

Here is the HP document about using arp/ping to set the address:

http://h20565.www2.hpe.com/hpsc/doc/public/display?sp4ts.oid=447331&docId=emr_na-c01639458&lang=en&cc=us



Bill Hassell, sysadmin
uxbeginner22
Trusted Contributor

Re: Access ILO from hpux

I have a M-cable,but is this not sure if is right cable

 

41ywE0em79L._SX425_.jpg

I think not because is vga.

 

uxbeginner22
Trusted Contributor

Re: Access ILO from hpux

A cable like this is good?

 

9-pin-to-25-pin-serial-cables-1.jpg

Bill Hassell
Honored Contributor

Re: Access ILO from hpux

w-cable-hydra.jpg

The term: M-cable refers to the shape of the cable. It may be gray or black.

It has 3 separate 9pin connectors molded into a single 25pin connector.

Your M-cable picture is not a serial cable at all.

 

The 25pin to 9pin cable picture is correct.

 

However, there are two completely incompatible versions.

One is called a straight-through and commonly called a modem cable.

The other is called a cross-over or null-modem -- but not as commonly seen as the modem version.

Almost no manufacturer identifies the cable in a useful manner.

So in a box of random cables, you might get one that will work without the null-modem adapter.

 

So yes, the 25pin to 9pin cable will work. Try it (assuming your laptop is set to 9600, 8N1, no handshake) and nothing shows up, then insert the null-modem adapter and you should see the login prompt. And ctrl-B will work.



Bill Hassell, sysadmin
Torsten.
Acclaimed Contributor

Re: Access ILO from hpux

This is how the system looks like:

 

 

 

 

 

You see a LAN port, a VGA connector and a 24pin serial connector next to each other - this is the OPTIONAl MP.

 

If you don't have a serial cable (connects to the 24pin serial port), you may connect a LAN cable to your PC and the MP port and run something like this:

 

 

http://tftpd32.jounin.net/tftpd32_download.html

 

in order to have a DHCP server on your PC.

 

 

However, a null modem cable works fine as console port, because the "M" or "W" cable is using the same lines for the console.

 

 

 

 


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
uxbeginner22
Trusted Contributor

Re: Access ILO from hpux

I don't understand the use of tftp.

I know what tftp is,i have used in ignite and solaris jumpstart.

But i don't understand the "role" of tftp in my problem

Torsten.
Acclaimed Contributor

Re: Access ILO from hpux

Not tftp.

 

This tool provides a DHCP server too.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
uxbeginner22
Trusted Contributor

Re: Access ILO from hpux

The problem is dhcp is disabled in ilo,otherwise will get address,because is connected to lan

Torsten.
Acclaimed Contributor

Re: Access ILO from hpux

I'm not 100% sure, but I think to remember if you press the MP reset button for more than 10 seconds it is getting the default values, which is DHCP for networking.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
uxbeginner22
Trusted Contributor

Re: Access ILO from hpux

Let's try,i will press now for 16 seconds

uxbeginner22
Trusted Contributor

Re: Access ILO from hpux

No way.