HPE 9000 and HPE e3000 Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

saving console log to a file on rp7410

 
Gordon Morrison_1
Regular Advisor

saving console log to a file on rp7410

A few days ago, I had trouble rebooting a hard partition on a rp7410. The problem was that the NVRAM had become corrupted, so it couldn't find its boot paths. An engineer talked me through re-initialising NVRAM and resetting the boot path via the GSP menus. I would like to save the console log so I have a record of how it was fixed so I can do it again if necessary, but we only have dumb consoles. Is there a way of copying the console log to a file?
What does this button do?
14 REPLIES 14
Victor BERRIDGE
Honored Contributor

Re: saving console log to a file on rp7410

Hi Gordon,
I dont know if it will work during a GSP session, I have no way to test at the moment but for logging your terminal session activities ( your command + what is displayed...) there is the command script
do a man script and see if this will help you

All the best

Victor
RAC_1
Honored Contributor

Re: saving console log to a file on rp7410

During GSP session, you can not user script etc. What do you use for logging onto GSP?? telnet?? User putty. putty has option to start session logging.

Anil
There is no substitute to HARDWORK
Gordon Morrison_1
Regular Advisor

Re: saving console log to a file on rp7410

Unfortunately, we have no remote consoles here (yet). I was sat next to the machine with a dumb terminal. Also, the machine was down (I was trying to get it to boot) so I couldn't use script. I can go to the console and view the console logs stored in the GSP, but as it's a dumb HP terminal, I can't even cut & paste. I want to know a way of copying the logs stored in the GSP to a file on disk.
Any ideas?
What does this button do?
Andrew Rutter
Honored Contributor

Re: saving console log to a file on rp7410

hi,
Depending upon which hp terminal it is you could connect a serial or parallel printer the the other port and turn on logging. this will print it all out.
Or connect to the serial port with a pc/laptop and capture the output with hyperterminal or another program.

Andy
AIMC
Frequent Advisor

Re: saving console log to a file on rp7410

Hi,

If you have access to the MP, ie the GSP on a 7410, login & in the MP>sl menu there is a console log, MP:SL>cl & you should be able to dump this to an emulator logging facility.

Aidan
AIMC
Frequent Advisor

Re: saving console log to a file on rp7410

Appologies,

I meant to say that you can configure an IP address for the MP under the MP:CM>lc, this should enable you to telnet to the MP, check the MP:CM>so (security options) to ensure telnet is enabled, from here then you can capture the console logs.

Aidan
TheJuiceman
Super Advisor

Re: saving console log to a file on rp7410

Maybe I am not seeing the big picture here or understanding the problem, but you are just wanting to look back at what was executed to correct the problem, right? If it is a matter of just wanting to see what was input you could see this in the .sh_history file of the login that was used (I am guessing root).

Hope this helps.
TheJuiceman
Super Advisor

Re: saving console log to a file on rp7410

Oops...nevermind. I completely misread your post. Sorry
Mic V.
Esteemed Contributor

Re: saving console log to a file on rp7410

I keep wanting to get console switches, perhaps from Lightwave -- it seems to me they might do the trick (but not cheaply).

(Bob: no worries - it happens :-)

Mic
What kind of a name is 'Wolverine'?
Gordon Morrison_1
Regular Advisor

Re: saving console log to a file on rp7410

Thanks to all,

Andrew: That's a possibility, I'll look into it. Would Reflections work (as opposed to Hyperterminal)?

Aidan: that looks very promising. I don't suppose you have a procedure for that?

Bob: Don't worry, I've only had 1.5 cups of coffee myself:o)

Mic: Unfortunately I don't have a budget, or I'd have RoboCentral or something. :o/
What does this button do?
Andrew Rutter
Honored Contributor

Re: saving console log to a file on rp7410

hi gordon,

yes you could use reflections to connect to the server and capture the output.

we use putty, its free to download and you can copy/paste with this aswell but it works better over lan, so you would have to configure the gsp with an Ip if it isnt already.

Andy
Adisuria Wangsadinata_1
Honored Contributor

Re: saving console log to a file on rp7410

Hi Gordon,

You can use the serial cable connect to the console port from your notebook/PC ... use the hyperterminal/reflection1 ... after that you can grab the console log.

Hope this can help you.

Best Regards,
Adisuria Wangsadinata
now working, next not working ... that's unix
Gordon Morrison_1
Regular Advisor

Re: saving console log to a file on rp7410

Hi,
I've been a bit busy with other things and haven't had time to look into this. I'll have a go next week and let you know.
What does this button do?
Gordon Morrison_1
Regular Advisor

Re: saving console log to a file on rp7410

Well, I didn't get a chance to sort this out before leaving my previous job. I suspect that connecting my laptop to the server directly would have worked, if I could have got the 9-pin console cable to fit into the 15 holes in my laptop's serial connector! :o/ Likewise, connecting the GSP to the LAN would probably have worked if I had had time to get it organised.
Points awarded for effort and thanks anyway.
In my new job, I'll be focussed mainly on Sun (at least to start with), so I won't be around ITRC as much, but I'll still poke my nose in now and then.

Seeya!
What does this button do?