Server Management - Systems Insight Manager
1832978 Members
3113 Online
110048 Solutions
New Discussion

Re: Automating Tasks

 
Richard Edwards_4
Frequent Advisor

Automating Tasks

Can I create a task in HP SIM that will clear the local 'Integrated anagement Log' for all my servers.
5 REPLIES 5
David Claypool
Honored Contributor

Re: Automating Tasks

Yes, as long as the following is valid:

- CMS is Windows
- Target systems are Windows
- ProLiant Support Pack is installed on all systems
- OpenSSH is installed and configured on the CMS

In HP SIM, choose Tools --> Custom Commands --> New Custom Command

Give it a name and description. In the Command field, fill in:

%ProgramFiles%\compaq\cpqimlv\cpqimlv.exe

and in parameters, fill in:

/clear

This requires being administrator in order to run successfully.
Richard Edwards_4
Frequent Advisor

Re: Automating Tasks

Thankyou for your reply, much appreciated, however

You mentioned that you have to be admin on SSH.

HP Sim is configured with SSH, the SSH service works fine, I can push out SSD's via the 'Initial Proliant Support Pack Install' option.

BUT when I try to clear the Management logs, I keep getting the error message:-

'SSH Operation failed for node xxxx. SSHAuthentication Failed'

I know SSH is a black art but any suggestions welcome

Cheers
David Libby_4
Regular Advisor

Re: Automating Tasks

I'm getting the same error when I try and create a "New Command Line Tool"... my CMS is on HP-UX and the tool is extrememly simple.

error message is:
=================
Ssh Operation failed for node:nodename. SshAuthentication Failed.
=================
Richard Edwards_4
Frequent Advisor

Re: Automating Tasks

I found that if I logged into HP SIM as the local admin account, then the task would complete.

SSH is a black art, the attached doc helped me set it up.

David Libby_4
Regular Advisor

Re: Automating Tasks

Thanks Richard, my CMS is running on HP unix so the doc you sent isn't ideal, but we will be getting a windows CMS sometime soon so I'll put it aside for then.

I found the following doc too...

http://h10018.www1.hp.com/wwsolutions/misc/hpsim-helpfiles/hpsim-5-ssh-wp.pdf

...which is not bad. I am just following some of the checks in there.