Server Management - Systems Insight Manager
1833788 Members
2241 Online
110063 Solutions
New Discussion

mxagentconfig not working for a node

 
Rick Garland
Honored Contributor

mxagentconfig not working for a node

Hi all:

HPSIM 4.2 update 1 running on HPUX 11.11 system.
I have done the SSH config on all the HPUX and Linux systems. All is working fine - the keys are setup and I can go back and forth with no troubles, from the command line.

1 ia64 system (out of 6) will not register via the mxagentconfig.

# mxagentconfig -a -n node.domain.com -u root -p mypasswd

The response I get is;
Failed to register as an agent to: node.domain.com
Error: Configuration failed to complete due to the following exception:
Unable to contact the SSH server on node "node.domain.com".

Again, I can go forward and backward from the CMS to this system using SSH. The keys are setup. SSH is running and I did recycle to see if it helps. No luck.

Any ideas?
Thanks

5 REPLIES 5
Eric Antunes
Honored Contributor

Re: mxagentconfig not working for a node

Hi Rick,

Check this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=614746

PS: about your previous CD-ROM mount issue, I think I had the same problem and, at the time, I verified that a user was in the /SD_CDROM directory causing the "busy" CD-ROM status...

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
Rick Garland
Honored Contributor

Re: mxagentconfig not working for a node

Hi Eric:

Still working on the ssh issue.
As to the cdrom, we do not use the SD_CDROM mount point, changed to /cdrom. Just easier to type and remember.

Anyway, fuser, lsof, reseating of cd drive, ioscan says CLAIMED, searching up and down, etc... Nothing helped. A reboot solved the problem. My expectation was it would not come back with a reboot and I would be calling HP, but...

Back to reading. Thanks
Rick Garland
Honored Contributor

Re: mxagentconfig not working for a node

Got the white paper, did the reading. Nothing to report. Still get the "Unable to contact SSH server on node..."

I took all references to the 2 systems out of the authorized_keys(2) files, the known_hosts files, etc. Checked the sshd_config files on all of the systems. Checked the versions of HP Secure Shell that is installed. Checked the ports and protocol being used. Recycled the ssd.

Get me a drink! This is still not working!
Rick Garland
Honored Contributor

Re: mxagentconfig not working for a node

Here is some more output - may provide some additional information to diagnosis.

I run the mxagentconfig -g and get the GUI window for mxagentconfig. I put in the parameters for the node, user, and passwd and say to Connect.

The output that shows in the original text window is:

# mxagentconfig -g
Performing agent setup.
Writing the initialization file...OK
Adding to property file...OK
Generating the agent authentication keys...OK
Starting the agent daemon...OK
Completed setup of the agent.


According to this, it should work. But in the GUI it says "FAILED TO ESTABLISH CONNECTION TO "

Rick Garland
Honored Contributor

Re: mxagentconfig not working for a node

Haven't really found the answer but I do have it working now.

The HPUX Secure Shell on the managed client was at A.03.71. On the CMS it has 2 versions, A.03.71 and A.03.81. (I don't know how or why, it just does.) Other systems have either A.03.71 or A.03.81 - 1 or the other, not both.

On the managed client in question, I downloaded the newer verion of HPUX SSH A.04 and installed. Everybody is fat, dumb, and happy now. The mxagentconfig successfully registered to the managed node!