Server Management - Systems Insight Manager
1833184 Members
2832 Online
110051 Solutions
New Discussion

Active Directory-based discovery

 
Scott Shaffer
Esteemed Contributor

Active Directory-based discovery

Here is an unsupported script for getting a list of servers from AD and putting it into HPSIM. This worked OK on the directory that I have pulling data from specfic OU's, but your mileage may vary - our test directories don't necessarily have the policies set as a production directory.
Dude, we've been totally misled by our album covers!
13 REPLIES 13
Duane Dresser
Senior Member

Re: Active Directory-based discovery

Fails for me when run from Options -> Discovery -> Active Directory Discovery, with the following errors:

EXCEPTION CLASS: com.hp.mx.dtf.sshClient.MxSshFailedConnectionException
EXCEPTION: Unable to contact the SSH server on node "someserver.mycompany.com".

Works great from the command line with the following format:

C:\tdef\ad\cscript getnodes.vbs -o: "OU=test2,OU=test1,OU=test,DC=companyname,DC=com"
Scott Shaffer
Esteemed Contributor

Re: Active Directory-based discovery

This means that SSH isn't working properly on the CMS. You should refer to the white paper (in the HPSIM Information Library) to look into steps to make sure SSH is working right.
Dude, we've been totally misled by our album covers!
Erik Morley
New Member

Re: Active Directory-based discovery

Where do we find this information?

I am receiving the same error when trying to deploy OpenSSH to client servers from my HPSIM server.
David Claypool
Honored Contributor

Re: Active Directory-based discovery

http://www.hp.com/go/hpsim --> Information Library
cchoate
Frequent Advisor

Re: Active Directory-based discovery

Is their a particular document because I have the exact same errors when trying to push out OpenSSH. I uninstalled and reinstalled it. The manual I have been going through is SSH in HP Systems Insight Manager. The manual could be much better then it is. I am new to the SSH world so whatever guidence is greatly appreciated.
Mike_921
New Member

Re: Active Directory-based discovery

Hi there,
I am new to insight and have approx 100 older and newer compaq and HP servers I have to manage. I want to integrate the discovery of these servers witin active directory however running insight manager 4.2 for windows I do not get the option of discovery in active directoy, just automatic and manual. Any thoughts would be appreciated as I am still trying to get a hanfdle on this project.

Thanks!
David Claypool
Honored Contributor

Re: Active Directory-based discovery

Bumped to be above moved questions...
Paul Adams_6
Advisor

Re: Active Directory-based discovery

How do I enter the OU info?
RobSmith
Frequent Advisor

Re: Active Directory-based discovery

Do NOT use the [ ] listed in the example instructions....found that one out the hard way...nothing bad, it just wont work. :)
Scott Shaffer
Esteemed Contributor

Re: Active Directory-based discovery

You must specify the OU/DC context for the tool to pull from. For example, you might use 'DC=Computers,DC=yourco,DC=com' to pull from the default list, or 'OU=Switzerland,OU=Servers,DC=yourco,DC=com' to pull from a custom organizational unit.
Dude, we've been totally misled by our album covers!
Paul Adams_6
Advisor

Re: Active Directory-based discovery

This script doesn't prompt me for an OU & DC input. Should I enter it somewhere in the xml or the vbs?
Paul Adams_6
Advisor

Re: Active Directory-based discovery

Okay, I re-read the readme.txt. Thanks!
Paul Adams_6
Advisor

Re: Active Directory-based discovery

Okay, I entered the OU/DC info and then I get this error msg: "c:\tdef\ad\getnodes.vbs(34, 1) (null): An operations error occurred." Is there a typo in the vbs code at (34, 1)?