Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

history of operations on HMC 3

Status
Not open for further replies.

ogniemi

Technical User
Nov 7, 2003
1,041
PL
is a operations/activities history users did using HMC's GUI kept somewhere on HMC?

eg. date, system, what was done (restart, halt, dlparing, console opened, etc.)


Using command line I can find in bash history last commands but what about GUI?

 
There's an HMC eventlog that you can go through.

It's somewhere in the GUI. In HMC7 it's the first option in HMC Management. Don't know the location in the HMC6 GUI.


HTH,

p5wizard
 
I can't find it in v6 - maybe it is not there
 
login to the hmc using ssh and view the websm.script file.

Regards,
Khalid
 
HMC
-> HMC Management
-> HMC Configuration
-> View Console Events


HTH,

p5wizard
 
that is it p5wizard! Thx.

now I am looking for non-gui (command line) substitute.
 
When i tried to view the Console events, this was found in the websm.script in the /home/hscroot on hmc

/opt/hsc/bin/LoginMOMIssue

But there was no command logged for that operation!

Regards,
Khalid
 
i found the command:

lssvcevents -t console -d 0

example:

hscroot@hmc3:~> lssvcevents -t console -d 1
time=01/24/2008 12:22:41,text=HSCE2174 User hscroot Login from remote host testcws01.domain.net with IP address 10.2.5.5 was successful.
time=01/24/2008 12:19:14,text=HSCE2123 User name hscroot: mkvterm -m P51A_0-9110-51A-SN06552CE -p lpar01 command was executed successfully.
 
That's nice ogniemi! I wonder how did you find it? was there a log somewher else for that?

I have to admit that you and p5wizard deserve stars!

Regards,
Khalid
 
I checked for hmc's ls* commands

hscroot@hmc2:~> ls /usr/hmcrbin/ls*
/usr/hmcrbin/lsaccfg /usr/hmcrbin/lshmcusr /usr/hmcrbin/lsled /usr/hmcrbin/lspartition /usr/hmcrbin/lssysconn
/usr/hmcrbin/lscod /usr/hmcrbin/lshsc /usr/hmcrbin/lslic /usr/hmcrbin/lsrefcode /usr/hmcrbin/lssysplan
/usr/hmcrbin/lscuod /usr/hmcrbin/lshwinfo /usr/hmcrbin/lslock /usr/hmcrbin/lssacfg /usr/hmcrbin/lsusrtca
/usr/hmcrbin/lsdump /usr/hmcrbin/lshwres /usr/hmcrbin/lslparutil /usr/hmcrbin/lssvcevents /usr/hmcrbin/lsvet
/usr/hmcrbin/lshmc /usr/hmcrbin/lsIBNM /usr/hmcrbin/lsmediadev /usr/hmcrbin/lssyscfg

and then:

man lssvcevents


By the way I found how to enable NTP on HMC:

(the time was adjusted immediately)

hscroot@hmc2:~> date
Thu Jan 24 12:43:24 CET 2008
hscroot@hmc2:~> chhmc -c xntp -s enable
hscroot@hmc2:~> chhmc -c xntp -s add -a 10.11.12.1
hscroot@hmc2:~> date
Thu Jan 24 13:07:06 CET 2008
hscroot@hmc2:~>
 
Wow. Another valuable info :)

Have another star then :)

Regards,
Khalid
 
No I mean giving you another star! I was trying to do so but it wasn't working!

Appreciate your excellent comments :)

Regards,
Khalid
 
[ot]One star per giver per taker per thread - that's the rules![/ot]

HTH,

p5wizard
 
[ot]I beleive that there should be as much stars as one deserve! But now you made me really appreciate those 200+ stars that you got :)[/ot]

Regards,
Khalid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top