- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- SSH error using cpqlocfg from SIM
Server Management - Systems Insight Manager
1752579
Members
4593
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2006 08:04 AM
тАО07-14-2006 08:04 AM
SSH error using cpqlocfg from SIM
I'm trying to configure a few hundred iLOs v1.84 using the cpqlocfg utility from SIM v5 on Server 2003. However I'm getting an error when I try to execute:
"Ssh Operation failed for node:. SshAuthentication Failed."
Here's what I know and have done so far.
The Custom Command I've set up in SIM to use cpqlocfg has this set as the Command:
d:\ilo\cpqlocfg\cpqlocfg.exe
Where that's the path to the command on the machine I'm using when I connect to the SIM website on another machine.
In the Parameters field I've entered:
-s %n -l %f.txt -f cert_request.txt
From what I'm reading, I need to copy the SIM server's SSH key over to any iLO I try to communicate with using a Custom Command. Is that correct? I can do this by logging into the desktop of my server running SIM and executing at the CLI:
mxagentconfig -n - u -p
For the username and password in this command, I must use a username and password which can be used to log into the iLO, correct?
I opened the .dtfSshKey.pub file on my SIM server and inside I see:
ssh-dss
The username is the MS AD username of the admin which installed SIM on this server. Does this username in the key file have to match the username I use to log into the iLO or does it not matter?
If they must match, can I just change the username in the file to match, or do I have to regenerate a new key somehow?
Also, when I log into the SIM webpage, do I have to log in as that same username, or can it be any user configured with priviledges to execute the Custom Command?
And finally, when I execute the Custom Command, so far I'm just selecting one target iLO. But when the error displays for the Task Results, why is it saying the "operation failed for node:"? I guess I'm expecting it would say operation failed for node: and not list the name of the server running SIM.
Any help is greatly appreciated. I've been reading doc after doc and hacking away at this for days.
"Ssh Operation failed for node:
Here's what I know and have done so far.
The Custom Command I've set up in SIM to use cpqlocfg has this set as the Command:
d:\ilo\cpqlocfg\cpqlocfg.exe
Where that's the path to the command on the machine I'm using when I connect to the SIM website on another machine.
In the Parameters field I've entered:
-s %n -l %f.txt -f cert_request.txt
From what I'm reading, I need to copy the SIM server's SSH key over to any iLO I try to communicate with using a Custom Command. Is that correct? I can do this by logging into the desktop of my server running SIM and executing at the CLI:
mxagentconfig -n
For the username and password in this command, I must use a username and password which can be used to log into the iLO, correct?
I opened the .dtfSshKey.pub file on my SIM server and inside I see:
ssh-dss
The username is the MS AD username of the admin which installed SIM on this server. Does this username in the key file have to match the username I use to log into the iLO or does it not matter?
If they must match, can I just change the username in the file to match, or do I have to regenerate a new key somehow?
Also, when I log into the SIM webpage, do I have to log in as that same username, or can it be any user configured with priviledges to execute the Custom Command?
And finally, when I execute the Custom Command, so far I'm just selecting one target iLO. But when the error displays for the Task Results, why is it saying the "operation failed for node:
Any help is greatly appreciated. I've been reading doc after doc and hacking away at this for days.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2006 10:16 AM
тАО07-16-2006 10:16 AM
Re: SSH error using cpqlocfg from SIM
Well when I have mass-configured ILOs in the past, I just do it from the command-line using a single batch file to lauch the "cpqlocfg.exe" commands with its associated arguments for each server. Using SIM to do this just seems like adding complexity unnecessarily IMO.
Example:
@echo off
cpqlocfg.exe -s host1 -l host1.txt -f UID_off.xml
cpqlocfg.exe -s host2 -l host2.txt -f UID_off.xml
cpqlocfg.exe -s host3 -l host3.txt -f UID_off.xml
etc, etc...
The ILO login username and password is located in the XML config file. The batch files, xml files, and cpqlocfg must all be in the same working directory.
I know that's not an elegant method, but it's fast and effective, esp for adding tons of adv pack license keys.
Example:
@echo off
cpqlocfg.exe -s host1 -l host1.txt -f UID_off.xml
cpqlocfg.exe -s host2 -l host2.txt -f UID_off.xml
cpqlocfg.exe -s host3 -l host3.txt -f UID_off.xml
etc, etc...
The ILO login username and password is located in the XML config file. The batch files, xml files, and cpqlocfg must all be in the same working directory.
I know that's not an elegant method, but it's fast and effective, esp for adding tons of adv pack license keys.
"Did you get that memo?"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2006 09:27 PM
тАО07-16-2006 09:27 PM
Re: SSH error using cpqlocfg from SIM
hi
create a batch file with the follwing
C:\scripts\Cpqlocfg\cpqlocfg -s %DEVICENAME% -l C:\scripts\Cpqlocfg\logs\adduser\%DEVICENAME%log.txt -f C:\scripts\Cpqlocfg\add_user.xml
(above all in one line in the batch file)
changing the add_user.xml file to which xml file you want to use.
make sure in the xml file that you use the correct username and password for the ilo's.
create a custom command and point to the batch file.
the cpqlocfg files and the xml files should be on the SIM server.
either use a clean SIM 5 ( with no service pack) install or add SP5 to SIM5 and this should work. I had problems updating ilo's with other Service Packs.
Highlight all the ILO's in SIM and choose the custom command.( create a group that automatically find all the ILOs and this is easier.
I have just updated all the firmware on my ILO's using this method and it worked perfectly once SP5 was install.
i have not done anything with SSH and the ILO's.
steven
create a batch file with the follwing
C:\scripts\Cpqlocfg\cpqlocfg -s %DEVICENAME% -l C:\scripts\Cpqlocfg\logs\adduser\%DEVICENAME%log.txt -f C:\scripts\Cpqlocfg\add_user.xml
(above all in one line in the batch file)
changing the add_user.xml file to which xml file you want to use.
make sure in the xml file that you use the correct username and password for the ilo's.
create a custom command and point to the batch file.
the cpqlocfg files and the xml files should be on the SIM server.
either use a clean SIM 5 ( with no service pack) install or add SP5 to SIM5 and this should work. I had problems updating ilo's with other Service Packs.
Highlight all the ILO's in SIM and choose the custom command.( create a group that automatically find all the ILOs and this is easier.
I have just updated all the firmware on my ILO's using this method and it worked perfectly once SP5 was install.
i have not done anything with SSH and the ILO's.
steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2006 06:26 AM
тАО08-18-2006 06:26 AM
Re: SSH error using cpqlocfg from SIM
I've had the same problem and found that I get this error if the User ID that I am using is not an Administrator on the SIM server. If I run the same job with a user ID that is an Administrator on the SIM server than I do not get the error and the job runs.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP