6 Replies Latest reply on Mar 23, 2012 12:26 PM by lamw

    How do I run the command against the whole server farm?

    wsidaw Lurker

      I'm trying to follow the example on the website for the perl script - http://communities.vmware.com/docs/DOC-11901 and also looked at the sample report.  It looks like the command is run like so:

       

      [vi-admin@scofield harden]$ ./vmwarevSphereSecurityHardeningReportCheck.pl --recommend_check_level enterprise

      From the sample report in the website, I gather that the development farm information (including vcenter and hosts) is  there.

       

      I'm trying to do the same but can't figure out how to get all hosts and vcenter info.

       

      I ran it like the example shown and it prompts me for username and password and then fails like so:

      Error connecting to server at 'https://localhost/sdk/webService': Connection refused

      I then looked and saw that I had to use a --server option.  Do I have to specify --server everytime?  When I do a --server on a specific host, the report works for that host, vmnetwork, and vm rules.  It doens't show me vcenter rules.  When I run it against our vcenter --server "vcentername", and put in my credentials, it looks like it's doing something, but after a while it errors out saying "Killed"  Don't know why.

       

      So the question is how do I run it against all hosts and vcenter server in one shot (command) so that I can get it in one report?

       

      I have all hosts and vcenter server added to the VMA 4.1 using vifp.  Is there something I'm missing?

       

      Thanks in advance :-)